Skip to content

chore(deps): update dependency eslint-plugin-zod to v4.12.0 - #2151

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-plugin-zod-4.x
Open

chore(deps): update dependency eslint-plugin-zod to v4.12.0#2151
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/eslint-plugin-zod-4.x

Conversation

@renovate

@renovate renovate Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-zod (source) 4.8.04.12.0 age confidence

Release Notes

marcalexiei/eslint-zod (eslint-plugin-zod)

v4.12.0

Compare Source

Minor Changes
  • #​417 f9c7171 - feat: recognize z.creditCard(), the string format added in zod 4.5
Patch Changes

v4.11.0

Compare Source

Minor Changes
  • #​410 29fcc59 - feat: add prefer-map-set-size-over-min-max rule, which collapses .min(n).max(n) with the same value on a set or map schema into .size(n)
Patch Changes
  • #​413 3084477 - fix: report deprecated methods reached through a computed member

    no-number-schema-with-int, no-string-schema-with-uuid and prefer-top-level-string-formats now report z['string']().uuid() and friends, without offering a fix — matching no-number-schema-with-safe.

  • Updated dependencies [3084477]:

v4.10.0

Compare Source

Minor Changes
  • #​407 6929124 - feat: add prefer-string-length-over-min-max rule

    Collapses .min(n).max(n) with the same value on a string schema to .length(n).
    Not enabled in recommended.

Patch Changes
  • #​403 5dae17b - refactor: build no-native-enum and no-promise-schema from the shared rule builders

    No behavior change.

  • #​404 cb7b394 - chore: migrate to changesets v3

    Changelog entries no longer carry a Thanks @…! attribution; the pull request and commit links are unchanged.

  • Updated dependencies [6929124, 5dae17b, cb7b394]:

v4.9.1

Compare Source

Patch Changes
  • #​376 b1f666a Thanks @​marcalexiei! - fix: consistent-import alias collision between two zod sources

    Every rewritten import group received the alias z, so a file importing from both zod and zod/v3 was fixed into two import * as z declarations.
    Each group now gets a distinct alias.

  • #​383 6b4122e Thanks @​marcalexiei! - fix: no-number-schema-with-safe, -finite and -step missed the deprecated method mid-chain

    All three required the deprecated call to be the last one in the chain, so z.number().safe().min(0) went unreported while z.number().safe() was flagged.
    -step additionally renamed the chain's outermost property, which would have rewritten .min() instead of .step().

  • #​379 dfa974b Thanks @​marcalexiei! - fix: no-conflicting-checks now recognises every deprecated chained string format

    .ipv4(), .guid(), .ksuid(), .uuidv4(), .xid() and others were missing
    from the rule's table, so conflicts involving them went unreported.

  • #​400 fb49a63 Thanks @​marcalexiei! - fix: no-conflicting-checks no longer flags a narrowed string format as impossible

    z.string().uuid().uuidv4() and z.string().guid().uuid() are refinements, not
    contradictions — the GUID/UUID family nests. Two different UUID versions still
    conflict.

    Also fixes no-number-schema-with-safe/-step/-finite matching the factory of
    an aliased import (import { number as safe }), and stops no-native-enum and
    prefer-string-schema-with-trim crashing on a computed factory.

  • #​376 b1f666a Thanks @​marcalexiei! - fix: no-any-schema crash on a computed factory call

    The rule threw on z['any']().
    It now reports the schema without a rename suggestion.

  • Updated dependencies [dfa974b, dfa974b, dfa974b, dfa974b, fb49a63, b1f666a, dfa974b, b1f666a, fb49a63, 4d8edae]:

v4.9.0

Compare Source

Minor Changes
  • #​374 6bbcdf0 Thanks @​marcalexiei! - feat: add prefer-nullish rule

    Flags chaining .optional() and .nullable() (in either order) when the two methods are directly adjacent, and autofixes the pair to .nullish(). Enabled in recommended.

Patch Changes

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
astraea 501df7d Commit Preview URL

Branch Preview URL
Sep 05 2026, 09:45 PM

@renovate
renovate Bot force-pushed the renovate/eslint-plugin-zod-4.x branch 9 times, most recently from 3303e29 to 3422d3c Compare August 4, 2026 16:56
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-zod-4.x branch 18 times, most recently from 17d7179 to bde4878 Compare August 13, 2026 00:05
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-zod-4.x branch 21 times, most recently from 2baac93 to c78b605 Compare August 27, 2026 20:41
@renovate renovate Bot changed the title chore(deps): update dependency eslint-plugin-zod to v4.9.1 chore(deps): update dependency eslint-plugin-zod to v4.10.0 Aug 27, 2026
@renovate
renovate Bot force-pushed the renovate/eslint-plugin-zod-4.x branch 7 times, most recently from 2bdd760 to 866e4ef Compare August 29, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants