Skip to content

Bump zod from 4.4.3 to 4.5.1 - #280

Merged
NikolaRHristov merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/zod-4.5.1
Sep 1, 2026
Merged

Bump zod from 4.4.3 to 4.5.1#280
NikolaRHristov merged 1 commit into
Currentfrom
dependabot/npm_and_yarn/zod-4.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bumps zod from 4.4.3 to 4.5.1.

Release notes

Sourced from zod's releases.

v4.5.1

Commits:

  • 2e862dbf89da2835e5206a8fd3d3be61afe3cf7f ci: gate the GitHub release and JSR publish on the version being live on npm
  • 8e03380510db36fa6fda979fc78a375fdea8021c 4.5.1

v4.5.0

Zod 4.5 is now available.

npm install zod@latest

At a glance:

z.compile()

You can now pre-compile any Zod schema using z.compile(schema). This dramatically speeds up parsing performance.

import * as z from "zod";
const Player = z.object({
username: z.string(),
bio: z.string(),
xp: z.number(),
// ...20 more properties...
});
const CompiledPlayer = z.compile(Player);

A compiled schema can be used exactly like an uncompiled one. There are no special rules around compiled schemas. They're just faster.

Player.parse({ ... });
CompiledPlayer.parse({ ... }); // ~9x faster

On objects, arrays, and unions, this speeds up parsing by a factor of ~3–9. More complex schemas stand to benefit more than simpler ones.

... (truncated)

Commits
  • 8e03380 4.5.1
  • 2e862db ci: gate the GitHub release and JSR publish on the version being live on npm
  • 0a69bcb 4.5.0
  • b9605d3 docs(blog): set the 4.5 announcement publish date
  • fb3af01 feat(v4): expose the memoizer through z.config() so zod/mini can opt in (#6482)
  • 62471c9 docs: Zod 4.5 announcement, z.compile() and memory posts (#6481)
  • 2e1f2b4 refactor(v4): drop the superseded lazy-install helpers
  • 5edbc4d feat(lang): add Nepali (ne) locale (#6483)
  • 0416586 feat(lang): Added Gujarati locale
  • 9782f87 perf(v4): validate without building the output, and keep schemas out of dicti...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [zod](https://github.com/colinhacks/zod) from 4.4.3 to 4.5.1.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v4.4.3...v4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 31, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​zod@​4.4.3 ⏵ 4.5.110010010096100

View full report

@socket-security

Copy link
Copy Markdown

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Block Low
Embedded URLs or IPs: npm zod

URLs: 127.0.0.1, lkajsdf.com, gmail.com, z.date, https://json-schema.org/draft/2020-12/schema, example.com, https://test.com/api/v1?foo=bar&baz=qux, z.coerce.date, z.iso.date, z.map, user.name, e.co, EXAMPLE.COM, http://google.com, https://google.com/asdf?asdf=ljk3lk4&asdf=234#asdf, lkjsdf.com, 122.122.122.122, 254.164.77.1, 114.71.82.94, 0.0.0.0, 37.85.236.115, 192.168.0.1/24, 192.168.0.0/24, 10.0.0.0/8, 203.0.113.0/24, 192.0.2.0/24, 127.0.0.0/8, 172.16.0.0/12, 192.168.1.0/24, 192.168.1.1/33, 10.0.0.1/-1, 192.168.1.1/24/24, 192.168.1.0/abc, domain.com, firstname.lastname@domain.com, subdomain.domain.com, domain-one.com, domain.name, domain.co.jp, very.common@example.com, disposable.style.email.with+symbol@example.com, other.email-with-hyphen@example.com, user.name+tag+sorting@example.com, asdf.example.com, strange-example.com, example.org, my-example.com, b.cd, mail.com, test.te-st.com, etu.inp-n7.fr, strange.example.com, 123.123.123.123, email.domain.com, -domain.com, Abc.example.com, but_its_not_allowed_in_this_part.example.com, test.com, -start.com, z.creditCard, http://json-schema.org/draft-07/schema#, http://json-schema.org/draft-04/schema#, z.properties, b.co, 213.174.246.205, https://speedtest.net, https://example.net.il, https://sub.example.co.uk, b.com, mple.com, user.name+tag@example.co.uk, 192.168.1.1, 255.255.255.255, z.int, developer.mozilla.org/en-US/docs/Web/API/URL/password, https://my.local, https://a.com, 192.0.2.1, 192.0.2.1/96, https://other.com?key=value, http://-asdf.com, http://asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf.com, http://asdf.c, lckj.com, www.google.com, 192.168.0.1, 1.2.3.4, 94.105.123.75, 0.0.0.0/0, 255.255.255.255/32, 192.168.0.0, 192.168.0.0/33, 192.168.0.0/-1, sub.example.com, a-b-c.example.com, 123.example.com, example-123.com, developer.mozilla.org, hello.world.example.com, xn--d1acj3b.com, xn--d1acj3b.org, example-.com, -example.com, example.com:8080, tp://invalid.com, z.email, http://examples.com, z.lt, z.gt

Location: Package overview

From: package.jsonnpm/zod@4.5.1

ℹ Read more on: This package | This alert | What are URL strings?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/zod@4.5.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@NikolaRHristov
NikolaRHristov merged commit 4ff16c6 into Current Sep 1, 2026
5 of 10 checks passed
@NikolaRHristov
NikolaRHristov deleted the dependabot/npm_and_yarn/zod-4.5.1 branch September 1, 2026 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

1 participant