diff --git a/CHANGELOG.md b/CHANGELOG.md index 47a02efc..c30ba44a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,301 +2,311 @@ All notable changes to this project will be documented in this file. -The format is based on [Conventional Commits][66], and this project adheres to -[Semantic Versioning][67]. +The format is based on [Conventional Commits][68], and this project adheres to +[Semantic Versioning][69]. -## [1.2.15][68] (2021-02-08) +## [1.2.16][70] (2021-02-10) + +### Build System + +- **package.json:** update dependencies ([aeef7a9][71]) + +## [1.2.15][1] (2021-02-08) ### Bug Fixes - **readme.md:** simplify all examples with more modern syntax; remove - @ergodark/types ([964bc47][69]) + @ergodark/types ([964bc47][2]) -## [1.2.14][1] (2021-02-08) +## [1.2.14][3] (2021-02-08) ### Bug Fixes -- **readme.md:** add Apollo example and additional guidance ([ed357f5][2]) +- **readme.md:** add Apollo example and additional guidance ([ed357f5][4]) -## [1.2.13][3] (2021-02-05) +## [1.2.13][5] (2021-02-05) ### Bug Fixes -- **config:** use transform-rename-import when building externals ([d224f5e][4]) -- **index.ts:** use NextApiHandler type (thanks [@janhesters][5]) ([473ff50][6]) -- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][7]) -- **is-next-compat.ts:** better handling of generics ([d7bc091][8]) -- Next no longer misclassified as CJS ([9ebac01][9]) +- **config:** use transform-rename-import when building externals ([d224f5e][6]) +- **index.ts:** use NextApiHandler type (thanks [@janhesters][7]) ([473ff50][8]) +- **integration-webpack.test.ts:** actually call bundle in test ([f7a12de][9]) +- **is-next-compat.ts:** better handling of generics ([d7bc091][10]) +- Next no longer misclassified as CJS ([9ebac01][11]) ### Build System -- Properly mocked unit tests for externals ([b3273df][10]) -- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][11]) -- **test:** improved testing infrastructure ([fffe02e][12]) -- Only silence sjx if not DEBUG ([f01ce40][13]) -- **build-test-deploy.yml:** drop support for node 10 ([6adde15][14]) -- **build-test-deploy.yml:** remove externals exception ([5e3893a][15]) -- **cleanup.yml:** fix bugs in workflow ([cbf22fd][16]) -- **package.json:** improved build-dist ([a3526f2][17]) -- **package.json:** nicer destructured vals in docs ([661e62d][18]) -- **package.json:** remove extraneous module ([1f2ad6a][19]) -- **package.json:** update dependencies ([c64f761][20]) -- **post-release-check.yml:** add five-minute-sleep ([4a0552d][21]) -- **post-release-check.yml:** more resilient post-release check ([856435f][22]) -- **types:** more precise unique-filename type ([a60793c][23]) -- Drop support for node 10 ([71e9103][24]) - -## [1.2.12][25] (2021-01-23) +- Properly mocked unit tests for externals ([b3273df][12]) +- **build-test-deploy.yml:** drop support for webpack 4 ([e508c06][13]) +- **test:** improved testing infrastructure ([fffe02e][14]) +- Only silence sjx if not DEBUG ([f01ce40][15]) +- **build-test-deploy.yml:** drop support for node 10 ([6adde15][16]) +- **build-test-deploy.yml:** remove externals exception ([5e3893a][17]) +- **cleanup.yml:** fix bugs in workflow ([cbf22fd][18]) +- **package.json:** improved build-dist ([a3526f2][19]) +- **package.json:** nicer destructured vals in docs ([661e62d][20]) +- **package.json:** remove extraneous module ([1f2ad6a][21]) +- **package.json:** update dependencies ([c64f761][22]) +- **post-release-check.yml:** add five-minute-sleep ([4a0552d][23]) +- **post-release-check.yml:** more resilient post-release check ([856435f][24]) +- **types:** more precise unique-filename type ([a60793c][25]) +- Drop support for node 10 ([71e9103][26]) + +## [1.2.12][27] (2021-01-23) ### Build System -- Remove erroneous module import ([6eb2a34][26]) +- Remove erroneous module import ([6eb2a34][28]) -## [1.2.11][27] (2021-01-23) +## [1.2.11][29] (2021-01-23) ### Build System -- Backport/normalize across packages ([e589c1d][28]) +- Backport/normalize across packages ([e589c1d][30]) -## [1.2.10][29] (2021-01-22) +## [1.2.10][31] (2021-01-22) ### Build System -- Update debug statement syntax ([52a2276][30]) +- Update debug statement syntax ([52a2276][32]) -## [1.2.9][31] (2021-01-21) +## [1.2.9][33] (2021-01-21) ### Build System - **.github/workflows/build-test-deploy.yml:** fix peer dependency installation - ([12e5bbe][32]) + ([12e5bbe][34]) -## [1.2.8][33] (2021-01-13) +## [1.2.8][35] (2021-01-13) ### Bug Fixes -- **readme.md:** ensure quick start example is functional ([87dc31f][34]) +- **readme.md:** ensure quick start example is functional ([87dc31f][36]) -## [1.2.7][35] (2021-01-12) +## [1.2.7][37] (2021-01-12) ### Build System -- Rebuild lockfile ([94cfa38][36]) -- Update babel-plugin-transform-mjs-imports ([62089c7][37]) +- Rebuild lockfile ([94cfa38][38]) +- Update babel-plugin-transform-mjs-imports ([62089c7][39]) -## [1.2.6][38] (2021-01-06) +## [1.2.6][40] (2021-01-06) ### Build System -- **package.json:** prune old deps ([2cf1d29][39]) +- **package.json:** prune old deps ([2cf1d29][41]) -## [1.2.5][40] (2021-01-06) +## [1.2.5][42] (2021-01-06) ### Build System -- **.github:** add is-next-compat workflow ([1823c05][41]) +- **.github:** add is-next-compat workflow ([1823c05][43]) - **.github/workflows/post-release-check.yml:** add new post-release-check - ([a307efc][42]) + ([a307efc][44]) -## [1.2.4][43] (2021-01-06) +## [1.2.4][45] (2021-01-06) ### Build System -- **readme.md:** add quick start example ([4e5e12c][44]) +- **readme.md:** add quick start example ([4e5e12c][46]) -## [1.2.3][45] (2021-01-05) +## [1.2.3][47] (2021-01-05) ### Build System - **package.json:** favor "prepare" over "postinstall" and use npx for dev tools - ([a111c87][46]) + ([a111c87][48]) -## [1.2.2][47] (2021-01-05) +## [1.2.2][49] (2021-01-05) ### Build System -- **readme.md:** cosmetic ([98b65c6][48]) +- **readme.md:** cosmetic ([98b65c6][50]) -## [1.2.1][49] (2021-01-05) +## [1.2.1][51] (2021-01-05) ### Build System - **package.json:** update dependencies, prune unused dependencies - ([6ef6cbe][50]) + ([6ef6cbe][52]) -# [1.2.0][51] (2021-01-05) +# [1.2.0][53] (2021-01-05) ### Build System -- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][52]) +- **deps:** bump node-notifier from 8.0.0 to 8.0.1 ([45a79d4][54]) - **test/unit-externals.test.ts:** add mongo uri env var to test explicitly - ([e0e1fd9][53]) + ([e0e1fd9][55]) ### Features - **.changelogrc.js:** transfer repository over to semantic-release CI/CD - ([b9d2bf0][54]) + ([b9d2bf0][56]) -## [1.1.3][55] (2020-12-06) +## [1.1.3][57] (2020-12-06) ### Build System -- **package.json:** audit and update deps ([c82695a][56]) -- **package.json:** manually bump version ([813b21a][57]) +- **package.json:** audit and update deps ([c82695a][58]) +- **package.json:** manually bump version ([813b21a][59]) -## [1.1.2][58] (2020-11-26) +## [1.1.2][60] (2020-11-26) ### Bug Fixes -- **README:** update install language ([b68c721][59]) +- **README:** update install language ([b68c721][61]) -## [1.1.1][60] (2020-11-26) +## [1.1.1][62] (2020-11-26) ### Bug Fixes -- **externals:** revert sort-package-json to maintainer version ([750055b][61]) -- **externals:** rewrite test workflow ([d604dfc][62]) +- **externals:** revert sort-package-json to maintainer version ([750055b][63]) +- **externals:** rewrite test workflow ([d604dfc][64]) -# [1.1.0][63] (2020-11-25) +# [1.1.0][65] (2020-11-25) ### Bug Fixes -- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][64]) +- **build:** move Next.js dependency to peer/dev dependencies ([0e7541f][66]) - **externals:** updated remaining dependency references to peerDependency - references ([ccf54fb][65]) + references ([ccf54fb][67]) [1]: - https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.13...v1.2.14 + https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.14...v1.2.15 [2]: - https://github.com/Xunnamius/next-test-api-route-handler/commit/ed357f5211a49bfffbb28f03d60f157fa23d14b4 + https://github.com/Xunnamius/next-test-api-route-handler/commit/964bc47f80691e83d92082fcaa0679219b8543f5 [3]: - https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.12...v1.2.13 + https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.13...v1.2.14 [4]: - https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0 -[5]: https://github.com/janhesters + https://github.com/Xunnamius/next-test-api-route-handler/commit/ed357f5211a49bfffbb28f03d60f157fa23d14b4 +[5]: + https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.12...v1.2.13 [6]: + https://github.com/Xunnamius/next-test-api-route-handler/commit/d224f5eff5a786b96614b2c3f826eba610027da0 +[7]: https://github.com/janhesters +[8]: https://github.com/Xunnamius/next-test-api-route-handler/commit/473ff500fb2c954ce32be911bde943259ae1bbef -[7]: +[9]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f7a12ded8f43359fd3079ea8294a2199c34b2d26 -[8]: +[10]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d7bc091fe8f8e85b70987cfa4c663c7c8fd018c8 -[9]: +[11]: https://github.com/Xunnamius/next-test-api-route-handler/commit/9ebac018798ac82b97b8163bc5713b43001f592c -[10]: +[12]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b3273dfbe43cb4c9ececdb4863ff4259f38807ec -[11]: +[13]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e508c06b77d225f150ebfce6409c2506a88efe4c -[12]: +[14]: https://github.com/Xunnamius/next-test-api-route-handler/commit/fffe02e14615daba1f9f8ec1bb2a4024ceb93e84 -[13]: +[15]: https://github.com/Xunnamius/next-test-api-route-handler/commit/f01ce4041b2fb1fd24052ce17008df9746652730 -[14]: +[16]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6adde1576f4aeb8b9a72cdcefc2ea6bd4b71a5cd -[15]: +[17]: https://github.com/Xunnamius/next-test-api-route-handler/commit/5e3893a425b95ac2b12edc2195171de85afcfd0a -[16]: +[18]: https://github.com/Xunnamius/next-test-api-route-handler/commit/cbf22fdd78e28e02ec4213156c6c72ba16c8bfa3 -[17]: +[19]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a3526f28057201fcce19c752e554e705b8e3a922 -[18]: +[20]: https://github.com/Xunnamius/next-test-api-route-handler/commit/661e62d53be74211d3d158ad90c196f43c8fe6db -[19]: +[21]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1f2ad6a2cdc863b183ac7f7bef756dd90c057ebe -[20]: +[22]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c64f761c3b2cc69cf07cd7dd88e9671deb66fc4f -[21]: +[23]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4a0552d2c730842371325111276c58651dabc558 -[22]: +[24]: https://github.com/Xunnamius/next-test-api-route-handler/commit/856435f02ebe2f44b13c92cc6c794eeab2b345d0 -[23]: +[25]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a60793c620fe926308f8c99c61076da81aebe2fa -[24]: +[26]: https://github.com/Xunnamius/next-test-api-route-handler/commit/71e9103df5660fea2af3211b1d6c1fa72b1dd3c7 -[25]: +[27]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.11...v1.2.12 -[26]: +[28]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6eb2a348b1352e9f30d7ecacbaba01fa11cf1cfe -[27]: +[29]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.10...v1.2.11 -[28]: +[30]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e589c1d48aa1dae40643385c6acfcbacf9b40e16 -[29]: +[31]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.9...v1.2.10 -[30]: +[32]: https://github.com/Xunnamius/next-test-api-route-handler/commit/52a22765e17759271e7ba6c83ce9f3609500b5f3 -[31]: +[33]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.8...v1.2.9 -[32]: +[34]: https://github.com/Xunnamius/next-test-api-route-handler/commit/12e5bbe1bf36fda3ef938c7ed7cd445fec3901c9 -[33]: +[35]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.7...v1.2.8 -[34]: +[36]: https://github.com/Xunnamius/next-test-api-route-handler/commit/87dc31f264682d8048ee8d4cba4dbf866666bf07 -[35]: +[37]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.6...v1.2.7 -[36]: +[38]: https://github.com/Xunnamius/next-test-api-route-handler/commit/94cfa3806bfa0250e9b2dd5b3abfb2ff65c77c6a -[37]: +[39]: https://github.com/Xunnamius/next-test-api-route-handler/commit/62089c79f6c9b585d2bb8ca0a8b87bd355b8695f -[38]: +[40]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.5...v1.2.6 -[39]: +[41]: https://github.com/Xunnamius/next-test-api-route-handler/commit/2cf1d29159fb746dc4a7c09a8193e46c6bec3823 -[40]: +[42]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.4...v1.2.5 -[41]: +[43]: https://github.com/Xunnamius/next-test-api-route-handler/commit/1823c055f034e528337c68d710164097e423f6e2 -[42]: +[44]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a307efcf2cdf60679d68fab385bdc8951a476ace -[43]: +[45]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.3...v1.2.4 -[44]: +[46]: https://github.com/Xunnamius/next-test-api-route-handler/commit/4e5e12c0df4fc80abb696d32718440ff294902e7 -[45]: +[47]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.2...v1.2.3 -[46]: +[48]: https://github.com/Xunnamius/next-test-api-route-handler/commit/a111c87ccd863ce4dac85a5bd0281d87affe3b63 -[47]: +[49]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.1...v1.2.2 -[48]: +[50]: https://github.com/Xunnamius/next-test-api-route-handler/commit/98b65c6da330040e4bcbc22fe28db87c3965fd0e -[49]: +[51]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.0...v1.2.1 -[50]: +[52]: https://github.com/Xunnamius/next-test-api-route-handler/commit/6ef6cbeb143648eb1fed5eff39071a06e7354275 -[51]: +[53]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.3...v1.2.0 -[52]: +[54]: https://github.com/Xunnamius/next-test-api-route-handler/commit/45a79d41835b5146912511f8b583c9128d154cf9 -[53]: +[55]: https://github.com/Xunnamius/next-test-api-route-handler/commit/e0e1fd951fbe63c04c264ad11ab1fa7a39e1679a -[54]: +[56]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b9d2bf010fba4b163e1eea0801271292a0e74308 -[55]: +[57]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.2...v1.1.3 -[56]: +[58]: https://github.com/Xunnamius/next-test-api-route-handler/commit/c82695a8816b6cd5f0e11d09cc2f948a30a416e9 -[57]: +[59]: https://github.com/Xunnamius/next-test-api-route-handler/commit/813b21ad1e2c78594903b3a8f504f4460d8e506e -[58]: +[60]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.1...v1.1.2 -[59]: +[61]: https://github.com/Xunnamius/next-test-api-route-handler/commit/b68c721e5100baa883c7096e5cc4e81c1c60ed00 -[60]: +[62]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.1.0...v1.1.1 -[61]: +[63]: https://github.com/Xunnamius/next-test-api-route-handler/commit/750055b92699fc7f1c06349ccdb0ddc0179f891a -[62]: +[64]: https://github.com/Xunnamius/next-test-api-route-handler/commit/d604dfc39d2e77cbe1234b8349a2ecef81a9e54a -[63]: +[65]: https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.0.10...v1.1.0 -[64]: +[66]: https://github.com/Xunnamius/next-test-api-route-handler/commit/0e7541fbecd2e3bacc124f624bfca2b56ceeb89f -[65]: +[67]: https://github.com/Xunnamius/next-test-api-route-handler/commit/ccf54fb480e35961647900d345149d3cd1cf60d8 -[66]: https://conventionalcommits.org -[67]: https://semver.org -[68]: - https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.14...v1.2.15 -[69]: - https://github.com/Xunnamius/next-test-api-route-handler/commit/964bc47f80691e83d92082fcaa0679219b8543f5 +[68]: https://conventionalcommits.org +[69]: https://semver.org +[70]: + https://github.com/Xunnamius/next-test-api-route-handler/compare/v1.2.15...v1.2.16 +[71]: + https://github.com/Xunnamius/next-test-api-route-handler/commit/aeef7a9726934852e1a51c9da98c4a96a9c70044 diff --git a/docs/README.md b/docs/README.md index 84349a0e..5e552bd4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -51,4 +51,4 @@ Defined in: [index.ts:31][2] [1]: README.md#testapihandler [2]: - https://github.com/Xunnamius/next-test-api-route-handler/blob/964bc47/src/index.ts#L31 + https://github.com/Xunnamius/next-test-api-route-handler/blob/aeef7a9/src/index.ts#L31 diff --git a/package-lock.json b/package-lock.json index 077cf955..ef7df966 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "next-test-api-route-handler", - "version": "1.2.15", + "version": "1.2.16", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index b70ddc47..e89106d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-test-api-route-handler", - "version": "1.2.15", + "version": "1.2.16", "description": "Confidently unit test your Next.js API routes/handlers in an isolated Next.js-like environment", "keywords": [ "api",