Zodix Versions Save

Zod utilities for Remix loaders and actions.

v0.4.4

7 months ago

What's Changed

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.4.3...v0.4.4

v0.4.3

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.4.2...v0.4.3

v0.4.2

8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.4.1...v0.4.2

v0.4.1

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.4.0...v0.4.1

v0.4.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.3.2...v0.4.0

v0.3.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.3.1...v0.3.2

v0.3.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.3.0...v0.3.1

v0.3.0

1 year ago

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: https://github.com/rileytomasek/zodix/compare/v0.2.0...v0.3.0

v0.2.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/rileytomasek/zodix/compare/v0.1.0...v0.2.0

v0.1.0

1 year ago