-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Comparing changes
Open a pull request
base repository: go-playground/validator
base: v10.29.0
head repository: go-playground/validator
compare: v10.30.1
- 9 commits
- 14 files changed
- 7 contributors
Commits on Dec 17, 2025
-
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 /> [](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>
Configuration menu - View commit details
-
Copy full SHA for c3c9084 - Browse repository at this point
Copy the full SHA c3c9084View commit details -
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 /> [](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>
Configuration menu - View commit details
-
Copy full SHA for 79fba72 - Browse repository at this point
Copy the full SHA 79fba72View commit details
Commits on Dec 18, 2025
-
docs: document omitzero (#1509)
## Fixes Or Enhances Added missing documentation for the `omitzero` tag.
Configuration menu - View commit details
-
Copy full SHA for b0e4ba2 - Browse repository at this point
Copy the full SHA b0e4ba2View commit details
Commits on Dec 21, 2025
-
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
Configuration menu - View commit details
-
Copy full SHA for 4d600be - Browse repository at this point
Copy the full SHA 4d600beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aba81c - Browse repository at this point
Copy the full SHA 7aba81cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b900c - Browse repository at this point
Copy the full SHA e9b900cView commit details
Commits on Dec 23, 2025
-
Feat: uds_exists validator (#1482)
See: #1348 --------- Co-authored-by: Barash Asenov <barash.asenov@check24.de>
Configuration menu - View commit details
-
Copy full SHA for 65b1bcc - Browse repository at this point
Copy the full SHA 65b1bccView commit details
Commits on Dec 24, 2025
-
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
Configuration menu - View commit details
-
Copy full SHA for e8627a1 - Browse repository at this point
Copy the full SHA e8627a1View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5010f83 - Browse repository at this point
Copy the full SHA 5010f83View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v10.29.0...v10.30.1