Skip to content

Commit

Permalink
release(2.0.0): update changelog and package version
Browse files Browse the repository at this point in the history
  • Loading branch information
blurrah committed Oct 28, 2022
1 parent 107ac9d commit 441cd10
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 2.0.0
- BREAKING CHANGE: Removes SSR Middleware
- BREAKING CHANGE: Updates Next.js middleware to use API pages for 401 error message

## 1.0.0
- Adds first version of the Next.js middleware

## 0.2.1
- fix(middleware): return true when request object does not have a url

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# nextjs-basic-auth-middleware

> :warning: Please upgrade to v2 if you use Next.js middleware version, v1 is broken. SSR Middleware for Next <=11 is still available on v1.
Adds basic auth support to Next.js projects using the official middleware approach (with a `middleware` file).
Options can be set on the basic auth middleware and overridden using environment variables.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "2.0.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down

0 comments on commit 441cd10

Please sign in to comment.