Skip to content

chore: upgrade @objectstack/* from ^3.3.1 to ^4.0.1#1159

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-objectstack-to-latest-version-again
Draft

chore: upgrade @objectstack/* from ^3.3.1 to ^4.0.1#1159
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-objectstack-to-latest-version-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

Bumps all @objectstack/* dependencies to their latest release (4.0.1) across the entire monorepo.

Package changes

  • ^3.3.1^4.0.1 for all @objectstack/* packages in: root package.json, apps/console, packages/types, packages/core, packages/react, packages/data-objectstack, packages/plugin-{timeline,gantt,map}, and all examples/*

Breaking change in @objectstack/client 4.x

The server discovery fallback URL changed:

3.x: GET /api/v1          (health check doubles as discovery)
4.x: GET /api/v1/discovery (dedicated endpoint)

Three MSW test files that manually mock the ObjectStack API were missing a handler for the new endpoint, causing the client's connect() call to throw before any test logic ran. Added the missing handler alongside the existing /api/v1 mock in:

  • packages/plugin-kanban/src/ObjectKanban.msw.test.tsx
  • packages/plugin-calendar/src/ObjectCalendar.msw.test.tsx
  • packages/plugin-timeline/src/ObjectTimeline.msw.test.tsx
// Before
http.get(`${BASE_URL}/api/v1`, () =>
  HttpResponse.json({ status: 'ok', version: '1.0.0' })
),

// After – add the 4.x discovery endpoint
http.get(`${BASE_URL}/api/v1`, () =>
  HttpResponse.json({ status: 'ok', version: '1.0.0' })
),
http.get(`${BASE_URL}/api/v1/discovery`, () =>
  HttpResponse.json({ status: 'ok', version: '1.0.0' })
),
Original prompt

@objectstack/* 升级到最新版

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectui-demo Ready Ready Preview, Comment Mar 31, 2026 0:30am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored Mar 31, 2026 0:30am

Request Review

Copilot AI changed the title [WIP] Update objectstack to latest version chore: upgrade @objectstack/* from ^3.3.1 to ^4.0.1 Mar 31, 2026
Copilot AI requested a review from hotlong March 31, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants