File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
10
## 0.2.1
4
11
- fix(middleware): return true when request object does not have a url
5
12
Original file line number Diff line number Diff line change 1
1
# nextjs-basic-auth-middleware
2
2
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
+
3
5
Adds basic auth support to Next.js projects using the official middleware approach (with a ` middleware ` file).
4
6
Options can be set on the basic auth middleware and overridden using environment variables.
5
7
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 1 .0.0" ,
2
+ "version" : " 2 .0.0" ,
3
3
"license" : " MIT" ,
4
4
"main" : " dist/index.js" ,
5
5
"typings" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments