diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6ec5717..195046c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,93 +1,99 @@
# Changelog
All notable changes to this project will be documented in this auto-generated
-file. The format is based on [Conventional Commits][210]; this project adheres
-to [Semantic Versioning][211].
+file. The format is based on [Conventional Commits][212]; this project adheres
+to [Semantic Versioning][213].
-### [3.1.8][212] (2023-01-03)
+### [3.1.9][214] (2023-10-03)
+
+#### 🪄 Fixes
+
+- Ensure compat with next@12.1.0 ([ca1da40][215]) closes [#887][216]
+
+### [3.1.8][1] (2023-01-03)
#### ⚙️ Build system
-- **readme:** update maintainence badge and audit dependencies ([2a4ae05][213])
+- **readme:** update maintainence badge and audit dependencies ([2a4ae05][2])
-### [3.1.7][1] (2022-07-27)
+### [3.1.7][3] (2022-07-27)
#### ⚙️ Build system
-- **package:** update dependencies ([4af52f4][2])
+- **package:** update dependencies ([4af52f4][4])
-### [3.1.6][3] (2022-06-30)
+### [3.1.6][5] (2022-06-30)
#### 🪄 Fixes
- Ensure non-object "headers" fetch argument is not mangled when mixing in
- default headers ([6e94142][4])
+ default headers ([6e94142][6])
-### [3.1.5][5] (2022-06-26)
+### [3.1.5][7] (2022-06-26)
#### 🪄 Fixes
-- Fix MSW bypass override instructions and unit test ([405f84d][6])
+- Fix MSW bypass override instructions and unit test ([405f84d][8])
-### [3.1.4][7] (2022-06-26)
+### [3.1.4][9] (2022-06-26)
#### ⚙️ Build system
- **readme:** update MSW bypass override instructions under "test" entry in
- README ([b05e112][8])
+ README ([b05e112][10])
-### [3.1.3][9] (2022-05-21)
+### [3.1.3][11] (2022-05-21)
#### ⚙️ Build system
-- **package:** update dev-dependencies ([36a2c44][10])
+- **package:** update dev-dependencies ([36a2c44][12])
-### [3.1.2][11] (2022-03-23)
+### [3.1.2][13] (2022-03-23)
#### ⚙️ Build system
-- **package:** update dependencies ([065b445][12])
+- **package:** update dependencies ([065b445][14])
-### [3.1.1][13] (2022-02-18)
+### [3.1.1][15] (2022-02-18)
#### 🪄 Fixes
-- Ensure compat with next\@12.1.0 ([484d702][14]) closes [#487][15]
+- Ensure compat with next@12.1.0 ([484d702][16]) closes [#487][17]
#### 🔥 Reverted
-- _"refactor: update npm scripts, linting"_ ([77ad96d][16])
+- _"refactor: update npm scripts, linting"_ ([77ad96d][18])
-## [3.1.0][17] (2022-02-11)
+## [3.1.0][19] (2022-02-11)
#### ✨ Features
-- Automatically add the x-msw-bypass ([21b4b92][18])
+- Automatically add the x-msw-bypass ([21b4b92][20])
#### ⚙️ Build system
-- **deps:** bump next from 12.0.8 to 12.0.10 ([2a2f0b2][19])
-- **readme:** explain MSW compat default behavior ([0ee4ce5][20])
+- **deps:** bump next from 12.0.8 to 12.0.10 ([2a2f0b2][21])
+- **readme:** explain MSW compat default behavior ([0ee4ce5][22])
-### [3.0.3][21] (2022-02-05)
+### [3.0.3][23] (2022-02-05)
#### ⚙️ Build system
-- **package:** bump node-fetch to 2.6.7 ([1e8cd85][22])
+- **package:** bump node-fetch to 2.6.7 ([1e8cd85][24])
-### [3.0.2][23] (2022-01-03)
+### [3.0.2][25] (2022-01-03)
#### ⚙️ Build system
-- **readme:** update shields.io maintenance badge to 2022 ([84f74f5][24])
+- **readme:** update shields.io maintenance badge to 2022 ([84f74f5][26])
-### [3.0.1][25] (2021-12-27)
+### [3.0.1][27] (2021-12-27)
#### ⚙️ Build system
-- **package:** retire use of sort-package-json fork ([a925da2][26])
+- **package:** retire use of sort-package-json fork ([a925da2][28])
-## [3.0.0][27] (2021-12-17)
+## [3.0.0][29] (2021-12-17)
### 💥 BREAKING CHANGES 💥
@@ -97,144 +103,144 @@ to [Semantic Versioning][211].
#### ✨ Features
-- **package:** remove debug dependency (moved into dev-deps) ([d3c60cb][28])
+- **package:** remove debug dependency (moved into dev-deps) ([d3c60cb][30])
- **src:** improved error handling; add support for new `rejectOnHandlerError`
- option ([68d30da][29])
+ option ([68d30da][31])
- **src:** move test-listen functionality into NTARH; remove dependency
- ([15c899a][30])
-- **src:** replace isomorphic-unfetch with node-fetch ([5a1a2ee][31])
+ ([15c899a][32])
+- **src:** replace isomorphic-unfetch with node-fetch ([5a1a2ee][33])
#### 🧙🏿 Refactored
-- **src:** update types ([73f44b7][32])
+- **src:** update types ([73f44b7][34])
-### [2.3.4][33] (2021-11-16)
+### [2.3.4][35] (2021-11-16)
#### 🪄 Fixes
-- **src:** lazy-load contents of the "cookies" field ([854704b][34])
+- **src:** lazy-load contents of the "cookies" field ([854704b][36])
#### ⚙️ Build system
-- Re-enable treeshaking in webpack ([9302bcc][35])
+- Re-enable treeshaking in webpack ([9302bcc][37])
-### [2.3.3][36] (2021-11-10)
+### [2.3.3][38] (2021-11-10)
#### ⚙️ Build system
-- Differentiate between esm and bundler distributables ([597c249][37])
+- Differentiate between esm and bundler distributables ([597c249][39])
-### [2.3.2][38] (2021-11-07)
+### [2.3.2][40] (2021-11-07)
#### 🪄 Fixes
- **src:** es module compatibility; no longer attempts to require() in mjs files
- ([32eafab][39])
-- **src:** report parsed es module import failures properly ([cd98aab][40])
+ ([32eafab][41])
+- **src:** report parsed es module import failures properly ([cd98aab][42])
-### [2.3.1][41] (2021-11-06)
+### [2.3.1][43] (2021-11-06)
#### ⚙️ Build system
-- Re-enable ESM (for bundlers) integration tests ([91f08d4][42])
+- Re-enable ESM (for bundlers) integration tests ([91f08d4][44])
-## [2.3.0][43] (2021-11-05)
+## [2.3.0][45] (2021-11-05)
#### ✨ Features
- Automatically parse "set-cookie" headers; available in response.cookies
- ([cd3cd95][44]) closes [#373][45]
+ ([cd3cd95][46]) closes [#373][47]
#### 🪄 Fixes
-- **src:** ensure exceptions do not prevent Jest from exiting ([8746e5f][46])
+- **src:** ensure exceptions do not prevent Jest from exiting ([8746e5f][48])
- **src:** ensure webpack does not break dynamic require on compile
- ([ae778d1][47]) closes [#378][48]
+ ([ae778d1][49]) closes [#378][50]
- Vastly improved error handling for those using node@<15 and/or npm@<7
- ([c216caa][49])
+ ([c216caa][51])
#### ⚙️ Build system
- Add back nullish coalescing operator babel transform for older node versions
- ([5fbb6d2][50])
-- **package:** backport npm script fixes ([346e8de][51])
-- **src:** fix TS bundle errors on node\@12 and node\@14 ([812e6f2][52])
+ ([5fbb6d2][52])
+- **package:** backport npm script fixes ([346e8de][53])
+- **src:** fix TS bundle errors on node@12 and node@14 ([812e6f2][54])
#### 🔥 Reverted
-- _"chore(github): enable debug mode"_ ([5034aba][53])
+- _"chore(github): enable debug mode"_ ([5034aba][55])
-### [2.2.1][54] (2021-08-29)
+### [2.2.1][56] (2021-08-29)
#### ⚙️ Build system
-- **license:** switch to MIT license ([de9ee17][55])
+- **license:** switch to MIT license ([de9ee17][57])
-## [2.2.0][56] (2021-08-22)
+## [2.2.0][58] (2021-08-22)
#### ✨ Features
- **types:** expanded typescript support; `testApiHandler` weakly typed by
- default ([419d5fe][57])
+ default ([419d5fe][59])
-### [2.1.3][58] (2021-08-22)
+### [2.1.3][60] (2021-08-22)
#### 🪄 Fixes
- **src:** ensure dependency resolution failure does not cause test runner to
- hang ([7916f00][59])
+ hang ([7916f00][61])
-### [2.1.2][60] (2021-08-14)
+### [2.1.2][62] (2021-08-14)
#### 🪄 Fixes
-- **src:** memoize resolver import ([74241ee][61])
+- **src:** memoize resolver import ([74241ee][63])
#### ⚙️ Build system
-- **package:** improve build-docs npm script ([33b6a34][62])
-- **src:** add descriptions to TypeScript types ([1c3425c][63])
+- **package:** improve build-docs npm script ([33b6a34][64])
+- **src:** add descriptions to TypeScript types ([1c3425c][65])
-### [2.1.1][64] (2021-08-13)
+### [2.1.1][66] (2021-08-13)
#### 🪄 Fixes
-- **readme:** update install instructions; fix apollo example ([fd787ca][65])
+- **readme:** update install instructions; fix apollo example ([fd787ca][67])
#### ⚙️ Build system
-- **webpack.config:** second fix for faulty env management ([87ed12b][66])
+- **webpack.config:** second fix for faulty env management ([87ed12b][68])
-## [2.1.0][67] (2021-08-13)
+## [2.1.0][69] (2021-08-13)
#### ✨ Features
-- **src:** enable backwards compatibility all the way back to next\@9
- ([c51cf02][68]) closes [#295][69]
+- **src:** enable backwards compatibility all the way back to next@9
+ ([c51cf02][70]) closes [#295][71]
#### ⚙️ Build system
-- **webpack.config:** do not ignore warnings ([2b14d84][70])
-- **webpack.config:** fix faulty env management ([f477260][71])
+- **webpack.config:** do not ignore warnings ([2b14d84][72])
+- **webpack.config:** fix faulty env management ([f477260][73])
#### 🔥 Reverted
-- _"chore: update dependencies"_ ([f61fd8c][72]) closes [#296][73]
+- _"chore: update dependencies"_ ([f61fd8c][74]) closes [#296][75]
-### [2.0.2][74] (2021-07-29)
+### [2.0.2][76] (2021-07-29)
#### ⚙️ Build system
-- **external-scripts:** use latest mongodb native driver ([fd53fef][75])
-- **webpack.config.js:** more robust build process ([e5c6a99][76])
+- **external-scripts:** use latest mongodb native driver ([fd53fef][77])
+- **webpack.config.js:** more robust build process ([e5c6a99][78])
-### [2.0.1][77] (2021-06-27)
+### [2.0.1][79] (2021-06-27)
#### ⚙️ Build system
-- Update dependencies and publish fixed apollo example ([ef32668][78])
+- Update dependencies and publish fixed apollo example ([ef32668][80])
-## [2.0.0][79] (2021-06-27)
+## [2.0.0][81] (2021-06-27)
### 💥 BREAKING CHANGES 💥
@@ -243,716 +249,721 @@ to [Semantic Versioning][211].
#### ✨ Features
-- Add `url` and `paramsPatcher` ([ee31fa8][80])
+- Add `url` and `paramsPatcher` ([ee31fa8][82])
#### ⚙️ Build system
-- **package.json:** update dependencies ([2f1125c][81])
-- **package.json:** update dependencies ([7583209][82])
-- **package.json:** update next peer dependency to >=10.0.x ([bc5e72d][83])
+- **package.json:** update dependencies ([2f1125c][83])
+- **package.json:** update dependencies ([7583209][84])
+- **package.json:** update next peer dependency to >=10.0.x ([bc5e72d][85])
- Switch to @xunnamius/conventional-changelog-projector shared config
- ([bc7eb3d][84])
-- Update dependencies ([20ca255][85])
+ ([bc7eb3d][86])
+- Update dependencies ([20ca255][87])
-### [1.2.24][86] (2021-05-08)
+### [1.2.24][88] (2021-05-08)
#### 🪄 Fixes
-- **index.ts:** next 10.2.0 compat ([af177c5][87])
+- **index.ts:** next 10.2.0 compat ([af177c5][89])
#### ⚙️ Build system
- **.github/workflows:** disable old pipeline; begin transition to new pipeline
- ([364549e][88])
-- **.github/workflows:** overhaul pipeline workflows ([4db5d04][89])
+ ([364549e][90])
+- **.github/workflows:** overhaul pipeline workflows ([4db5d04][91])
- **.github:** split BTD workflow into two separate workflows (security)
- ([99ad127][90])
+ ([99ad127][92])
- **contributing.md:** split pipeline architecture information off into workflow
- README.md ([6d52302][91])
+ README.md ([6d52302][93])
- **package.json:** ensure hidden dirs' markdown files are seen by remark
- (linted and formatted) ([1f7fad4][92])
-- **package.json:** update dependencies ([d328a86][93])
-- **readme.md:** fix broken links ([6e7173f][94])
-- **readme.md:** improvements ([23cb780][95])
+ (linted and formatted) ([1f7fad4][94])
+- **package.json:** update dependencies ([d328a86][95])
+- **readme.md:** fix broken links ([6e7173f][96])
+- **readme.md:** improvements ([23cb780][97])
- **readme.md:** include architecture description as workflow README.md
- ([1f25e5f][96])
+ ([1f25e5f][98])
-### [1.2.23][97] (2021-03-14)
+### [1.2.23][99] (2021-03-14)
#### ⚙️ Build system
-- Better documentation ([0040582][98])
+- Better documentation ([0040582][100])
-### [1.2.22][99] (2021-03-12)
+### [1.2.22][101] (2021-03-12)
#### ⚙️ Build system
-- Update dependencies and fix find-package-json usage ([df9ede3][100])
+- Update dependencies and fix find-package-json usage ([df9ede3][102])
-### [1.2.21][101] (2021-03-12)
+### [1.2.21][103] (2021-03-12)
#### ⚙️ Build system
-- **build-test-deploy.yml:** actions version updates ([29aa25a][102])
+- **build-test-deploy.yml:** actions version updates ([29aa25a][104])
- **build-test-deploy.yml:** rollback some pipeline version updates
- ([8065757][103])
-- **package.json:** fix typedoc-markdown-plugin patch ([dd3e7fa][104])
- closes [#126][105]
+ ([8065757][105])
+- **package.json:** fix typedoc-markdown-plugin patch ([dd3e7fa][106])
+ closes [#126][107]
-### [1.2.20][106] (2021-02-22)
+### [1.2.20][108] (2021-02-22)
#### ⚙️ Build system
-- **package-lock.json:** update deps ([5a2d98f][107])
+- **package-lock.json:** update deps ([5a2d98f][109])
-### [1.2.19][108] (2021-02-22)
+### [1.2.19][110] (2021-02-22)
#### 🪄 Fixes
-- **.changelogrc.js:** fix dark magic ([b4157eb][109])
-- **is-next-compat.ts:** never use console.log ([81533c8][110])
-- **is-next-compat.ts:** use template string instead of literal ([3a4f0f1][111])
-- **unit-index.test.ts:** 100% test coverage ([72189e8][112])
+- **.changelogrc.js:** fix dark magic ([b4157eb][111])
+- **is-next-compat.ts:** never use console.log ([81533c8][112])
+- **is-next-compat.ts:** use template string instead of literal ([3a4f0f1][113])
+- **unit-index.test.ts:** 100% test coverage ([72189e8][114])
#### ⚙️ Build system
-- **.eslintrc.js:** account for node 12 ([cad0fb2][113])
-- **.github:** update workflows and templates ([54e51eb][114])
-- Backport new webpack config ([b268534][115])
+- **.eslintrc.js:** account for node 12 ([cad0fb2][115])
+- **.github:** update workflows and templates ([54e51eb][116])
+- Backport new webpack config ([b268534][117])
- **integration-external.test.ts:** ensure proper cwd is used for executing
- externals ([31c1d5b][116])
+ externals ([31c1d5b][118])
- **is-next-compat.ts:** use execa instead of shelljs under the hood
- ([9d12004][117])
-- **package.json:** remove shelljs, update other deps ([11e192a][118])
-- **package.json:** update dependencies ([9e1705b][119])
-- Rename env-expect to expect-env ([035e98b][120])
-- **setup.ts:** fix several lib-pkg tools ([44d1967][121])
-- Spellcheck-commit and .changelogrc no longer use shelljs ([dd72fd1][122])
-- **test:** update with new lib-pkg tools ([004a657][123])
-- **unit-external.test.ts:** update with new lib-pkg tools ([6df7e73][124])
+ ([9d12004][119])
+- **package.json:** remove shelljs, update other deps ([11e192a][120])
+- **package.json:** update dependencies ([9e1705b][121])
+- Rename env-expect to expect-env ([035e98b][122])
+- **setup.ts:** fix several lib-pkg tools ([44d1967][123])
+- Spellcheck-commit and .changelogrc no longer use shelljs ([dd72fd1][124])
+- **test:** update with new lib-pkg tools ([004a657][125])
+- **unit-external.test.ts:** update with new lib-pkg tools ([6df7e73][126])
#### 🔥 Reverted
-- _"debug(build-test-deploy.yml): disable debug mode"_ ([6cefa7a][125])
+- _"debug(build-test-deploy.yml): disable debug mode"_ ([6cefa7a][127])
-### [1.2.18][126] (2021-02-11)
+### [1.2.18][128] (2021-02-11)
#### ⚙️ Build system
-- **package.json:** update to proper forked dependencies ([042291d][127])
+- **package.json:** update to proper forked dependencies ([042291d][129])
-### [1.2.17][128] (2021-02-10)
+### [1.2.17][130] (2021-02-10)
#### ⚙️ Build system
- **webpack.config.js:** normalize webpack configuration across repos
- ([65f48a3][129])
-- **webpack.config.js:** remove ES6 syntax from JS file ([5ed6dbd][130])
+ ([65f48a3][131])
+- **webpack.config.js:** remove ES6 syntax from JS file ([5ed6dbd][132])
-### [1.2.16][131] (2021-02-10)
+### [1.2.16][133] (2021-02-10)
#### ⚙️ Build system
-- **package.json:** update dependencies ([aeef7a9][132])
+- **package.json:** update dependencies ([aeef7a9][134])
-### [1.2.15][133] (2021-02-08)
+### [1.2.15][135] (2021-02-08)
#### 🪄 Fixes
- **readme.md:** simplify all examples with more modern syntax; remove
- @ergodark/types ([964bc47][134])
+ @ergodark/types ([964bc47][136])
-### [1.2.14][135] (2021-02-08)
+### [1.2.14][137] (2021-02-08)
#### 🪄 Fixes
-- **readme.md:** add Apollo example and additional guidance ([ed357f5][136])
+- **readme.md:** add Apollo example and additional guidance ([ed357f5][138])
-### [1.2.13][137] (2021-02-05)
+### [1.2.13][139] (2021-02-05)
#### 🪄 Fixes
- **config:** use transform-rename-import when building externals
- ([d224f5e][138])
-- **index.ts:** use NextApiHandler type (thanks [@janhesters][139])
- ([473ff50][140])
-- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][141])
-- **is-next-compat.ts:** better handling of generics ([d7bc091][142])
-- Next no longer misclassified as CJS ([9ebac01][143])
+ ([d224f5e][140])
+- **index.ts:** use NextApiHandler type (thanks [@janhesters][141])
+ ([473ff50][142])
+- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][143])
+- **is-next-compat.ts:** better handling of generics ([d7bc091][144])
+- Next no longer misclassified as CJS ([9ebac01][145])
#### ⚙️ Build system
-- **build-test-deploy.yml:** drop support for node 10 ([6adde15][144])
-- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][145])
-- **build-test-deploy.yml:** remove externals exception ([5e3893a][146])
-- **cleanup.yml:** fix bugs in workflow ([cbf22fd][147])
-- Drop support for node 10 ([71e9103][148])
-- Only silence sjx if not DEBUG ([f01ce40][149])
-- **package.json:** improved build-dist ([a3526f2][150])
-- **package.json:** nicer destructured vals in docs ([661e62d][151])
-- **package.json:** remove extraneous module ([1f2ad6a][152])
-- **package.json:** update dependencies ([c64f761][153])
-- **post-release-check.yml:** add five-minute-sleep ([4a0552d][154])
-- **post-release-check.yml:** more resilient post-release check ([856435f][155])
-- Properly mocked unit tests for externals ([b3273df][156])
-- **test:** improved testing infrastructure ([fffe02e][157])
-- **types:** more precise unique-filename type ([a60793c][158])
+- **build-test-deploy.yml:** drop support for node 10 ([6adde15][146])
+- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][147])
+- **build-test-deploy.yml:** remove externals exception ([5e3893a][148])
+- **cleanup.yml:** fix bugs in workflow ([cbf22fd][149])
+- Drop support for node 10 ([71e9103][150])
+- Only silence sjx if not DEBUG ([f01ce40][151])
+- **package.json:** improved build-dist ([a3526f2][152])
+- **package.json:** nicer destructured vals in docs ([661e62d][153])
+- **package.json:** remove extraneous module ([1f2ad6a][154])
+- **package.json:** update dependencies ([c64f761][155])
+- **post-release-check.yml:** add five-minute-sleep ([4a0552d][156])
+- **post-release-check.yml:** more resilient post-release check ([856435f][157])
+- Properly mocked unit tests for externals ([b3273df][158])
+- **test:** improved testing infrastructure ([fffe02e][159])
+- **types:** more precise unique-filename type ([a60793c][160])
-### [1.2.12][159] (2021-01-23)
+### [1.2.12][161] (2021-01-23)
#### ⚙️ Build system
-- Remove erroneous module import ([6eb2a34][160])
+- Remove erroneous module import ([6eb2a34][162])
-### [1.2.11][161] (2021-01-23)
+### [1.2.11][163] (2021-01-23)
#### ⚙️ Build system
-- Backport/normalize across packages ([e589c1d][162])
+- Backport/normalize across packages ([e589c1d][164])
-### [1.2.10][163] (2021-01-22)
+### [1.2.10][165] (2021-01-22)
#### ⚙️ Build system
-- Update debug statement syntax ([52a2276][164])
+- Update debug statement syntax ([52a2276][166])
-### [1.2.9][165] (2021-01-21)
+### [1.2.9][167] (2021-01-21)
#### ⚙️ Build system
- **.github/workflows/build-test-deploy.yml:** fix peer dependency installation
- ([12e5bbe][166])
+ ([12e5bbe][168])
-### [1.2.8][167] (2021-01-13)
+### [1.2.8][169] (2021-01-13)
#### 🪄 Fixes
-- **readme.md:** ensure quick start example is functional ([87dc31f][168])
+- **readme.md:** ensure quick start example is functional ([87dc31f][170])
-### [1.2.7][169] (2021-01-12)
+### [1.2.7][171] (2021-01-12)
#### ⚙️ Build system
-- Rebuild lockfile ([94cfa38][170])
-- Update babel-plugin-transform-mjs-imports ([62089c7][171])
+- Rebuild lockfile ([94cfa38][172])
+- Update babel-plugin-transform-mjs-imports ([62089c7][173])
-### [1.2.6][172] (2021-01-06)
+### [1.2.6][174] (2021-01-06)
#### ⚙️ Build system
-- **package.json:** prune old deps ([2cf1d29][173])
+- **package.json:** prune old deps ([2cf1d29][175])
-### [1.2.5][174] (2021-01-06)
+### [1.2.5][176] (2021-01-06)
#### ⚙️ Build system
- **.github/workflows/post-release-check.yml:** add new post-release-check
- ([a307efc][175])
-- **.github:** add is-next-compat workflow ([1823c05][176])
+ ([a307efc][177])
+- **.github:** add is-next-compat workflow ([1823c05][178])
-### [1.2.4][177] (2021-01-06)
+### [1.2.4][179] (2021-01-06)
#### ⚙️ Build system
-- **readme.md:** add quick start example ([4e5e12c][178])
+- **readme.md:** add quick start example ([4e5e12c][180])
-### [1.2.3][179] (2021-01-05)
+### [1.2.3][181] (2021-01-05)
#### ⚙️ Build system
- **package.json:** favor "prepare" over "postinstall" and use npx for dev tools
- ([a111c87][180])
+ ([a111c87][182])
-### [1.2.2][181] (2021-01-05)
+### [1.2.2][183] (2021-01-05)
#### ⚙️ Build system
-- **readme.md:** cosmetic ([98b65c6][182])
+- **readme.md:** cosmetic ([98b65c6][184])
-### [1.2.1][183] (2021-01-05)
+### [1.2.1][185] (2021-01-05)
#### ⚙️ Build system
- **package.json:** update dependencies, prune unused dependencies
- ([6ef6cbe][184])
+ ([6ef6cbe][186])
-## [1.2.0][185] (2021-01-05)
+## [1.2.0][187] (2021-01-05)
#### ✨ Features
- **.changelogrc.js:** transfer repository over to semantic-release CI/CD
- ([b9d2bf0][186])
+ ([b9d2bf0][188])
#### ⚙️ Build system
-- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][187])
+- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][189])
- **test/unit-externals.test.ts:** add mongo uri env var to test explicitly
- ([e0e1fd9][188])
+ ([e0e1fd9][190])
-### [1.1.3][189] (2020-12-06)
+### [1.1.3][191] (2020-12-06)
#### ⚙️ Build system
-- **package.json:** audit and update deps ([c82695a][190])
-- **package.json:** manually bump version ([813b21a][191])
+- **package.json:** audit and update deps ([c82695a][192])
+- **package.json:** manually bump version ([813b21a][193])
-### [1.1.2][192] (2020-11-26)
+### [1.1.2][194] (2020-11-26)
#### 🪄 Fixes
-- **readme:** update install language ([b68c721][193])
+- **readme:** update install language ([b68c721][195])
-### [1.1.1][194] (2020-11-26)
+### [1.1.1][196] (2020-11-26)
#### 🪄 Fixes
-- **externals:** revert sort-package-json to maintainer version ([750055b][195])
-- **externals:** rewrite test workflow ([d604dfc][196])
+- **externals:** revert sort-package-json to maintainer version ([750055b][197])
+- **externals:** rewrite test workflow ([d604dfc][198])
-## [1.1.0][197] (2020-11-25)
+## [1.1.0][199] (2020-11-25)
#### 🪄 Fixes
-- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][198])
+- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][200])
- **externals:** updated remaining dependency references to peerDependency
- references ([ccf54fb][199])
+ references ([ccf54fb][201])
-### [1.0.10][200] (2020-10-24)
+### [1.0.10][202] (2020-10-24)
-### [1.0.9][201] (2020-10-23)
+### [1.0.9][203] (2020-10-23)
-### [1.0.8][202] (2020-10-20)
+### [1.0.8][204] (2020-10-20)
-### [1.0.7][203] (2020-10-19)
+### [1.0.7][205] (2020-10-19)
-### [1.0.6][204] (2020-10-17)
+### [1.0.6][206] (2020-10-17)
-### [1.0.5][205] (2020-10-13)
+### [1.0.5][207] (2020-10-13)
-### [1.0.4][206] (2020-10-12)
+### [1.0.4][208] (2020-10-12)
-### [1.0.3][207] (2020-10-12)
+### [1.0.3][209] (2020-10-12)
-### [1.0.2][208] (2020-10-07)
+### [1.0.2][210] (2020-10-07)
-### [1.0.1][209] (2020-10-07)
+### [1.0.1][211] (2020-10-07)
## 1.0.0 (2020-10-07)
[1]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.6...v3.1.7
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.7...v3.1.8
[2]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/4af52f43dcba1f6f57887fb977b1430f8009d872
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/2a4ae05a6d163902daff9021b375db5f362149d7
[3]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.5...v3.1.6
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.6...v3.1.7
[4]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/6e94142b83d4d6bed7812bca2bd4226a6b67c49a
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/4af52f43dcba1f6f57887fb977b1430f8009d872
[5]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.4...v3.1.5
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.5...v3.1.6
[6]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/405f84dabe68b72e11919066cc53dbc69ad4807d
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/6e94142b83d4d6bed7812bca2bd4226a6b67c49a
[7]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.3...v3.1.4
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.4...v3.1.5
[8]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/b05e112c11ead6b03c33a1a0bf1dc4fca4d29db5
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/405f84dabe68b72e11919066cc53dbc69ad4807d
[9]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.2...v3.1.3
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.3...v3.1.4
[10]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/36a2c44e4b3f6f4f6d4ae9f8a566a42609ee362c
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/b05e112c11ead6b03c33a1a0bf1dc4fca4d29db5
[11]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.1...v3.1.2
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.2...v3.1.3
[12]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/065b4455016812575e1714cc680e57184b49cf5d
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/36a2c44e4b3f6f4f6d4ae9f8a566a42609ee362c
[13]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.0...v3.1.1
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.1...v3.1.2
[14]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/484d7023539d95b8930d1665b4b613042b21fe9f
-[15]: https://github.com/Xunnamius/next-test-api-route-handler/issues/487
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/065b4455016812575e1714cc680e57184b49cf5d
+[15]:
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.0...v3.1.1
[16]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/484d7023539d95b8930d1665b4b613042b21fe9f
+[17]: https://github.com/Xunnamius/next-test-api-route-handler/issues/487
+[18]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/77ad96dc4a1e3c79f9f75b6827f74f501cce8f5d
-[17]:
+[19]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.3...v3.1.0
-[18]:
+[20]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/21b4b928a40b685a99df34ad20845c97615ee1c8
-[19]:
+[21]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/2a2f0b28b07f8a176a5333551b5788033f90274a
-[20]:
+[22]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/0ee4ce58b1c7a8b4ea2096c01142097f427b2a00
-[21]:
+[23]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.2...v3.0.3
-[22]:
+[24]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1e8cd8573cdcfa3489526244c40f373a71d92b40
-[23]:
+[25]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.1...v3.0.2
-[24]:
+[26]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/84f74f55027cd4e67b7e7929f668d4de387dc3c3
-[25]:
+[27]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.0...v3.0.1
-[26]:
+[28]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/a925da287a02b6c36b588b6804e7b0b628364b25
-[27]:
+[29]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.4...v3.0.0
-[28]:
+[30]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/d3c60cbd506eb22a4bb23554b06668076e687ad9
-[29]:
+[31]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/68d30dac2210e4f976afbf5c59378d6b314d4ec3
-[30]:
+[32]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/15c899a98423c612571886115308e68e20633a1b
-[31]:
+[33]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5a1a2ee806f4cfd5d199d54dbd82f9f945da1694
-[32]:
+[34]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/73f44b78c2ee92b443adf99e248c03b985b80891
-[33]:
+[35]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.3...v2.3.4
-[34]:
+[36]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/854704ba9a7f374753e1a51f4fe00db761d7718f
-[35]:
+[37]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/9302bcc882e9cd4080526f5192186b5259e08726
-[36]:
+[38]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.2...v2.3.3
-[37]:
+[39]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/597c2497a137c86696aba9b750b60f43d728495f
-[38]:
+[40]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.1...v2.3.2
-[39]:
+[41]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/32eafabd592856a7ef286d7d0157e38a8275695d
-[40]:
+[42]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/cd98aab7eea7bdd4b988402b57ce5e93572a7850
-[41]:
+[43]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.0...v2.3.1
-[42]:
+[44]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/91f08d426081afc1009e50d7b9ee6a0a2259268b
-[43]:
+[45]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.1...v2.3.0
-[44]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/cd3cd95adb536b05a3cfe8bd0b12329c9acad166
-[45]: https://github.com/Xunnamius/next-test-api-route-handler/issues/373
[46]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/cd3cd95adb536b05a3cfe8bd0b12329c9acad166
+[47]: https://github.com/Xunnamius/next-test-api-route-handler/issues/373
+[48]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/8746e5fb6b337131303ad0c011c864d5152a864d
-[47]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/ae778d18f1c01e36070f0612067ec9f00f14a665
-[48]: https://github.com/Xunnamius/next-test-api-route-handler/issues/378
[49]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/ae778d18f1c01e36070f0612067ec9f00f14a665
+[50]: https://github.com/Xunnamius/next-test-api-route-handler/issues/378
+[51]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/c216caa659a0fcf807ff6b1a0c11c2b331e27d3c
-[50]:
+[52]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5fbb6d20cab097250cb8c62d0c5edb6fe80f0bfc
-[51]:
+[53]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/346e8de1390ba46e9dc8faccc0977c5f50a9dc32
-[52]:
+[54]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/812e6f262726e328a57cdb0833fb8bfbbcce6708
-[53]:
+[55]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5034aba01f30bfb7787247054d12d7dbb90469e6
-[54]:
+[56]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.0...v2.2.1
-[55]:
+[57]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/de9ee177491855eb0ac095f9a1a3e5cfad820420
-[56]:
+[58]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.3...v2.2.0
-[57]:
+[59]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/419d5fe805928605b85fe0e5c64c80eb5a1d798d
-[58]:
+[60]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.2...v2.1.3
-[59]:
+[61]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/7916f0026b59e6325b59395f61b142056c6c8220
-[60]:
+[62]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.1...v2.1.2
-[61]:
+[63]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/74241eeee173a6cf8f987608946c3d8691a67c27
-[62]:
+[64]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/33b6a34a126909a354a7c3f5d523b0fa47acb960
-[63]:
+[65]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1c3425caf7d80793a2c1e88ff8fbd29ada8adf2d
-[64]:
+[66]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.0...v2.1.1
-[65]:
+[67]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/fd787ca116c3a84f9393f22bf7e898db0a22f5e1
-[66]:
+[68]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/87ed12b68e930342649c65a76455396879658d48
-[67]:
+[69]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.2...v2.1.0
-[68]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/c51cf0222e17066c03cd80e1c76c5e9f49cacc2e
-[69]: https://github.com/Xunnamius/next-test-api-route-handler/issues/295
[70]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/c51cf0222e17066c03cd80e1c76c5e9f49cacc2e
+[71]: https://github.com/Xunnamius/next-test-api-route-handler/issues/295
+[72]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/2b14d8499f4845d0e2d20fd2098f509f5edc16f9
-[71]:
+[73]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/f4772607ebb8641ea4e0d6ac2fd152f76dff3f7c
-[72]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/f61fd8c5ea52265a7ff15252d720d135890880f2
-[73]: https://github.com/Xunnamius/next-test-api-route-handler/issues/296
[74]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/f61fd8c5ea52265a7ff15252d720d135890880f2
+[75]: https://github.com/Xunnamius/next-test-api-route-handler/issues/296
+[76]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.1...v2.0.2
-[75]:
+[77]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/fd53fefc6d5c2ff67ed2669b18e28b7ef7005c12
-[76]:
+[78]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/e5c6a994d4b553369ae42b6be0ae1932346ebbd6
-[77]:
+[79]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.0...v2.0.1
-[78]:
+[80]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/ef32668428df303c4e536aae5793ed14eee0ade5
-[79]:
+[81]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.24...v2.0.0
-[80]:
+[82]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/ee31fa8cefdc2b8b8197d3889fb8aac27467b374
-[81]:
+[83]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/2f1125cfb481e94af4248cf5b5dfce729cc4d662
-[82]:
+[84]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/75832099f4c4d0e329aca469ac16c8a25100c26d
-[83]:
+[85]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/bc5e72d9d40f1991315ac0657a4b212331dc065f
-[84]:
+[86]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/bc7eb3db18aa70345a1c11d96436b374a15c3b7f
-[85]:
+[87]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/20ca255e01d0c2e7824707e19f41ca5a8de0140e
-[86]:
+[88]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.23...v1.2.24
-[87]:
+[89]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/af177c5035c22ab923dd62f6dc82702373f740d4
-[88]:
+[90]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/364549e2845965954af62fdfa6c1dfa0d6f91f2f
-[89]:
+[91]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/4db5d04d6a7117fe8e2113d2fafc6150a81f611c
-[90]:
+[92]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/99ad1276e7e69218719ee2b27173e4ffcb7337f6
-[91]:
+[93]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6d523027b8d650ae0a2d121c349e6a4c48af6792
-[92]:
+[94]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1f7fad4d512f1839d96c6264f2d4abb1c5ed11e7
-[93]:
+[95]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/d328a86317c60206bda565ba2e315113dadd0c9b
-[94]:
+[96]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6e7173fca4cbe778419eeff92ddbf7c03c2b00d5
-[95]:
+[97]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/23cb7804d5f0e775b75eaefb4588beb179dcdcdf
-[96]:
+[98]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1f25e5fb8b2797621d316e18b01ee503fb4d1263
-[97]:
+[99]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.22...v1.2.23
-[98]:
+[100]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/0040582d2f89e9a14c2335dc85cd5f9201bff644
-[99]:
+[101]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.21...v1.2.22
-[100]:
+[102]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/df9ede3ddde3a2df6a42224ab3302e599bd61516
-[101]:
+[103]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.20...v1.2.21
-[102]:
+[104]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/29aa25a9e2572be5b418fbee9d2d8aba2056583e
-[103]:
+[105]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/806575792fe9e1522bd6bce0eb10f1bd3407da64
-[104]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/dd3e7faadf148b23994f443a2247cc1316639e7d
-[105]: https://github.com/Xunnamius/next-test-api-route-handler/issues/126
[106]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/dd3e7faadf148b23994f443a2247cc1316639e7d
+[107]: https://github.com/Xunnamius/next-test-api-route-handler/issues/126
+[108]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.19...v1.2.20
-[107]:
+[109]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5a2d98f3ddb34e9d934f16510a73cacd43ee42ee
-[108]:
+[110]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.18...v1.2.19
-[109]:
+[111]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/b4157eba128f6a787531fdabf2bebf78851a0d9a
-[110]:
+[112]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/81533c8953adde75499cd11b552bca5f970addca
-[111]:
+[113]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/3a4f0f150779a226ee3c9f45fde201391fa1bec0
-[112]:
+[114]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/72189e80136b0567de8fc65eed9b2a4be365ca1a
-[113]:
+[115]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/cad0fb2b6153434d3be41f394f1fa636cc930435
-[114]:
+[116]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/54e51ebd0e133fb469306b76bc756c283a71a2c1
-[115]:
+[117]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/b2685345493165cc63136b051cc5fafbf02f5c48
-[116]:
+[118]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/31c1d5b358df78e0f27e881c0329355d91370995
-[117]:
+[119]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/9d12004ad5adfc5d4d6992bdb67c52168829967e
-[118]:
+[120]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/11e192a670c5cf40faff32abeecb610534cd382b
-[119]:
+[121]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/9e1705b88fbcb5c4794abfb56691bdea7500db0d
-[120]:
+[122]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/035e98bbe4b6bcf1ec6de40ee38b36ec107e8186
-[121]:
+[123]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/44d1967a412ca67829deeb29c7603ddf7e42f435
-[122]:
+[124]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/dd72fd1859fd74df3af0d47a1747d8c404abc3a7
-[123]:
+[125]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/004a657bafaab0419e645b6388c7536e38a1ef22
-[124]:
+[126]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6df7e73fff51036c63efc7ba898c3d76bc47deb7
-[125]:
+[127]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6cefa7ae41832e61ef6df75409be61141f7d1687
-[126]:
+[128]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.17...v1.2.18
-[127]:
+[129]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/042291d26742dfdda3742e6171efa25e9d3953ce
-[128]:
+[130]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.16...v1.2.17
-[129]:
+[131]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/65f48a3d97184bb8a1be4fd27e86be0d7cd6bb00
-[130]:
+[132]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5ed6dbd1cdcb15745f4979f1a716d9bce9a93afb
-[131]:
+[133]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.15...v1.2.16
-[132]:
+[134]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/aeef7a9726934852e1a51c9da98c4a96a9c70044
-[133]:
+[135]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.14...v1.2.15
-[134]:
+[136]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/964bc47f80691e83d92082fcaa0679219b8543f5
-[135]:
+[137]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.13...v1.2.14
-[136]:
+[138]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/ed357f5211a49bfffbb28f03d60f157fa23d14b4
-[137]:
+[139]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.12...v1.2.13
-[138]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0
-[139]: https://github.com/janhesters
[140]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0
+[141]: https://github.com/janhesters
+[142]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/473ff500fb2c954ce32be911bde943259ae1bbef
-[141]:
+[143]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/f7a12ded8f43359fd3079ea8294a2199c34b2d26
-[142]:
+[144]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/d7bc091fe8f8e85b70987cfa4c663c7c8fd018c8
-[143]:
+[145]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/9ebac018798ac82b97b8163bc5713b43001f592c
-[144]:
+[146]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6adde1576f4aeb8b9a72cdcefc2ea6bd4b71a5cd
-[145]:
+[147]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/e508c06b77d225f150ebfce6409c2506a88efe4c
-[146]:
+[148]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/5e3893a425b95ac2b12edc2195171de85afcfd0a
-[147]:
+[149]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/cbf22fdd78e28e02ec4213156c6c72ba16c8bfa3
-[148]:
+[150]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/71e9103df5660fea2af3211b1d6c1fa72b1dd3c7
-[149]:
+[151]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/f01ce4041b2fb1fd24052ce17008df9746652730
-[150]:
+[152]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/a3526f28057201fcce19c752e554e705b8e3a922
-[151]:
+[153]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/661e62d53be74211d3d158ad90c196f43c8fe6db
-[152]:
+[154]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1f2ad6a2cdc863b183ac7f7bef756dd90c057ebe
-[153]:
+[155]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/c64f761c3b2cc69cf07cd7dd88e9671deb66fc4f
-[154]:
+[156]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/4a0552d2c730842371325111276c58651dabc558
-[155]:
+[157]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/856435f02ebe2f44b13c92cc6c794eeab2b345d0
-[156]:
+[158]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/b3273dfbe43cb4c9ececdb4863ff4259f38807ec
-[157]:
+[159]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/fffe02e14615daba1f9f8ec1bb2a4024ceb93e84
-[158]:
+[160]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/a60793c620fe926308f8c99c61076da81aebe2fa
-[159]:
+[161]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.11...v1.2.12
-[160]:
+[162]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6eb2a348b1352e9f30d7ecacbaba01fa11cf1cfe
-[161]:
+[163]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.10...v1.2.11
-[162]:
+[164]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/e589c1d48aa1dae40643385c6acfcbacf9b40e16
-[163]:
+[165]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.9...v1.2.10
-[164]:
+[166]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/52a22765e17759271e7ba6c83ce9f3609500b5f3
-[165]:
+[167]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.8...v1.2.9
-[166]:
+[168]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/12e5bbe1bf36fda3ef938c7ed7cd445fec3901c9
-[167]:
+[169]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.7...v1.2.8
-[168]:
+[170]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/87dc31f264682d8048ee8d4cba4dbf866666bf07
-[169]:
+[171]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.6...v1.2.7
-[170]:
+[172]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/94cfa3806bfa0250e9b2dd5b3abfb2ff65c77c6a
-[171]:
+[173]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/62089c79f6c9b585d2bb8ca0a8b87bd355b8695f
-[172]:
+[174]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.5...v1.2.6
-[173]:
+[175]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/2cf1d29159fb746dc4a7c09a8193e46c6bec3823
-[174]:
+[176]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.4...v1.2.5
-[175]:
+[177]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/a307efcf2cdf60679d68fab385bdc8951a476ace
-[176]:
+[178]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/1823c055f034e528337c68d710164097e423f6e2
-[177]:
+[179]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.3...v1.2.4
-[178]:
+[180]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/4e5e12c0df4fc80abb696d32718440ff294902e7
-[179]:
+[181]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.2...v1.2.3
-[180]:
+[182]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/a111c87ccd863ce4dac85a5bd0281d87affe3b63
-[181]:
+[183]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.1...v1.2.2
-[182]:
+[184]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/98b65c6da330040e4bcbc22fe28db87c3965fd0e
-[183]:
+[185]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.0...v1.2.1
-[184]:
+[186]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/6ef6cbeb143648eb1fed5eff39071a06e7354275
-[185]:
+[187]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.3...v1.2.0
-[186]:
+[188]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/b9d2bf010fba4b163e1eea0801271292a0e74308
-[187]:
+[189]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/45a79d41835b5146912511f8b583c9128d154cf9
-[188]:
+[190]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/e0e1fd951fbe63c04c264ad11ab1fa7a39e1679a
-[189]:
+[191]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.2...v1.1.3
-[190]:
+[192]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/c82695a8816b6cd5f0e11d09cc2f948a30a416e9
-[191]:
+[193]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/813b21ad1e2c78594903b3a8f504f4460d8e506e
-[192]:
+[194]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.1...v1.1.2
-[193]:
+[195]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/b68c721e5100baa883c7096e5cc4e81c1c60ed00
-[194]:
+[196]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.0...v1.1.1
-[195]:
+[197]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/750055b92699fc7f1c06349ccdb0ddc0179f891a
-[196]:
+[198]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/d604dfc39d2e77cbe1234b8349a2ecef81a9e54a
-[197]:
+[199]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.10...v1.1.0
-[198]:
+[200]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/0e7541fbecd2e3bacc124f624bfca2b56ceeb89f
-[199]:
+[201]:
https://github.com/Xunnamius/next-test-api-route-handler/commit/ccf54fb480e35961647900d345149d3cd1cf60d8
-[200]:
+[202]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.9...v1.0.10
-[201]:
+[203]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.8...v1.0.9
-[202]:
+[204]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.7...v1.0.8
-[203]:
+[205]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.6...v1.0.7
-[204]:
+[206]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.5...v1.0.6
-[205]:
+[207]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.4...v1.0.5
-[206]:
+[208]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.3...v1.0.4
-[207]:
+[209]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.2...v1.0.3
-[208]:
+[210]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.1...1.0.2
-[209]:
+[211]:
https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.0...1.0.1
-[210]: https://conventionalcommits.org
-[211]: https://semver.org
-[212]:
- https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.7...v3.1.8
-[213]:
- https://github.com/Xunnamius/next-test-api-route-handler/commit/2a4ae05a6d163902daff9021b375db5f362149d7
+[212]: https://conventionalcommits.org
+[213]: https://semver.org
+[214]:
+ https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.8...v3.1.9
+[215]:
+ https://github.com/Xunnamius/next-test-api-route-handler/commit/ca1da40c8f14b9c4a39f198787f526759cd7fa8f
+[216]: https://github.com/Xunnamius/next-test-api-route-handler/issues/887
diff --git a/docs/README.md b/docs/README.md
index fc0909bb..9c317364 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -27,7 +27,7 @@
#### Defined in
-[index.ts:32][4]
+[index.ts:31][4]
---
@@ -45,20 +45,20 @@ The parameters expected by `testApiHandler`.
#### Type declaration
-| Name | Type | Description |
-| :---------------------- | :----------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `handler` | `NextApiHandler`<`NextResponseJsonType`> | The actual handler under test. It should be an async function that accepts `NextApiRequest` and `NextApiResult` objects (in that order) as its two parameters. |
-| `params?` | `Record`<`string`, `string` \| `string`\[]> | `params` is passed directly to the handler and represent processed dynamic routes. This should not be confused with query string parsing, which is handled automatically. `params: { id: 'some-id' }` is shorthand for `paramsPatcher: (params) => (params.id = 'some-id')`. This is most useful for quickly setting many params at once. |
-| `paramsPatcher?` | (`params`: `Record`<`string`, `unknown`>) => `void` | A function that receives an object representing "processed" dynamic routes; _modifications_ to this object are passed directly to the handler. This should not be confused with query string parsing, which is handled automatically. |
-| `rejectOnHandlerError?` | `boolean` | If `false`, errors thrown from within a handler are kicked up to Next.js's resolver to deal with, which is what would happen in production. Instead, if `true`, the [testApiHandler][3] function will reject immediately. **`Default`** false |
-| `requestPatcher?` | (`req`: `IncomingMessage`) => `void` | A function that receives an `IncomingMessage` object. Use this function to edit the request before it's injected into the handler. **Note: all replacement `IncomingMessage.header` names must be lowercase.** |
-| `responsePatcher?` | (`res`: `ServerResponse`) => `void` | A function that receives a `ServerResponse` object. Use this functions to edit the request before it's injected into the handler. |
-| `test` | (`params`: { `fetch`: (`customInit?`: `RequestInit`) => [`FetchReturnType`][1]<`NextResponseJsonType`> }) => `Promise`<`void`> | `test` must be a function that runs your test assertions, returning a promise (or async). This function receives one destructured parameter: `fetch`, which is the unfetch package's `fetch(...)` function but with the first parameter omitted. |
-| `url?` | `string` | `url: 'your-url'` is shorthand for `requestPatcher: (req) => (req.url = 'your-url')` |
+| Name | Type | Description |
+| :---------------------- | :----------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `handler` | `NextApiHandler`<`NextResponseJsonType`> | The actual handler under test. It should be an async function that accepts `NextApiRequest` and `NextApiResult` objects (in that order) as its two parameters. |
+| `params?` | `Record`<`string`, `string` | `string`\[]> | `params` is passed directly to the handler and represent processed dynamic routes. This should not be confused with query string parsing, which is handled automatically. `params: { id: 'some-id' }` is shorthand for `paramsPatcher: (params) => (params.id = 'some-id')`. This is most useful for quickly setting many params at once. |
+| `paramsPatcher?` | (`params`: `Record`<`string`, `unknown`>) => `void` | A function that receives an object representing "processed" dynamic routes; _modifications_ to this object are passed directly to the handler. This should not be confused with query string parsing, which is handled automatically. |
+| `rejectOnHandlerError?` | `boolean` | If `false`, errors thrown from within a handler are kicked up to Next.js's resolver to deal with, which is what would happen in production. Instead, if `true`, the [testApiHandler][3] function will reject immediately. **`Default`** `ts false ` |
+| `requestPatcher?` | (`req`: `IncomingMessage`) => `void` | A function that receives an `IncomingMessage` object. Use this function to edit the request before it's injected into the handler. **Note: all replacement `IncomingMessage.header` names must be lowercase.** |
+| `responsePatcher?` | (`res`: `ServerResponse`) => `void` | A function that receives a `ServerResponse` object. Use this functions to edit the request before it's injected into the handler. |
+| `test` | (`params`: { `fetch`: (`customInit?`: `RequestInit`) => [`FetchReturnType`][1]<`NextResponseJsonType`> }) => `Promise`<`void`> | `test` must be a function that runs your test assertions, returning a promise (or async). This function receives one destructured parameter: `fetch`, which is the unfetch package's `fetch(...)` function but with the first parameter omitted. |
+| `url?` | `string` | `url: 'your-url'` is shorthand for `requestPatcher: (req) => (req.url = 'your-url')` |
#### Defined in
-[index.ts:86][5]
+[index.ts:87][5]
## Functions
@@ -88,14 +88,14 @@ testing environment.
#### Defined in
-[index.ts:152][6]
+[index.ts:153][6]
[1]: README.md#fetchreturntype
[2]: README.md#ntarhparameters
[3]: README.md#testapihandler
[4]:
- https://github.com/Xunnamius/next-test-api-route-handler/blob/be35674/src/index.ts#L32
+ https://github.com/Xunnamius/next-test-api-route-handler/blob/ca1da40/src/index.ts#L31
[5]:
- https://github.com/Xunnamius/next-test-api-route-handler/blob/be35674/src/index.ts#L86
+ https://github.com/Xunnamius/next-test-api-route-handler/blob/ca1da40/src/index.ts#L87
[6]:
- https://github.com/Xunnamius/next-test-api-route-handler/blob/be35674/src/index.ts#L152
+ https://github.com/Xunnamius/next-test-api-route-handler/blob/ca1da40/src/index.ts#L153
diff --git a/package-lock.json b/package-lock.json
index 73ab5707..8229fc07 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "next-test-api-route-handler",
- "version": "3.1.8",
+ "version": "3.1.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "next-test-api-route-handler",
- "version": "3.1.8",
+ "version": "3.1.9",
"license": "MIT",
"dependencies": {
"cookie": "^0.5.0",
diff --git a/package.json b/package.json
index bd949354..4c2a5a24 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "next-test-api-route-handler",
- "version": "3.1.8",
+ "version": "3.1.9",
"description": "Confidently unit test your Next.js API routes/handlers in an isolated Next.js-like environment",
"keywords": [
"api",