github go-playground/validator v10.30.6

4 hours ago

What's Changed

  • fix: update the KR and IL postcode patterns to the current national formats by @yu2971512385-ui in #1644
  • fix: accept Taiwan six-digit postcodes by @sb123sb123 in #1642
  • docs: use the registered fieldcontains tag in usage example by @lazerg in #1635
  • fix: fully anchor Costa Rica postcode regex by @sb123sb123 in #1648
  • feat: add duration validator for time.ParseDuration strings by @ahmedkamalio in #1649
  • chore(deps): bump github.com/go-playground/universal-translator from 0.18.1 to 0.18.2 by @dependabot[bot] in #1653
  • feat: Add hostname label validation tag by @KytnaCode in #1616
  • chore(deps): bump github.com/go-playground/locales from 0.14.1 to 0.14.2 by @dependabot[bot] in #1663
  • Align excluded_without with its stated multi-field contract by @dylanpulver in #1621
  • fix: accept Nigeria's 11-character postcodes by @Adeniyikayodee in #1664
  • chore(deps): bump golang.org/x/crypto from 0.57.0 to 0.58.0 by @dependabot[bot] in #1670
  • ci: send coverage from the Go 1.26.x leg (step skipped since #1535) by @glaziermag in #1671
  • Clarify separators for non-existent directory paths by @yuefdev in #1672
  • Add postcode patterns for IE (Ireland), AL (Albania), GI (Gibraltar) and IL (Israel) by @JohannesHepp in #1629
  • chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.15 to 1.4.16 by @dependabot[bot] in #1680
  • docs: fix stale alias, uuid and snippet details in package docs by @yxshee in #1679
  • fix: anchor GB and LI postcode patterns as a whole by @beduldul in #1646
  • fix: reject ULIDs outside the 128-bit range by @sergioperezcheco in #1660
  • fix: reject duplicate variants in strict BCP47 tags by @guocn in #1678
  • Convert to time.Time before asserting in isNeField by @youdie006 in #1619
  • Add uuid7 validation tag by @ChrisJr404 in #1614

New Contributors

Full Changelog: v10.30.5...v10.30.6

Don't miss a new validator release

NewReleases is sending notifications on new releases.