From 456434c52327bd44529833726248b2b2b84358d9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 03:26:37 +0000 Subject: [PATCH 1/2] Initial plan From 329b8f68377cfd92a076898885e02510d8353e46 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Apr 2026 03:44:08 +0000 Subject: [PATCH 2/2] fix: prevent changesets minor releases from escalating to major Agent-Logs-Url: https://github.com/objectstack-ai/objectui/sessions/8cfe0c73-7afe-4603-9d07-6b713fb70f12 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com> --- .changeset/config.json | 5 ++++- CHANGELOG.md | 2 ++ packages/plugin-designer/package.json | 25 +++++++------------------ 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 35327db37..0fd67a667 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -51,5 +51,8 @@ "ignore": [ "@object-ui/example-*", "@object-ui/site" - ] + ], + "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { + "onlyUpdatePeerDependentsWhenOutOfRange": true + } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e4965efc..bbee02314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- **Changesets release bump escalation** (`release`): Added `___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange` in `.changeset/config.json` and moved internal `@object-ui/*` entries in `@object-ui/plugin-designer` from `peerDependencies` to `dependencies` to prevent minor release PRs from incorrectly escalating fixed-group packages to a major version. + - **Home page star/favorite not reactive** (`@object-ui/console`): Migrated `useFavorites` from standalone hook to React Context (`FavoritesProvider`) so all consumers (HomePage, AppCard, AppSidebar, UnifiedSidebar) share a single state instance. Previously, each component calling `useFavorites()` created independent state, so toggling a favorite in AppCard did not trigger re-render in HomePage. localStorage persistence is retained as the storage layer. ### Changed diff --git a/packages/plugin-designer/package.json b/packages/plugin-designer/package.json index 1b659af11..4d1d1b381 100644 --- a/packages/plugin-designer/package.json +++ b/packages/plugin-designer/package.json @@ -24,32 +24,21 @@ "lint": "eslint ." }, "peerDependencies": { - "@object-ui/components": "workspace:*", - "@object-ui/core": "workspace:*", - "@object-ui/fields": "workspace:*", - "@object-ui/plugin-form": "workspace:*", - "@object-ui/plugin-grid": "workspace:*", - "@object-ui/react": "workspace:*", - "@object-ui/types": "workspace:*", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, - "peerDependenciesMeta": { - "@object-ui/plugin-grid": { - "optional": true - }, - "@object-ui/plugin-form": { - "optional": true - }, - "@object-ui/fields": { - "optional": true - } - }, "dependencies": { "@dnd-kit/core": "^6.3.1", "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", + "@object-ui/components": "workspace:*", + "@object-ui/core": "workspace:*", + "@object-ui/fields": "workspace:*", "@object-ui/i18n": "workspace:*", + "@object-ui/plugin-form": "workspace:*", + "@object-ui/plugin-grid": "workspace:*", + "@object-ui/react": "workspace:*", + "@object-ui/types": "workspace:*", "clsx": "^2.1.1", "lucide-react": "^1.8.0", "tailwind-merge": "^3.5.0"