Packages

basic-auth

3.0.0 · 3 Aug 2026MIT28.1M / weekRepositoryHomepagenpmAtom feed

Upgrading basic-auth From 1.0.1 to 3.0.0

7 releases in betweenevery note read

Other targets from 1.0.1Newest 1.x1.1.0
3
changes to make
0
advisories fixed
5
new
1
fix

Before you upgrade

Tick each one off as you go
  • breaking3.0.0
  • breaking2.0.0
  • breaking1.0.2

Release by release

  1. 3.0.0

    Migration needed3 Aug 20261 new
    • breaking

      Removes the default export in favor of parse(str) #94

    • new

      Add format({ name, pass }) method #65

  2. 2.0.1nothing new or fixed in the note

  3. 2.0.0

    Migration needed13 Sep 2017
    • breaking

      Drop support for Node.js below 0.8

  4. 1.1.0

    18 Nov 20161 new
    • new

      Add auth.parse for low-level string parsing

  5. 1.0.4nothing new or fixed in the note

  6. 1.0.3

    2 Jul 20151 fix
    • fixed

      Fix regression accepting a Koa context

  7. 1.0.2

    Migration needed13 Jun 20153 new
    • breaking

      Remove argument reassignment

    • new

      Enable strict mode

    • new

      Hoist regular expression

    • new

      Parse with regular expressions

8 other lines we could not sort, mostly version bumps
  • Publish package as ESM #99

    3.0.0
  • Bump supported node versions >=22 #102

    3.0.0
  • The parse method expects a string

    3.0.0
  • Cross platform base64 support #95

    3.0.0
  • Parse performance improved by ~15% #96

    3.0.0
  • Improve error message when req argument is not an object

    1.0.4
  • Improve error message when req missing headers property

    1.0.4
  • Improve error message when req argument missing

    1.0.2

1 internal line (docs, tests, tooling) left out.