8000 Tags · gookit/validate · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v2.0.4

Toggle v2.0.4's commit message
v2.0.4

- The case-insensitive field lookup (added in v2.0.3 for acronym-style names such as MD5)
  skips unexported fields now. A rule on a promoted field (eg. WebURL from an embedded
  Settings struct) no longer resolves to an unexported webURL of the outer struct, which
  always reads as missing and made required fail (#360).

v2.0.3

Toggle v2.0.3's commit message
v2.0.3

- file/isFile, image/isImage and mime/inMimeTypes work on a struct or map source
- required_unless requires the value when its dependency field is missing
- required_if compares a defined scalar type
- in/not_in support a slice/array value, a JSON array and a JSON number
- a struct field can be referenced in lower case, including an acronym-style name
- Rebind/compileNamedQuery keep a PostgreSQL :: cast and skip a '?' in strings and comments
- Get/StructScan leave the destination untouched on sql.ErrNoRows
- multipart file handles opened by the file helpers are closed
- IsFloat requires a mantissa digit, UUID3 enforces the RFC 4122 variant

v2.0.2

Toggle v2.0.2's commit message
🔖 release the v2.0.2

v2.0.1

Toggle v2.0.1's commit message
🔖 release the v2.0.1

v2.0.0

Toggle v2.0.0's commit message
🔖 release the v2.0.0

v1.6.0

Toggle v1.6.0's commit message
chore: drop stale pool/cache comments superseded by v1.6.0

Remove dead commented-out code now misleading after v1.6.0 reframed
pooling and caching:
- validate.go: the commented vPool sync.Pool + newValidation pool stubs
  (Struct pooling is now a deferred opt-in Factory; Val uses its own pool)
- validating.go: the commented vPool.Put deferral in Validate()
- data_source.go: the "field reflect values cache" TODO / fieldRftValues
  stub, superseded by typeMeta + the existing fieldValues cache

Comment-only changes; build, full suite, -race and golden all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

v1.5.7

Toggle v1.5.7's commit message
release v1.5.7

v1.5.6

Toggle v1.5.6's commit message
Release the v1.5.6

v1.5.5

Toggle v1.5.5's commit message
🔖 release the v1.5.5

v1.5.4

Toggle v1.5.4's commit message
Release the v1.5.4

0