build(deps-dev): Bump zod from 3.25.76 to 4.3.4#3021
build(deps-dev): Bump zod from 3.25.76 to 4.3.4#3021dependabot[bot] wants to merge 1 commit intostagingfrom
Conversation
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.3.4. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v3.25.76...v4.3.4) --- updated-dependencies: - dependency-name: zod dependency-version: 4.3.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
v3.25.76からv.4.3.4 までの破壊的な変更と、その影響の有無を調べて |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 2998 🌐 Web query: 💡 Result: Here are the key breaking changes and practical migration steps when moving from Zod v3 → v4. Quick checklist (most important changes)
Practical migration steps
Helpful resources
If you want, I can:
Sources 🏁 Script executed: Length of output: 15803 🏁 Script executed: Length of output: 4731 🏁 Script executed: Length of output: 4714 🌐 Web query: 💡 Result: Short answer: Yes — sveltekit-superforms added explicit Zod v4 support (zod4 and zod4Client adapters) in the v2.26+ series, and v2.27.x contains Zod 4 fixes (including tests, date handling and bigint). Use the zod4 adapter when working with Zod v4. (github.com) Citations: コードベースを調査しました。以下、zod v3.25.76からv4.3.4への破壊的な変更と影響についてまとめます。 🔴 主な破壊的な変更
✅ 本プロジェクトへの影響コードベースを調査した結果、ほとんど影響がありません: 影響なし
変更が必要な箇所sveltekit-superformsのアダプター変更が必要です: 以下のファイルで変更が必要:
// 変更前
import { zod } from 'sveltekit-superforms/adapters';
// 変更後
import { zod4 } from 'sveltekit-superforms/adapters';
// 使用箇所も変更
const form = await superValidate(request, zod4(workBookSchema));🆕 本プロジェクトに有用な新機能
📝 推奨される対応
現在のスキーマ実装は既にv4互換なので、アダプター変更以外は大きな修正は不要です! |
|
Superseded by #3027. |
Bumps zod from 3.25.76 to 4.3.4.
Release notes
Sourced from zod's releases.
... (truncated)
Commits
b4ab94c4.3.466bda74Remove .refine() from ZodMiniType9443aabDrop iso time in fromJSONSchemadecef9cFix lint089e5fbImprove looseRecord docse01cd02Support patternProperties for looserecord (#5592)1a8bea3Add integration testsf3b2151v4.3.30f41e5a4.3.2f71dc01Remove Juno (#5590)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)