From d3a6b2b5888de5ac67d1b79a7c22a9c8875c466f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 17:07:22 +0000 Subject: [PATCH] update version --- .changeset/esm-only.md | 5 ----- .changeset/node-22.md | 5 ----- CHANGELOG.md | 7 +++++++ package.json | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 .changeset/esm-only.md delete mode 100644 .changeset/node-22.md diff --git a/.changeset/esm-only.md b/.changeset/esm-only.md deleted file mode 100644 index 410b65b..0000000 --- a/.changeset/esm-only.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"nextjs-basic-auth-middleware": minor ---- - -Publish as ESM-only. The CommonJS build (`dist/index.cjs`) is removed; the package now ships `dist/index.js` + `dist/index.d.ts` with `exports` conditions `types` and `default`. CommonJS consumers on Node.js >= 22.12 can still `require()` the package. diff --git a/.changeset/node-22.md b/.changeset/node-22.md deleted file mode 100644 index 4318f6a..0000000 --- a/.changeset/node-22.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"nextjs-basic-auth-middleware": minor ---- - -Require Node.js >= 22 (`engines.node` is now `>=22`). Node.js 20 and older are end-of-life and no longer supported. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a309e6..c5b3945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 3.3.0 + +### Minor Changes + +- e11b943: Publish as ESM-only. The CommonJS build (`dist/index.cjs`) is removed; the package now ships `dist/index.js` + `dist/index.d.ts` with `exports` conditions `types` and `default`. CommonJS consumers on Node.js >= 22.12 can still `require()` the package. +- 4a9b989: Require Node.js >= 22 (`engines.node` is now `>=22`). Node.js 20 and older are end-of-life and no longer supported. + ## 3.2.0 ### Minor Changes diff --git a/package.json b/package.json index eaa00ca..6b26221 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nextjs-basic-auth-middleware", - "version": "3.2.0", + "version": "3.3.0", "author": "Boris Besemer", "publishConfig": { "access": "public",