Releases: SugarDarius/anzen
Releases · SugarDarius/anzen
v2.2.1
v2.2.0
- Add support for Next.js parallel routes with new
experimental_slotsoption increateSafeLayoutServerComponent. - Remove
TypeScriptas peer dependency.
v2.1.2
- Fix
onErrorcallback call increateSafePageServerComponentandcreateSafeLayoutServerComponent. Now it's not called anymore for Next.js native errors.
v2.1.1
- Update internal logging.
v2.1.0
- Silent Next.js native errors. They won't clutter logs anymore.
- Update documentations and meta files.
v2.0.1
- Package/repo related changes.
v2.0.0
- Introducing new functions
createSafePageServerComponentandcreateSafeLayoutServerComponentexported from@sugardarius/anzen/server-componentsto validate segments, search params, and authorize Page and Layout files in Next.js. - Add doc in website for new functions
createSafePageServerComponentandcreateSafeLayoutServerComponent. - Add validated props in the authorize option params for
createSafeRouteHandler.
v1.1.3
- Add support for Next.js 16 🚀
v1.1.2
- Update type management when using
NextRequest.
v1.1.1
- Fix typo in logs when the handler throws