Skip to content

Releases: SugarDarius/anzen

v2.2.1

24 Feb 18:52

Choose a tag to compare

  • Silence Next.js native errors in createSafeRouteHandler and allow to return never when redirect is used inside a Route Handler.

v2.2.0

08 Feb 19:14

Choose a tag to compare

  • Add support for Next.js parallel routes with new experimental_slots option in createSafeLayoutServerComponent.
  • Remove TypeScript as peer dependency.

v2.1.2

24 Dec 10:48

Choose a tag to compare

  • Fix onError callback call in createSafePageServerComponent and createSafeLayoutServerComponent. Now it's not called anymore for Next.js native errors.

v2.1.1

11 Dec 14:11

Choose a tag to compare

  • Update internal logging.

v2.1.0

21 Nov 08:49

Choose a tag to compare

  • Silent Next.js native errors. They won't clutter logs anymore.
  • Update documentations and meta files.

v2.0.1

13 Nov 16:50

Choose a tag to compare

  • Package/repo related changes.

v2.0.0

13 Nov 16:21

Choose a tag to compare

  • Introducing new functions createSafePageServerComponent and createSafeLayoutServerComponent exported from @sugardarius/anzen/server-components to validate segments, search params, and authorize Page and Layout files in Next.js.
  • Add doc in website for new functions createSafePageServerComponent and createSafeLayoutServerComponent.
  • Add validated props in the authorize option params for createSafeRouteHandler.

v1.1.3

28 Oct 12:44

Choose a tag to compare

  • Add support for Next.js 16 🚀

v1.1.2

10 Oct 15:47

Choose a tag to compare

  • Update type management when using NextRequest.

v1.1.1

16 Jul 16:42

Choose a tag to compare

  • Fix typo in logs when the handler throws