File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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+
35Adds basic auth support to Next.js projects using the official middleware approach (with a ` middleware ` file).
46Options can be set on the basic auth middleware and overridden using environment variables.
57
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments