github.com/Oudwins/zog
v0.22.2
Oudwins/zog
What this package is like to depend on
Last release 1 months ago
05 Jul 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 48 of 48 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
85 releases · first in 2024
22 releases in the last 12 months
see the full history below
Release timeline
85 releases · Aug 2024 to Jul 2026Releases
latest 60 of 85-
v0.22.3-0.20260705164107-b486cb1a558b05 Jul 2026 pre-releaseNothing published for this version
-
v0.22.3-0.20260616070713-9d196f86441816 Jun 2026 pre-releaseNothing published for this version
-
v0.22.225 Apr 2026Release notes
Open source →Release notes
Open source → -
v0.22.118 Apr 2026Release notes
Open source →0.22.1 (2026-04-03)
Features
- default and catch funcs (#215) (f27b872)
- experimental any schema (#214) (873c637)
- experimental map schema (#211) (0907ff2)
- experimental recursive schema (#209) (e717322)
- experimental Zog Schema Specification (#203) (b3c4e89)
Bug Fixes
-
v0.22.1-0.20260403115209-f26555a4a00d03 Apr 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20260207152405-f27b872631d107 Feb 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20260111095321-873c63762f6611 Jan 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20260109131506-0907ff226e7609 Jan 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20260109095737-e7173229f2fa09 Jan 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20260109092636-b3c4e89e6b6209 Jan 2026 pre-releaseNothing published for this version
-
v0.22.1-0.20251216094030-6b4067b4646116 Dec 2025 pre-releaseNothing published for this version
-
v0.22.014 Dec 2025Release notes
Open source →0.22.0 (2025-12-14)
⚠ BREAKING CHANGES
- all schemas now return a issue list. Issue paths are now slices
Features
Release notes
Open source →⚠ BREAKING CHANGES
- all schemas now return a issue list. Issue paths are now slices
Features
-
v0.21.11-0.20251214094210-9570fecfff4514 Dec 2025 pre-releaseNothing published for this version
-
v0.21.1012 Dec 2025 -
v0.21.10-0.20251207163444-6bb4304cb5db07 Dec 2025 pre-releaseNothing published for this version
-
v0.21.912 Nov 2025 -
v0.21.9-0.20251104062259-272a6bf39f3104 Nov 2025 pre-releaseNothing published for this version
-
v0.21.9-0.20251103110229-0d3278ff5e7e03 Nov 2025 pre-releaseNothing published for this version
-
v0.21.9-0.20251102174506-bb3162eae38d02 Nov 2025 pre-releaseNothing published for this version
-
v0.21.802 Nov 2025Release notes
Open source → -
v0.21.717 Oct 2025Release notes
Open source → -
v0.21.7-0.20250826052814-e8f46f8f829826 Aug 2025 pre-releaseNothing published for this version
-
v0.21.624 Aug 2025Release notes
Open source → -
v0.21.523 Jul 2025 -
v0.21.413 Jul 2025 -
v0.21.303 Jul 2025Release notes
Open source → -
v0.21.3-0.20250703052301-97ce44749d5b03 Jul 2025 pre-releaseNothing published for this version
-
v0.21.215 Jun 2025 -
v0.21.2-0.20250614172241-954de178191d14 Jun 2025 pre-releaseNothing published for this version
-
v0.21.124 May 2025 -
v0.21.005 May 2025Release notes
Open source →⚠ BREAKING CHANGES
- transforms and tests are now typesafe for the schema you are using. No more typecasting in Zog! (#149)
Features
-
v0.20.1-0.20250427155816-2da0c0c174a427 Apr 2025 pre-releaseNothing published for this version
-
v0.20.026 Apr 2025Release notes
Open source →⚠ BREAKING CHANGES
- Deprecated z.Schema in favor of z.Shape. No plans to remove z.Schema for now
- Allow empty strings during parsing to not trigger required. Instead do .Min(1). (#148)
- Transforms are now run sequentially with tests in the order they were defined in. schema.PostTransform has been deprecated and until it is removed it will work just like schema.Transform. Therefore schema.Min(1).Trim().Min(1) will work and first check string length > 1 then trim then check again for string len > 1
- implemented preprocess, removed preTransforms
Features
- Deprecated z.Schema in favor of z.Shape. No plans to remove z.Schema for now (544f03d)
- implemented preprocess, removed preTransforms (9dde9be)
- ordered transforms (#147) (1db8140)
Bug Fixes
-
v0.19.218 Apr 2025 -
v0.19.113 Apr 2025Release notes
Open source →Features
- customFunc for easy custom schemas. Usage is z.CustomFunc[T any](func (valPtr *T, ctx z.Ctx) bool {}, ...TestOptions) (#141) (4c2b42e)
Miscellaneous Chores
- release 0.19.1 (0485a6b)
-
v0.19.1-0.20250413114142-4c2b42e2bfa213 Apr 2025 pre-releaseNothing published for this version
-
v0.19.003 Apr 2025Release notes
Open source →⚠ BREAKING CHANGES
- Test.ValidateFunc's name has been changed to Test.Func
Features
Miscellaneous Chores
- release 0.19.0 (2a25dc4)
-
v0.18.5-0.20250403124410-e44e593034be03 Apr 2025 pre-releaseNothing published for this version
-
v0.18.5-0.20250318072511-bce1b4df259d18 Mar 2025 pre-releaseNothing published for this version
-
v0.18.416 Mar 2025 -
v0.18.208 Mar 2025Release notes
Open source →⚠ 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
- release 0.18.2 (6517301)
-
v0.18.108 Mar 2025Release notes
Open source →Features
- allow zog to use multiple struct tags zog, json, form, query, env (5426bb6)
Miscellaneous Chores
- release 0.18.1 (62fcb88)
-
v0.18.008 Mar 2025Release notes
Open source →⚠ 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)
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
- release 0.18.0 (df12fb1)
Code Refactoring
-
v0.17.203 Mar 2025Release notes
Open source →Performance Improvements
- removed allocation for struct schemas (4cd379c)
-
v0.17.2-0.20250302073918-b98d67a5625202 Mar 2025 pre-releaseNothing published for this version
-
v0.17.102 Mar 2025 -
v0.17.022 Feb 2025 -
v0.16.621 Feb 2025Release notes
Open source →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
-
v0.16.521 Feb 2025Release notes
Open source → -
v0.16.5-0.20250220201938-602c14657bc620 Feb 2025 pre-releaseNothing published for this version
-
v0.16.420 Feb 2025 -
v0.16.320 Feb 2025 -
v0.16.219 Feb 2025 -
v0.16.119 Feb 2025 -
v0.16.1-0.20250212060032-8c3f787cf33412 Feb 2025 pre-releaseNothing published for this version
-
v0.16.011 Feb 2025Release notes
Open source →⚠ 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
- release 0.16.0 (3a222d0)
Code Refactoring
-
v0.15.2-0.20250211153322-47d24a115fd911 Feb 2025 pre-releaseNothing published for this version
-
v0.15.109 Feb 2025Release notes
Open source → -
v0.15.003 Feb 2025 -
v0.14.113 Jan 2025Release notes
Open source →