-
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.30.1
head repository: go-playground/validator
compare: v10.30.2
- 15 commits
- 15 files changed
- 9 contributors
Commits on Jan 12, 2026
-
chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 (#1523)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.46.0 to 0.47.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/crypto/commit/506e022208b864bc3c9c4a416fe56be75d10ad24"><code>506e022</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/crypto/commit/7dacc380ba001e8fe7c3c7a46bf3cbdaa5064df9"><code>7dacc38</code></a> chacha20poly1305: error out in fips140=only mode</li> <li>See full diff in <a href="https://github.com/golang/crypto/compare/v0.46.0...v0.47.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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1f5bae4 - Browse repository at this point
Copy the full SHA 1f5bae4View commit details
Commits on Jan 13, 2026
-
feat: add translations for alphaspace and alphanumspace tags in indon…
…esian (#1522) This pull request adds support for two new validation tags, `alphaspace` and `alphanumspace`, to the Indonesian translations. It also updates the corresponding unit tests to ensure these new tags are properly validated and translated. **Translation additions:** * Added Indonesian translation for the `alphaspace` validation tag, indicating that a field may only contain alphabetic characters and spaces. * Added Indonesian translation for the `alphanumspace` validation tag, indicating that a field may only contain alphanumeric characters and spaces. **Testing improvements:** * Updated the `TestStringTagsTranslations` test struct and test cases to include fields for `Alphaspace` and `Alphanumspace`, and added invalid test values for both. [[1]](diffhunk://#diff-e71a6006a2e0721801e0d7233ec0aa3d5f2d250e037b05bcd8373d1fad2c7d09R402-R403) [[2]](diffhunk://#diff-e71a6006a2e0721801e0d7233ec0aa3d5f2d250e037b05bcd8373d1fad2c7d09R430-R431) * Added expected error messages for the new validation tags to the test assertions, ensuring the translations are correct.## Fixes Or Enhances **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 f65db98 - Browse repository at this point
Copy the full SHA f65db98View commit details
Commits on Feb 3, 2026
-
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.12 to 1…
….4.13 (#1526) Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.12 to 1.4.13. <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>Support for .hlp, .inf, .fm, .bufr</h2> <h2>What's Changed</h2> <ul> <li>ndjson: fix inputs truncated on the second line; fix <a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/744">#744</a> in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/745">gabriel-vasile/mimetype#745</a></li> <li>bmp: harden detection against false-positives in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/746">gabriel-vasile/mimetype#746</a></li> <li>os2: add support for .hlp and .inf in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/747">gabriel-vasile/mimetype#747</a></li> <li>ttf: harden detection in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/750">gabriel-vasile/mimetype#750</a></li> <li>ttf: use ints instead of string for better performance in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/751">gabriel-vasile/mimetype#751</a></li> <li>framemaker: add support in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/752">gabriel-vasile/mimetype#752</a></li> <li>bufr: add support in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/754">gabriel-vasile/mimetype#754</a></li> <li>Extend: ensure MIME string normalization by <a href="https://github.com/yzqzss"><code>@yzqzss</code></a> in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/756">gabriel-vasile/mimetype#756</a></li> <li>m3u: add x-mpegurl alias by <a href="https://github.com/AltayAkkus"><code>@AltayAkkus</code></a> in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/755">gabriel-vasile/mimetype#755</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/yzqzss"><code>@yzqzss</code></a> made their first contribution in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/756">gabriel-vasile/mimetype#756</a></li> <li><a href="https://github.com/AltayAkkus"><code>@AltayAkkus</code></a> made their first contribution in <a href="https://redirect.github.com/gabriel-vasile/mimetype/pull/755">gabriel-vasile/mimetype#755</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.12...v1.4.13">https://github.com/gabriel-vasile/mimetype/compare/v1.4.12...v1.4.13</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/8822588d35ff221d0a72627f27a94ba58f661d89"><code>8822588</code></a> build(deps): bump the github-actions group across 1 directory with 3 updates</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/dfcfd009e6cf350dd1e45c20c44de7677898e1c6"><code>dfcfd00</code></a> m3u: check NL after signature for fewer false-positives</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/b40e4de95a9097a763cd326d23535d9a0425778d"><code>b40e4de</code></a> ndjson: remove duplicate testcase</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/b9d4202cf4890209507dd5a3756e2808cb6f2678"><code>b9d4202</code></a> m3u: add x-mpegurl alias (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/755">#755</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/913ef6ef3e684f6578f5c70e87e97fbff8d2f995"><code>913ef6e</code></a> Extend: Ensure MIME string normalization (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/756">#756</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/02cce61ca0f4f2f37f021933d1d9662f27ac0b56"><code>02cce61</code></a> bufr: add support (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/754">#754</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/fe42f3ef484e2fd8115c39ca19f6f7ed442bf2c6"><code>fe42f3e</code></a> framemaker: add support (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/752">#752</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/0beb64fe109a15eac4caa03ecfb8d60557bab138"><code>0beb64f</code></a> ttf: use ints instead of string for better performance (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/751">#751</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/3e267fccf585f4cf852d8264425c4195ebc2f390"><code>3e267fc</code></a> fonts: harden TTF and OTF detection (<a href="https://redirect.github.com/gabriel-vasile/mimetype/issues/750">#750</a>)</li> <li><a href="https://github.com/gabriel-vasile/mimetype/commit/789eb1d809d05031f88df12c386b6ce12218d83f"><code>789eb1d</code></a> misc: remove an outdated TODO</li> <li>Additional commits viewable in <a href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.12...v1.4.13">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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d74ae69 - Browse repository at this point
Copy the full SHA d74ae69View commit details
Commits on Feb 6, 2026
-
feat: add cmyk(color) to validator (#1528)
## Fixes Or Enhances A validation was created for the CMYK type **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 dede341 - Browse repository at this point
Copy the full SHA dede341View commit details
Commits on Feb 17, 2026
-
chore(deps): bump golang.org/x/text from 0.33.0 to 0.34.0 (#1534)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.33.0 to 0.34.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/text/commit/817fba9abd337b4d9097b10c61a540c74feaaeff"><code>817fba9</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/text/commit/3264de9174be11be843825a6dae979beffb483a2"><code>3264de9</code></a> all: clean up old Go hacks</li> <li><a href="https://github.com/golang/text/commit/74af29835a6da65bf18d985619fa645e04a01549"><code>74af298</code></a> all: fix tags in remaining Unicode tables</li> <li><a href="https://github.com/golang/text/commit/117e03b3060d70a9f514eef78f07e5210cc44a4c"><code>117e03b</code></a> all: delete old Unicode tables</li> <li><a href="https://github.com/golang/text/commit/9463ea4393e969a59c7a0af1b497b4361ff1dc52"><code>9463ea4</code></a> all: update to Unicode 17</li> <li><a href="https://github.com/golang/text/commit/7278b25aaff94e106b7de0bfaaa4a1861d3b3c89"><code>7278b25</code></a> internal/export/idna: update for post-Unicode 10 idna changes</li> <li><a href="https://github.com/golang/text/commit/f964ad80f9e4185588298009b5195d8ecfe34d1b"><code>f964ad8</code></a> internal/export/idna: delete old code</li> <li><a href="https://github.com/golang/text/commit/678d34e5c1bfbefd51bbd8e6a639744c36be73fd"><code>678d34e</code></a> unicode/norm: preserve QC Maybe bit in packed forminfo</li> <li>See full diff in <a href="https://github.com/golang/text/compare/v0.33.0...v0.34.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 53b351c - Browse repository at this point
Copy the full SHA 53b351cView commit details -
chore(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 (#1533)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.47.0 to 0.48.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/crypto/commit/e08b06753d6a72f1fe375b6e0fefefb39917c165"><code>e08b067</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/crypto/commit/7d0074ccc6f17acbf2ebb10db06d492e08f887dc"><code>7d0074c</code></a> scrypt: fix panic on parameters <= 0</li> <li>See full diff in <a href="https://github.com/golang/crypto/compare/v0.47.0...v0.48.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f5c74ce - Browse repository at this point
Copy the full SHA f5c74ceView commit details
Commits on Feb 19, 2026
-
## Fixes Or Enhances This PR introduces support for Go 1.26. Updated go.mod to Go 1.25 (MSGV ensures compatibility with the two latest major versions). Release notes: https://tip.golang.org/doc/go1.26 **Make sure that you've checked the boxes below before you submit PR:** - [ ] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers
Configuration menu - View commit details
-
Copy full SHA for d3f35da - Browse repository at this point
Copy the full SHA d3f35daView commit details
Commits on Feb 24, 2026
-
fix: prevent panic in unique validation with nil pointer elements (#1532
) ## Fixes Or Enhances This is an alternative approach to resolve the panic issue in the unique validator. Releated to: #1530 **Make sure that you've checked the boxes below before you submit PR:** - [ ] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers
Configuration menu - View commit details
-
Copy full SHA for 4325386 - Browse repository at this point
Copy the full SHA 4325386View commit details -
## Fixes Or Enhances Fixes a few grammar mistakes in README, docs, and the benchmark name. See https://en.wikipedia.org/wiki/Employer_Identification_Number **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 c254ece - Browse repository at this point
Copy the full SHA c254eceView commit details
Commits on Mar 9, 2026
-
feat: implement ValidatorValuer interface feature (#1416)
## Problem In order to have custom type validations for generic types, every possible type has to be registered with `RegisterCustomTypeFunc` to return the underlying type. It is especially relevant for nullable types e.g. `sql.Null[T]`. Discussed here: #1232 ## Fixes Or Enhances * Adds a mechanism for validating generic types without using RegisterCustomTypeFunc by introducing `ValidatorValuer` interface. Example: ``` type Nullable[T any] struct { Data T } func (t Nullable[T]) ValidatorValue() any { return t.Data } type Config struct { Name string `validate:"required"` } type Record struct { Config Nullable[Config] `validate:"required"` } func TestValidatorValuerInterface2(t *testing.T) { s := Record{ Config: Nullable[Config]{}, } v := New() errs := v.Struct(s) t.Fatalf("Error: %v", errs.Error()) } // Key: 'Record.Config.Name' Error:Field validation for 'Name' failed on the 'required' tag // Notice: no Data in the Record.Config.Name ``` **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 42927a0 - Browse repository at this point
Copy the full SHA 42927a0View commit details
Commits on Mar 13, 2026
-
docs: add Valuer interface documentation and example (#1540)
Add documentation for the Valuer interface introduced in #1416. - add Valuer interface section and example snippet in doc.go - add a new runnable example at _examples/valuer/main.go - add Valuer Interface reference in README Closes #1538 ## Fixes Or Enhances **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 5e1bedf - Browse repository at this point
Copy the full SHA 5e1bedfView commit details
Commits on Mar 16, 2026
-
chore(deps): bump golang.org/x/text from 0.34.0 to 0.35.0 (#1545)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.34.0 to 0.35.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/text/commit/7ca2c6d99153f6456168837916829c735c67d355"><code>7ca2c6d</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/text/commit/73d1ba91404d0de47cb6a9b3fb52a31565ca4d25"><code>73d1ba9</code></a> all: upgrade go directive to at least 1.25.0 [generated]</li> <li>See full diff in <a href="https://github.com/golang/text/compare/v0.34.0...v0.35.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8ca29ec - Browse repository at this point
Copy the full SHA 8ca29ecView commit details -
chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.49.0 (#1546)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.48.0 to 0.49.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/crypto/commit/982eaa62dfb7273603b97fc1835561450096f3bd"><code>982eaa6</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/crypto/commit/159944f128e9b3fdeb5a5b9b102a961904601a87"><code>159944f</code></a> ssh,acme: clean up tautological/impossible nil conditions</li> <li><a href="https://github.com/golang/crypto/commit/a408498e55412f2ae2a058336f78889fb1ba6115"><code>a408498</code></a> acme: only require prompt if server has terms of service</li> <li><a href="https://github.com/golang/crypto/commit/cab0f718548e8a858701b7b48161f44748532f58"><code>cab0f71</code></a> all: upgrade go directive to at least 1.25.0 [generated]</li> <li><a href="https://github.com/golang/crypto/commit/2f26647a795e74e712b3aebc2655bca60b2686f9"><code>2f26647</code></a> x509roots/fallback: update bundle</li> <li>See full diff in <a href="https://github.com/golang/crypto/compare/v0.48.0...v0.49.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 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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7fa9599 - Browse repository at this point
Copy the full SHA 7fa9599View commit details
Commits on Mar 24, 2026
-
feat: add postcode patterns for Colombia (CO) and British Virgin Isla…
…nds (VG) (#1547) ## Summary Two ISO 3166-1 alpha-2 country codes are present in `iso3166_1_alpha2` (i.e., valid countries) but missing from `postCodePatternDict`, causing `postcode_iso3166_alpha2` and `postcode_iso3166_alpha2_field` validators to unconditionally return `false` for these countries. This PR adds the missing patterns: | Country | Code | Pattern | Example | |---------|------|---------|---------| | Colombia | `CO` | `^\d{6}$` | `110111` | | British Virgin Islands | `VG` | `^VG\d{4}$` | `VG1110` | ### References - Colombia postal code system (Código Postal Colombiano): 6-digit numeric format - BVI postal code system introduced by the BVI Postal Service: `VG` prefix followed by 4 digits (e.g. `VG1110`, `VG1120`) ## Test plan - All existing tests pass (`go test ./...`) - Both patterns follow the same conventions as surrounding entries in `postcode_regexes.go`
Configuration menu - View commit details
-
Copy full SHA for b9f1d79 - Browse repository at this point
Copy the full SHA b9f1d79View commit details
Commits on Mar 27, 2026
-
fix(fqdn): allow hyphens in last domain label (#1548)
## Fixes Or Enhances ## Summary The `fqdn` validator was rejecting valid domain names that contain hyphens in the last label (e.g. `test-site-http.test-site`), because the TLD character class `[a-zA-Z0-9]` did not include `-`. ## Change One character added to the last label's character class in `fqdnRegexStringRFC1123`: No other parts of the regex were modified. ## Test Added regression case to [TestFQDNValidation](cci:1://file:///Users/admin/validator/validator_test.go:10628:0-10676:1): - `test-site-http.test-site` → valid @go-playground/validator-maintainers
Configuration menu - View commit details
-
Copy full SHA for b9258bd - Browse repository at this point
Copy the full SHA b9258bdView 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.30.1...v10.30.2