Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .changeset/fix-fixed-group-peer-major.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
"@objectstack/cli": patch
"@objectstack/express": patch
"@objectstack/sveltekit": patch
"@objectstack/hono": patch
"@objectstack/nuxt": patch
"@objectstack/nextjs": patch
"@objectstack/nestjs": patch
"@objectstack/fastify": patch
"@objectstack/plugin-msw": patch
"@objectstack/plugin-dev": patch
"@objectstack/service-datasource": patch
"@objectstack/service-ai": patch
---

fix(release): stop the fixed-group major cascade caused by internal `@objectstack/*` peerDependencies.

These packages declared workspace peerDependencies on other framework packages
in the changesets `fixed` group. Inside a fixed group, changesets rewrites those
peer ranges on every release and treats a peer-range change as breaking → major,
which cascaded to **all 69 packages → 8.0.0** on *any* minor changeset. Required
internal peers are now regular `dependencies`; optional ones move to
`devDependencies` (kept for in-workspace tests, no longer a published peer edge).
Releases now bump correctly (patch/minor) instead of a spurious major.
4 changes: 3 additions & 1 deletion packages/adapters/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"test:watch": "vitest"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"express": "^5.1.0"
},
"devDependencies": {
Expand Down Expand Up @@ -52,5 +51,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
4 changes: 3 additions & 1 deletion packages/adapters/fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"test:watch": "vitest"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"fastify": "^5.8.5"
},
"devDependencies": {
Expand Down Expand Up @@ -51,5 +50,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
4 changes: 2 additions & 2 deletions packages/adapters/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
},
"dependencies": {
"@objectstack/plugin-hono-server": "workspace:*",
"@objectstack/types": "workspace:*"
"@objectstack/types": "workspace:*",
"@objectstack/runtime": "workspace:^"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"hono": "^4.12.8"
},
"devDependencies": {
Expand Down
6 changes: 4 additions & 2 deletions packages/adapters/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
},
"peerDependencies": {
"@nestjs/common": "^11.1.19",
"@nestjs/core": "^11.1.19",
"@objectstack/runtime": "workspace:^"
"@nestjs/core": "^11.1.19"
},
"devDependencies": {
"@nestjs/common": "^11.1.24",
Expand Down Expand Up @@ -45,5 +44,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
4 changes: 3 additions & 1 deletion packages/adapters/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"test:watch": "vitest"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"next": "^16.2.4",
"react": "^19.2.5",
"react-dom": "^19.2.5"
Expand Down Expand Up @@ -48,5 +47,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
4 changes: 3 additions & 1 deletion packages/adapters/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"test:watch": "vitest"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"h3": "^1.15.11"
},
"devDependencies": {
Expand Down Expand Up @@ -51,5 +50,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
4 changes: 3 additions & 1 deletion packages/adapters/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"test:watch": "vitest"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^",
"@sveltejs/kit": "^2.58.0"
},
"devDependencies": {
Expand Down Expand Up @@ -50,5 +49,8 @@
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@objectstack/runtime": "workspace:^"
}
}
5 changes: 1 addition & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@objectstack/account": "workspace:*",
"@objectstack/client": "workspace:*",
"@objectstack/console": "workspace:*",
"@objectstack/core": "workspace:*",
"@objectstack/core": "workspace:^",
"@objectstack/driver-memory": "workspace:^",
"@objectstack/driver-mongodb": "workspace:^",
"@objectstack/driver-sql": "workspace:^",
Expand Down Expand Up @@ -93,9 +93,6 @@
"yaml": "^2.9.0",
"zod": "^4.4.3"
},
"peerDependencies": {
"@objectstack/core": "workspace:^"
},
"devDependencies": {
"@oclif/plugin-help": "^6.2.50",
"@oclif/plugin-plugins": "^5.4.72",
Expand Down
44 changes: 2 additions & 42 deletions packages/plugins/plugin-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@objectstack/spec": "workspace:*",
"@objectstack/types": "workspace:*"
},
"peerDependencies": {
"devDependencies": {
"@objectstack/driver-memory": "workspace:^",
"@objectstack/objectql": "workspace:^",
"@objectstack/plugin-auth": "workspace:^",
Expand All @@ -30,47 +30,7 @@
"@objectstack/plugin-security": "workspace:^",
"@objectstack/rest": "workspace:^",
"@objectstack/runtime": "workspace:^",
"@objectstack/service-i18n": "workspace:^"
},
"peerDependenciesMeta": {
"@objectstack/driver-memory": {
"optional": true
},
"@objectstack/objectql": {
"optional": true
},
"@objectstack/runtime": {
"optional": true
},
"@objectstack/plugin-auth": {
"optional": true
},
"@objectstack/plugin-hono-server": {
"optional": true
},
"@objectstack/plugin-org-scoping": {
"optional": true
},
"@objectstack/plugin-security": {
"optional": true
},
"@objectstack/rest": {
"optional": true
},
"@objectstack/service-i18n": {
"optional": true
}
},
"devDependencies": {
"@objectstack/driver-memory": "workspace:*",
"@objectstack/objectql": "workspace:*",
"@objectstack/plugin-auth": "workspace:*",
"@objectstack/plugin-hono-server": "workspace:*",
"@objectstack/plugin-org-scoping": "workspace:*",
"@objectstack/plugin-security": "workspace:*",
"@objectstack/rest": "workspace:*",
"@objectstack/runtime": "workspace:*",
"@objectstack/service-i18n": "workspace:*",
"@objectstack/service-i18n": "workspace:^",
"@types/node": "^25.9.1",
"typescript": "^6.0.3",
"vitest": "^4.1.8"
Expand Down
6 changes: 2 additions & 4 deletions packages/plugins/plugin-msw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@
"build": "tsup --config ../../../tsup.config.ts",
"test": "vitest run"
},
"peerDependencies": {
"@objectstack/runtime": "workspace:^"
},
"dependencies": {
"@objectstack/core": "workspace:*",
"@objectstack/objectql": "workspace:*",
"@objectstack/spec": "workspace:*",
"@objectstack/types": "workspace:*",
"msw": "^2.14.6"
"msw": "^2.14.6",
"@objectstack/runtime": "workspace:^"
},
"devDependencies": {
"@objectstack/runtime": "workspace:*",
Expand Down
8 changes: 2 additions & 6 deletions packages/services/service-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"@ai-sdk/anthropic": "^3.0.0",
"@ai-sdk/gateway": "^3.0.0",
"@ai-sdk/google": "^3.0.0",
"@ai-sdk/openai": "^3.0.0",
"@objectstack/embedder-openai": "workspace:^"
"@ai-sdk/openai": "^3.0.0"
},
"peerDependenciesMeta": {
"@ai-sdk/anthropic": {
Expand All @@ -45,13 +44,10 @@
},
"@ai-sdk/openai": {
"optional": true
},
"@objectstack/embedder-openai": {
"optional": true
}
},
"devDependencies": {
"@objectstack/embedder-openai": "workspace:*",
"@objectstack/embedder-openai": "workspace:^",
"@objectstack/platform-objects": "workspace:*",
"@types/node": "^25.9.1",
"typescript": "^6.0.3",
Expand Down
13 changes: 2 additions & 11 deletions packages/services/service-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,15 @@
"@objectstack/core": "workspace:*",
"@objectstack/spec": "workspace:*"
},
"peerDependencies": {
"@objectstack/driver-memory": "workspace:*",
"@objectstack/driver-mongodb": "workspace:*",
"@objectstack/driver-sql": "workspace:*"
},
"peerDependenciesMeta": {
"@objectstack/driver-sql": { "optional": true },
"@objectstack/driver-mongodb": { "optional": true },
"@objectstack/driver-memory": { "optional": true }
},
"devDependencies": {
"@objectstack/driver-memory": "workspace:*",
"@objectstack/driver-sql": "workspace:*",
"@objectstack/plugin-hono-server": "workspace:*",
"@types/node": "^25.9.1",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^4.1.8"
"vitest": "^4.1.8",
"@objectstack/driver-mongodb": "workspace:*"
},
"keywords": [
"objectstack",
Expand Down
Loading
Loading