Skip to content

Releases: Oudwins/zog

v0.19.1

13 Apr 11:54
b78f25c

Choose a tag to compare

0.19.1 (2025-04-13)

Features

  • customFunc for easy custom schemas. Usage is z.CustomFunc[T any](func (valPtr *T, ctx z.Ctx) bool {}, ...TestOptions) (#141) (4c2b42e)

Miscellaneous Chores

v0.19.0

03 Apr 13:12
b2e57a2

Choose a tag to compare

0.19.0 (2025-04-03)

⚠ BREAKING CHANGES

  • Test.ValidateFunc's name has been changed to Test.Func

Features

  • implemented super refine like API. Create complex custom tests easily (#138) (e44e593)

Miscellaneous Chores

v0.18.4

16 Mar 13:35
7ea0e0e

Choose a tag to compare

0.18.4 (2025-03-16)

Features

  • support for custom strings, numbers and booleans (#131) (29cb24d)

Miscellaneous Chores

v0.18.2

08 Mar 11:21
42f0608

Choose a tag to compare

0.18.2 (2025-03-08)

⚠ BREAKING CHANGES

  • zog tag changed to a catch all instead of superseding the other tags

Bug Fixes

  • zog tag changed to a catch all instead of superseding the other tags (869268e)

Miscellaneous Chores

v0.18.1

08 Mar 09:38
dc0deab

Choose a tag to compare

0.18.1 (2025-03-08)

Features

  • allow zog to use multiple struct tags zog, json, form, query, env (5426bb6)

Miscellaneous Chores

v0.18.0

08 Mar 07:07
297e96e

Choose a tag to compare

0.18.0 (2025-03-08)

⚠ BREAKING CHANGES

  • DELETE Method on zhttp also supports multiplexing based on content type header
  • Removed deprecated z.ParseCtx interface. Use z.Ctx instead
  • Zog issue interface is converted into a struct (#119). Sorry people this will be annoying to change.

Bug Fixes

  • DELETE Method on zhttp also supports multiplexing based on content type header (b8ebdc7)
  • export pre & post transforms from main zog package (57703a4)

Miscellaneous Chores

Code Refactoring

  • Removed deprecated z.ParseCtx interface. Use z.Ctx instead (0bb4cfd)
  • Zog issue interface is converted into a struct (#119) (a68b393)

v0.17.2

03 Mar 08:14
0139a10

Choose a tag to compare

0.17.2 (2025-03-02)

Performance Improvements

  • removed allocation for struct schemas (4cd379c)

v0.17.1

02 Mar 07:03
9d81bc5

Choose a tag to compare

0.17.1 (2025-02-28)

Performance Improvements

  • removed one allocation per schema (14f3511)

v0.17.0

22 Feb 08:41
9e05fbf

Choose a tag to compare

0.17.0 (2025-02-22)

Features

v0.16.6

21 Feb 07:29
da9e81f

Choose a tag to compare

0.16.6 (2025-02-21)

Bug Fixes

  • delete method also only allows for parsing of query params just like GET and HEAD with zhttp (6bc7636)
  • zhttp GET request with json or form content type still fetches from params (867cd06)

Performance Improvements

  • slice pathbuilder for fewer allocations (a20f5e2)
  • slice pathbuilder for fewer allocations (a20f5e2)