Skip to content

Commit 04404fe

Browse files
authored
Merge pull request #1227 from objectstack-ai/copilot/fix-release-bump-issue
Prevent fixed-group minor releases from escalating to major due to internal peerDependency churn
2 parents e05bf39 + 329b8f6 commit 04404fe

File tree

3 files changed

+13
-19
lines changed

3 files changed

+13
-19
lines changed

.changeset/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@
5151
"ignore": [
5252
"@object-ui/example-*",
5353
"@object-ui/site"
54-
]
54+
],
55+
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
56+
"onlyUpdatePeerDependentsWhenOutOfRange": true
57+
}
5558
}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919

2020
### Fixed
2121

22+
- **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.
23+
2224
- **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.
2325

2426
### Changed

packages/plugin-designer/package.json

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,21 @@
2424
"lint": "eslint ."
2525
},
2626
"peerDependencies": {
27-
"@object-ui/components": "workspace:*",
28-
"@object-ui/core": "workspace:*",
29-
"@object-ui/fields": "workspace:*",
30-
"@object-ui/plugin-form": "workspace:*",
31-
"@object-ui/plugin-grid": "workspace:*",
32-
"@object-ui/react": "workspace:*",
33-
"@object-ui/types": "workspace:*",
3427
"react": "^18.0.0 || ^19.0.0",
3528
"react-dom": "^18.0.0 || ^19.0.0"
3629
},
37-
"peerDependenciesMeta": {
38-
"@object-ui/plugin-grid": {
39-
"optional": true
40-
},
41-
"@object-ui/plugin-form": {
42-
"optional": true
43-
},
44-
"@object-ui/fields": {
45-
"optional": true
46-
}
47-
},
4830
"dependencies": {
4931
"@dnd-kit/core": "^6.3.1",
5032
"@dnd-kit/sortable": "^10.0.0",
5133
"@dnd-kit/utilities": "^3.2.2",
34+
"@object-ui/components": "workspace:*",
35+
"@object-ui/core": "workspace:*",
36+
"@object-ui/fields": "workspace:*",
5237
"@object-ui/i18n": "workspace:*",
38+
"@object-ui/plugin-form": "workspace:*",
39+
"@object-ui/plugin-grid": "workspace:*",
40+
"@object-ui/react": "workspace:*",
41+
"@object-ui/types": "workspace:*",
5342
"clsx": "^2.1.1",
5443
"lucide-react": "^1.8.0",
5544
"tailwind-merge": "^3.5.0"

0 commit comments

Comments
 (0)