Releases: Oudwins/zog
Releases · Oudwins/zog
v0.13.0
12 Nov 17:41
Compare
Sorry, something went wrong.
No results found
0.13.0 (2024-11-12)
Features
Implemented Struct().Pick(), Struct().Omit() and Struct().Extend() (#53 ) (8adc803 )
v0.12.1
11 Nov 12:37
Compare
Sorry, something went wrong.
No results found
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
09 Nov 13:17
Compare
Sorry, something went wrong.
No results found
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
01 Nov 07:18
Compare
Sorry, something went wrong.
No results found
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
11 Oct 08:24
Compare
Sorry, something went wrong.
No results found
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
26 Sep 18:33
Compare
Sorry, something went wrong.
No results found
0.9.1 (2024-09-26)
Bug Fixes
v0.9.0
22 Sep 18:17
Compare
Sorry, something went wrong.
No results found
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
16 Sep 19:38
Compare
Sorry, something went wrong.
No results found
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 )
v0.7.0
09 Sep 19:23
Compare
Sorry, something went wrong.
No results found
0.7.0 (2024-09-09)
⚠ BREAKING CHANGES
custom tests now require that you pass a test struct or use the TestFunc() helper
All z.Errors functions have changed. I still don't recommend you use them since they might still change in the future
Features
better errors (fe78a8d )
move coercers to default variable to make it easier to replace the coercers struct without losing access to the default coercers (2387330 )
new & improved API for custom tests (9acfc37 )
Bug Fixes
bool coercer (#14 ) (01f8c17 )
minor fix to order of operations when required is set (cff0fc3 )
Time().EQ() was broken due to typo (9310e1a )
Miscellaneous Chores
Code Refactoring
custom test method is now more in line with the rest. (d163f36 )
v0.6.2
16 Aug 17:30
Compare
Sorry, something went wrong.
No results found
0.6.2 (2024-08-16)
⚠ BREAKING CHANGES
slice errMap will now access validation errors for the first element through [0] key rather than 0 key
Features
Miscellaneous Chores
You can’t perform that action at this time.