Skip to content

Releases: Oudwins/zog

v0.11.0

01 Nov 07:18
c1f17a7
Compare
Choose a tag to compare

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
cdbecba
Compare
Choose a tag to compare

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
9bd42ed
Compare
Choose a tag to compare

0.9.1 (2024-09-26)

Bug Fixes

v0.9.0

22 Sep 18:17
92a7bdf
Compare
Choose a tag to compare

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
372fd80
Compare
Choose a tag to compare

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
c420534
Compare
Choose a tag to compare

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
351e254
Compare
Choose a tag to compare

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

v0.6.1

16 Aug 14:45
2497d0f
Compare
Choose a tag to compare

0.6.1 (2024-08-16)

Bug Fixes

  • more realistic min go version (#6) (658f060)

v0.6.0

16 Aug 11:00
d480d9a
Compare
Choose a tag to compare

0.6.0 (2024-08-16)

Features

  • quality of life improvements for working with errors (#3) (1f3c3d0)

v0.5.0

12 Aug 19:00
7b5bca5
Compare
Choose a tag to compare

0.5.0 (2024-08-12)

Features

  • added global functions to time validation (d4abdca)
  • v0.5 release! (#1) (7ac74c7)

Bug Fixes

  • better huristic for zhttp (e311d91)
  • optional bug with slices (107f4d6)

Miscellaneous Chores