Special Note: zod v4
This beta release adds support for zod v4, a highly requested addition.
Special thanks to @dclark27 @colinhacks for all the work on #1040 which adds this support while staying backwards compatible with zod v3!
NOTE: if you run into any issues with zod v4 in this SDK please raise an issue! We'll be monitoring actively for any issues while trying to use zod v4 as it's a highly anticipated update. In order to make this upgrade possible we needed to also require v3.25+ for zod v3. You may need to update your version of zod v3 if you've been using an older one. We're also making this a beta release while we get initial feedback on the update here.
What's Changed
- Migrate to vitest from jest by @mattzcarey in #1074
- ci: add workflow_dispatch trigger for manual CI runs by @felixweinberger in #1114
- Fix: @types/node incompatibility with vite warnings on npm install by @KKonstantinov in #1121
- Fix: clean up accidental spec.types.ts by @KKonstantinov in #1122
- fix: Pass RequestInit options to auth requests by @dsp-ant in #1066
- SEP-1036: URL Elicitation by @nbarbettini in #1105
- add none to test and the router. by @m-henderson in #1116
- [auth] Adjust scope management to line up with SEP-835 by @pcarleton in #1133
- chore: add .idea/ to .gitignore by @maxisbey in #1134
- chore: remove unused @types/eslint__js dependency by @mattzcarey in #1128
- feat: url based client metadata registration (SEP 991) by @mattzcarey in #1127
- feat: zod v4 with backwards compatibility for v3.25+ by @dclark27 in #1040
- fix: remove pnpm lock and regenerate package-lock by @mattzcarey in #1138
- docs: update installation instructions for zod peer dependency by @mattzcarey in #1139
- Implement SEP-1577 - Sampling With Tools by @ochafik in #1101
- Follow up: unify v3 and v4 zod types via describe matrix and a test helper by @KKonstantinov in #1141
- chore: Add deprecated marker to old elicitInput overload by @nbarbettini in #1142
- fix: Connect error in URL elicitation example by @nbarbettini in #1136
- Support upscoping on insufficient_scope 403 by @Nayana-Parameswarappa in #1115
- Support beta releases by publishing with --tag beta by @felixweinberger in #1146
- Bump version to 1.23.0-beta.0 by @felixweinberger in #1147
New Contributors
- @nbarbettini made their first contribution in #1105
- @m-henderson made their first contribution in #1116
- @maxisbey made their first contribution in #1134
- @dclark27 made their first contribution in #1040
- @Nayana-Parameswarappa made their first contribution in #1115
Full Changelog: 1.22.0...1.23.0-beta.0