Releases: mfaizudd/nodebat-go
Releases · mfaizudd/nodebat-go
v0.4.1
v0.4.0
- Re-added
Min
,Max
, andRange
usingint64
by default - Validation builders now attempt to parse every input into the correct type
- Validation builders no longer returns
invalid_type
when a type is not supported, but returninginvalid_integer
,invalid_float
andinvalid_time
instead
Full Changelog: v0.3.2...v0.4.0
v0.3.2
Eearly abort if a field already has error
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Add support for pointer types for xxInt, xxUint, and xxFloat validators. This way, we can use chained required
and minint
in one validation:
v.Builder("score", s.Score).Required().MinInt(1)
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Changes:
MinDate
,MaxDate
andBetweenDate
in builder can now parse string with layouts in the following order:- RFC3339
yyyy-MM-dd
Breaking changes:
validateType
is now private as I don't see anyone would use it
Full Changelog: v0.2.0...v0.3.0