Skip to content

Releases: Oudwins/zog

v0.16.5

21 Feb 06:05
d00943d

Choose a tag to compare

0.16.5 (2025-02-20)

Performance Improvements

  • removed string sync pool since it has worse performance (#103) (602c146)

v0.16.4

20 Feb 20:12
b3de144

Choose a tag to compare

0.16.4 (2025-02-20)

Bug Fixes

  • panic on single letter query param zhttp (#101) (cd8d172)
  • zhttp supports more complex content type strings (#99) (9460ea2)

Performance Improvements

  • string builder for default langmap replaceble placeholders (#102) (8f3c881)

v0.16.3

20 Feb 07:55
1cc4c40

Choose a tag to compare

0.16.3 (2025-02-20)

Performance Improvements

  • internal tests for primitive values now use pointers. User tests are unaffected (#97) (6d3a234)

v0.16.2

19 Feb 15:43
343a3e7

Choose a tag to compare

0.16.2 (2025-02-19)

Performance Improvements

  • issues syncpool and issues.Collect function to collect issues into sync pool (#93) (91d6b3e)

v0.16.1

19 Feb 15:35
70ad348

Choose a tag to compare

0.16.1 (2025-02-19)

Features

Performance Improvements

  • implemented syncpool for internal structures (#91) (f1717f6)

Miscellaneous Chores

v0.16.0

11 Feb 17:53
e007b84

Choose a tag to compare

0.16.0 (2025-02-11)

⚠ BREAKING CHANGES

  • structs can no longer be required or optional. Define this in the fields instead. If you need to model a struct that might exist use a pointer to a struct. This should not affect most users as now it works how everyone intuitively thought it worked. (#88)
  • renamed ZogError to ZogIssue to be more aligned with Zod. Deprecated a bunch of APIs for naming consistency. conf.ErrorFormatter removed in favor of conf.IssueFormatter (#86)

Features

  • new test option to set the issue path for issues generated from that test (#87) (47d24a1)
  • testFunc method on schemas for easier custom tests (#82) (52a90eb)

Bug Fixes

  • structs can no longer be required or optional. Define this in the fields instead. If you need to model a struct that might exist use a pointer to a struct. This should not affect most users as now it works how everyone intuitively thought it worked. (#88) (9681ebb)

Miscellaneous Chores

Code Refactoring

  • renamed ZogError to ZogIssue to be more aligned with Zod. Deprecated a bunch of APIs for naming consistency. conf.ErrorFormatter removed in favor of conf.IssueFormatter (#86) (49f01e3)

v0.15.1

09 Feb 11:57
e1a84bf

Choose a tag to compare

0.15.1 (2025-02-09)

Bug Fixes

  • ZogErr Value() doesn't return underlying value (#77) (1f7d2ff)

v0.15.0

03 Feb 17:25
15b2c94

Choose a tag to compare

0.15.0 (2025-02-03)

Features

Miscellaneous Chores

v0.14.1

13 Jan 19:25
112f1dc

Choose a tag to compare

0.14.1 (2025-01-13)

Bug Fixes

  • Schemas are now public. New complex & primtive schema interfaces (#64) (9e659e5)

v0.14.0

08 Jan 20:59
a4f90d3

Choose a tag to compare

0.14.0 (2025-01-02)

Features