Skip to content

Releases: Xunnamius/next-test-api-route-handler

v3.0.0

17 Dec 14:34
v3.0.0
17e835f
Compare
Choose a tag to compare

3.0.0 (2021-12-17)

💥 BREAKING CHANGES 💥

  • src: fetch now comes from node-fetch directly instead of isomorphic-unfetch
  • src: exported TestParameters type has been renamed to NtarhParameters

✨ Features

  • package: remove debug dependency (moved into dev-deps) (d3c60cb)
  • src: improved error handling; add support for new rejectOnHandlerError option (68d30da)
  • src: move test-listen functionality into NTARH; remove dependency (15c899a)
  • src: replace isomorphic-unfetch with node-fetch (5a1a2ee)

🧙🏿 Refactored

v2.3.4

16 Nov 08:10
v2.3.4
fccf5df
Compare
Choose a tag to compare

2.3.4 (2021-11-16)

🪄 Fixes

  • src: lazy-load contents of the "cookies" field (854704b)

⚙️ Build system

  • Re-enable treeshaking in webpack (9302bcc)

v2.3.3

10 Nov 08:42
v2.3.3
2d91f41
Compare
Choose a tag to compare

2.3.3 (2021-11-10)

⚙️ Build system

  • Differentiate between esm and bundler distributables (597c249)

v2.3.2

07 Nov 01:57
v2.3.2
43e3c7a
Compare
Choose a tag to compare

2.3.2 (2021-11-07)

🪄 Fixes

  • src: es module compatibility; no longer attempts to require() in mjs files (32eafab)
  • src: report parsed es module import failures properly (cd98aab)

v2.3.1

06 Nov 00:31
v2.3.1
87bbbf4
Compare
Choose a tag to compare

2.3.1 (2021-11-06)

⚙️ Build system

  • Re-enable ESM (for bundlers) integration tests (91f08d4)

v2.3.0

05 Nov 23:32
v2.3.0
fe27a3d
Compare
Choose a tag to compare

2.3.0 (2021-11-05)

✨ Features

  • Automatically parse "set-cookie" headers; available in response.cookies (cd3cd95) closes #373

🪄 Fixes

  • src: ensure exceptions do not prevent Jest from exiting (8746e5f)
  • src: ensure webpack does not break dynamic require on compile (ae778d1) closes #378
  • Vastly improved error handling for those using node@<15 and/or npm@<7 (c216caa)

⚙️ Build system

  • Add back nullish coalescing operator babel transform for older node versions (5fbb6d2)
  • package: backport npm script fixes (346e8de)
  • src: fix TS bundle errors on node@12 and node@14 (812e6f2)

v2.2.1

29 Aug 01:49
v2.2.1
00e9617
Compare
Choose a tag to compare

2.2.1 (2021-08-29)

⚙️ Build system

  • license: switch to MIT license (de9ee17)

v2.2.0

22 Aug 19:46
v2.2.0
99827c5
Compare
Choose a tag to compare

2.2.0 (2021-08-22)

✨ Features

  • types: expanded typescript support; testApiHandler weakly typed by default (419d5fe)

v2.1.3

22 Aug 17:57
v2.1.3
3f1d53b
Compare
Choose a tag to compare

2.1.3 (2021-08-22)

🪄 Fixes

  • src: ensure dependency resolution failure does not cause test runner to hang (7916f00)

v2.1.2

14 Aug 09:13
v2.1.2
305ae1c
Compare
Choose a tag to compare

2.1.2 (2021-08-14)

🪄 Fixes

  • src: memoize resolver import (74241ee)

⚙️ Build system

  • package: improve build-docs npm script (33b6a34)
  • src: add descriptions to TypeScript types (1c3425c)