migrated from zod v3 to zod v4

This commit is contained in:
2025-10-20 15:02:53 +02:00
parent 8b1e9d1cf6
commit 4d1c06c5be
16 changed files with 229 additions and 328 deletions

View File

@@ -19,14 +19,18 @@ This repository is a continuation of [Gregory Bouteiller's zod-pocketbase](https
- Removed `doc/`, `playground/` and monorepo configuration
- Replaced `pnpm` and `node` in favor of `bun`
- Switched `.github/` to `.gitea/` and `gh` to `tea`
- Switched from `eslint` and `prettier` to `biome`.
### Dependencies & Code
- Migrated from `tsup` to `tsdown`
- Updated all npm dependencies (except `zod`, which was only updated to the latest 3 version)
- Updated all npm dependencies
- Removed unused dependencies
- Fixed `getPocketbase` function in `sdk.ts` to match the latest PocketBase version
- Implemented most TODOs left in `content.ts`
### Not working (yet)
- Expanding `Relation` field with type `Multiple` is not working for now. Try to avoid using it.
## License
[MIT License](./LICENSE)