mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-15 23:55:43 -04:00
chore(deps): upgrade oRPC to v2 (2.0.0-beta.42)
- Pin all @orpc/* catalog entries to 2.0.0-beta.42; @sofa/api now depends on @orpc/openapi - Contract routes move from .route() to .meta(openapi(...)); schemas gain meta ids so the OpenAPI document hoists them as named components; publicInfo overrides document-level security - OpenAPI generator/handler use v2 APIs (converters, base, spec plugin option, OpenAPI 3.1.1 output) - Add restoreRootFileType routing interceptor so root-level File inputs (avatar upload, backup restore) keep their MIME type under Bun.serve - Web/native links use origin + path url; native error classification derives HTTP status from COMMON_ERROR_STATUS_MAP / MalformedResponseError since ORPCError.status is gone - router-auth test reads v2 orderedMiddlewares; regenerated docs/public/openapi.json Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
22 files changed
+2880
-3971
No files matched your search
+7
-7
@@ -16,13 +16,13 @@
|
||||
"@lingui/metro-transformer": "6.9.0",
|
||||
"@lingui/react": "6.9.0",
|
||||
"@lingui/vite-plugin": "6.9.0",
|
||||
"@orpc/client": "1.15.4",
|
||||
"@orpc/contract": "1.15.4",
|
||||
"@orpc/json-schema": "1.15.4",
|
||||
"@orpc/openapi": "1.15.4",
|
||||
"@orpc/server": "1.15.4",
|
||||
"@orpc/tanstack-query": "1.15.4",
|
||||
"@orpc/zod": "1.15.4",
|
||||
"@orpc/client": "2.0.0-beta.42",
|
||||
"@orpc/contract": "2.0.0-beta.42",
|
||||
"@orpc/json-schema": "2.0.0-beta.42",
|
||||
"@orpc/openapi": "2.0.0-beta.42",
|
||||
"@orpc/server": "2.0.0-beta.42",
|
||||
"@orpc/tanstack-query": "2.0.0-beta.42",
|
||||
"@orpc/zod": "2.0.0-beta.42",
|
||||
"@tanstack/react-form": "1.33.5",
|
||||
"@tanstack/react-query": "5.104.1",
|
||||
"@types/bun": "1.4.2",
|
||||
|
||||
Reference in new issue
Block a user