Skip to content

Commit 441cd10

Browse files
committed
release(2.0.0): update changelog and package version
1 parent 107ac9d commit 441cd10

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 2.0.0
4+
- BREAKING CHANGE: Removes SSR Middleware
5+
- BREAKING CHANGE: Updates Next.js middleware to use API pages for 401 error message
6+
7+
## 1.0.0
8+
- Adds first version of the Next.js middleware
9+
310
## 0.2.1
411
- fix(middleware): return true when request object does not have a url
512

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# nextjs-basic-auth-middleware
22

3+
> :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.
4+
35
Adds basic auth support to Next.js projects using the official middleware approach (with a `middleware` file).
46
Options can be set on the basic auth middleware and overridden using environment variables.
57

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0",
2+
"version": "2.0.0",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

0 commit comments

Comments
 (0)