Skip to content

Releases: htunnicliff/next-api-middleware

v3.0.0

25 Jan 22:49
Compare
Choose a tag to compare

What's Changed

  • Updated README with note about Pages vs App Router support.
  • Dropped support for Node 12 and 14.

Full Changelog: 2.0.1...v3.0.0

v2.0.1

16 Jul 16:08
Compare
Choose a tag to compare

Patches

  • Remove leftover debug types and docs: 942329e

v2.0.0

16 Jul 15:50
Compare
Choose a tag to compare

Major Changes

  • (Breaking) Replace main with exports in package.json: 130581f
  • (Breaking) Move types and remove logger: 88a4c45
  • (Breaking) Remove ExpressMiddleware and rename NextMiddleware to Middleware: db53184
  • Output CJS and ESM packages (via tsup): 4603416

Minor Changes

Patches

v2.0.0-canary.1

16 Jul 15:28
Compare
Choose a tag to compare
v2.0.0-canary.1 Pre-release
Pre-release

Major Changes

  • Move types and remove logger: 88a4c45
  • Switch to tsup for building and bundling: 4603416
  • Export both CJS and ESM bundles

Patch Changes

  • (chore) Switch from yarn to pnpm: 9b35003
  • (chore) Replace Babel with SWC: c28640c

v2.0.0-canary.0

06 Feb 21:28
Compare
Choose a tag to compare
v2.0.0-canary.0 Pre-release
Pre-release

Major Changes

  • Replace main with exports in package.json: 130581f
  • Configure TypeScript to use ES2020 modules: 65a78eb
  • Add .js extension to import paths: fbdc0f0

Minor Changes

  • Fix Jest ESM compatibility: 807bb84
  • Add subpath imports: 8dc3ffd
  • Include minor version within Babel Node.js target: e56bf81

v1.0.1

23 Jul 19:37
Compare
Choose a tag to compare

Patches

  • Add GitHub repository to package.json: b8965f3

v1.0.0

23 Jul 19:31
Compare
Choose a tag to compare

Major Changes

  • Refactor to better handle synchronous middleware: b90289f
  • Rewrite executor and add tests: bc2f7ad
  • Add next as a peer dependency: 7fa9b80

Minor Changes

  • Add debug logging to executor: 42b4803
  • Rewrite documentation: 35463a0
  • Separate functions into different files: 631339e

Patches

  • Finish switching to yarn: 6fb29c5
  • Enable incremental TypeScript compiler option: ad16daa
  • Refactor logging counter: 1111afb
  • Improve async tests: 00dac9a
  • Update tsbuildinfo file: 762f942
  • Remove incremental tsconfig: 8439bf4

v1.0.0-canary.2

17 Jul 17:55
Compare
Choose a tag to compare
v1.0.0-canary.2 Pre-release
Pre-release

Major (could be breaking)

  • Add next as a peer dependency: 7fa9b80

Patches

  • Finish switching to yarn: 6fb29c5
  • Enable incremental TypeScript compiler option: ad16daa

v1.0.0-canary.1

17 Jul 04:18
Compare
Choose a tag to compare
v1.0.0-canary.1 Pre-release
Pre-release

Minor Changes

  • Add debug logging to executor: 42b4803

v1.0.0-canary.0

07 Jul 20:07
Compare
Choose a tag to compare
v1.0.0-canary.0 Pre-release
Pre-release

Major Changes

  • Refactor to better handle synchronous middleware: b90289f
  • Rewrite executor and add tests: bc2f7ad

Minor Changes

  • Separate functions into different files: 631339e