From 466aeb7755a16e8cb73cf431770607fad5872e07 Mon Sep 17 00:00:00 2001 From: "Xunnamius (Romulus)" Date: Mon, 10 Jun 2024 15:47:19 -0700 Subject: [PATCH] release: 4.0.8 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### [4.0.8](https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.7...v4.0.8) (2024-06-10) #### ⚙️ Build system * Revert conventional-changelog-cli update ([9967120](https://github.com/Xunnamius/next-test-api-route-handler/commit/99671200663cfc4ccc1270f5b068f12abe16c03b)) * Update documentation generator ([43eec53](https://github.com/Xunnamius/next-test-api-route-handler/commit/43eec5385cb48f619257324a2fe1b54d29748ff1)) --- CHANGELOG.md | 1044 ++++++++++++----------- docs/.nojekyll | 1 - docs/README.md | 76 +- docs/functions/testApiHandler.md | 29 + docs/interfaces/NtarhInit.md | 63 +- docs/interfaces/NtarhInitAppRouter.md | 209 +++-- docs/interfaces/NtarhInitPagesRouter.md | 179 ++-- docs/type-aliases/FetchReturnType.md | 19 + docs/type-aliases/Promisable.md | 19 + package-lock.json | 4 +- package.json | 2 +- 11 files changed, 801 insertions(+), 844 deletions(-) delete mode 100644 docs/.nojekyll create mode 100644 docs/functions/testApiHandler.md create mode 100644 docs/type-aliases/FetchReturnType.md create mode 100644 docs/type-aliases/Promisable.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 09bff62c..5ed600d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,12 @@ All notable changes to this project will be documented in this auto-generated file. The format is based on [Conventional Commits][1]; this project adheres to [Semantic Versioning][2]. -### [4.0.7][3] (2024-04-17) +### [4.0.8][3] (2024-06-10) #### ⚙️ Build System -- **babel:** update core-js to 3.37 ([b6b5164][4]) -- **readme:** add section on jsdom support ([a48555f][5]) +- Revert conventional-changelog-cli update ([9967120][4]) +- Update documentation generator ([43eec53][5]) # Changelog @@ -17,47 +17,54 @@ All notable changes to this project will be documented in this auto-generated file. The format is based on [Conventional Commits][1]; this project adheres to [Semantic Versioning][2]. -### [4.0.6][6] (2024-04-12) +### [4.0.7][6] (2024-04-17) + +#### ⚙️ Build System + +- **babel:** update core-js to 3.37 ([b6b5164][7]) +- **readme:** add section on jsdom support ([a48555f][8]) + +### [4.0.6][9] (2024-04-12) #### 🪄 Fixes -- **src:** extend backwards compatibility to msw\@1; remove optional msw peer dependency ([347d7ef][7]) +- **src:** extend backwards compatibility to msw\@1; remove optional msw peer dependency ([347d7ef][10]) -### [4.0.5][8] (2024-03-03) +### [4.0.5][11] (2024-03-03) #### 🪄 Fixes -- **src:** replace request spread with explicit options ([633a046][9]) closes [#1011][10], [#983][11] +- **src:** replace request spread with explicit options ([633a046][12]) closes [#1011][13], [#983][14] -### [4.0.4][12] (2024-03-02) +### [4.0.4][15] (2024-03-02) #### 🪄 Fixes -- **src:** allow relative url strings passed via url shorthand for App Router ([01b86b6][13]) closes [#1000][14] -- **src:** prevent recursive redirection with undici/whatwg fetch ([22bb716][15]) closes [#993][16] -- **src:** replace `AppRouteUserlandModule` with looser type ([502e666][17]) closes [#1006][18], [#1005][19] +- **src:** allow relative url strings passed via url shorthand for App Router ([01b86b6][16]) closes [#1000][17] +- **src:** prevent recursive redirection with undici/whatwg fetch ([22bb716][18]) closes [#993][19] +- **src:** replace `AppRouteUserlandModule` with looser type ([502e666][20]) closes [#1006][21], [#1005][22] -### [4.0.3][20] (2024-01-18) +### [4.0.3][23] (2024-01-18) #### 🪄 Fixes -- **src:** ensure ephemeral test servers only listen on localhost ([d7774b3][21]) -- **src:** forcefully close all connections after closing test server (fixes [#962][22]) ([d03ca21][23]) +- **src:** ensure ephemeral test servers only listen on localhost ([d7774b3][24]) +- **src:** forcefully close all connections after closing test server (fixes [#962][25]) ([d03ca21][26]) -### [4.0.2][24] (2024-01-16) +### [4.0.2][27] (2024-01-16) #### 🪄 Fixes -- **src:** add missing metadata not revealed by type information ([90ff665][25]) -- **src:** force normalization of request URLs passed to app handler ([8400a19][26]) +- **src:** add missing metadata not revealed by type information ([90ff665][28]) +- **src:** force normalization of request URLs passed to app handler ([8400a19][29]) -### [4.0.1][27] (2024-01-16) +### [4.0.1][30] (2024-01-16) #### 🪄 Fixes -- **src:** pass Next.js more accurate app route metadata ([09389fe][28]) +- **src:** pass Next.js more accurate app route metadata ([09389fe][31]) -## [4.0.0][29] (2024-01-15) +## [4.0.0][32] (2024-01-15) ### 💥 Breaking Changes 💥 @@ -111,136 +118,136 @@ this project adheres to [Semantic Versioning][2]. #### ✨ Features -- Land initial App Router support ([e2d8865][30]) closes [#938][31], [#773][32] -- Retire use of node-fetch ([5574831][33]) closes [#946][34] -- **src:** warn when invoking testApiHandler with invalid property combos ([db599ac][35]) +- Land initial App Router support ([e2d8865][33]) closes [#938][34], [#773][35] +- Retire use of node-fetch ([5574831][36]) closes [#946][37] +- **src:** warn when invoking testApiHandler with invalid property combos ([db599ac][38]) #### 🪄 Fixes -- Loosen type checking for `NextApiHandler`s ([fdfec8c][36]) -- **src:** deeply summon res.json() return value into our realm ([59f54a5][37]) -- **src:** ensure all results of calling ::json on Requests and Responses are summoned into our realm ([5c5f9a4][38]) -- **src:** ensure AsyncLocalStorage is available globally (might fix [#875][39]) ([43680d9][40]) -- **src:** ensure global fetch is restored after testApiHandler terminates ([75d4e1f][41]) -- **src:** forcefully coerce request.body into a ReadableStream ([f715331][42]) -- **src:** hoist globalThis.AsyncLocalStorage initialization to be as soon as possible ([85bb8fa][43]) -- **src:** normalize pagesHandler into NextApiHandler (esm<->cjs interop) ([0133e11][44]) -- Use more accurate return type for app router patchers ([62f1d0b][45]) +- Loosen type checking for `NextApiHandler`s ([fdfec8c][39]) +- **src:** deeply summon res.json() return value into our realm ([59f54a5][40]) +- **src:** ensure all results of calling ::json on Requests and Responses are summoned into our realm ([5c5f9a4][41]) +- **src:** ensure AsyncLocalStorage is available globally (might fix [#875][42]) ([43680d9][43]) +- **src:** ensure global fetch is restored after testApiHandler terminates ([75d4e1f][44]) +- **src:** forcefully coerce request.body into a ReadableStream ([f715331][45]) +- **src:** hoist globalThis.AsyncLocalStorage initialization to be as soon as possible ([85bb8fa][46]) +- **src:** normalize pagesHandler into NextApiHandler (esm<->cjs interop) ([0133e11][47]) +- Use more accurate return type for app router patchers ([62f1d0b][48]) #### ⚙️ Build System -- **husky:** ensure hooks do not run on rebase ([913cbd0][46]) -- **package:** bump minimum supported node versions to maintained ([702cb44][47]) -- **package:** remove outdated properties ([dc23723][48]) +- **husky:** ensure hooks do not run on rebase ([913cbd0][49]) +- **package:** bump minimum supported node versions to maintained ([702cb44][50]) +- **package:** remove outdated properties ([dc23723][51]) #### 🧙🏿 Refactored -- **src:** ensure request url is consistent across router types ([d72ae87][49]) +- **src:** ensure request url is consistent across router types ([d72ae87][52]) -## [3.2.0][50] (2024-01-04) +## [3.2.0][53] (2024-01-04) #### ✨ Features -- Update headers for msw\@2 compatibility ([93b8a3c][51]) closes [#916][52] +- Update headers for msw\@2 compatibility ([93b8a3c][54]) closes [#916][55] -### [3.1.10][53] (2023-11-04) +### [3.1.10][56] (2023-11-04) #### 🪄 Fixes -- Ensure compat with next\@12.1.0 ([ca1da40][54]) closes [#887][55] +- Ensure compat with next\@12.1.0 ([ca1da40][57]) closes [#887][58] #### ⚙️ Build System -- Add core-js polyfills and have mercy on aging node versions ([a9d136b][56]) -- Modernize tooling ([db0223e][57]) -- Upgrade typescript-babel toolchain to nodenext ([e457064][58]) closes [#908][59] +- Add core-js polyfills and have mercy on aging node versions ([a9d136b][59]) +- Modernize tooling ([db0223e][60]) +- Upgrade typescript-babel toolchain to nodenext ([e457064][61]) closes [#908][62] #### 🔥 Reverted -- _"docs(readme): update badge links"_ ([be90d57][60]) +- _"docs(readme): update badge links"_ ([be90d57][63]) -### [3.1.8][61] (2023-01-03) +### [3.1.8][64] (2023-01-03) #### ⚙️ Build System -- **readme:** update maintainence badge and audit dependencies ([2a4ae05][62]) +- **readme:** update maintainence badge and audit dependencies ([2a4ae05][65]) -### [3.1.7][63] (2022-07-27) +### [3.1.7][66] (2022-07-27) #### ⚙️ Build System -- **package:** update dependencies ([4af52f4][64]) +- **package:** update dependencies ([4af52f4][67]) -### [3.1.6][65] (2022-06-30) +### [3.1.6][68] (2022-06-30) #### 🪄 Fixes -- Ensure non-object "headers" fetch argument is not mangled when mixing in default headers ([6e94142][66]) +- Ensure non-object "headers" fetch argument is not mangled when mixing in default headers ([6e94142][69]) -### [3.1.5][67] (2022-06-26) +### [3.1.5][70] (2022-06-26) #### 🪄 Fixes -- Fix MSW bypass override instructions and unit test ([405f84d][68]) +- Fix MSW bypass override instructions and unit test ([405f84d][71]) -### [3.1.4][69] (2022-06-26) +### [3.1.4][72] (2022-06-26) #### ⚙️ Build System -- **readme:** update MSW bypass override instructions under "test" entry in README ([b05e112][70]) +- **readme:** update MSW bypass override instructions under "test" entry in README ([b05e112][73]) -### [3.1.3][71] (2022-05-21) +### [3.1.3][74] (2022-05-21) #### ⚙️ Build System -- **package:** update dev-dependencies ([36a2c44][72]) +- **package:** update dev-dependencies ([36a2c44][75]) -### [3.1.2][73] (2022-03-23) +### [3.1.2][76] (2022-03-23) #### ⚙️ Build System -- **package:** update dependencies ([065b445][74]) +- **package:** update dependencies ([065b445][77]) -### [3.1.1][75] (2022-02-18) +### [3.1.1][78] (2022-02-18) #### 🪄 Fixes -- Ensure compat with next\@12.1.0 ([484d702][76]) closes [#487][77] +- Ensure compat with next\@12.1.0 ([484d702][79]) closes [#487][80] #### 🔥 Reverted -- _"refactor: update npm scripts, linting"_ ([77ad96d][78]) +- _"refactor: update npm scripts, linting"_ ([77ad96d][81]) -## [3.1.0][79] (2022-02-11) +## [3.1.0][82] (2022-02-11) #### ✨ Features -- Automatically add the x-msw-bypass ([21b4b92][80]) +- Automatically add the x-msw-bypass ([21b4b92][83]) #### ⚙️ Build System -- **deps:** bump next from 12.0.8 to 12.0.10 ([2a2f0b2][81]) -- **readme:** explain MSW compat default behavior ([0ee4ce5][82]) +- **deps:** bump next from 12.0.8 to 12.0.10 ([2a2f0b2][84]) +- **readme:** explain MSW compat default behavior ([0ee4ce5][85]) -### [3.0.3][83] (2022-02-05) +### [3.0.3][86] (2022-02-05) #### ⚙️ Build System -- **package:** bump node-fetch to 2.6.7 ([1e8cd85][84]) +- **package:** bump node-fetch to 2.6.7 ([1e8cd85][87]) -### [3.0.2][85] (2022-01-03) +### [3.0.2][88] (2022-01-03) #### ⚙️ Build System -- **readme:** update shields.io maintenance badge to 2022 ([84f74f5][86]) +- **readme:** update shields.io maintenance badge to 2022 ([84f74f5][89]) -### [3.0.1][87] (2021-12-27) +### [3.0.1][90] (2021-12-27) #### ⚙️ Build System -- **package:** retire use of sort-package-json fork ([a925da2][88]) +- **package:** retire use of sort-package-json fork ([a925da2][91]) -## [3.0.0][89] (2021-12-17) +## [3.0.0][92] (2021-12-17) ### 💥 Breaking Changes 💥 @@ -250,134 +257,134 @@ this project adheres to [Semantic Versioning][2]. #### ✨ Features -- **package:** remove debug dependency (moved into dev-deps) ([d3c60cb][90]) -- **src:** improved error handling; add support for new `rejectOnHandlerError` option ([68d30da][91]) -- **src:** move test-listen functionality into NTARH; remove dependency ([15c899a][92]) -- **src:** replace isomorphic-unfetch with node-fetch ([5a1a2ee][93]) +- **package:** remove debug dependency (moved into dev-deps) ([d3c60cb][93]) +- **src:** improved error handling; add support for new `rejectOnHandlerError` option ([68d30da][94]) +- **src:** move test-listen functionality into NTARH; remove dependency ([15c899a][95]) +- **src:** replace isomorphic-unfetch with node-fetch ([5a1a2ee][96]) #### 🧙🏿 Refactored -- **src:** update types ([73f44b7][94]) +- **src:** update types ([73f44b7][97]) -### [2.3.4][95] (2021-11-16) +### [2.3.4][98] (2021-11-16) #### 🪄 Fixes -- **src:** lazy-load contents of the "cookies" field ([854704b][96]) +- **src:** lazy-load contents of the "cookies" field ([854704b][99]) #### ⚙️ Build System -- Re-enable treeshaking in webpack ([9302bcc][97]) +- Re-enable treeshaking in webpack ([9302bcc][100]) -### [2.3.3][98] (2021-11-10) +### [2.3.3][101] (2021-11-10) #### ⚙️ Build System -- Differentiate between esm and bundler distributables ([597c249][99]) +- Differentiate between esm and bundler distributables ([597c249][102]) -### [2.3.2][100] (2021-11-07) +### [2.3.2][103] (2021-11-07) #### 🪄 Fixes -- **src:** es module compatibility; no longer attempts to require() in mjs files ([32eafab][101]) -- **src:** report parsed es module import failures properly ([cd98aab][102]) +- **src:** es module compatibility; no longer attempts to require() in mjs files ([32eafab][104]) +- **src:** report parsed es module import failures properly ([cd98aab][105]) -### [2.3.1][103] (2021-11-06) +### [2.3.1][106] (2021-11-06) #### ⚙️ Build System -- Re-enable ESM (for bundlers) integration tests ([91f08d4][104]) +- Re-enable ESM (for bundlers) integration tests ([91f08d4][107]) -## [2.3.0][105] (2021-11-05) +## [2.3.0][108] (2021-11-05) #### ✨ Features -- Automatically parse "set-cookie" headers; available in response.cookies ([cd3cd95][106]) closes [#373][107] +- Automatically parse "set-cookie" headers; available in response.cookies ([cd3cd95][109]) closes [#373][110] #### 🪄 Fixes -- **src:** ensure exceptions do not prevent Jest from exiting ([8746e5f][108]) -- **src:** ensure webpack does not break dynamic require on compile ([ae778d1][109]) closes [#378][110] -- Vastly improved error handling for those using node@<15 and/or npm@<7 ([c216caa][111]) +- **src:** ensure exceptions do not prevent Jest from exiting ([8746e5f][111]) +- **src:** ensure webpack does not break dynamic require on compile ([ae778d1][112]) closes [#378][113] +- Vastly improved error handling for those using node@<15 and/or npm@<7 ([c216caa][114]) #### ⚙️ Build System -- Add back nullish coalescing operator babel transform for older node versions ([5fbb6d2][112]) -- **package:** backport npm script fixes ([346e8de][113]) -- **src:** fix TS bundle errors on node\@12 and node\@14 ([812e6f2][114]) +- Add back nullish coalescing operator babel transform for older node versions ([5fbb6d2][115]) +- **package:** backport npm script fixes ([346e8de][116]) +- **src:** fix TS bundle errors on node\@12 and node\@14 ([812e6f2][117]) #### 🔥 Reverted -- _"chore(github): enable debug mode"_ ([5034aba][115]) +- _"chore(github): enable debug mode"_ ([5034aba][118]) -### [2.2.1][116] (2021-08-29) +### [2.2.1][119] (2021-08-29) #### ⚙️ Build System -- **license:** switch to MIT license ([de9ee17][117]) +- **license:** switch to MIT license ([de9ee17][120]) -## [2.2.0][118] (2021-08-22) +## [2.2.0][121] (2021-08-22) #### ✨ Features -- **types:** expanded typescript support; `testApiHandler` weakly typed by default ([419d5fe][119]) +- **types:** expanded typescript support; `testApiHandler` weakly typed by default ([419d5fe][122]) -### [2.1.3][120] (2021-08-22) +### [2.1.3][123] (2021-08-22) #### 🪄 Fixes -- **src:** ensure dependency resolution failure does not cause test runner to hang ([7916f00][121]) +- **src:** ensure dependency resolution failure does not cause test runner to hang ([7916f00][124]) -### [2.1.2][122] (2021-08-14) +### [2.1.2][125] (2021-08-14) #### 🪄 Fixes -- **src:** memoize resolver import ([74241ee][123]) +- **src:** memoize resolver import ([74241ee][126]) #### ⚙️ Build System -- **package:** improve build-docs npm script ([33b6a34][124]) -- **src:** add descriptions to TypeScript types ([1c3425c][125]) +- **package:** improve build-docs npm script ([33b6a34][127]) +- **src:** add descriptions to TypeScript types ([1c3425c][128]) -### [2.1.1][126] (2021-08-13) +### [2.1.1][129] (2021-08-13) #### 🪄 Fixes -- **readme:** update install instructions; fix apollo example ([fd787ca][127]) +- **readme:** update install instructions; fix apollo example ([fd787ca][130]) #### ⚙️ Build System -- **webpack.config:** second fix for faulty env management ([87ed12b][128]) +- **webpack.config:** second fix for faulty env management ([87ed12b][131]) -## [2.1.0][129] (2021-08-13) +## [2.1.0][132] (2021-08-13) #### ✨ Features -- **src:** enable backwards compatibility all the way back to next\@9 ([c51cf02][130]) closes [#295][131] +- **src:** enable backwards compatibility all the way back to next\@9 ([c51cf02][133]) closes [#295][134] #### ⚙️ Build System -- **webpack.config:** do not ignore warnings ([2b14d84][132]) -- **webpack.config:** fix faulty env management ([f477260][133]) +- **webpack.config:** do not ignore warnings ([2b14d84][135]) +- **webpack.config:** fix faulty env management ([f477260][136]) #### 🔥 Reverted -- _"chore: update dependencies"_ ([f61fd8c][134]) closes [#296][135] +- _"chore: update dependencies"_ ([f61fd8c][137]) closes [#296][138] -### [2.0.2][136] (2021-07-29) +### [2.0.2][139] (2021-07-29) #### ⚙️ Build System -- **external-scripts:** use latest mongodb native driver ([fd53fef][137]) -- **webpack.config.js:** more robust build process ([e5c6a99][138]) +- **external-scripts:** use latest mongodb native driver ([fd53fef][140]) +- **webpack.config.js:** more robust build process ([e5c6a99][141]) -### [2.0.1][139] (2021-06-27) +### [2.0.1][142] (2021-06-27) #### ⚙️ Build System -- Update dependencies and publish fixed apollo example ([ef32668][140]) +- Update dependencies and publish fixed apollo example ([ef32668][143]) -## [2.0.0][141] (2021-06-27) +## [2.0.0][144] (2021-06-27) ### 💥 Breaking Changes 💥 @@ -385,549 +392,552 @@ this project adheres to [Semantic Versioning][2]. #### ✨ Features -- Add `url` and `paramsPatcher` ([ee31fa8][142]) +- Add `url` and `paramsPatcher` ([ee31fa8][145]) #### ⚙️ Build System -- **package.json:** update dependencies ([2f1125c][143]) -- **package.json:** update dependencies ([7583209][144]) -- **package.json:** update next peer dependency to >=10.0.x ([bc5e72d][145]) -- Switch to @xunnamius/conventional-changelog-projector shared config ([bc7eb3d][146]) -- Update dependencies ([20ca255][147]) +- **package.json:** update dependencies ([2f1125c][146]) +- **package.json:** update dependencies ([7583209][147]) +- **package.json:** update next peer dependency to >=10.0.x ([bc5e72d][148]) +- Switch to @xunnamius/conventional-changelog-projector shared config ([bc7eb3d][149]) +- Update dependencies ([20ca255][150]) -### [1.2.24][148] (2021-05-08) +### [1.2.24][151] (2021-05-08) #### 🪄 Fixes -- **index.ts:** next 10.2.0 compat ([af177c5][149]) +- **index.ts:** next 10.2.0 compat ([af177c5][152]) #### ⚙️ Build System -- **.github/workflows:** disable old pipeline; begin transition to new pipeline ([364549e][150]) -- **.github/workflows:** overhaul pipeline workflows ([4db5d04][151]) -- **.github:** split BTD workflow into two separate workflows (security) ([99ad127][152]) -- **contributing.md:** split pipeline architecture information off into workflow README.md ([6d52302][153]) -- **package.json:** ensure hidden dirs' markdown files are seen by remark (linted and formatted) ([1f7fad4][154]) -- **package.json:** update dependencies ([d328a86][155]) -- **readme.md:** fix broken links ([6e7173f][156]) -- **readme.md:** improvements ([23cb780][157]) -- **readme.md:** include architecture description as workflow README.md ([1f25e5f][158]) +- **.github/workflows:** disable old pipeline; begin transition to new pipeline ([364549e][153]) +- **.github/workflows:** overhaul pipeline workflows ([4db5d04][154]) +- **.github:** split BTD workflow into two separate workflows (security) ([99ad127][155]) +- **contributing.md:** split pipeline architecture information off into workflow README.md ([6d52302][156]) +- **package.json:** ensure hidden dirs' markdown files are seen by remark (linted and formatted) ([1f7fad4][157]) +- **package.json:** update dependencies ([d328a86][158]) +- **readme.md:** fix broken links ([6e7173f][159]) +- **readme.md:** improvements ([23cb780][160]) +- **readme.md:** include architecture description as workflow README.md ([1f25e5f][161]) -### [1.2.23][159] (2021-03-14) +### [1.2.23][162] (2021-03-14) #### ⚙️ Build System -- Better documentation ([0040582][160]) +- Better documentation ([0040582][163]) -### [1.2.22][161] (2021-03-12) +### [1.2.22][164] (2021-03-12) #### ⚙️ Build System -- Update dependencies and fix find-package-json usage ([df9ede3][162]) +- Update dependencies and fix find-package-json usage ([df9ede3][165]) -### [1.2.21][163] (2021-03-12) +### [1.2.21][166] (2021-03-12) #### ⚙️ Build System -- **build-test-deploy.yml:** actions version updates ([29aa25a][164]) -- **build-test-deploy.yml:** rollback some pipeline version updates ([8065757][165]) -- **package.json:** fix typedoc-markdown-plugin patch ([dd3e7fa][166]) closes [#126][167] +- **build-test-deploy.yml:** actions version updates ([29aa25a][167]) +- **build-test-deploy.yml:** rollback some pipeline version updates ([8065757][168]) +- **package.json:** fix typedoc-markdown-plugin patch ([dd3e7fa][169]) closes [#126][170] -### [1.2.20][168] (2021-02-22) +### [1.2.20][171] (2021-02-22) #### ⚙️ Build System -- **package-lock.json:** update deps ([5a2d98f][169]) +- **package-lock.json:** update deps ([5a2d98f][172]) -### [1.2.19][170] (2021-02-22) +### [1.2.19][173] (2021-02-22) #### 🪄 Fixes -- **.changelogrc.js:** fix dark magic ([b4157eb][171]) -- **is-next-compat.ts:** never use console.log ([81533c8][172]) -- **is-next-compat.ts:** use template string instead of literal ([3a4f0f1][173]) -- **unit-index.test.ts:** 100% test coverage ([72189e8][174]) +- **.changelogrc.js:** fix dark magic ([b4157eb][174]) +- **is-next-compat.ts:** never use console.log ([81533c8][175]) +- **is-next-compat.ts:** use template string instead of literal ([3a4f0f1][176]) +- **unit-index.test.ts:** 100% test coverage ([72189e8][177]) #### ⚙️ Build System -- **.eslintrc.js:** account for node 12 ([cad0fb2][175]) -- **.github:** update workflows and templates ([54e51eb][176]) -- Backport new webpack config ([b268534][177]) -- **integration-external.test.ts:** ensure proper cwd is used for executing externals ([31c1d5b][178]) -- **is-next-compat.ts:** use execa instead of shelljs under the hood ([9d12004][179]) -- **package.json:** remove shelljs, update other deps ([11e192a][180]) -- **package.json:** update dependencies ([9e1705b][181]) -- Rename env-expect to expect-env ([035e98b][182]) -- **setup.ts:** fix several lib-pkg tools ([44d1967][183]) -- Spellcheck-commit and .changelogrc no longer use shelljs ([dd72fd1][184]) -- **test:** update with new lib-pkg tools ([004a657][185]) -- **unit-external.test.ts:** update with new lib-pkg tools ([6df7e73][186]) +- **.eslintrc.js:** account for node 12 ([cad0fb2][178]) +- **.github:** update workflows and templates ([54e51eb][179]) +- Backport new webpack config ([b268534][180]) +- **integration-external.test.ts:** ensure proper cwd is used for executing externals ([31c1d5b][181]) +- **is-next-compat.ts:** use execa instead of shelljs under the hood ([9d12004][182]) +- **package.json:** remove shelljs, update other deps ([11e192a][183]) +- **package.json:** update dependencies ([9e1705b][184]) +- Rename env-expect to expect-env ([035e98b][185]) +- **setup.ts:** fix several lib-pkg tools ([44d1967][186]) +- Spellcheck-commit and .changelogrc no longer use shelljs ([dd72fd1][187]) +- **test:** update with new lib-pkg tools ([004a657][188]) +- **unit-external.test.ts:** update with new lib-pkg tools ([6df7e73][189]) #### 🔥 Reverted -- _"debug(build-test-deploy.yml): disable debug mode"_ ([6cefa7a][187]) +- _"debug(build-test-deploy.yml): disable debug mode"_ ([6cefa7a][190]) -### [1.2.18][188] (2021-02-11) +### [1.2.18][191] (2021-02-11) #### ⚙️ Build System -- **package.json:** update to proper forked dependencies ([042291d][189]) +- **package.json:** update to proper forked dependencies ([042291d][192]) -### [1.2.17][190] (2021-02-10) +### [1.2.17][193] (2021-02-10) #### ⚙️ Build System -- **webpack.config.js:** normalize webpack configuration across repos ([65f48a3][191]) -- **webpack.config.js:** remove ES6 syntax from JS file ([5ed6dbd][192]) +- **webpack.config.js:** normalize webpack configuration across repos ([65f48a3][194]) +- **webpack.config.js:** remove ES6 syntax from JS file ([5ed6dbd][195]) -### [1.2.16][193] (2021-02-10) +### [1.2.16][196] (2021-02-10) #### ⚙️ Build System -- **package.json:** update dependencies ([aeef7a9][194]) +- **package.json:** update dependencies ([aeef7a9][197]) -### [1.2.15][195] (2021-02-08) +### [1.2.15][198] (2021-02-08) #### 🪄 Fixes -- **readme.md:** simplify all examples with more modern syntax; remove @ergodark/types ([964bc47][196]) +- **readme.md:** simplify all examples with more modern syntax; remove @ergodark/types ([964bc47][199]) -### [1.2.14][197] (2021-02-08) +### [1.2.14][200] (2021-02-08) #### 🪄 Fixes -- **readme.md:** add Apollo example and additional guidance ([ed357f5][198]) +- **readme.md:** add Apollo example and additional guidance ([ed357f5][201]) -### [1.2.13][199] (2021-02-05) +### [1.2.13][202] (2021-02-05) #### 🪄 Fixes -- **config:** use transform-rename-import when building externals ([d224f5e][200]) -- **index.ts:** use NextApiHandler type (thanks [@janhesters][201]) ([473ff50][202]) -- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][203]) -- **is-next-compat.ts:** better handling of generics ([d7bc091][204]) -- Next no longer misclassified as CJS ([9ebac01][205]) +- **config:** use transform-rename-import when building externals ([d224f5e][203]) +- **index.ts:** use NextApiHandler type (thanks [@janhesters][204]) ([473ff50][205]) +- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][206]) +- **is-next-compat.ts:** better handling of generics ([d7bc091][207]) +- Next no longer misclassified as CJS ([9ebac01][208]) #### ⚙️ Build System -- **build-test-deploy.yml:** drop support for node 10 ([6adde15][206]) -- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][207]) -- **build-test-deploy.yml:** remove externals exception ([5e3893a][208]) -- **cleanup.yml:** fix bugs in workflow ([cbf22fd][209]) -- Drop support for node 10 ([71e9103][210]) -- Only silence sjx if not DEBUG ([f01ce40][211]) -- **package.json:** improved build-dist ([a3526f2][212]) -- **package.json:** nicer destructured vals in docs ([661e62d][213]) -- **package.json:** remove extraneous module ([1f2ad6a][214]) -- **package.json:** update dependencies ([c64f761][215]) -- **post-release-check.yml:** add five-minute-sleep ([4a0552d][216]) -- **post-release-check.yml:** more resilient post-release check ([856435f][217]) -- Properly mocked unit tests for externals ([b3273df][218]) -- **test:** improved testing infrastructure ([fffe02e][219]) -- **types:** more precise unique-filename type ([a60793c][220]) +- **build-test-deploy.yml:** drop support for node 10 ([6adde15][209]) +- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][210]) +- **build-test-deploy.yml:** remove externals exception ([5e3893a][211]) +- **cleanup.yml:** fix bugs in workflow ([cbf22fd][212]) +- Drop support for node 10 ([71e9103][213]) +- Only silence sjx if not DEBUG ([f01ce40][214]) +- **package.json:** improved build-dist ([a3526f2][215]) +- **package.json:** nicer destructured vals in docs ([661e62d][216]) +- **package.json:** remove extraneous module ([1f2ad6a][217]) +- **package.json:** update dependencies ([c64f761][218]) +- **post-release-check.yml:** add five-minute-sleep ([4a0552d][219]) +- **post-release-check.yml:** more resilient post-release check ([856435f][220]) +- Properly mocked unit tests for externals ([b3273df][221]) +- **test:** improved testing infrastructure ([fffe02e][222]) +- **types:** more precise unique-filename type ([a60793c][223]) -### [1.2.12][221] (2021-01-23) +### [1.2.12][224] (2021-01-23) #### ⚙️ Build System -- Remove erroneous module import ([6eb2a34][222]) +- Remove erroneous module import ([6eb2a34][225]) -### [1.2.11][223] (2021-01-23) +### [1.2.11][226] (2021-01-23) #### ⚙️ Build System -- Backport/normalize across packages ([e589c1d][224]) +- Backport/normalize across packages ([e589c1d][227]) -### [1.2.10][225] (2021-01-22) +### [1.2.10][228] (2021-01-22) #### ⚙️ Build System -- Update debug statement syntax ([52a2276][226]) +- Update debug statement syntax ([52a2276][229]) -### [1.2.9][227] (2021-01-21) +### [1.2.9][230] (2021-01-21) #### ⚙️ Build System -- **.github/workflows/build-test-deploy.yml:** fix peer dependency installation ([12e5bbe][228]) +- **.github/workflows/build-test-deploy.yml:** fix peer dependency installation ([12e5bbe][231]) -### [1.2.8][229] (2021-01-13) +### [1.2.8][232] (2021-01-13) #### 🪄 Fixes -- **readme.md:** ensure quick start example is functional ([87dc31f][230]) +- **readme.md:** ensure quick start example is functional ([87dc31f][233]) -### [1.2.7][231] (2021-01-12) +### [1.2.7][234] (2021-01-12) #### ⚙️ Build System -- Rebuild lockfile ([94cfa38][232]) -- Update babel-plugin-transform-mjs-imports ([62089c7][233]) +- Rebuild lockfile ([94cfa38][235]) +- Update babel-plugin-transform-mjs-imports ([62089c7][236]) -### [1.2.6][234] (2021-01-06) +### [1.2.6][237] (2021-01-06) #### ⚙️ Build System -- **package.json:** prune old deps ([2cf1d29][235]) +- **package.json:** prune old deps ([2cf1d29][238]) -### [1.2.5][236] (2021-01-06) +### [1.2.5][239] (2021-01-06) #### ⚙️ Build System -- **.github/workflows/post-release-check.yml:** add new post-release-check ([a307efc][237]) -- **.github:** add is-next-compat workflow ([1823c05][238]) +- **.github/workflows/post-release-check.yml:** add new post-release-check ([a307efc][240]) +- **.github:** add is-next-compat workflow ([1823c05][241]) -### [1.2.4][239] (2021-01-06) +### [1.2.4][242] (2021-01-06) #### ⚙️ Build System -- **readme.md:** add quick start example ([4e5e12c][240]) +- **readme.md:** add quick start example ([4e5e12c][243]) -### [1.2.3][241] (2021-01-05) +### [1.2.3][244] (2021-01-05) #### ⚙️ Build System -- **package.json:** favor "prepare" over "postinstall" and use npx for dev tools ([a111c87][242]) +- **package.json:** favor "prepare" over "postinstall" and use npx for dev tools ([a111c87][245]) -### [1.2.2][243] (2021-01-05) +### [1.2.2][246] (2021-01-05) #### ⚙️ Build System -- **readme.md:** cosmetic ([98b65c6][244]) +- **readme.md:** cosmetic ([98b65c6][247]) -### [1.2.1][245] (2021-01-05) +### [1.2.1][248] (2021-01-05) #### ⚙️ Build System -- **package.json:** update dependencies, prune unused dependencies ([6ef6cbe][246]) +- **package.json:** update dependencies, prune unused dependencies ([6ef6cbe][249]) -## [1.2.0][247] (2021-01-05) +## [1.2.0][250] (2021-01-05) #### ✨ Features -- **.changelogrc.js:** transfer repository over to semantic-release CI/CD ([b9d2bf0][248]) +- **.changelogrc.js:** transfer repository over to semantic-release CI/CD ([b9d2bf0][251]) #### ⚙️ Build System -- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][249]) -- **test/unit-externals.test.ts:** add mongo uri env var to test explicitly ([e0e1fd9][250]) +- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][252]) +- **test/unit-externals.test.ts:** add mongo uri env var to test explicitly ([e0e1fd9][253]) -### [1.1.3][251] (2020-12-06) +### [1.1.3][254] (2020-12-06) #### ⚙️ Build System -- **package.json:** audit and update deps ([c82695a][252]) -- **package.json:** manually bump version ([813b21a][253]) +- **package.json:** audit and update deps ([c82695a][255]) +- **package.json:** manually bump version ([813b21a][256]) -### [1.1.2][254] (2020-11-26) +### [1.1.2][257] (2020-11-26) #### 🪄 Fixes -- **readme:** update install language ([b68c721][255]) +- **readme:** update install language ([b68c721][258]) -### [1.1.1][256] (2020-11-26) +### [1.1.1][259] (2020-11-26) #### 🪄 Fixes -- **externals:** revert sort-package-json to maintainer version ([750055b][257]) -- **externals:** rewrite test workflow ([d604dfc][258]) +- **externals:** revert sort-package-json to maintainer version ([750055b][260]) +- **externals:** rewrite test workflow ([d604dfc][261]) -## [1.1.0][259] (2020-11-25) +## [1.1.0][262] (2020-11-25) #### 🪄 Fixes -- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][260]) -- **externals:** updated remaining dependency references to peerDependency references ([ccf54fb][261]) +- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][263]) +- **externals:** updated remaining dependency references to peerDependency references ([ccf54fb][264]) -### [1.0.10][262] (2020-10-24) +### [1.0.10][265] (2020-10-24) -### [1.0.9][263] (2020-10-23) +### [1.0.9][266] (2020-10-23) -### [1.0.8][264] (2020-10-20) +### [1.0.8][267] (2020-10-20) -### [1.0.7][265] (2020-10-19) +### [1.0.7][268] (2020-10-19) -### [1.0.6][266] (2020-10-17) +### [1.0.6][269] (2020-10-17) -### [1.0.5][267] (2020-10-13) +### [1.0.5][270] (2020-10-13) -### [1.0.4][268] (2020-10-12) +### [1.0.4][271] (2020-10-12) -### [1.0.3][269] (2020-10-12) +### [1.0.3][272] (2020-10-12) -### [1.0.2][270] (2020-10-07) +### [1.0.2][273] (2020-10-07) -### [1.0.1][271] (2020-10-07) +### [1.0.1][274] (2020-10-07) ## 1.0.0 (2020-10-07) [1]: https://conventionalcommits.org [2]: https://semver.org -[3]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.6...v4.0.7 -[4]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b6b5164dfa0b94d68f8cd955b175a62becd003a0 -[5]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a48555f127b9420527a53d27ac8367246d4474ad -[6]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.5...v4.0.6 -[7]: https://github.com/Xunnamius/next-test-api-route-handler/commit/347d7ef86ee6e4ca40c29793fbe112498a3d4b49 -[8]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.4...v4.0.5 -[9]: https://github.com/Xunnamius/next-test-api-route-handler/commit/633a0464435baec9e4ba6c91ed65909a9edaf298 -[10]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1011 -[11]: https://github.com/Xunnamius/next-test-api-route-handler/issues/983 -[12]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.3...v4.0.4 -[13]: https://github.com/Xunnamius/next-test-api-route-handler/commit/01b86b61a75ed315d57d1c087aa4a269a355d601 -[14]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1000 -[15]: https://github.com/Xunnamius/next-test-api-route-handler/commit/22bb71636c8a46e97d3a287d3534ae91ae4ad514 -[16]: https://github.com/Xunnamius/next-test-api-route-handler/issues/993 -[17]: https://github.com/Xunnamius/next-test-api-route-handler/commit/502e666158811993e875a64a8d4f924cdee83647 -[18]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1006 -[19]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1005 -[20]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.2...v4.0.3 -[21]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d7774b30210969be5c5acaafe0330cc9c1541c40 -[22]: https://github.com/Xunnamius/next-test-api-route-handler/issues/962 -[23]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d03ca21d9634a1c7a56bbe110b32adb56e6c1068 -[24]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.1...v4.0.2 -[25]: https://github.com/Xunnamius/next-test-api-route-handler/commit/90ff6656c8583b1766b6e6aa041c01e6a0bdca62 -[26]: https://github.com/Xunnamius/next-test-api-route-handler/commit/8400a194cf3a824209a8175f48bdd4f0e4c43f8c -[27]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.0...v4.0.1 -[28]: https://github.com/Xunnamius/next-test-api-route-handler/commit/09389fe314bfe1048493b979bf79c65a6cdc27e5 -[29]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.2.0...v4.0.0 -[30]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e2d8865b3b91f735e98d6c0a0c1e1c88d41e8802 -[31]: https://github.com/Xunnamius/next-test-api-route-handler/issues/938 -[32]: https://github.com/Xunnamius/next-test-api-route-handler/issues/773 -[33]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5574831366a1678c12cb315bf4928dac99408b28 -[34]: https://github.com/Xunnamius/next-test-api-route-handler/issues/946 -[35]: https://github.com/Xunnamius/next-test-api-route-handler/commit/db599aceb97e9b9d36a9461c34084346287b097d -[36]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fdfec8cbdc465df160a169bfdee972054d514eeb -[37]: https://github.com/Xunnamius/next-test-api-route-handler/commit/59f54a5aabc4356767e3ba2b4c0b551cd61e9891 -[38]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5c5f9a48118896c43c03d19e3b12539c7a250714 -[39]: https://github.com/Xunnamius/next-test-api-route-handler/issues/875 -[40]: https://github.com/Xunnamius/next-test-api-route-handler/commit/43680d926fe803817507b4b9394fa5810752cf1f -[41]: https://github.com/Xunnamius/next-test-api-route-handler/commit/75d4e1f4d1bcc92d9680bb0d74cf26667012265a -[42]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f715331be1b66cb5807785d74aeb47b692492302 -[43]: https://github.com/Xunnamius/next-test-api-route-handler/commit/85bb8fa5e60e2019e072367063a25b745d675ed9 -[44]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0133e113145dc0c3836be3a73336ab2c024b66e7 -[45]: https://github.com/Xunnamius/next-test-api-route-handler/commit/62f1d0b2c5ca0146b903d233b73b659a54b7f16e -[46]: https://github.com/Xunnamius/next-test-api-route-handler/commit/913cbd0f0487c9c98146855413fb91e16bb4a7b0 -[47]: https://github.com/Xunnamius/next-test-api-route-handler/commit/702cb444cc5e5c15b2d2b1000f27fca8368678e7 -[48]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dc237233338af416993b0ec683a844abb6fab02b -[49]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d72ae876557d5f2e71da99a2d285c12bbe77319b -[50]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.10...v3.2.0 -[51]: https://github.com/Xunnamius/next-test-api-route-handler/commit/93b8a3c92eb14a5b2d1006c315e26a3c3547a1c3 -[52]: https://github.com/Xunnamius/next-test-api-route-handler/issues/916 -[53]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.9...v3.1.10 -[54]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ca1da40c8f14b9c4a39f198787f526759cd7fa8f -[55]: https://github.com/Xunnamius/next-test-api-route-handler/issues/887 -[56]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a9d136b2ada5dcac26a8509fd4590a2dec805a56 -[57]: https://github.com/Xunnamius/next-test-api-route-handler/commit/db0223ea0c74edab17489595c1c858eb035dd418 -[58]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e457064ddbc7e3f7b1d96c7f27b5b74479303f2f -[59]: https://github.com/Xunnamius/next-test-api-route-handler/issues/908 -[60]: https://github.com/Xunnamius/next-test-api-route-handler/commit/be90d573a3a6db09aa35e62bf228a70439f39e73 -[61]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.7...v3.1.8 -[62]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2a4ae05a6d163902daff9021b375db5f362149d7 -[63]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.6...v3.1.7 -[64]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4af52f43dcba1f6f57887fb977b1430f8009d872 -[65]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.5...v3.1.6 -[66]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6e94142b83d4d6bed7812bca2bd4226a6b67c49a -[67]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.4...v3.1.5 -[68]: https://github.com/Xunnamius/next-test-api-route-handler/commit/405f84dabe68b72e11919066cc53dbc69ad4807d -[69]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.3...v3.1.4 -[70]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b05e112c11ead6b03c33a1a0bf1dc4fca4d29db5 -[71]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.2...v3.1.3 -[72]: https://github.com/Xunnamius/next-test-api-route-handler/commit/36a2c44e4b3f6f4f6d4ae9f8a566a42609ee362c -[73]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.1...v3.1.2 -[74]: https://github.com/Xunnamius/next-test-api-route-handler/commit/065b4455016812575e1714cc680e57184b49cf5d -[75]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.0...v3.1.1 -[76]: https://github.com/Xunnamius/next-test-api-route-handler/commit/484d7023539d95b8930d1665b4b613042b21fe9f -[77]: https://github.com/Xunnamius/next-test-api-route-handler/issues/487 -[78]: https://github.com/Xunnamius/next-test-api-route-handler/commit/77ad96dc4a1e3c79f9f75b6827f74f501cce8f5d -[79]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.3...v3.1.0 -[80]: https://github.com/Xunnamius/next-test-api-route-handler/commit/21b4b928a40b685a99df34ad20845c97615ee1c8 -[81]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2a2f0b28b07f8a176a5333551b5788033f90274a -[82]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0ee4ce58b1c7a8b4ea2096c01142097f427b2a00 -[83]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.2...v3.0.3 -[84]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1e8cd8573cdcfa3489526244c40f373a71d92b40 -[85]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.1...v3.0.2 -[86]: https://github.com/Xunnamius/next-test-api-route-handler/commit/84f74f55027cd4e67b7e7929f668d4de387dc3c3 -[87]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.0...v3.0.1 -[88]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a925da287a02b6c36b588b6804e7b0b628364b25 -[89]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.4...v3.0.0 -[90]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d3c60cbd506eb22a4bb23554b06668076e687ad9 -[91]: https://github.com/Xunnamius/next-test-api-route-handler/commit/68d30dac2210e4f976afbf5c59378d6b314d4ec3 -[92]: https://github.com/Xunnamius/next-test-api-route-handler/commit/15c899a98423c612571886115308e68e20633a1b -[93]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5a1a2ee806f4cfd5d199d54dbd82f9f945da1694 -[94]: https://github.com/Xunnamius/next-test-api-route-handler/commit/73f44b78c2ee92b443adf99e248c03b985b80891 -[95]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.3...v2.3.4 -[96]: https://github.com/Xunnamius/next-test-api-route-handler/commit/854704ba9a7f374753e1a51f4fe00db761d7718f -[97]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9302bcc882e9cd4080526f5192186b5259e08726 -[98]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.2...v2.3.3 -[99]: https://github.com/Xunnamius/next-test-api-route-handler/commit/597c2497a137c86696aba9b750b60f43d728495f -[100]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.1...v2.3.2 -[101]: https://github.com/Xunnamius/next-test-api-route-handler/commit/32eafabd592856a7ef286d7d0157e38a8275695d -[102]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cd98aab7eea7bdd4b988402b57ce5e93572a7850 -[103]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.0...v2.3.1 -[104]: https://github.com/Xunnamius/next-test-api-route-handler/commit/91f08d426081afc1009e50d7b9ee6a0a2259268b -[105]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.1...v2.3.0 -[106]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cd3cd95adb536b05a3cfe8bd0b12329c9acad166 -[107]: https://github.com/Xunnamius/next-test-api-route-handler/issues/373 -[108]: https://github.com/Xunnamius/next-test-api-route-handler/commit/8746e5fb6b337131303ad0c011c864d5152a864d -[109]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ae778d18f1c01e36070f0612067ec9f00f14a665 -[110]: https://github.com/Xunnamius/next-test-api-route-handler/issues/378 -[111]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c216caa659a0fcf807ff6b1a0c11c2b331e27d3c -[112]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5fbb6d20cab097250cb8c62d0c5edb6fe80f0bfc -[113]: https://github.com/Xunnamius/next-test-api-route-handler/commit/346e8de1390ba46e9dc8faccc0977c5f50a9dc32 -[114]: https://github.com/Xunnamius/next-test-api-route-handler/commit/812e6f262726e328a57cdb0833fb8bfbbcce6708 -[115]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5034aba01f30bfb7787247054d12d7dbb90469e6 -[116]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.0...v2.2.1 -[117]: https://github.com/Xunnamius/next-test-api-route-handler/commit/de9ee177491855eb0ac095f9a1a3e5cfad820420 -[118]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.3...v2.2.0 -[119]: https://github.com/Xunnamius/next-test-api-route-handler/commit/419d5fe805928605b85fe0e5c64c80eb5a1d798d -[120]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.2...v2.1.3 -[121]: https://github.com/Xunnamius/next-test-api-route-handler/commit/7916f0026b59e6325b59395f61b142056c6c8220 -[122]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.1...v2.1.2 -[123]: https://github.com/Xunnamius/next-test-api-route-handler/commit/74241eeee173a6cf8f987608946c3d8691a67c27 -[124]: https://github.com/Xunnamius/next-test-api-route-handler/commit/33b6a34a126909a354a7c3f5d523b0fa47acb960 -[125]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1c3425caf7d80793a2c1e88ff8fbd29ada8adf2d -[126]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.0...v2.1.1 -[127]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fd787ca116c3a84f9393f22bf7e898db0a22f5e1 -[128]: https://github.com/Xunnamius/next-test-api-route-handler/commit/87ed12b68e930342649c65a76455396879658d48 -[129]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.2...v2.1.0 -[130]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c51cf0222e17066c03cd80e1c76c5e9f49cacc2e -[131]: https://github.com/Xunnamius/next-test-api-route-handler/issues/295 -[132]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2b14d8499f4845d0e2d20fd2098f509f5edc16f9 -[133]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f4772607ebb8641ea4e0d6ac2fd152f76dff3f7c -[134]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f61fd8c5ea52265a7ff15252d720d135890880f2 -[135]: https://github.com/Xunnamius/next-test-api-route-handler/issues/296 -[136]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.1...v2.0.2 -[137]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fd53fefc6d5c2ff67ed2669b18e28b7ef7005c12 -[138]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e5c6a994d4b553369ae42b6be0ae1932346ebbd6 -[139]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.0...v2.0.1 -[140]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ef32668428df303c4e536aae5793ed14eee0ade5 -[141]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.24...v2.0.0 -[142]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ee31fa8cefdc2b8b8197d3889fb8aac27467b374 -[143]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2f1125cfb481e94af4248cf5b5dfce729cc4d662 -[144]: https://github.com/Xunnamius/next-test-api-route-handler/commit/75832099f4c4d0e329aca469ac16c8a25100c26d -[145]: https://github.com/Xunnamius/next-test-api-route-handler/commit/bc5e72d9d40f1991315ac0657a4b212331dc065f -[146]: https://github.com/Xunnamius/next-test-api-route-handler/commit/bc7eb3db18aa70345a1c11d96436b374a15c3b7f -[147]: https://github.com/Xunnamius/next-test-api-route-handler/commit/20ca255e01d0c2e7824707e19f41ca5a8de0140e -[148]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.23...v1.2.24 -[149]: https://github.com/Xunnamius/next-test-api-route-handler/commit/af177c5035c22ab923dd62f6dc82702373f740d4 -[150]: https://github.com/Xunnamius/next-test-api-route-handler/commit/364549e2845965954af62fdfa6c1dfa0d6f91f2f -[151]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4db5d04d6a7117fe8e2113d2fafc6150a81f611c -[152]: https://github.com/Xunnamius/next-test-api-route-handler/commit/99ad1276e7e69218719ee2b27173e4ffcb7337f6 -[153]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6d523027b8d650ae0a2d121c349e6a4c48af6792 -[154]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f7fad4d512f1839d96c6264f2d4abb1c5ed11e7 -[155]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d328a86317c60206bda565ba2e315113dadd0c9b -[156]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6e7173fca4cbe778419eeff92ddbf7c03c2b00d5 -[157]: https://github.com/Xunnamius/next-test-api-route-handler/commit/23cb7804d5f0e775b75eaefb4588beb179dcdcdf -[158]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f25e5fb8b2797621d316e18b01ee503fb4d1263 -[159]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.22...v1.2.23 -[160]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0040582d2f89e9a14c2335dc85cd5f9201bff644 -[161]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.21...v1.2.22 -[162]: https://github.com/Xunnamius/next-test-api-route-handler/commit/df9ede3ddde3a2df6a42224ab3302e599bd61516 -[163]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.20...v1.2.21 -[164]: https://github.com/Xunnamius/next-test-api-route-handler/commit/29aa25a9e2572be5b418fbee9d2d8aba2056583e -[165]: https://github.com/Xunnamius/next-test-api-route-handler/commit/806575792fe9e1522bd6bce0eb10f1bd3407da64 -[166]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dd3e7faadf148b23994f443a2247cc1316639e7d -[167]: https://github.com/Xunnamius/next-test-api-route-handler/issues/126 -[168]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.19...v1.2.20 -[169]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5a2d98f3ddb34e9d934f16510a73cacd43ee42ee -[170]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.18...v1.2.19 -[171]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b4157eba128f6a787531fdabf2bebf78851a0d9a -[172]: https://github.com/Xunnamius/next-test-api-route-handler/commit/81533c8953adde75499cd11b552bca5f970addca -[173]: https://github.com/Xunnamius/next-test-api-route-handler/commit/3a4f0f150779a226ee3c9f45fde201391fa1bec0 -[174]: https://github.com/Xunnamius/next-test-api-route-handler/commit/72189e80136b0567de8fc65eed9b2a4be365ca1a -[175]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cad0fb2b6153434d3be41f394f1fa636cc930435 -[176]: https://github.com/Xunnamius/next-test-api-route-handler/commit/54e51ebd0e133fb469306b76bc756c283a71a2c1 -[177]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b2685345493165cc63136b051cc5fafbf02f5c48 -[178]: https://github.com/Xunnamius/next-test-api-route-handler/commit/31c1d5b358df78e0f27e881c0329355d91370995 -[179]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9d12004ad5adfc5d4d6992bdb67c52168829967e -[180]: https://github.com/Xunnamius/next-test-api-route-handler/commit/11e192a670c5cf40faff32abeecb610534cd382b -[181]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9e1705b88fbcb5c4794abfb56691bdea7500db0d -[182]: https://github.com/Xunnamius/next-test-api-route-handler/commit/035e98bbe4b6bcf1ec6de40ee38b36ec107e8186 -[183]: https://github.com/Xunnamius/next-test-api-route-handler/commit/44d1967a412ca67829deeb29c7603ddf7e42f435 -[184]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dd72fd1859fd74df3af0d47a1747d8c404abc3a7 -[185]: https://github.com/Xunnamius/next-test-api-route-handler/commit/004a657bafaab0419e645b6388c7536e38a1ef22 -[186]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6df7e73fff51036c63efc7ba898c3d76bc47deb7 -[187]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6cefa7ae41832e61ef6df75409be61141f7d1687 -[188]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.17...v1.2.18 -[189]: https://github.com/Xunnamius/next-test-api-route-handler/commit/042291d26742dfdda3742e6171efa25e9d3953ce -[190]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.16...v1.2.17 -[191]: https://github.com/Xunnamius/next-test-api-route-handler/commit/65f48a3d97184bb8a1be4fd27e86be0d7cd6bb00 -[192]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5ed6dbd1cdcb15745f4979f1a716d9bce9a93afb -[193]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.15...v1.2.16 -[194]: https://github.com/Xunnamius/next-test-api-route-handler/commit/aeef7a9726934852e1a51c9da98c4a96a9c70044 -[195]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.14...v1.2.15 -[196]: https://github.com/Xunnamius/next-test-api-route-handler/commit/964bc47f80691e83d92082fcaa0679219b8543f5 -[197]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.13...v1.2.14 -[198]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ed357f5211a49bfffbb28f03d60f157fa23d14b4 -[199]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.12...v1.2.13 -[200]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0 -[201]: https://github.com/janhesters -[202]: https://github.com/Xunnamius/next-test-api-route-handler/commit/473ff500fb2c954ce32be911bde943259ae1bbef -[203]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f7a12ded8f43359fd3079ea8294a2199c34b2d26 -[204]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d7bc091fe8f8e85b70987cfa4c663c7c8fd018c8 -[205]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9ebac018798ac82b97b8163bc5713b43001f592c -[206]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6adde1576f4aeb8b9a72cdcefc2ea6bd4b71a5cd -[207]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e508c06b77d225f150ebfce6409c2506a88efe4c -[208]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5e3893a425b95ac2b12edc2195171de85afcfd0a -[209]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cbf22fdd78e28e02ec4213156c6c72ba16c8bfa3 -[210]: https://github.com/Xunnamius/next-test-api-route-handler/commit/71e9103df5660fea2af3211b1d6c1fa72b1dd3c7 -[211]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f01ce4041b2fb1fd24052ce17008df9746652730 -[212]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a3526f28057201fcce19c752e554e705b8e3a922 -[213]: https://github.com/Xunnamius/next-test-api-route-handler/commit/661e62d53be74211d3d158ad90c196f43c8fe6db -[214]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f2ad6a2cdc863b183ac7f7bef756dd90c057ebe -[215]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c64f761c3b2cc69cf07cd7dd88e9671deb66fc4f -[216]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4a0552d2c730842371325111276c58651dabc558 -[217]: https://github.com/Xunnamius/next-test-api-route-handler/commit/856435f02ebe2f44b13c92cc6c794eeab2b345d0 -[218]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b3273dfbe43cb4c9ececdb4863ff4259f38807ec -[219]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fffe02e14615daba1f9f8ec1bb2a4024ceb93e84 -[220]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a60793c620fe926308f8c99c61076da81aebe2fa -[221]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.11...v1.2.12 -[222]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6eb2a348b1352e9f30d7ecacbaba01fa11cf1cfe -[223]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.10...v1.2.11 -[224]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e589c1d48aa1dae40643385c6acfcbacf9b40e16 -[225]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.9...v1.2.10 -[226]: https://github.com/Xunnamius/next-test-api-route-handler/commit/52a22765e17759271e7ba6c83ce9f3609500b5f3 -[227]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.8...v1.2.9 -[228]: https://github.com/Xunnamius/next-test-api-route-handler/commit/12e5bbe1bf36fda3ef938c7ed7cd445fec3901c9 -[229]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.7...v1.2.8 -[230]: https://github.com/Xunnamius/next-test-api-route-handler/commit/87dc31f264682d8048ee8d4cba4dbf866666bf07 -[231]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.6...v1.2.7 -[232]: https://github.com/Xunnamius/next-test-api-route-handler/commit/94cfa3806bfa0250e9b2dd5b3abfb2ff65c77c6a -[233]: https://github.com/Xunnamius/next-test-api-route-handler/commit/62089c79f6c9b585d2bb8ca0a8b87bd355b8695f -[234]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.5...v1.2.6 -[235]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2cf1d29159fb746dc4a7c09a8193e46c6bec3823 -[236]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.4...v1.2.5 -[237]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a307efcf2cdf60679d68fab385bdc8951a476ace -[238]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1823c055f034e528337c68d710164097e423f6e2 -[239]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.3...v1.2.4 -[240]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4e5e12c0df4fc80abb696d32718440ff294902e7 -[241]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.2...v1.2.3 -[242]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a111c87ccd863ce4dac85a5bd0281d87affe3b63 -[243]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.1...v1.2.2 -[244]: https://github.com/Xunnamius/next-test-api-route-handler/commit/98b65c6da330040e4bcbc22fe28db87c3965fd0e -[245]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.0...v1.2.1 -[246]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6ef6cbeb143648eb1fed5eff39071a06e7354275 -[247]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.3...v1.2.0 -[248]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b9d2bf010fba4b163e1eea0801271292a0e74308 -[249]: https://github.com/Xunnamius/next-test-api-route-handler/commit/45a79d41835b5146912511f8b583c9128d154cf9 -[250]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e0e1fd951fbe63c04c264ad11ab1fa7a39e1679a -[251]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.2...v1.1.3 -[252]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c82695a8816b6cd5f0e11d09cc2f948a30a416e9 -[253]: https://github.com/Xunnamius/next-test-api-route-handler/commit/813b21ad1e2c78594903b3a8f504f4460d8e506e -[254]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.1...v1.1.2 -[255]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b68c721e5100baa883c7096e5cc4e81c1c60ed00 -[256]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.0...v1.1.1 -[257]: https://github.com/Xunnamius/next-test-api-route-handler/commit/750055b92699fc7f1c06349ccdb0ddc0179f891a -[258]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d604dfc39d2e77cbe1234b8349a2ecef81a9e54a -[259]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.10...v1.1.0 -[260]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0e7541fbecd2e3bacc124f624bfca2b56ceeb89f -[261]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ccf54fb480e35961647900d345149d3cd1cf60d8 -[262]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.9...v1.0.10 -[263]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.8...v1.0.9 -[264]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.7...v1.0.8 -[265]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.6...v1.0.7 -[266]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.5...v1.0.6 -[267]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.4...v1.0.5 -[268]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.3...v1.0.4 -[269]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.2...v1.0.3 -[270]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.1...1.0.2 -[271]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.0...1.0.1 +[3]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.7...v4.0.8 +[4]: https://github.com/Xunnamius/next-test-api-route-handler/commit/99671200663cfc4ccc1270f5b068f12abe16c03b +[5]: https://github.com/Xunnamius/next-test-api-route-handler/commit/43eec5385cb48f619257324a2fe1b54d29748ff1 +[6]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.6...v4.0.7 +[7]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b6b5164dfa0b94d68f8cd955b175a62becd003a0 +[8]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a48555f127b9420527a53d27ac8367246d4474ad +[9]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.5...v4.0.6 +[10]: https://github.com/Xunnamius/next-test-api-route-handler/commit/347d7ef86ee6e4ca40c29793fbe112498a3d4b49 +[11]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.4...v4.0.5 +[12]: https://github.com/Xunnamius/next-test-api-route-handler/commit/633a0464435baec9e4ba6c91ed65909a9edaf298 +[13]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1011 +[14]: https://github.com/Xunnamius/next-test-api-route-handler/issues/983 +[15]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.3...v4.0.4 +[16]: https://github.com/Xunnamius/next-test-api-route-handler/commit/01b86b61a75ed315d57d1c087aa4a269a355d601 +[17]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1000 +[18]: https://github.com/Xunnamius/next-test-api-route-handler/commit/22bb71636c8a46e97d3a287d3534ae91ae4ad514 +[19]: https://github.com/Xunnamius/next-test-api-route-handler/issues/993 +[20]: https://github.com/Xunnamius/next-test-api-route-handler/commit/502e666158811993e875a64a8d4f924cdee83647 +[21]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1006 +[22]: https://github.com/Xunnamius/next-test-api-route-handler/issues/1005 +[23]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.2...v4.0.3 +[24]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d7774b30210969be5c5acaafe0330cc9c1541c40 +[25]: https://github.com/Xunnamius/next-test-api-route-handler/issues/962 +[26]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d03ca21d9634a1c7a56bbe110b32adb56e6c1068 +[27]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.1...v4.0.2 +[28]: https://github.com/Xunnamius/next-test-api-route-handler/commit/90ff6656c8583b1766b6e6aa041c01e6a0bdca62 +[29]: https://github.com/Xunnamius/next-test-api-route-handler/commit/8400a194cf3a824209a8175f48bdd4f0e4c43f8c +[30]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v4.0.0...v4.0.1 +[31]: https://github.com/Xunnamius/next-test-api-route-handler/commit/09389fe314bfe1048493b979bf79c65a6cdc27e5 +[32]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.2.0...v4.0.0 +[33]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e2d8865b3b91f735e98d6c0a0c1e1c88d41e8802 +[34]: https://github.com/Xunnamius/next-test-api-route-handler/issues/938 +[35]: https://github.com/Xunnamius/next-test-api-route-handler/issues/773 +[36]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5574831366a1678c12cb315bf4928dac99408b28 +[37]: https://github.com/Xunnamius/next-test-api-route-handler/issues/946 +[38]: https://github.com/Xunnamius/next-test-api-route-handler/commit/db599aceb97e9b9d36a9461c34084346287b097d +[39]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fdfec8cbdc465df160a169bfdee972054d514eeb +[40]: https://github.com/Xunnamius/next-test-api-route-handler/commit/59f54a5aabc4356767e3ba2b4c0b551cd61e9891 +[41]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5c5f9a48118896c43c03d19e3b12539c7a250714 +[42]: https://github.com/Xunnamius/next-test-api-route-handler/issues/875 +[43]: https://github.com/Xunnamius/next-test-api-route-handler/commit/43680d926fe803817507b4b9394fa5810752cf1f +[44]: https://github.com/Xunnamius/next-test-api-route-handler/commit/75d4e1f4d1bcc92d9680bb0d74cf26667012265a +[45]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f715331be1b66cb5807785d74aeb47b692492302 +[46]: https://github.com/Xunnamius/next-test-api-route-handler/commit/85bb8fa5e60e2019e072367063a25b745d675ed9 +[47]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0133e113145dc0c3836be3a73336ab2c024b66e7 +[48]: https://github.com/Xunnamius/next-test-api-route-handler/commit/62f1d0b2c5ca0146b903d233b73b659a54b7f16e +[49]: https://github.com/Xunnamius/next-test-api-route-handler/commit/913cbd0f0487c9c98146855413fb91e16bb4a7b0 +[50]: https://github.com/Xunnamius/next-test-api-route-handler/commit/702cb444cc5e5c15b2d2b1000f27fca8368678e7 +[51]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dc237233338af416993b0ec683a844abb6fab02b +[52]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d72ae876557d5f2e71da99a2d285c12bbe77319b +[53]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.10...v3.2.0 +[54]: https://github.com/Xunnamius/next-test-api-route-handler/commit/93b8a3c92eb14a5b2d1006c315e26a3c3547a1c3 +[55]: https://github.com/Xunnamius/next-test-api-route-handler/issues/916 +[56]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.9...v3.1.10 +[57]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ca1da40c8f14b9c4a39f198787f526759cd7fa8f +[58]: https://github.com/Xunnamius/next-test-api-route-handler/issues/887 +[59]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a9d136b2ada5dcac26a8509fd4590a2dec805a56 +[60]: https://github.com/Xunnamius/next-test-api-route-handler/commit/db0223ea0c74edab17489595c1c858eb035dd418 +[61]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e457064ddbc7e3f7b1d96c7f27b5b74479303f2f +[62]: https://github.com/Xunnamius/next-test-api-route-handler/issues/908 +[63]: https://github.com/Xunnamius/next-test-api-route-handler/commit/be90d573a3a6db09aa35e62bf228a70439f39e73 +[64]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.7...v3.1.8 +[65]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2a4ae05a6d163902daff9021b375db5f362149d7 +[66]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.6...v3.1.7 +[67]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4af52f43dcba1f6f57887fb977b1430f8009d872 +[68]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.5...v3.1.6 +[69]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6e94142b83d4d6bed7812bca2bd4226a6b67c49a +[70]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.4...v3.1.5 +[71]: https://github.com/Xunnamius/next-test-api-route-handler/commit/405f84dabe68b72e11919066cc53dbc69ad4807d +[72]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.3...v3.1.4 +[73]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b05e112c11ead6b03c33a1a0bf1dc4fca4d29db5 +[74]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.2...v3.1.3 +[75]: https://github.com/Xunnamius/next-test-api-route-handler/commit/36a2c44e4b3f6f4f6d4ae9f8a566a42609ee362c +[76]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.1...v3.1.2 +[77]: https://github.com/Xunnamius/next-test-api-route-handler/commit/065b4455016812575e1714cc680e57184b49cf5d +[78]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.1.0...v3.1.1 +[79]: https://github.com/Xunnamius/next-test-api-route-handler/commit/484d7023539d95b8930d1665b4b613042b21fe9f +[80]: https://github.com/Xunnamius/next-test-api-route-handler/issues/487 +[81]: https://github.com/Xunnamius/next-test-api-route-handler/commit/77ad96dc4a1e3c79f9f75b6827f74f501cce8f5d +[82]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.3...v3.1.0 +[83]: https://github.com/Xunnamius/next-test-api-route-handler/commit/21b4b928a40b685a99df34ad20845c97615ee1c8 +[84]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2a2f0b28b07f8a176a5333551b5788033f90274a +[85]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0ee4ce58b1c7a8b4ea2096c01142097f427b2a00 +[86]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.2...v3.0.3 +[87]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1e8cd8573cdcfa3489526244c40f373a71d92b40 +[88]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.1...v3.0.2 +[89]: https://github.com/Xunnamius/next-test-api-route-handler/commit/84f74f55027cd4e67b7e7929f668d4de387dc3c3 +[90]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v3.0.0...v3.0.1 +[91]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a925da287a02b6c36b588b6804e7b0b628364b25 +[92]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.4...v3.0.0 +[93]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d3c60cbd506eb22a4bb23554b06668076e687ad9 +[94]: https://github.com/Xunnamius/next-test-api-route-handler/commit/68d30dac2210e4f976afbf5c59378d6b314d4ec3 +[95]: https://github.com/Xunnamius/next-test-api-route-handler/commit/15c899a98423c612571886115308e68e20633a1b +[96]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5a1a2ee806f4cfd5d199d54dbd82f9f945da1694 +[97]: https://github.com/Xunnamius/next-test-api-route-handler/commit/73f44b78c2ee92b443adf99e248c03b985b80891 +[98]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.3...v2.3.4 +[99]: https://github.com/Xunnamius/next-test-api-route-handler/commit/854704ba9a7f374753e1a51f4fe00db761d7718f +[100]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9302bcc882e9cd4080526f5192186b5259e08726 +[101]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.2...v2.3.3 +[102]: https://github.com/Xunnamius/next-test-api-route-handler/commit/597c2497a137c86696aba9b750b60f43d728495f +[103]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.1...v2.3.2 +[104]: https://github.com/Xunnamius/next-test-api-route-handler/commit/32eafabd592856a7ef286d7d0157e38a8275695d +[105]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cd98aab7eea7bdd4b988402b57ce5e93572a7850 +[106]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.3.0...v2.3.1 +[107]: https://github.com/Xunnamius/next-test-api-route-handler/commit/91f08d426081afc1009e50d7b9ee6a0a2259268b +[108]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.1...v2.3.0 +[109]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cd3cd95adb536b05a3cfe8bd0b12329c9acad166 +[110]: https://github.com/Xunnamius/next-test-api-route-handler/issues/373 +[111]: https://github.com/Xunnamius/next-test-api-route-handler/commit/8746e5fb6b337131303ad0c011c864d5152a864d +[112]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ae778d18f1c01e36070f0612067ec9f00f14a665 +[113]: https://github.com/Xunnamius/next-test-api-route-handler/issues/378 +[114]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c216caa659a0fcf807ff6b1a0c11c2b331e27d3c +[115]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5fbb6d20cab097250cb8c62d0c5edb6fe80f0bfc +[116]: https://github.com/Xunnamius/next-test-api-route-handler/commit/346e8de1390ba46e9dc8faccc0977c5f50a9dc32 +[117]: https://github.com/Xunnamius/next-test-api-route-handler/commit/812e6f262726e328a57cdb0833fb8bfbbcce6708 +[118]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5034aba01f30bfb7787247054d12d7dbb90469e6 +[119]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.2.0...v2.2.1 +[120]: https://github.com/Xunnamius/next-test-api-route-handler/commit/de9ee177491855eb0ac095f9a1a3e5cfad820420 +[121]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.3...v2.2.0 +[122]: https://github.com/Xunnamius/next-test-api-route-handler/commit/419d5fe805928605b85fe0e5c64c80eb5a1d798d +[123]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.2...v2.1.3 +[124]: https://github.com/Xunnamius/next-test-api-route-handler/commit/7916f0026b59e6325b59395f61b142056c6c8220 +[125]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.1...v2.1.2 +[126]: https://github.com/Xunnamius/next-test-api-route-handler/commit/74241eeee173a6cf8f987608946c3d8691a67c27 +[127]: https://github.com/Xunnamius/next-test-api-route-handler/commit/33b6a34a126909a354a7c3f5d523b0fa47acb960 +[128]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1c3425caf7d80793a2c1e88ff8fbd29ada8adf2d +[129]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.1.0...v2.1.1 +[130]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fd787ca116c3a84f9393f22bf7e898db0a22f5e1 +[131]: https://github.com/Xunnamius/next-test-api-route-handler/commit/87ed12b68e930342649c65a76455396879658d48 +[132]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.2...v2.1.0 +[133]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c51cf0222e17066c03cd80e1c76c5e9f49cacc2e +[134]: https://github.com/Xunnamius/next-test-api-route-handler/issues/295 +[135]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2b14d8499f4845d0e2d20fd2098f509f5edc16f9 +[136]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f4772607ebb8641ea4e0d6ac2fd152f76dff3f7c +[137]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f61fd8c5ea52265a7ff15252d720d135890880f2 +[138]: https://github.com/Xunnamius/next-test-api-route-handler/issues/296 +[139]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.1...v2.0.2 +[140]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fd53fefc6d5c2ff67ed2669b18e28b7ef7005c12 +[141]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e5c6a994d4b553369ae42b6be0ae1932346ebbd6 +[142]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v2.0.0...v2.0.1 +[143]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ef32668428df303c4e536aae5793ed14eee0ade5 +[144]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.24...v2.0.0 +[145]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ee31fa8cefdc2b8b8197d3889fb8aac27467b374 +[146]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2f1125cfb481e94af4248cf5b5dfce729cc4d662 +[147]: https://github.com/Xunnamius/next-test-api-route-handler/commit/75832099f4c4d0e329aca469ac16c8a25100c26d +[148]: https://github.com/Xunnamius/next-test-api-route-handler/commit/bc5e72d9d40f1991315ac0657a4b212331dc065f +[149]: https://github.com/Xunnamius/next-test-api-route-handler/commit/bc7eb3db18aa70345a1c11d96436b374a15c3b7f +[150]: https://github.com/Xunnamius/next-test-api-route-handler/commit/20ca255e01d0c2e7824707e19f41ca5a8de0140e +[151]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.23...v1.2.24 +[152]: https://github.com/Xunnamius/next-test-api-route-handler/commit/af177c5035c22ab923dd62f6dc82702373f740d4 +[153]: https://github.com/Xunnamius/next-test-api-route-handler/commit/364549e2845965954af62fdfa6c1dfa0d6f91f2f +[154]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4db5d04d6a7117fe8e2113d2fafc6150a81f611c +[155]: https://github.com/Xunnamius/next-test-api-route-handler/commit/99ad1276e7e69218719ee2b27173e4ffcb7337f6 +[156]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6d523027b8d650ae0a2d121c349e6a4c48af6792 +[157]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f7fad4d512f1839d96c6264f2d4abb1c5ed11e7 +[158]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d328a86317c60206bda565ba2e315113dadd0c9b +[159]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6e7173fca4cbe778419eeff92ddbf7c03c2b00d5 +[160]: https://github.com/Xunnamius/next-test-api-route-handler/commit/23cb7804d5f0e775b75eaefb4588beb179dcdcdf +[161]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f25e5fb8b2797621d316e18b01ee503fb4d1263 +[162]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.22...v1.2.23 +[163]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0040582d2f89e9a14c2335dc85cd5f9201bff644 +[164]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.21...v1.2.22 +[165]: https://github.com/Xunnamius/next-test-api-route-handler/commit/df9ede3ddde3a2df6a42224ab3302e599bd61516 +[166]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.20...v1.2.21 +[167]: https://github.com/Xunnamius/next-test-api-route-handler/commit/29aa25a9e2572be5b418fbee9d2d8aba2056583e +[168]: https://github.com/Xunnamius/next-test-api-route-handler/commit/806575792fe9e1522bd6bce0eb10f1bd3407da64 +[169]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dd3e7faadf148b23994f443a2247cc1316639e7d +[170]: https://github.com/Xunnamius/next-test-api-route-handler/issues/126 +[171]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.19...v1.2.20 +[172]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5a2d98f3ddb34e9d934f16510a73cacd43ee42ee +[173]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.18...v1.2.19 +[174]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b4157eba128f6a787531fdabf2bebf78851a0d9a +[175]: https://github.com/Xunnamius/next-test-api-route-handler/commit/81533c8953adde75499cd11b552bca5f970addca +[176]: https://github.com/Xunnamius/next-test-api-route-handler/commit/3a4f0f150779a226ee3c9f45fde201391fa1bec0 +[177]: https://github.com/Xunnamius/next-test-api-route-handler/commit/72189e80136b0567de8fc65eed9b2a4be365ca1a +[178]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cad0fb2b6153434d3be41f394f1fa636cc930435 +[179]: https://github.com/Xunnamius/next-test-api-route-handler/commit/54e51ebd0e133fb469306b76bc756c283a71a2c1 +[180]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b2685345493165cc63136b051cc5fafbf02f5c48 +[181]: https://github.com/Xunnamius/next-test-api-route-handler/commit/31c1d5b358df78e0f27e881c0329355d91370995 +[182]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9d12004ad5adfc5d4d6992bdb67c52168829967e +[183]: https://github.com/Xunnamius/next-test-api-route-handler/commit/11e192a670c5cf40faff32abeecb610534cd382b +[184]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9e1705b88fbcb5c4794abfb56691bdea7500db0d +[185]: https://github.com/Xunnamius/next-test-api-route-handler/commit/035e98bbe4b6bcf1ec6de40ee38b36ec107e8186 +[186]: https://github.com/Xunnamius/next-test-api-route-handler/commit/44d1967a412ca67829deeb29c7603ddf7e42f435 +[187]: https://github.com/Xunnamius/next-test-api-route-handler/commit/dd72fd1859fd74df3af0d47a1747d8c404abc3a7 +[188]: https://github.com/Xunnamius/next-test-api-route-handler/commit/004a657bafaab0419e645b6388c7536e38a1ef22 +[189]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6df7e73fff51036c63efc7ba898c3d76bc47deb7 +[190]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6cefa7ae41832e61ef6df75409be61141f7d1687 +[191]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.17...v1.2.18 +[192]: https://github.com/Xunnamius/next-test-api-route-handler/commit/042291d26742dfdda3742e6171efa25e9d3953ce +[193]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.16...v1.2.17 +[194]: https://github.com/Xunnamius/next-test-api-route-handler/commit/65f48a3d97184bb8a1be4fd27e86be0d7cd6bb00 +[195]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5ed6dbd1cdcb15745f4979f1a716d9bce9a93afb +[196]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.15...v1.2.16 +[197]: https://github.com/Xunnamius/next-test-api-route-handler/commit/aeef7a9726934852e1a51c9da98c4a96a9c70044 +[198]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.14...v1.2.15 +[199]: https://github.com/Xunnamius/next-test-api-route-handler/commit/964bc47f80691e83d92082fcaa0679219b8543f5 +[200]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.13...v1.2.14 +[201]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ed357f5211a49bfffbb28f03d60f157fa23d14b4 +[202]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.12...v1.2.13 +[203]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0 +[204]: https://github.com/janhesters +[205]: https://github.com/Xunnamius/next-test-api-route-handler/commit/473ff500fb2c954ce32be911bde943259ae1bbef +[206]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f7a12ded8f43359fd3079ea8294a2199c34b2d26 +[207]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d7bc091fe8f8e85b70987cfa4c663c7c8fd018c8 +[208]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9ebac018798ac82b97b8163bc5713b43001f592c +[209]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6adde1576f4aeb8b9a72cdcefc2ea6bd4b71a5cd +[210]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e508c06b77d225f150ebfce6409c2506a88efe4c +[211]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5e3893a425b95ac2b12edc2195171de85afcfd0a +[212]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cbf22fdd78e28e02ec4213156c6c72ba16c8bfa3 +[213]: https://github.com/Xunnamius/next-test-api-route-handler/commit/71e9103df5660fea2af3211b1d6c1fa72b1dd3c7 +[214]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f01ce4041b2fb1fd24052ce17008df9746652730 +[215]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a3526f28057201fcce19c752e554e705b8e3a922 +[216]: https://github.com/Xunnamius/next-test-api-route-handler/commit/661e62d53be74211d3d158ad90c196f43c8fe6db +[217]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f2ad6a2cdc863b183ac7f7bef756dd90c057ebe +[218]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c64f761c3b2cc69cf07cd7dd88e9671deb66fc4f +[219]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4a0552d2c730842371325111276c58651dabc558 +[220]: https://github.com/Xunnamius/next-test-api-route-handler/commit/856435f02ebe2f44b13c92cc6c794eeab2b345d0 +[221]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b3273dfbe43cb4c9ececdb4863ff4259f38807ec +[222]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fffe02e14615daba1f9f8ec1bb2a4024ceb93e84 +[223]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a60793c620fe926308f8c99c61076da81aebe2fa +[224]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.11...v1.2.12 +[225]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6eb2a348b1352e9f30d7ecacbaba01fa11cf1cfe +[226]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.10...v1.2.11 +[227]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e589c1d48aa1dae40643385c6acfcbacf9b40e16 +[228]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.9...v1.2.10 +[229]: https://github.com/Xunnamius/next-test-api-route-handler/commit/52a22765e17759271e7ba6c83ce9f3609500b5f3 +[230]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.8...v1.2.9 +[231]: https://github.com/Xunnamius/next-test-api-route-handler/commit/12e5bbe1bf36fda3ef938c7ed7cd445fec3901c9 +[232]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.7...v1.2.8 +[233]: https://github.com/Xunnamius/next-test-api-route-handler/commit/87dc31f264682d8048ee8d4cba4dbf866666bf07 +[234]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.6...v1.2.7 +[235]: https://github.com/Xunnamius/next-test-api-route-handler/commit/94cfa3806bfa0250e9b2dd5b3abfb2ff65c77c6a +[236]: https://github.com/Xunnamius/next-test-api-route-handler/commit/62089c79f6c9b585d2bb8ca0a8b87bd355b8695f +[237]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.5...v1.2.6 +[238]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2cf1d29159fb746dc4a7c09a8193e46c6bec3823 +[239]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.4...v1.2.5 +[240]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a307efcf2cdf60679d68fab385bdc8951a476ace +[241]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1823c055f034e528337c68d710164097e423f6e2 +[242]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.3...v1.2.4 +[243]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4e5e12c0df4fc80abb696d32718440ff294902e7 +[244]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.2...v1.2.3 +[245]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a111c87ccd863ce4dac85a5bd0281d87affe3b63 +[246]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.1...v1.2.2 +[247]: https://github.com/Xunnamius/next-test-api-route-handler/commit/98b65c6da330040e4bcbc22fe28db87c3965fd0e +[248]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.0...v1.2.1 +[249]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6ef6cbeb143648eb1fed5eff39071a06e7354275 +[250]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.3...v1.2.0 +[251]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b9d2bf010fba4b163e1eea0801271292a0e74308 +[252]: https://github.com/Xunnamius/next-test-api-route-handler/commit/45a79d41835b5146912511f8b583c9128d154cf9 +[253]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e0e1fd951fbe63c04c264ad11ab1fa7a39e1679a +[254]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.2...v1.1.3 +[255]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c82695a8816b6cd5f0e11d09cc2f948a30a416e9 +[256]: https://github.com/Xunnamius/next-test-api-route-handler/commit/813b21ad1e2c78594903b3a8f504f4460d8e506e +[257]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.1...v1.1.2 +[258]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b68c721e5100baa883c7096e5cc4e81c1c60ed00 +[259]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.0...v1.1.1 +[260]: https://github.com/Xunnamius/next-test-api-route-handler/commit/750055b92699fc7f1c06349ccdb0ddc0179f891a +[261]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d604dfc39d2e77cbe1234b8349a2ecef81a9e54a +[262]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.10...v1.1.0 +[263]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0e7541fbecd2e3bacc124f624bfca2b56ceeb89f +[264]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ccf54fb480e35961647900d345149d3cd1cf60d8 +[265]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.9...v1.0.10 +[266]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.8...v1.0.9 +[267]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.7...v1.0.8 +[268]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.6...v1.0.7 +[269]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.5...v1.0.6 +[270]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.4...v1.0.5 +[271]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.3...v1.0.4 +[272]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.2...v1.0.3 +[273]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.1...1.0.2 +[274]: https://github.com/Xunnamius/next-test-api-route-handler/compare/1.0.0...1.0.1 diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e2ac6616..00000000 --- a/docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index 640c9e49..dabc00ad 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,82 +1,20 @@ -next-test-api-route-handler +**next-test-api-route-handler** • **Docs** -# next-test-api-route-handler +*** -## Table of contents +# next-test-api-route-handler -### Interfaces +## Interfaces - [NtarhInit](interfaces/NtarhInit.md) - [NtarhInitAppRouter](interfaces/NtarhInitAppRouter.md) - [NtarhInitPagesRouter](interfaces/NtarhInitPagesRouter.md) -### Type Aliases - -- [FetchReturnType](README.md#fetchreturntype) -- [Promisable](README.md#promisable) - -### Functions - -- [testApiHandler](README.md#testapihandler) - ## Type Aliases -### FetchReturnType - -Ƭ **FetchReturnType**\<`NextResponseJsonType`\>: `Promise`\<`Omit`\<`Response`, ``"json"``\> & \{ `cookies`: `ReturnType`\<`parse`\>[] ; `json`: (...`args`: `Parameters`\<`Response`[``"json"``]\>) => `Promise`\<`NextResponseJsonType`\> }\> - -#### Type parameters - -| Name | -| :------ | -| `NextResponseJsonType` | - -#### Defined in - -[index.ts:100](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L100) - -___ - -### Promisable - -Ƭ **Promisable**\<`Promised`\>: `Promised` \| `Promise`\<`Promised`\> - -#### Type parameters - -| Name | -| :------ | -| `Promised` | - -#### Defined in - -[index.ts:95](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L95) +- [FetchReturnType](type-aliases/FetchReturnType.md) +- [Promisable](type-aliases/Promisable.md) ## Functions -### testApiHandler - -▸ **testApiHandler**\<`NextResponseJsonType`\>(`«destructured»`): `Promise`\<`void`\> - -Uses Next's internal `apiResolver` (for Pages Router) or an -`AppRouteRouteModule` instance (for App Router) to execute api route handlers -in a Next-like testing environment. - -#### Type parameters - -| Name | Type | -| :------ | :------ | -| `NextResponseJsonType` | `any` | - -#### Parameters - -| Name | Type | -| :------ | :------ | -| `«destructured»` | [`NtarhInitAppRouter`](interfaces/NtarhInitAppRouter.md)\<`NextResponseJsonType`\> \| [`NtarhInitPagesRouter`](interfaces/NtarhInitPagesRouter.md)\<`NextResponseJsonType`\> | - -#### Returns - -`Promise`\<`void`\> - -#### Defined in - -[index.ts:273](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L273) +- [testApiHandler](functions/testApiHandler.md) diff --git a/docs/functions/testApiHandler.md b/docs/functions/testApiHandler.md new file mode 100644 index 00000000..a4a02fde --- /dev/null +++ b/docs/functions/testApiHandler.md @@ -0,0 +1,29 @@ +[**next-test-api-route-handler**](../README.md) • **Docs** + +*** + +[next-test-api-route-handler](../README.md) / testApiHandler + +# Function: testApiHandler() + +> **testApiHandler**\<`NextResponseJsonType`\>(`__namedParameters`): `Promise`\<`void`\> + +Uses Next's internal `apiResolver` (for Pages Router) or an +`AppRouteRouteModule` instance (for App Router) to execute api route handlers +in a Next-like testing environment. + +## Type parameters + +• **NextResponseJsonType** = `any` + +## Parameters + +• **\_\_namedParameters**: [`NtarhInitAppRouter`](../interfaces/NtarhInitAppRouter.md)\<`NextResponseJsonType`\> \| [`NtarhInitPagesRouter`](../interfaces/NtarhInitPagesRouter.md)\<`NextResponseJsonType`\> + +## Returns + +`Promise`\<`void`\> + +## Source + +[index.ts:273](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L273) diff --git a/docs/interfaces/NtarhInit.md b/docs/interfaces/NtarhInit.md index 7797d7af..92870bd4 100644 --- a/docs/interfaces/NtarhInit.md +++ b/docs/interfaces/NtarhInit.md @@ -1,78 +1,65 @@ -[next-test-api-route-handler](../README.md) / NtarhInit - -# Interface: NtarhInit\ - -## Type parameters +[**next-test-api-route-handler**](../README.md) • **Docs** -| Name | Type | -| :------ | :------ | -| `NextResponseJsonType` | `unknown` | +*** -## Hierarchy - -- **`NtarhInit`** +[next-test-api-route-handler](../README.md) / NtarhInit - ↳ [`NtarhInitAppRouter`](NtarhInitAppRouter.md) +# Interface: NtarhInit\ - ↳ [`NtarhInitPagesRouter`](NtarhInitPagesRouter.md) +## Extended by -## Table of contents +- [`NtarhInitAppRouter`](NtarhInitAppRouter.md) +- [`NtarhInitPagesRouter`](NtarhInitPagesRouter.md) -### Properties +## Type parameters -- [rejectOnHandlerError](NtarhInit.md#rejectonhandlererror) -- [test](NtarhInit.md#test) +• **NextResponseJsonType** = `unknown` ## Properties -### rejectOnHandlerError +### rejectOnHandlerError? -• `Optional` **rejectOnHandlerError**: `boolean` +> `optional` **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. If `true`, -the [testApiHandler](../README.md#testapihandler) function will reject immediately instead. +the [testApiHandler](../functions/testApiHandler.md) function will reject immediately instead. You should use `rejectOnHandlerError` whenever you want to manually handle an error that bubbles up from your handler (which is especially true if you're using `expect` _within_ your handler) or when you notice a false negative despite exceptions being thrown. -**`Default`** +#### Default ```ts false ``` -#### Defined in +#### Source -[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L123) +[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L123) -___ +*** -### test +### test() -• **test**: (`parameters`: \{ `fetch`: (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> }) => [`Promisable`](../README.md#promisable)\<`void`\> +> **test**: (`parameters`) => [`Promisable`](../type-aliases/Promisable.md)\<`void`\> `test` is a function that runs your test assertions. This function receives one destructured parameter: `fetch`, which is equivalent to `globalThis.fetch` but with the first parameter omitted. -#### Type declaration - -▸ (`parameters`): [`Promisable`](../README.md#promisable)\<`void`\> +#### Parameters -##### Parameters +• **parameters** -| Name | Type | -| :------ | :------ | -| `parameters` | `Object` | -| `parameters.fetch` | (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> | +• **parameters.fetch** -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void`\> +[`Promisable`](../type-aliases/Promisable.md)\<`void`\> -#### Defined in +#### Source -[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L129) +[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L129) diff --git a/docs/interfaces/NtarhInitAppRouter.md b/docs/interfaces/NtarhInitAppRouter.md index ec6b0d36..8b1c3666 100644 --- a/docs/interfaces/NtarhInitAppRouter.md +++ b/docs/interfaces/NtarhInitAppRouter.md @@ -1,40 +1,26 @@ +[**next-test-api-route-handler**](../README.md) • **Docs** + +*** + [next-test-api-route-handler](../README.md) / NtarhInitAppRouter # Interface: NtarhInitAppRouter\ The parameters expected by `testApiHandler` when using `appHandler`. -## Type parameters - -| Name | Type | -| :------ | :------ | -| `NextResponseJsonType` | `unknown` | - -## Hierarchy +## Extends - [`NtarhInit`](NtarhInit.md)\<`NextResponseJsonType`\> - ↳ **`NtarhInitAppRouter`** - -## Table of contents - -### Properties +## Type parameters -- [appHandler](NtarhInitAppRouter.md#apphandler) -- [pagesHandler](NtarhInitAppRouter.md#pageshandler) -- [params](NtarhInitAppRouter.md#params) -- [paramsPatcher](NtarhInitAppRouter.md#paramspatcher) -- [rejectOnHandlerError](NtarhInitAppRouter.md#rejectonhandlererror) -- [requestPatcher](NtarhInitAppRouter.md#requestpatcher) -- [responsePatcher](NtarhInitAppRouter.md#responsepatcher) -- [test](NtarhInitAppRouter.md#test) -- [url](NtarhInitAppRouter.md#url) +• **NextResponseJsonType** = `unknown` ## Properties ### appHandler -• **appHandler**: `Omit`\<`AppRouteUserlandModule`, ``"GET"`` \| ``"HEAD"`` \| ``"OPTIONS"`` \| ``"POST"`` \| ``"PUT"`` \| ``"DELETE"`` \| ``"PATCH"``\> & \{ `DELETE`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `GET`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `HEAD`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `OPTIONS`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `PATCH`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `POST`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` ; `PUT`: `undefined` \| (`req`: `NextRequest`, `context?`: `any`) => `any` } +> **appHandler**: `Omit`\<`AppRouteUserlandModule`, `"GET"` \| `"HEAD"` \| `"OPTIONS"` \| `"POST"` \| `"PUT"` \| `"DELETE"` \| `"PATCH"`\> & `object` The actual App Router route handler under test. It should be an object containing one or more async functions named for valid HTTP methods and/or @@ -42,25 +28,55 @@ a valid configuration option. See [the Next.js documentation](https://nextjs.org/docs/app/building-your-application/routing/route-handlers) for details. -#### Defined in +#### Type declaration + +##### DELETE + +> **DELETE**: `undefined` \| (`req`, `context`?) => `any` + +##### GET + +> **GET**: `undefined` \| (`req`, `context`?) => `any` + +##### HEAD + +> **HEAD**: `undefined` \| (`req`, `context`?) => `any` + +##### OPTIONS + +> **OPTIONS**: `undefined` \| (`req`, `context`?) => `any` + +##### PATCH -[index.ts:146](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L146) +> **PATCH**: `undefined` \| (`req`, `context`?) => `any` -___ +##### POST -### pagesHandler +> **POST**: `undefined` \| (`req`, `context`?) => `any` -• `Optional` **pagesHandler**: `undefined` +##### PUT -#### Defined in +> **PUT**: `undefined` \| (`req`, `context`?) => `any` -[index.ts:155](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L155) +#### Source -___ +[index.ts:146](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L146) -### params +*** -• `Optional` **params**: `Record`\<`string`, `string` \| `string`[]\> +### pagesHandler? + +> `optional` **pagesHandler**: `undefined` + +#### Source + +[index.ts:155](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L155) + +*** + +### params? + +> `optional` **params**: `Record`\<`string`, `string` \| `string`[]\> `params` is passed directly to the handler and represents processed dynamic routes. This should not be confused with query string parsing, which is @@ -70,15 +86,15 @@ handled by `Request` automatically. params.id = 'some-id' }`. This is useful for quickly setting many params at once. -#### Defined in +#### Source -[index.ts:165](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L165) +[index.ts:165](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L165) -___ +*** -### paramsPatcher +### paramsPatcher()? -• `Optional` **paramsPatcher**: (`params`: `Record`\<`string`, `string` \| `string`[]\>) => [`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `string` \| `string`[]\>\> +> `optional` **paramsPatcher**: (`params`) => [`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Record`\<`string`, `string` \| `string`[]\>\> A function that receives `params`, an object representing "processed" dynamic route parameters. Modifications to `params` are passed directly to @@ -88,40 +104,34 @@ will replace `params` entirely. Parameter patching should not be confused with query string parsing, which is handled by `Request` automatically. -#### Type declaration - -▸ (`params`): [`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `string` \| `string`[]\>\> - -##### Parameters +#### Parameters -| Name | Type | -| :------ | :------ | -| `params` | `Record`\<`string`, `string` \| `string`[]\> | +• **params**: `Record`\<`string`, `string` \| `string`[]\> -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `string` \| `string`[]\>\> +[`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Record`\<`string`, `string` \| `string`[]\>\> -#### Defined in +#### Source -[index.ts:175](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L175) +[index.ts:175](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L175) -___ +*** -### rejectOnHandlerError +### rejectOnHandlerError? -• `Optional` **rejectOnHandlerError**: `boolean` +> `optional` **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. If `true`, -the [testApiHandler](../README.md#testapihandler) function will reject immediately instead. +the [testApiHandler](../functions/testApiHandler.md) function will reject immediately instead. You should use `rejectOnHandlerError` whenever you want to manually handle an error that bubbles up from your handler (which is especially true if you're using `expect` _within_ your handler) or when you notice a false negative despite exceptions being thrown. -**`Default`** +#### Default ```ts false @@ -129,17 +139,17 @@ false #### Inherited from -[NtarhInit](NtarhInit.md).[rejectOnHandlerError](NtarhInit.md#rejectonhandlererror) +[`NtarhInit`](NtarhInit.md).[`rejectOnHandlerError`](NtarhInit.md#rejectonhandlererror) -#### Defined in +#### Source -[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L123) +[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L123) -___ +*** -### requestPatcher +### requestPatcher()? -• `Optional` **requestPatcher**: (`request`: `NextRequest`) => [`Promisable`](../README.md#promisable)\<`void` \| `Request`\> +> `optional` **requestPatcher**: (`request`) => [`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Request`\> A function that receives a `NextRequest` object and returns a `Request` instance. Use this function to edit the request _before_ it's injected @@ -149,29 +159,23 @@ If the returned `Request` instance is not also an instance of `NextRequest`, it will be wrapped with `NextRequest`, e.g. `new NextRequest(returnedRequest, { ... })`. -#### Type declaration - -▸ (`request`): [`Promisable`](../README.md#promisable)\<`void` \| `Request`\> +#### Parameters -##### Parameters +• **request**: `NextRequest` -| Name | Type | -| :------ | :------ | -| `request` | `NextRequest` | +#### Returns -##### Returns +[`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Request`\> -[`Promisable`](../README.md#promisable)\<`void` \| `Request`\> +#### Source -#### Defined in +[index.ts:188](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L188) -[index.ts:188](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L188) +*** -___ +### responsePatcher()? -### responsePatcher - -• `Optional` **responsePatcher**: (`res`: `Response`) => [`Promisable`](../README.md#promisable)\<`void` \| `Response`\> +> `optional` **responsePatcher**: (`res`) => [`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Response`\> A function that receives the `Response` object returned from `appHandler` and returns a `Response` instance. Use this function to edit the response @@ -182,66 +186,55 @@ including _unhandled exceptions_ (for which Next.js returns an HTTP 500 response). The only time `responsePatcher` is not called is when an unhandled exception occurs _and_ `rejectOnHandlerError` is `true`. -#### Type declaration - -▸ (`res`): [`Promisable`](../README.md#promisable)\<`void` \| `Response`\> - -##### Parameters +#### Parameters -| Name | Type | -| :------ | :------ | -| `res` | `Response` | +• **res**: `Response` -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void` \| `Response`\> +[`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Response`\> -#### Defined in +#### Source -[index.ts:201](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L201) +[index.ts:201](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L201) -___ +*** -### test +### test() -• **test**: (`parameters`: \{ `fetch`: (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> }) => [`Promisable`](../README.md#promisable)\<`void`\> +> **test**: (`parameters`) => [`Promisable`](../type-aliases/Promisable.md)\<`void`\> `test` is a function that runs your test assertions. This function receives one destructured parameter: `fetch`, which is equivalent to `globalThis.fetch` but with the first parameter omitted. -#### Type declaration - -▸ (`parameters`): [`Promisable`](../README.md#promisable)\<`void`\> +#### Parameters -##### Parameters +• **parameters** -| Name | Type | -| :------ | :------ | -| `parameters` | `Object` | -| `parameters.fetch` | (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> | +• **parameters.fetch** -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void`\> +[`Promisable`](../type-aliases/Promisable.md)\<`void`\> #### Inherited from -[NtarhInit](NtarhInit.md).[test](NtarhInit.md#test) +[`NtarhInit`](NtarhInit.md).[`test`](NtarhInit.md#test) -#### Defined in +#### Source -[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L129) +[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L129) -___ +*** -### url +### url? -• `Optional` **url**: `string` +> `optional` **url**: `string` `url: 'your-url'` is shorthand for `requestPatcher: (request) => new NextRequest('your-url', request)` -#### Defined in +#### Source -[index.ts:206](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L206) +[index.ts:206](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L206) diff --git a/docs/interfaces/NtarhInitPagesRouter.md b/docs/interfaces/NtarhInitPagesRouter.md index 6f7bc9b4..f909a183 100644 --- a/docs/interfaces/NtarhInitPagesRouter.md +++ b/docs/interfaces/NtarhInitPagesRouter.md @@ -1,50 +1,36 @@ +[**next-test-api-route-handler**](../README.md) • **Docs** + +*** + [next-test-api-route-handler](../README.md) / NtarhInitPagesRouter # Interface: NtarhInitPagesRouter\ The parameters expected by `testApiHandler` when using `pagesHandler`. -## Type parameters - -| Name | Type | -| :------ | :------ | -| `NextResponseJsonType` | `unknown` | - -## Hierarchy +## Extends - [`NtarhInit`](NtarhInit.md)\<`NextResponseJsonType`\> - ↳ **`NtarhInitPagesRouter`** - -## Table of contents - -### Properties +## Type parameters -- [appHandler](NtarhInitPagesRouter.md#apphandler) -- [pagesHandler](NtarhInitPagesRouter.md#pageshandler) -- [params](NtarhInitPagesRouter.md#params) -- [paramsPatcher](NtarhInitPagesRouter.md#paramspatcher) -- [rejectOnHandlerError](NtarhInitPagesRouter.md#rejectonhandlererror) -- [requestPatcher](NtarhInitPagesRouter.md#requestpatcher) -- [responsePatcher](NtarhInitPagesRouter.md#responsepatcher) -- [test](NtarhInitPagesRouter.md#test) -- [url](NtarhInitPagesRouter.md#url) +• **NextResponseJsonType** = `unknown` ## Properties -### appHandler +### appHandler? -• `Optional` **appHandler**: `undefined` +> `optional` **appHandler**: `undefined` -#### Defined in +#### Source -[index.ts:224](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L224) +[index.ts:224](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L224) -___ +*** ### pagesHandler -• **pagesHandler**: `NextApiHandler`\<`any`\> \| \{ `default`: `NextApiHandler`\<`any`\> } +> **pagesHandler**: `NextApiHandler`\<`any`\> \| `object` The actual Pages Router route handler under test. It should be an async function that accepts `NextApiRequest` and `NextApiResult` objects (in @@ -54,15 +40,15 @@ Note that type checking for `res.send` and similar methods was retired in NTARH@4. Only the `response.json` method returned by NTARH's fetch wrapper will have a typed result. -#### Defined in +#### Source -[index.ts:223](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L223) +[index.ts:223](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L223) -___ +*** -### params +### params? -• `Optional` **params**: `Record`\<`string`, `unknown`\> +> `optional` **params**: `Record`\<`string`, `unknown`\> `params` is passed directly to the handler and represents processed dynamic routes. This should not be confused with query string parsing, which is @@ -72,15 +58,15 @@ handled automatically. params.id = 'some-id' }`. This is useful for quickly setting many params at once. -#### Defined in +#### Source -[index.ts:234](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L234) +[index.ts:234](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L234) -___ +*** -### paramsPatcher +### paramsPatcher()? -• `Optional` **paramsPatcher**: (`params`: `Record`\<`string`, `unknown`\>) => [`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `unknown`\>\> +> `optional` **paramsPatcher**: (`params`) => [`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Record`\<`string`, `unknown`\>\> A function that receives `params`, an object representing "processed" dynamic route parameters. Modifications to `params` are passed directly to @@ -90,40 +76,34 @@ will replace `params` entirely. Parameter patching should not be confused with query string parsing, which is handled automatically. -#### Type declaration +#### Parameters -▸ (`params`): [`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `unknown`\>\> +• **params**: `Record`\<`string`, `unknown`\> -##### Parameters +#### Returns -| Name | Type | -| :------ | :------ | -| `params` | `Record`\<`string`, `unknown`\> | +[`Promisable`](../type-aliases/Promisable.md)\<`void` \| `Record`\<`string`, `unknown`\>\> -##### Returns +#### Source -[`Promisable`](../README.md#promisable)\<`void` \| `Record`\<`string`, `unknown`\>\> +[index.ts:244](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L244) -#### Defined in +*** -[index.ts:244](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L244) +### rejectOnHandlerError? -___ - -### rejectOnHandlerError - -• `Optional` **rejectOnHandlerError**: `boolean` +> `optional` **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. If `true`, -the [testApiHandler](../README.md#testapihandler) function will reject immediately instead. +the [testApiHandler](../functions/testApiHandler.md) function will reject immediately instead. You should use `rejectOnHandlerError` whenever you want to manually handle an error that bubbles up from your handler (which is especially true if you're using `expect` _within_ your handler) or when you notice a false negative despite exceptions being thrown. -**`Default`** +#### Default ```ts false @@ -131,17 +111,17 @@ false #### Inherited from -[NtarhInit](NtarhInit.md).[rejectOnHandlerError](NtarhInit.md#rejectonhandlererror) +[`NtarhInit`](NtarhInit.md).[`rejectOnHandlerError`](NtarhInit.md#rejectonhandlererror) -#### Defined in +#### Source -[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L123) +[index.ts:123](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L123) -___ +*** -### requestPatcher +### requestPatcher()? -• `Optional` **requestPatcher**: (`request`: `IncomingMessage`) => [`Promisable`](../README.md#promisable)\<`void`\> +> `optional` **requestPatcher**: (`request`) => [`Promisable`](../type-aliases/Promisable.md)\<`void`\> A function that receives an `IncomingMessage` object. Use this function to edit the request _before_ it's injected into the handler. @@ -149,93 +129,76 @@ to edit the request _before_ it's injected into the handler. **Note: all replacement `IncomingMessage.header` names must be lowercase.** -#### Type declaration - -▸ (`request`): [`Promisable`](../README.md#promisable)\<`void`\> - -##### Parameters +#### Parameters -| Name | Type | -| :------ | :------ | -| `request` | `IncomingMessage` | +• **request**: `IncomingMessage` -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void`\> +[`Promisable`](../type-aliases/Promisable.md)\<`void`\> -#### Defined in +#### Source -[index.ts:255](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L255) +[index.ts:255](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L255) -___ +*** -### responsePatcher +### responsePatcher()? -• `Optional` **responsePatcher**: (`res`: `ServerResponse`\<`IncomingMessage`\>) => [`Promisable`](../README.md#promisable)\<`void`\> +> `optional` **responsePatcher**: (`res`) => [`Promisable`](../type-aliases/Promisable.md)\<`void`\> A function that receives a `ServerResponse` object. Use this function to edit the response _before_ it's injected into the handler. -#### Type declaration +#### Parameters -▸ (`res`): [`Promisable`](../README.md#promisable)\<`void`\> +• **res**: `ServerResponse`\<`IncomingMessage`\> -##### Parameters +#### Returns -| Name | Type | -| :------ | :------ | -| `res` | `ServerResponse`\<`IncomingMessage`\> | +[`Promisable`](../type-aliases/Promisable.md)\<`void`\> -##### Returns +#### Source -[`Promisable`](../README.md#promisable)\<`void`\> +[index.ts:260](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L260) -#### Defined in +*** -[index.ts:260](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L260) +### test() -___ - -### test - -• **test**: (`parameters`: \{ `fetch`: (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> }) => [`Promisable`](../README.md#promisable)\<`void`\> +> **test**: (`parameters`) => [`Promisable`](../type-aliases/Promisable.md)\<`void`\> `test` is a function that runs your test assertions. This function receives one destructured parameter: `fetch`, which is equivalent to `globalThis.fetch` but with the first parameter omitted. -#### Type declaration - -▸ (`parameters`): [`Promisable`](../README.md#promisable)\<`void`\> +#### Parameters -##### Parameters +• **parameters** -| Name | Type | -| :------ | :------ | -| `parameters` | `Object` | -| `parameters.fetch` | (`customInit?`: `RequestInit`) => [`FetchReturnType`](../README.md#fetchreturntype)\<`NextResponseJsonType`\> | +• **parameters.fetch** -##### Returns +#### Returns -[`Promisable`](../README.md#promisable)\<`void`\> +[`Promisable`](../type-aliases/Promisable.md)\<`void`\> #### Inherited from -[NtarhInit](NtarhInit.md).[test](NtarhInit.md#test) +[`NtarhInit`](NtarhInit.md).[`test`](NtarhInit.md#test) -#### Defined in +#### Source -[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L129) +[index.ts:129](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L129) -___ +*** -### url +### url? -• `Optional` **url**: `string` +> `optional` **url**: `string` `url: 'your-url'` is shorthand for `requestPatcher: (req) => { req.url = 'your-url' }` -#### Defined in +#### Source -[index.ts:265](https://github.com/Xunnamius/next-test-api-route-handler/blob/b7621d6b938246e73d656a1f9516def892b70ed0/src/index.ts#L265) +[index.ts:265](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L265) diff --git a/docs/type-aliases/FetchReturnType.md b/docs/type-aliases/FetchReturnType.md new file mode 100644 index 00000000..ce308cf7 --- /dev/null +++ b/docs/type-aliases/FetchReturnType.md @@ -0,0 +1,19 @@ +[**next-test-api-route-handler**](../README.md) • **Docs** + +*** + +[next-test-api-route-handler](../README.md) / FetchReturnType + +# Type alias: FetchReturnType\ + +`Internal` + +> **FetchReturnType**\<`NextResponseJsonType`\>: `Promise`\<`Omit`\<`Response`, `"json"`\> & `object`\> + +## Type parameters + +• **NextResponseJsonType** + +## Source + +[index.ts:100](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L100) diff --git a/docs/type-aliases/Promisable.md b/docs/type-aliases/Promisable.md new file mode 100644 index 00000000..c6528e6d --- /dev/null +++ b/docs/type-aliases/Promisable.md @@ -0,0 +1,19 @@ +[**next-test-api-route-handler**](../README.md) • **Docs** + +*** + +[next-test-api-route-handler](../README.md) / Promisable + +# Type alias: Promisable\ + +`Internal` + +> **Promisable**\<`Promised`\>: `Promised` \| `Promise`\<`Promised`\> + +## Type parameters + +• **Promised** + +## Source + +[index.ts:95](https://github.com/Xunnamius/next-test-api-route-handler/blob/43eec5385cb48f619257324a2fe1b54d29748ff1/src/index.ts#L95) diff --git a/package-lock.json b/package-lock.json index 4f97a0fa..c5ce1bca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "next-test-api-route-handler", - "version": "4.0.7", + "version": "4.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "next-test-api-route-handler", - "version": "4.0.7", + "version": "4.0.8", "license": "MIT", "dependencies": { "@whatwg-node/server": "^0.9.34", diff --git a/package.json b/package.json index f502394c..1bae413b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-test-api-route-handler", - "version": "4.0.7", + "version": "4.0.8", "description": "Confidently unit and integration test your Next.js API routes/handlers in an isolated Next.js-like environment", "keywords": [ "api",