Releases: Xunnamius/next-test-api-route-handler
Releases · Xunnamius/next-test-api-route-handler
v3.0.0
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
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
2.3.3 (2021-11-10)
⚙️ Build system
- Differentiate between esm and bundler distributables (597c249)
v2.3.2
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
2.3.1 (2021-11-06)
⚙️ Build system
- Re-enable ESM (for bundlers) integration tests (91f08d4)
v2.3.0
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
2.2.1 (2021-08-29)
⚙️ Build system
- license: switch to MIT license (de9ee17)
v2.2.0
2.2.0 (2021-08-22)
✨ Features
- types: expanded typescript support;
testApiHandler
weakly typed by default (419d5fe)
v2.1.3
2.1.3 (2021-08-22)
🪄 Fixes
- src: ensure dependency resolution failure does not cause test runner to hang (7916f00)
v2.1.2
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)