Repository navigation
Tags
Tags
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 - 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
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>
PreviousNext