Skip to content

3.0.0

Compare
Choose a tag to compare
@blurrah blurrah released this 06 Mar 20:51
· 7 commits to main since this release

3.0.0

Major Changes

  • Use middleware responses instead of api page redirect

    This removes the createApiPage export and uses Middleware responses to serve
    a 401 when basic authentication fails. This requires next >=13.1.

    This is a much cleaner and less hacky approach to return the correct status code to a browser.

    ⚠️ This is a breaking change, please use v2 if you are below next 13.1