Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-playground/validator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.29.0
Choose a base ref
...
head repository: go-playground/validator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.30.1
Choose a head ref
  • 9 commits
  • 14 files changed
  • 7 contributors

Commits on Dec 17, 2025

  1. Bump golang.org/x/crypto from 0.45.0 to 0.46.0 (#1504)

    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from
    0.45.0 to 0.46.0.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/golang/crypto/commit/19acf81bd7bc7b558d18a550e8e023df2c33e742"><code>19acf81</code></a>
    go.mod: update golang.org/x dependencies</li>
    <li><a
    href="https://github.com/golang/crypto/commit/3a1c6b4b61966d06b6469ad7bc15839ba76eeb89"><code>3a1c6b4</code></a>
    x509roots/fallback: update bundle</li>
    <li><a
    href="https://github.com/golang/crypto/commit/f4602e40409257658159002a9af6aedb875949fb"><code>f4602e4</code></a>
    ssh/agent: fix flaky test by ensuring a writeable home directory</li>
    <li>See full diff in <a
    href="https://github.com/golang/crypto/compare/v0.45.0...v0.46.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.45.0&new-version=0.46.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    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-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@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)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 17, 2025
    Configuration menu
    Copy the full SHA
    c3c9084 View commit details
    Browse the repository at this point in the history
  2. Bump github.com/gabriel-vasile/mimetype from 1.4.11 to 1.4.12 (#1505)

    Bumps
    [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype)
    from 1.4.11 to 1.4.12.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/gabriel-vasile/mimetype/releases">github.com/gabriel-vasile/mimetype's
    releases</a>.</em></p>
    <blockquote>
    <h2>v1.4.12 RFC822, GRIB, Zlib support</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>zip+json: add benchmarks for better performance tracking of
    pathological inputs in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/730">gabriel-vasile/mimetype#730</a></li>
    <li>zip+json: performance improvements for pathological cases in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/732">gabriel-vasile/mimetype#732</a></li>
    <li>Fix integer overflow panic on 32bit architectures in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/733">gabriel-vasile/mimetype#733</a></li>
    <li>ci: add more linters and fix their warnings in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/734">gabriel-vasile/mimetype#734</a></li>
    <li>jar: manifest must be first in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/735">gabriel-vasile/mimetype#735</a></li>
    <li>rfc822: add support in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/740">gabriel-vasile/mimetype#740</a></li>
    <li>grib: add support in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/742">gabriel-vasile/mimetype#742</a></li>
    <li>zlib: add support in <a
    href="https://redirect.github.com/gabriel-vasile/mimetype/pull/743">gabriel-vasile/mimetype#743</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.11...v1.4.12">https://github.com/gabriel-vasile/mimetype/compare/v1.4.11...v1.4.12</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/6b840f6e5c8121eaaea8aecfb8594d9f5b285271"><code>6b840f6</code></a>
    zlib: add support</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/209f4185afb0e92bb5c5e2a8cf1e9458d67092fa"><code>209f418</code></a>
    grib: add support</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/de4565cdfba8595b4d3bff474892817a005a07db"><code>de4565c</code></a>
    RFC822 support (<a
    href="https://redirect.github.com/gabriel-vasile/mimetype/issues/740">#740</a>)</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/17b303270b920bc619feadef12cad28d70fcb6e0"><code>17b3032</code></a>
    jar: manifest must be first</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/72306059995df190dfbf1b20c7b2f0de87af2509"><code>7230605</code></a>
    ci: add more linters and fix their warnings (<a
    href="https://redirect.github.com/gabriel-vasile/mimetype/issues/734">#734</a>)</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/7c250cac3221516dd9fbaf27ecea746c80cd23ed"><code>7c250ca</code></a>
    all: fix integer overflow panics (<a
    href="https://redirect.github.com/gabriel-vasile/mimetype/issues/733">#733</a>)</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/62f95c4ba298a1d64886f8fd6855de643dca0033"><code>62f95c4</code></a>
    zip+json: performance improvements (<a
    href="https://redirect.github.com/gabriel-vasile/mimetype/issues/732">#732</a>)</li>
    <li><a
    href="https://github.com/gabriel-vasile/mimetype/commit/12525e4f05ee5669b667d21eced03fbfc34c847b"><code>12525e4</code></a>
    zip+json: add benchmarks for better perfomance tracking (<a
    href="https://redirect.github.com/gabriel-vasile/mimetype/issues/730">#730</a>)</li>
    <li>See full diff in <a
    href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.11...v1.4.12">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/gabriel-vasile/mimetype&package-manager=go_modules&previous-version=1.4.11&new-version=1.4.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    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-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@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)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 17, 2025
    Configuration menu
    Copy the full SHA
    79fba72 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. docs: document omitzero (#1509)

    ## Fixes Or Enhances
    
    Added missing documentation for the `omitzero` tag.
    minoritea authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    b0e4ba2 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2025

  1. fix: add missing translations for alpha validators (#1510)

    ## Summary
    
    Add missing English translations for alpha-related validators:
    - `alphaspace`
    - `alphanumspace`
    - `alphaunicode`
    - `alphanumunicode`
    
    These validators exist in `baked_in.go` but had no corresponding
    translations registered.
    
    ## Changes
    
    - `translations/en/en.go`: Added 4 new translation entries
    - `translations/en/en_test.go`: Added test struct fields and expected
    translations
    
    ## Test plan
    
    - [x] `go test ./translations/en/...` passes
    - [x] All existing tests pass
    
    Fixes #1480
    shindonghwi authored Dec 21, 2025
    Configuration menu
    Copy the full SHA
    4d600be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7aba81c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9b900c View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2025

  1. Feat: uds_exists validator (#1482)

    See: #1348
    
    ---------
    
    Co-authored-by: Barash Asenov <barash.asenov@check24.de>
    barash-asenov and Barash Asenov authored Dec 23, 2025
    Configuration menu
    Copy the full SHA
    65b1bcc View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2025

  1. fix: Revert min limit of e164 regex (#1516)

    ## Fixes Or Enhances
    
    Although the E164 spec technically would allow for numbers with only one
    digit after the country code, we used to expect atleast 7 digits, since
    that is what is way more practical.
    
    In fix for E164 to disallow leading 0 in country codes, we lowered said
    limit to 1 digit. This broke things for peoples as numbers like `123456`
    became valid.
    
    Reverting back to the original limit of 7 digits, is practical, and
    probably the expected behavior out of this validator.
    
    Related #1515 
    
    **Make sure that you've checked the boxes below before you submit PR:**
    - [x] Tests exist or have been written that cover this particular
    change.
    
    @go-playground/validator-maintainers
    zemzale authored Dec 24, 2025
    Configuration menu
    Copy the full SHA
    e8627a1 View commit details
    Browse the repository at this point in the history
  2. Fix 1513 update ISO 3166-2 codes (#1514)

    ## Fixes Or Enhances
    
    Fixes #1513 
    
    This PR adds 14 ISO 3166-2 subdivision codes that are currently missing
    from the validator. These codes were officially added to the ISO 3166-2
    standard between 2014 and 2023.
    
    
    **Make sure that you've checked the boxes below before you submit PR:**
    - [x] Tests exist or have been written that cover this particular
    change.
    
    @go-playground/validator-maintainers
    xyz27900 authored Dec 24, 2025
    Configuration menu
    Copy the full SHA
    5010f83 View commit details
    Browse the repository at this point in the history
Loading