Skip to content

chore(deps): bump zod from 4.5.4 to 4.6.5 - #24

Closed
dependabot[bot] wants to merge 168 commits into
masterfrom
dependabot/npm_and_yarn/zod-4.6.5
Closed

dependabot[bot] wants to merge 168 commits into
masterfrom
dependabot/npm_and_yarn/zod-4.6.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps zod from 4.5.4 to 4.6.5.

Release notes

Sourced from zod's releases.

v4.6.5

Commits:

  • d2b135cfb7a3582b9eb515756b9166bcb9521f4a docs: add the 4.6.x patch highlights to the 4.6 post
  • f1448f7cee00df9fe1e9ad84a000aa1828cc8bc1 docs: fold the 4.6.x patch highlights into the 4.6 post's own sections
  • de65a5cb39ed22a507fac935788f718fa88d104f docs: lead the properties section with the check and add a Zod Mini tab (#6598)
  • 56222cd1532c07bcb91b67df529cab4c0a215330 feat(instanceof): key the .properties() shape off the instance type (#6600)
  • ca0229a404818290e6cdcfefcd7eb2d04bcbb543 Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)"
  • cc4cd4ee9c52fcaa10964e48cc144541e41a5ed9 Revert "Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)""
  • 0f3f5ee3ca56c7574bf849e54f79e9a6e02562ee 4.6.5
  • 59bbc03e10c636b9eb3c393dfeb552819774ec21 chore: re-pin the integration peers to the workspace zod after the 4.6.5 bump

v4.6.4

A patch on top of 4.6.3.

  • d6bc1e30 feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)
  • ad32d751 perf: z.url() rejects an invalid URL with URL.canParse() instead of a throwing constructor, about 50x faster; fewer allocations on the validation path (#6588)
  • 2bb08717 chore: re-pin the integration peers to the workspace zod after the 4.6.4 bump
  • f6e1701a chore(deps): bump next to 15.5.25 and vite to 7.3.6 (#6153)

v4.6.3

A patch on top of 4.6.2.

  • 413cce9a fix(v4): make z.properties() a check again (#6594) — removes the standalone z.properties() schema from 4.6.0; z.instanceof().properties() and .check(...z.properties()) are unchanged
  • 75d63ee1 docs: show only the .properties() method form in the 4.6 post
  • 46da9572 docs: match the error-message examples to what the parsers emit

v4.6.2

A patch on top of 4.6.1.

v4.6.1

A patch on top of 4.6.0.

v4.6.0

Zod 4.6 is now available.

npm install zod@latest

At a glance:

... (truncated)

Commits
  • 59bbc03 chore: re-pin the integration peers to the workspace zod after the 4.6.5 bump
  • 0f3f5ee 4.6.5
  • cc4cd4e Revert "Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, ref...
  • ca0229a Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed w...
  • 56222cd feat(instanceof): key the .properties() shape off the instance type (#6600)
  • de65a5c docs: lead the properties section with the check and add a Zod Mini tab (#6598)
  • f1448f7 docs: fold the 4.6.x patch highlights into the 4.6 post's own sections
  • d2b135c docs: add the 4.6.x patch highlights to the 4.6 post
  • 2bb0871 chore: re-pin the integration peers to the workspace zod after the 4.6.4 bump
  • 743aedb 4.6.4
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Dependency and runtime maintenance label Sep 18, 2026
@ruijayfeng

Copy link
Copy Markdown
Contributor

本地复现了失败并验证了修复,供合并参考。

失败根因:zod 双副本,不是应用代码问题

@deepseek-ai/dsh-storage-domain 自带嵌套 zod,lockfile 钉在 4.5.4;本 PR 只把应用层升到 4.6.5。domainTable 的参数类型来自嵌套副本的 ZodType/$ZodTypeInternals,跨副本在 4.5→4.6 间不再互容,于是 tutorial.ts:27 报 TS2345。dependabot 不会主动动嵌套解析,所以 CI 必挂。

已验证的修复:一条 dedupe

应用层范围 ^4.4.3 本就允许 4.6.5,corepack yarn dedupe 把两副本合并为单一 4.6.5,lockfile 净 diff 仅 5 行(一条 resolution 条目 + 应用依赖范围)。

验证结果(macOS arm64 / Node 26.8.1)

  • dedupe 后 yarn typecheck 退出 0
  • yarn build:web 通过
  • node --test tutorial.test.mjs tutorial-api.test.mjs tutorial-presentation.test.mjs:8/8 通过(教程 reducer 走真实存储域,覆盖 zod 4.6.5 运行时校验行为,不只是类型)

结论:本 PR 语义安全,补一个 dedupe 的 lockfile 提交即可绿。

ruijayfeng and others added 2 commits September 22, 2026 09:58
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/zod-4.6.5 branch from 13f3348 to 199c4c0 Compare September 22, 2026 02:04
dependabot Bot and others added 10 commits September 22, 2026 10:07
Dependabot GitHub Actions update; required checks passed on the updated branch.
Dependabot GitHub Actions update; required checks passed on the updated branch.
Dependabot GitHub Actions update; required checks passed on the updated branch.
Dependabot GitHub Actions update; required checks passed on the updated branch.
Dependabot GitHub Actions update; required checks passed on the updated branch.
Dependabot update; synchronized with master and all CI checks pass.
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/zod-4.6.5 branch from 199c4c0 to a9bb716 Compare September 23, 2026 01:05
Dependabot update reconciled with tsdown 0.23.0; all CI checks pass.
Bumps [zod](https://github.com/colinhacks/zod) from 4.5.4 to 4.6.5.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v4.5.4...v4.6.5)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/zod-4.6.5 branch from a9bb716 to e3556e1 Compare September 23, 2026 01:26
@Qiuner

Qiuner commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Web checks 当前失败于 corepack yarn typecheck:src/tutorial.ts:27 的 schema 使用了 Zod 4.6 类型,而 TutorialRun 约束仍来自 Zod 4.5(_zod.version.minor 6 vs 5)。这不是可忽略的安装告警,需统一 Zod 版本/依赖图或调整类型边界后重新跑 CI;暂不批准合并。

@dependabot @github

dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/zod-4.6.5 branch September 28, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency and runtime maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants