Skip to content

Releases: rawnly/next-wayfinder

v0.3.0

31 Mar 20:55
Compare
Choose a tag to compare

What's Changed

  • New method property on Middleware<T>
  • Updated all the dependencies

Full Changelog: 0.2.3...0.3.0

v0.2.3

18 Oct 22:28
9dbd371
Compare
Choose a tag to compare

What's Changed

New api and breaking changes:

  1. Is now available a beforeAll callback that is executed before the request reaches any middleware. It is available both globally and per hostname.

  2. The signature of the handler has changed to use the response generated by the beforeAll callback

declare type Handler = <T>(request: NextRequestWithParams<T>, response: NextResponse, event: NextFetchEvent) => NextResponse
  1. Renamed inecjtor to context
  2. Added a response factory in the options to improve compatibility with other middlewares

Changes

  • feat: added beforeAll middleware and renamed injector to context
  • docs: changelog
  • fix: fixed context and response factory
  • docs: updated docs + example
  • chore: updated versions
  • docs: copy readme to package folder
  • docs: readme update

Full Changelog: v0.2.1...0.2.3

0.2.1

28 Mar 13:07
Compare
Choose a tag to compare
0.2.1

Canary 0.2.0

27 Mar 20:56
Compare
Choose a tag to compare
Canary 0.2.0 Pre-release
Pre-release

What's Changed

New Contributors

  • @rawnly made their first contribution in #1

Full Changelog: 0.0.2...0.2.0