Releases: Oudwins/zog
Releases · Oudwins/zog
v0.14.1
0.14.1 (2025-01-13)
Bug Fixes
Schemas are now public. New complex & primtive schema interfaces (#64 ) (9e659e5 )
v0.13.0
0.13.0 (2024-11-12)
Features
Implemented Struct().Pick(), Struct().Omit() and Struct().Extend() (#53 ) (8adc803 )
v0.12.1
0.12.1 (2024-11-11)
Features
support for parsing into pointers. Now you may have pointers in the destination (#42 ) (fd6bbbf )
Miscellaneous Chores
v0.12.0
0.12.0 (2024-11-09)
Features
implement z.String().Trim() as a built in PreTransform that trims the input data if it is a string (#51 ) (1d65859 )
schema custom coercer support via the z.WithCoercer function and custom time formats via z.Time.Format() fuction (#48 ) (1472669 )
time coercer now support for unix timestamps in ms (#47 ) (4c5b4bd )
zhttp package now supports providing your own custom parsers (#50 ) (e8a111f )
Bug Fixes
required check not working with zero values from other types (#44 ) (1abc8e8 )
v0.11.0
0.11.0 (2024-11-01)
⚠ BREAKING CHANGES
zhttp.NewRequestDataProvider() which was deprecated is now removed. Please use zhttp.Request() instead
ZogError.Error() no longer proxies to the wrapped error. Now it returns a string representation of the ZogError. You can still access Wrapped error through Unwrap()
Features
Bug Fixes
consider " " to be a zero value (d4856e9 )
zhttp handles input json being null (9e8b8d3 )
Miscellaneous Chores
Code Refactoring
removed zhttp new data provider (86d4e6f )
v0.10.0
0.10.0 (2024-10-07)
Features
add test options to time methods (42db318 )
Bug Fixes
boolean false parsing behavior (#35 ) (8670b64 )
struct merge panic on merging schemas with transforms (90ccc88 )
v0.9.1
0.9.1 (2024-09-26)
Bug Fixes
v0.9.0
0.9.0 (2024-09-22)
Features
i18n package with spanish & english translations (#28 ) (1120fd6 ) thanks to @cachesdev for being awesome and helping with the spanish translations!
improved zhttp library (#32 ) (891bb6c )
trim space for env variables (166d881 )
v0.8.0
0.8.0 (2024-09-16)
Features
Bug Fixes
required custom z.Message (#24 ) (49198a0 )
structs now handle both uppercase and lowercase first letters (4fbc9c3 )
You can’t perform that action at this time.