-
-
Notifications
You must be signed in to change notification settings - Fork 145
chore(deps): update versions #1315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,6 +70,6 @@ | |
| "@orpc/standard-server-peer": "workspace:*" | ||
| }, | ||
| "devDependencies": { | ||
| "zod": "^4.1.12" | ||
| "zod": "^4.2.1" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,6 @@ | |
| "json-schema-typed": "^8.0.2" | ||
| }, | ||
| "devDependencies": { | ||
| "zod": "^4.1.12" | ||
| "zod": "^4.2.1" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,17 +62,17 @@ | |
| }, | ||
| "devDependencies": { | ||
| "@fastify/cookie": "^11.0.2", | ||
| "@nestjs/common": "^11.1.9", | ||
| "@nestjs/core": "^11.1.9", | ||
| "@nestjs/platform-express": "^11.1.9", | ||
| "@nestjs/platform-fastify": "^11.1.9", | ||
| "@nestjs/testing": "^11.1.9", | ||
| "@nestjs/common": "^11.1.10", | ||
| "@nestjs/core": "^11.1.10", | ||
| "@nestjs/platform-express": "^11.1.10", | ||
| "@nestjs/platform-fastify": "^11.1.10", | ||
| "@nestjs/testing": "^11.1.10", | ||
| "@ts-rest/core": "^3.52.1", | ||
| "@types/express": "^5.0.6", | ||
| "express": "^5.2.1", | ||
| "fastify": "^5.6.2", | ||
| "rxjs": "^7.8.1", | ||
| "rxjs": "^7.8.2", | ||
| "supertest": "^7.1.4", | ||
| "zod": "^4.1.12" | ||
| "zod": "^4.2.1" | ||
|
Comment on lines
+65
to
+76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify all package versions in the snippet
for pkg in "@nestjs/common@11.1.10" "@nestjs/core@11.1.10" "@nestjs/platform-express@11.1.10" "@nestjs/platform-fastify@11.1.10" "@nestjs/testing@11.1.10" "@ts-rest/core@3.52.1" "@types/express@5.0.6" "express@5.2.1" "fastify@5.6.2" "rxjs@7.8.2" "supertest@7.1.4" "zod@4.2.1"; do
echo "Checking $pkg..."
npm view "$pkg" version 2>&1 | head -1
doneRepository: unnoq/orpc Length of output: 164 🌐 Web query:
💡 Result: @nestjs/common@11.1.10 is published (release v11.1.10 on Dec 22, 2025). Install with: Sources: 🌐 Web query:
💡 Result: rxjs version 7.8.2 is published on npm — install with: npm install rxjs@7.8.2 Key details:
Sources: 🌐 Web query:
💡 Result: Yes — zod version 4.2.1 is published on npm. Install with: Sources: Snyk package info showing latest 4.2.1, and Zod release notes/changelog. [1][2] References 🌐 Web query:
💡 Result: Express v5.2.1 — summary
Sources: 🌐 Web query:
💡 Result: fastify v5.6.2 — published (npm) and current release. Install: npm install fastify@5.6.2. [1][2] References:
All versions exist, but rxjs@7.8.2 has a reported breaking change. Verified that @nestjs/common@11.1.10, @nestjs/core@11.1.10, @nestjs/platform-express@11.1.10, @nestjs/platform-fastify@11.1.10, @nestjs/testing@11.1.10, rxjs@7.8.2, zod@4.2.1, express@5.2.1, and fastify@5.6.2 are all published. However, rxjs@7.8.2 includes a breaking change (GitHub ReactiveX/rxjs #7534). Verify the codebase is compatible with the rxjs changes before merging. |
||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,8 +41,8 @@ | |
| "@orpc/standard-server": "workspace:*" | ||
| }, | ||
| "devDependencies": { | ||
| "@cloudflare/workers-types": "^4.20251202.0", | ||
| "@cloudflare/workers-types": "^4.20251228.0", | ||
| "@orpc/standard-server-peer": "workspace:*", | ||
| "@types/node": "^22.15.30" | ||
| "@types/node": "^22.19.3" | ||
|
Comment on lines
+44
to
+46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: npm view @cloudflare/workers-types@4.20251228.0 version 2>&1 | head -20
npm view @types/node@22.19.3 version 2>&1 | head -20Repository: unnoq/orpc Length of output: 164 🏁 Script executed: cat packages/publisher-durable-object/package.json | head -50Repository: unnoq/orpc Length of output: 164 🌐 Web query:
💡 Result: I couldn't find a published npm release for @cloudflare/workers-types version 4.20251228.0. The most-recent published versions I found are 4.20251225.0 (listed in a Cloudflare package index) and 4.20251120.0 (Yarn/npm listings). Sources: [cfdata/npm index showing v4.20251225.0] [Yarn/npm package page showing latest tags and recent versions]. [1][2] References
🌐 Web query:
💡 Result: Yes — @types/node@22.19.3 exists (published Dec 14, 2025). Install with:
Sources: [1], [2]. Sources Fix package version: @cloudflare/workers-types does not exist at specified version. @cloudflare/workers-types@4.20251228.0 is not published on npm. The most recent available version is 4.20251225.0. Update line 44 to use @types/node@22.19.3 is valid (verified Dec 14, 2025). 🤖 Prompt for AI Agents |
||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,6 +41,6 @@ | |
| "@orpc/shared": "workspace:*" | ||
| }, | ||
| "devDependencies": { | ||
| "swr": "^2.3.7" | ||
| "swr": "^2.3.8" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
Vercel AI SDK version 6 breaking changes compared to version 5💡 Result:
Summary of notable breaking changes in AI SDK v6 vs v5
New language-model spec (v3): v6 adopts the v3 Language Model Specification (enables agents/tool approval). This is the main reason for the major version bump and may change some model/agent-related data shapes. [1][2]
Package & export changes: several @ai-sdk/* packages and the core ai package have new major versions (ai@^6.0.0, @ai-sdk/provider@^3.0.0, provider-utils@^4.0.0, etc.). Compare your imports/exports from ai@5 to ai@6 — some exports were renamed/removed. The repo notes “compare exports of ai@5 and ai@6” as a migration checklist. [4][6]
ai/test mocks removed/changed: v6 no longer exports the v2 mock classes previously available under ai/test — tests relying on those mocks need updating. [6]
Data/format changes for agents & tool workflows: agent/tool approval flows and partial streaming semantics follow the new spec; UIs and server code that rely on older v5 agent behaviors may need adjustments. [1][2][4]
Required code changes & automated codemods: Vercel provides v6 codemods (npx @ai-sdk/codemod v6) to automate many changes (and recommend running them). Also check any manual migration steps in the v6 migration guide. [4]
Potential runtime incompatibilities during rolling upgrades: docs and community issues warn about incompatibilities between mixed client/server versions and stream/data-format mismatches — consider coordinating client/server upgrades or using compatibility wrappers. [7][9]
Migration guidance (brief)
Sources
[1] Vercel blog: AI SDK 6 announcement.
[2] AI SDK 6 Beta announcement / docs.
[4] AI SDK migration guide: Migrate AI SDK 5.x → 6.0 (codemods & package list).
[6] Vercel/ai GitHub (v6 breaking-changes notes: exports, ai/test mock removal).
[7] Community / GitHub issue re: mixed-version compatibility.
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 164
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 81
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 914
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 1355
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 2607
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 2407
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 378
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 36
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 288
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 81
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 36
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 1873
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 1014
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 861
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 372
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 423
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 120
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 5911
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 4264
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 5827
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 3330
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 311
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 241
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 398
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 36
🏁 Script executed:
Repository: unnoq/orpc
Length of output: 834
Update peerDependencies in packages/ai-sdk to reflect v6 requirement, and verify v6 breaking changes were fully addressed.
The codebase has been upgraded to use AI SDK v6 (^6.0.3), which includes breaking changes: new language-model spec (v3), removed ai/test mocks, export changes, and data format changes for agents/tools. While the code already uses v6-compatible APIs (Tool type, tool(), generateText), there's a version constraint mismatch: packages/ai-sdk declares
peerDependencies: "ai": ">=5.0.76"but is only tested with v6 devDependencies. This allows consumers to install v5.0.76, which would break at runtime.Update packages/ai-sdk/package.json peerDependencies to
"ai": "^6.0.0"to enforce v6 requirement and prevent incompatibility. Additionally, confirm that any v6-specific breaking changes (language model spec, export migrations) have been fully addressed across the codebase.🤖 Prompt for AI Agents