Skip to content

Releases: rileytomasek/zodix

v0.4.4

10 Oct 20:14
Compare
Choose a tag to compare

What's Changed

  • fix: add 2.x to @remix-run/server-runtime peer dependency by @setvik in #40

Full Changelog: v0.4.3...v0.4.4

v0.4.3

27 Sep 20:20
Compare
Choose a tag to compare

What's Changed

  • fix: change LoaderArgs to DataFunctionArgs to support Remix V2 by @setvik in #38

New Contributors

Full Changelog: v0.4.2...v0.4.3

v0.4.2

07 Sep 16:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.4.2

v0.4.1

30 May 14:39
Compare
Choose a tag to compare

What's Changed

  • fix: exclude @remix-run/server-runtime from external deps to reduce bundle size by @OnurGvnc in #29
  • New type assertion function, largely from current GH Issues by @abelsj60 in #33

New Contributors

Full Changelog: v0.4.0...v0.4.1

v0.4.0

11 Dec 23:38
Compare
Choose a tag to compare

What's Changed

  • feat: Support asynchronous schema parsing by @mdoury in #20

New Contributors

Full Changelog: v0.3.2...v0.4.0

v0.3.2

17 Nov 00:19
Compare
Choose a tag to compare

What's Changed

  • Infer type of ZodEffects schemas using zx.parseFormSafe by @mdoury in #18
  • Fix issue with Locking by @shortnd in #16

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

09 Nov 20:07
Compare
Choose a tag to compare

What's Changed

  • feat: Support FormData object entries parsing by @mdoury in #15

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

05 Nov 19:26
Compare
Choose a tag to compare

This release makes it easier to handle errors with Zodix.

Potentially Breaking Changes

  • parseParams()/parseForm()/parseQuery() now throw a Response object with a 400 status and statusMessage instead of a ZodError. This works better with the standard Remix flow for CatchBoundary. If you were catching and using the ZodErrors, check out the new safe parse functions.

New

  • Added parseParamsSafe(), parseFormSafe(), and parseQuerySafe(). These functions don't throw when parsing fails and are meant for custom error handling situations like forms with user input.
  • Added an example Remix app with full examples of common usage patterns

See the error handling documentation for more details.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

14 Oct 16:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

Initial release

11 Oct 01:49
Compare
Choose a tag to compare
v0.1.0

v0.1.0