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