Releases: Oudwins/zog
Releases · Oudwins/zog
v0.13.0
v0.12.1
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
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
Miscellaneous Chores
- release (6bfc8cc)
Code Refactoring
- removed zhttp new data provider (86d4e6f)
v0.10.0
v0.9.1
v0.9.0
v0.8.0
v0.7.0
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
- release 0.7.0 (0e0eb47)
Code Refactoring
- custom test method is now more in line with the rest. (d163f36)