From 7717488c808ea9f4d1bde04ebc9928a5abb63f6f Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Sun, 22 Nov 2020 10:35:37 +0100 Subject: [PATCH] 14.0.0 --- CHANGELOG.md | 729 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 730 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9466c1f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,729 @@ +### v14.0.0 (2020-11-22) + +#### Pull requests + +- [#130](https://github.com/unexpectedjs/unexpected-mitm/pull/130) Upgrade eslint-config-standard to version 16.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#129](https://github.com/unexpectedjs/unexpected-mitm/pull/129) Upgrade eslint-config-standard to version 15.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#125](https://github.com/unexpectedjs/unexpected-mitm/pull/125) Upgrade prettier to version 2.1.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#123](https://github.com/unexpectedjs/unexpected-mitm/pull/123) Upgrade eslint-plugin-mocha to version 8.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Add CHANGELOG.md + offline-github-changelog integration](https://github.com/unexpectedjs/unexpected-mitm/commit/2d1ed24d64d8eac6dbd4834813cb255cc838a562) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Update mocha to ^8.2.1, switch to .mocharc.json](https://github.com/unexpectedjs/unexpected-mitm/commit/776699b59c9c78e80ac82a67c9854d7d7fb51eb9) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Update unexpected plugins to the new versions compatible with unexpected 12](https://github.com/unexpectedjs/unexpected-mitm/commit/8bed0ec45398523b9e85ce5fcb818a0313d30ee1) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Lint on node.js 14](https://github.com/unexpectedjs/unexpected-mitm/commit/9c45af5c4580d4c483da828b3c7bf436a320c921) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Drop node.js 8 support, add 14 \(semver-major\)](https://github.com/unexpectedjs/unexpected-mitm/commit/8148b5cedcd6f1498f1ed7af0949f8638bc60df9) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [+2 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v13.3.1...v14.0.0) + +### v13.3.1 (2020-06-29) + +#### Pull requests + +- [#118](https://github.com/unexpectedjs/unexpected-mitm/pull/118) Unfork mitm by using another workaround ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +#### Commits to master + +- [Add a comment in UnexpectedMitmRecorder as well](https://github.com/unexpectedjs/unexpected-mitm/commit/2ebf94dbf9bf1e6eadf475ad22ad98a1f8ae1e3f) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v13.3.0 (2020-06-15) + +- [Restore requestDescriptions as a getter on the mocker object.](https://github.com/unexpectedjs/unexpected-mitm/commit/2562f6e9e06136aed80f14fa27a83250ef6c3b91) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v13.2.1 (2020-06-13) + +#### Pull requests + +- [#116](https://github.com/unexpectedjs/unexpected-mitm/pull/116) Upgrade eslint-plugin-mocha to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#115](https://github.com/unexpectedjs/unexpected-mitm/pull/115) Upgrade eslint to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#112](https://github.com/unexpectedjs/unexpected-mitm/pull/112) Upgrade sinon to version 9.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#111](https://github.com/unexpectedjs/unexpected-mitm/pull/111) Upgrade mocha to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#110](https://github.com/unexpectedjs/unexpected-mitm/pull/110) Upgrade unexpected-markdown to version 5.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#109](https://github.com/unexpectedjs/unexpected-mitm/pull/109) Upgrade eslint-plugin-node to version 11.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#107](https://github.com/unexpectedjs/unexpected-mitm/pull/107) Upgrade nyc to version 15.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#108](https://github.com/unexpectedjs/unexpected-mitm/pull/108) Upgrade sinon to version 8.0.1 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#106](https://github.com/unexpectedjs/unexpected-mitm/pull/106) Upgrade semver to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#101](https://github.com/unexpectedjs/unexpected-mitm/pull/101) Pluggable mock strategy ([Alex J Burke](mailto:alex@alexjeffburke.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [#105](https://github.com/unexpectedjs/unexpected-mitm/pull/105) Upgrade unexpected-documentation-site-generator to version 6.1.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#104](https://github.com/unexpectedjs/unexpected-mitm/pull/104) Upgrade prettier to version 1.19.1 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#103](https://github.com/unexpectedjs/unexpected-mitm/pull/103) Upgrade eslint-plugin-node to version 10.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#102](https://github.com/unexpectedjs/unexpected-mitm/pull/102) Upgrade eslint-config-standard to version 14.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Update mitm-papandreou to 1.7.1-patch1](https://github.com/unexpectedjs/unexpected-mitm/commit/81b88dff3b35b726c19c82bc30da3ce8e37b224b) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Fix tests that were sensitive to the prettier upgrade](https://github.com/unexpectedjs/unexpected-mitm/commit/58a4250e7b5b47da944e0af8f40e172d895bc615) ([Andreas Lind](mailto:andreas.lind@peakon.com)) +- [prettier --write '\*\*\/\*.{js,md}'](https://github.com/unexpectedjs/unexpected-mitm/commit/3e34c2a984b76e4c84e398da3a4d03f9529dfcde) ([Andreas Lind](mailto:andreas.lind@peakon.com)) +- [Update CI setup, only lint on node.js 12](https://github.com/unexpectedjs/unexpected-mitm/commit/9986b883003926762eafd001971bb1898fc92e38) ([Andreas Lind](mailto:andreas.lind@peakon.com)) +- [Also use prettier for markdown files](https://github.com/unexpectedjs/unexpected-mitm/commit/091e1e6e7df603eee87b0266caf35d4dd0880387) ([Andreas Lind](mailto:andreas.lind@peakon.com)) +- [+6 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v13.2.0...v13.2.1) + +### v13.2.0 (2019-07-27) + +#### Pull requests + +- [#100](https://github.com/unexpectedjs/unexpected-mitm/pull/100) Reduce surface area and get us down to a single header trim function. ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [#99](https://github.com/unexpectedjs/unexpected-mitm/pull/99) Feature\/messy recorder resolution ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [#98](https://github.com/unexpectedjs/unexpected-mitm/pull/98) Use objects for internal request and response state within Mocker. ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +#### Commits to master + +- [Update .prettierignore with the entries from .eslintignore](https://github.com/unexpectedjs/unexpected-mitm/commit/9b50d1d3c74ccb4618b2494ebe219e20f0ab00d5) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Fix .eslintignore entry for the nyc output dir](https://github.com/unexpectedjs/unexpected-mitm/commit/82258389f0a11dc6941bf6dd3299466cecde124d) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [eslint --fix . && prettier --write '\*\*\/\*.js'](https://github.com/unexpectedjs/unexpected-mitm/commit/96b88f1ef2c4935e015f49009d68327fe60a5c41) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Avoid require\('url'\).parse to fix deprecation complaint](https://github.com/unexpectedjs/unexpected-mitm/commit/67ab834fd88cbb91af8b823872d1d04eb4f35f26) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Travis: Run with 'latest' node instead of explicitly 12](https://github.com/unexpectedjs/unexpected-mitm/commit/a8a28b80a77aa0e78b973ceaa5d27aa7ce5338e9) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [+3 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v13.1.0...v13.2.0) + +### v13.1.0 (2019-07-07) + +- [Use newer object destructuring syntax.](https://github.com/unexpectedjs/unexpected-mitm/commit/a1ee963aaf79588b0d377489612405b0c69d8b21) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v13.0.1 (2019-07-03) + +#### Pull requests + +- [#95](https://github.com/unexpectedjs/unexpected-mitm/pull/95) Upgrade unexpected-messy to version 9.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#94](https://github.com/unexpectedjs/unexpected-mitm/pull/94) Upgrade unexpected-markdown to version 4.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) +- [#96](https://github.com/unexpectedjs/unexpected-mitm/pull/96) Upgrade unexpected-express to version 12.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [prettier --write test\/unexpectedMitm.js](https://github.com/unexpectedjs/unexpected-mitm/commit/dde61b8e8d3d2ea3d9ed880df70edf7768fde963) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v13.0.0 (2019-06-23) + +#### Pull requests + +- [#92](https://github.com/unexpectedjs/unexpected-mitm/pull/92) Upgrade prettier to version 1.18.2 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#91](https://github.com/unexpectedjs/unexpected-mitm/pull/91) Upgrade unexpected-http to version 7.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#90](https://github.com/unexpectedjs/unexpected-mitm/pull/90) Upgrade detect-indent to version 6.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Drop node.js 11 support, add 12](https://github.com/unexpectedjs/unexpected-mitm/commit/7796370385610d1522344525bc0099fe8048adc7) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Fix test suite with node.js 12](https://github.com/unexpectedjs/unexpected-mitm/commit/b03278fe795a7f918ab1500fae867467f2298572) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Drop node.js 6 support \(semver-major\)](https://github.com/unexpectedjs/unexpected-mitm/commit/5fa0294063a08b111e1c8e65938b8f91d054584a) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Fix lint](https://github.com/unexpectedjs/unexpected-mitm/commit/8e7b3ee97f8f48940e3a0328aee27c8b601fb14a) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Update eslint to version 6.0.0](https://github.com/unexpectedjs/unexpected-mitm/commit/fdeacf66cb85c5b4503e6b11cca1df9e84c6c7ea) ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) + +### v12.4.0 (2019-07-07) + +- [Backport node 12 fixes.](https://github.com/unexpectedjs/unexpected-mitm/commit/1c8ccfd26018a32882ef4669b7a2f97937676ba4) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Backport prettier upgrade.](https://github.com/unexpectedjs/unexpected-mitm/commit/daa7265751d18a04a9099b2ee1b3c9aff1779dfa) ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [Preserve error detail when encountering a delegated assertion error.](https://github.com/unexpectedjs/unexpected-mitm/commit/d9e9b1b1645863f43eb284a14070950d764a3d8c) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Test a complete early exit diff is produced when mocking out by file.](https://github.com/unexpectedjs/unexpected-mitm/commit/e5a9c735aa96ed501b206486dcbd2ba6c0b40aa1) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Rearrange timeline interpretation to reduce assertion nesting.](https://github.com/unexpectedjs/unexpected-mitm/commit/74c1f9ee1c39c42c246ff1580b612ba81a0a15a6) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v12.3.0 (2019-07-03) + +#### Pull requests + +- [#89](https://github.com/unexpectedjs/unexpected-mitm/pull/89) Upgrade mocha to version 6.1.4 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#88](https://github.com/unexpectedjs/unexpected-mitm/pull/88) Upgrade nyc to version 14.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#87](https://github.com/unexpectedjs/unexpected-mitm/pull/87) Upgrade prettier to version 1.17.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#83](https://github.com/unexpectedjs/unexpected-mitm/pull/83) Upgrade semver to version 6.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Allow null as a valid response body.](https://github.com/unexpectedjs/unexpected-mitm/commit/285189bb7507c6bdb029537dad5d2fbed44c2227) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Update unexpected to ^11.5.0, adjust expected error messages involving Buffers](https://github.com/unexpectedjs/unexpected-mitm/commit/b7d9af8b9ee5572b7cd269077f401dcc2dd1eb7b) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Tighten the user code stack frame test in determineCallsite\(\).](https://github.com/unexpectedjs/unexpected-mitm/commit/0b4d546a2e3a55a5530541979812951eb7c95cf4) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Define all paths to test files as absolute.](https://github.com/unexpectedjs/unexpected-mitm/commit/a330563fedd280420bad01db287195c241985d08) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Make test of error message more resistant](https://github.com/unexpectedjs/unexpected-mitm/commit/2689b701faeb2699955639cf4b8ddcc95c200293) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [+8 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v12.2.4...v12.3.0) + +### v12.2.4 (2019-03-11) + +- [Change unexpected-documentation-site-generator to a devDependency](https://github.com/unexpectedjs/unexpected-mitm/commit/cd34729b849253fea8a10f4e4800959d3adb57f4) ([Gustav Nikolaj Olsen](mailto:gno@one.com)) +- [Fix lint after eslint began enforcing all declared globals are used.](https://github.com/unexpectedjs/unexpected-mitm/commit/25d4518847c57d228a780e4515385e948d468aad) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Revert "mocha --compilers => --require"](https://github.com/unexpectedjs/unexpected-mitm/commit/a327ca29d291d4bb4c26aa8704fd23527c14da14) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [mocha --compilers => --require](https://github.com/unexpectedjs/unexpected-mitm/commit/75ed82e9af29d0c40baec422e521aaa1cc26f2e5) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v12.2.3 (2019-01-30) + +- [Update mitm-papandreou to ^1.7.0-patch1](https://github.com/unexpectedjs/unexpected-mitm/commit/e2abba56e35e08fde0de9249159a3aecd3b21f85) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v12.2.2 (2019-01-26) + +#### Pull requests + +- [#77](https://github.com/unexpectedjs/unexpected-mitm/pull/77) Upgrade prettier to version 1.16.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#76](https://github.com/unexpectedjs/unexpected-mitm/pull/76) Upgrade unexpected-markdown to version 3.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Update mitm-papandreou to ^1.6.0-patch1](https://github.com/unexpectedjs/unexpected-mitm/commit/c2a47ca00bc0fe96c330c90bca5f5ac37bb834fa) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v12.2.1 (2019-01-03) + +#### Pull requests + +- [#74](https://github.com/unexpectedjs/unexpected-mitm/pull/74) Upgrade unexpected-markdown to version 2.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Peer dependencies: Declare compatibility with Unexpected 11.0.0-3+](https://github.com/unexpectedjs/unexpected-mitm/commit/615a8aacf50ec5fe9c3a8479fa1f25d3ee51e00a) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v12.2.0 (2019-01-01) + +- [Declare Unexpected 11 compatibility.](https://github.com/unexpectedjs/unexpected-mitm/commit/104d6835e1ba37d80e7a833a325d7cf60403f944) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Check all errors with expect.it\(\).](https://github.com/unexpectedjs/unexpected-mitm/commit/901b8c80bce21f8f6aca46342747ea8a61defff1) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v12.1.1 (2018-11-29) + +- [#72](https://github.com/unexpectedjs/unexpected-mitm/pull/72) Travis: Test with node.js 11 as well ([Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v12.1.0 (2018-11-09) + +#### Pull requests + +- [#70](https://github.com/unexpectedjs/unexpected-mitm/pull/70) Separate recorder ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [#69](https://github.com/unexpectedjs/unexpected-mitm/pull/69) Upgrade unexpected-documentation-site-generator to version 5.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#68](https://github.com/unexpectedjs/unexpected-mitm/pull/68) Upgrade sinon to version 7.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#67](https://github.com/unexpectedjs/unexpected-mitm/pull/67) Upgrade eslint-plugin-prettier to version 3.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) + +#### Commits to master + +- [Demote unexpected-documentation-site-generator to an optional dep.](https://github.com/unexpectedjs/unexpected-mitm/commit/1efd196cf5d62e5b0f384e5fc2f753a58f505b26) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Make verification work correctly when POSTing a JSON request body.](https://github.com/unexpectedjs/unexpected-mitm/commit/c7783b75f345921b3b9a124df34c693cb2a4f97b) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Use a native Promise in place of an expect.promise.](https://github.com/unexpectedjs/unexpected-mitm/commit/ab229172cbf5d57cb6cd93f36c3d7c18104f1e3e) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [eslint --fix .](https://github.com/unexpectedjs/unexpected-mitm/commit/f14cd5ed25c51d49fcbefc1cce1cce4b5ea5a84e) ([Andreas Lind](mailto:andreas.lind@peakon.com)) +- [Update prettier to version 1.15.1](https://github.com/unexpectedjs/unexpected-mitm/commit/72ace2e33509b9bf36ba62652c4955c608390209) ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [+6 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v12.0.0...v12.1.0) + +### v12.0.0 (2018-09-23) + +#### Pull requests + +- [#65](https://github.com/unexpectedjs/unexpected-mitm/pull/65) Add prettier, switch to 2 space indent, and auto-modernize the code base a bit ([Alex J Burke](mailto:alex@alexjeffburke.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [#64](https://github.com/unexpectedjs/unexpected-mitm/pull/64) Drop node.js 4 support and update dev deps ([Alex J Burke](mailto:alex@alexjeffburke.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#55](https://github.com/unexpectedjs/unexpected-mitm/pull/55) Upgrade unexpected-express to version 11.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#53](https://github.com/unexpectedjs/unexpected-mitm/pull/53) Upgrade eslint-config-onelint to version 4.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#54](https://github.com/unexpectedjs/unexpected-mitm/pull/54) Upgrade unexpected-messy to version 8.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#51](https://github.com/unexpectedjs/unexpected-mitm/pull/51) Upgrade sinon to version 6.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) +- [#47](https://github.com/unexpectedjs/unexpected-mitm/pull/47) Upgrade sinon to version 5.0.1 ([depfu[bot]](mailto:bot@depfu.com)) + +#### Commits to master + +- [Add .npmrc with package-lock = false](https://github.com/unexpectedjs/unexpected-mitm/commit/f9cac7d25f2dd7e302437d654d4a9e7634cf22fa) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v11.1.0 (2018-09-15) + +- [Explicitly declare node 10 support.](https://github.com/unexpectedjs/unexpected-mitm/commit/b2330384740842a7159095e3b4485d85f5d85e7f) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Restrict the error object workaround to affected versions of node 9.](https://github.com/unexpectedjs/unexpected-mitm/commit/1493e08a7560debec1e3f6d937d36a469b66ad87) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix response function buffers on node 10+.](https://github.com/unexpectedjs/unexpected-mitm/commit/67511b0e63b30d327bbe5c5decd5e1976340a752) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Pin pem to the last minor release that supported node 4.](https://github.com/unexpectedjs/unexpected-mitm/commit/fd7a42572480fd81b26d83cf1d7985d636143c1c) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v11.0.0 (2018-04-27) + +#### Pull requests + +- [#45](https://github.com/unexpectedjs/unexpected-mitm/pull/45) Upgrade unexpected-express to version 10.0.0 ([depfu[bot]](mailto:bot@depfu.com)) +- [#36](https://github.com/unexpectedjs/unexpected-mitm/pull/36) Upgrade coveralls to version 3.0.0 ([depfu[bot]](mailto:bot@depfu.com)) +- [#32](https://github.com/unexpectedjs/unexpected-mitm/pull/32) Upgrade detect-indent to version 5.0.0 ([depfu[bot]](mailto:bot@depfu.com)) +- [#44](https://github.com/unexpectedjs/unexpected-mitm/pull/44) Upgrade sinon to version 4.5.0 ([depfu[bot]](mailto:bot@depfu.com)) +- [#41](https://github.com/unexpectedjs/unexpected-mitm/pull/41) Upgrade nyc to version 11.6.0 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [depfu[bot]](mailto:bot@depfu.com)) +- [#42](https://github.com/unexpectedjs/unexpected-mitm/pull/42) Upgrade pem to version 1.12.5 ([depfu[bot]](mailto:bot@depfu.com)) +- [#35](https://github.com/unexpectedjs/unexpected-mitm/pull/35) Upgrade body-parser to version 1.18.2 ([depfu[bot]](mailto:bot@depfu.com)) +- [#34](https://github.com/unexpectedjs/unexpected-mitm/pull/34) Upgrade underscore to version 1.8.3 ([depfu[bot]](mailto:bot@depfu.com)) +- [#39](https://github.com/unexpectedjs/unexpected-mitm/pull/39) Upgrade express to version 4.16.3 ([depfu[bot]](mailto:bot@depfu.com)) +- [#33](https://github.com/unexpectedjs/unexpected-mitm/pull/33) Upgrade memoizesync to version 1.1.1 ([depfu[bot]](mailto:bot@depfu.com)) + +#### Commits to master + +- [Remove the "allowing modification" flag.](https://github.com/unexpectedjs/unexpected-mitm/commit/5a2370d4ca97da6f03d6c6b4bd1e962a32e48a96) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Remove remaining 0.10 related bits.](https://github.com/unexpectedjs/unexpected-mitm/commit/ade9c215eae761bdccff17dbc623255c8d71909f) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix tests](https://github.com/unexpectedjs/unexpected-mitm/commit/5439eab8d604158487659113c1f579331d4cf589) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Fix lint](https://github.com/unexpectedjs/unexpected-mitm/commit/717569304ec64170697620644648a28c585304af) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [eslint --fix .](https://github.com/unexpectedjs/unexpected-mitm/commit/2a25e13b8c6bbb3fb1fdc72c841d263b35aaedb2) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [+4 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v10.2.2...v11.0.0) + +### v10.2.2 (2018-03-28) + +- [Restore node 0.10 and 0.12 support in CI.](https://github.com/unexpectedjs/unexpected-mitm/commit/44d17d411a3288c9e04bad07de317d027f7c2341) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Travis: Don't bother with node 0.10, 0.12, 5, and 7 anymore](https://github.com/unexpectedjs/unexpected-mitm/commit/ae7284ab1a6019c4029cd7bd2b2144bd831b92e2) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Update author's email](https://github.com/unexpectedjs/unexpected-mitm/commit/48e4406360475721847f594a27939b26b41f59a5) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Only apply the workaround in fd34b9b to node 9.7.0 and above.](https://github.com/unexpectedjs/unexpected-mitm/commit/b79e1b1eb661c53bdbfbd0db5582b17c5997c17a) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Workaround an enumerable properties edge case in the test suite.](https://github.com/unexpectedjs/unexpected-mitm/commit/fd34b9b063f5b038305575efea7aaa65c68902f8) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [+1 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v10.2.1...v10.2.2) + +### v10.2.1 (2018-02-24) + +- [Update mitm-papandreou to 1.3.3-patch4](https://github.com/unexpectedjs/unexpected-mitm/commit/db533c16679dbf560ed87d65d385c2c9bab8942a) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Update mitm-papandreou to 1.3.3-patch3](https://github.com/unexpectedjs/unexpected-mitm/commit/1d52b20c9f027000d1a3cfbbd66d27c189ae7368) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) + +### v10.2.0 (2018-02-24) + +- [Update mitm-papandreou to 1.3.3-patch2 for node.js 9.6.0+ compat](https://github.com/unexpectedjs/unexpected-mitm/commit/d981d4d7398eb99af9a8b919df17e823b607268c) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Travis: Build with node.js 9](https://github.com/unexpectedjs/unexpected-mitm/commit/3e79146b66f8dcf37dddd41d69dc5de75f0f5c83) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) +- [Avoid a duplicated version check in a test.](https://github.com/unexpectedjs/unexpected-mitm/commit/9d593df545d05a4e2179c47cd64cdabae52c682a) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Test on node 8](https://github.com/unexpectedjs/unexpected-mitm/commit/a4f973aa77285d3d6f0ff04f81996d2b5fb1bc3f) ([Gustav Nikolaj Olsen](mailto:gno@one.com)) + +### v10.1.1 (2017-09-18) + +- [Update mitm-papandreou to 1.3.3-patch1](https://github.com/unexpectedjs/unexpected-mitm/commit/55456e5f09dd1ad1c20fc869aacd843857f6b854) ([Andreas Lind](mailto:andreas@one.com)) +- [Travis: Don't run "npm install -g npm && npm cache clean" before installing, that was a workaround for an ancient npm, and now it breaks](https://github.com/unexpectedjs/unexpected-mitm/commit/201543831fa3058cf9ff824225fab41a750c344b) ([Andreas Lind](mailto:andreas@one.com)) + +### v10.1.0 (2017-09-15) + +- [Add regression test for a bug that was fixed by updating unexpected-messy to 7.2.0+](https://github.com/unexpectedjs/unexpected-mitm/commit/d895a4e3821aa93932af70429578ff47c7b1bae1) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-messy to ^7.2.0](https://github.com/unexpectedjs/unexpected-mitm/commit/5bff0bbacb0ca842892d5ac6bd8d775ce9d777d3) ([Andreas Lind](mailto:andreas@one.com)) + +### v10.0.0 (2017-04-17) + +- [Fix overly specific expected error.](https://github.com/unexpectedjs/unexpected-mitm/commit/67acace147a8fbeedb653b927f109a188fe91f9b) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.5.1 (2017-04-11) + +- [Avoid instantiating messy.HttpResponse with an Error instance](https://github.com/unexpectedjs/unexpected-mitm/commit/529b6cf77e738eb5b34785371f6e51f5b62899d4) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.5.0 (2017-03-26) + +- [Update messy to 6.16.0 and unexpected-messy to 6.6.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/a172a94801e397da68c81f4d12ac593894150eea) ([Andreas Lind](mailto:andreas@one.com)) +- [Remove special casing of Buffer and string bodies now that messy handles it.](https://github.com/unexpectedjs/unexpected-mitm/commit/2465a4c425be5c7a299269bf786f4af41b45e73c) ([Andreas Lind](mailto:andreas@one.com)) +- [Update messy to ^6.14.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/f93229b402e0d17c14468c4f7ba80ed685e446f9) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.4.0 (2017-03-04) + +- [#28](https://github.com/unexpectedjs/unexpected-mitm/pull/28) Allow pushing more mocks ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.6 (2017-02-23) + +- [Travis: Build with node.js 7.](https://github.com/unexpectedjs/unexpected-mitm/commit/22b4a5334f4f2193b10902299b0c857d833a33d0) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.5 (2017-02-23) + +- [Update mitm-papandreou to 1.3.2-patch1.](https://github.com/unexpectedjs/unexpected-mitm/commit/47cc3f4637ce25a738a6f3659b63e69dd72a403b) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.4 (2016-10-18) + +- [Added ugly workaround for "phantom request events".](https://github.com/unexpectedjs/unexpected-mitm/commit/c290e72d262c15d0ff92ede061eeab390e576edd) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.3 (2016-10-17) + +- [Skip breaking custom Agent test with node.js 0.10.](https://github.com/unexpectedjs/unexpected-mitm/commit/78f21804615838e594ca8af269a2a7d3eac2c8e4) ([Andreas Lind](mailto:andreas@one.com)) +- [Only go through agent.freeSockets if the property exists \(it doesn't with node.js 0.10 and below\).](https://github.com/unexpectedjs/unexpected-mitm/commit/1628269d544f45db941d8a5f93e3127fe4a95b48) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.2 (2016-10-17) + +- [with http mocked out: Clean up the freeSockets arrays of Agents after the test.](https://github.com/unexpectedjs/unexpected-mitm/commit/52de58511c54f5e44ab5e7146cc36a69a4c7f875) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.3.1 (2016-10-17) + +- [Update mitm-papandreou to 1.3.1-patch1](https://github.com/unexpectedjs/unexpected-mitm/commit/881e04a0dbafa18394aef2cbd5a8e9bb5a5eda56) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.2.2 (2016-09-26) + +- [Address the case of the first chunk containing a portion of the body.](https://github.com/unexpectedjs/unexpected-mitm/commit/cc6000a60d768588b66465b9c023a1b494e31605) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Anchor the Content-Length regex thus hardening it against false positives.](https://github.com/unexpectedjs/unexpected-mitm/commit/f88158b2bedd600d277ffa5d0dde9f4a06711c1e) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Use the presence of Transfer-Encoding or Content-Length for body start.](https://github.com/unexpectedjs/unexpected-mitm/commit/191437a1c029ccf634ed3a55a71b572d626c420a) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Further harden tests so they check for an internally recorded response body.](https://github.com/unexpectedjs/unexpected-mitm/commit/57b53c455d9260f372d259e40e3eac095d385fd2) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Revert a bad change to isTrailerChunk\(\).](https://github.com/unexpectedjs/unexpected-mitm/commit/c7d4c110f0d68c97755a601bcd4dfc64b4690fd7) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v9.2.1 (2016-09-22) + +- [Test against the latest release of node 4.](https://github.com/unexpectedjs/unexpected-mitm/commit/95d6be4b88f64c75d9bf5682c93743d8c57156c9) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix observing a body in the case of a known length Buffer being sent.](https://github.com/unexpectedjs/unexpected-mitm/commit/7c368c89ab445dec05b85e65db35cabe815bf0fe) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v9.2.0 (2016-08-25) + +#### Pull requests + +- [#22](https://github.com/unexpectedjs/unexpected-mitm/pull/22) Filesystem Tests ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [#24](https://github.com/unexpectedjs/unexpected-mitm/pull/24) Serialize Buffer instances >32 chars as base64 to conserve space ([Andreas Lind](mailto:andreas@one.com)) +- [#19](https://github.com/unexpectedjs/unexpected-mitm/pull/19) with http mocked out: Wrong host, port, and Host header extracted from concurrent requests to different hosts ([Andreas Lind](mailto:andreas@one.com)) +- [#25](https://github.com/unexpectedjs/unexpected-mitm/pull/25) with http recorded: Preserve the fulfilment value of the assertion being delegated to ([Andreas Lind](mailto:andreas@one.com)) + +#### Commits to master + +- [Test, when injected becomes: Set expect.errorMode = 'nested' so the error isn't suppressed when it fails.](https://github.com/unexpectedjs/unexpected-mitm/commit/bc07b507ef4c9bf53ef018540375feeabb646686) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.7 (2016-08-24) + +- [Recording mode: Parse as JSON when C-T ends with +json, but preserve the actual header in the recording unless literally application\/json.](https://github.com/unexpectedjs/unexpected-mitm/commit/891ad63a81b095d914b7e6ffef415c77bbde17bf) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.6 (2016-08-21) + +#### Pull requests + +- [#18](https://github.com/unexpectedjs/unexpected-mitm/pull/18) with http recorded and injected: Support injecting into a compound assertion ([Andreas Lind](mailto:andreas@one.com)) + +#### Commits to master + +- [Use expect.promise.fromNode to simplify a test helper function.](https://github.com/unexpectedjs/unexpected-mitm/commit/ed588eec069e8e7e8cdea1aaba945d3cc437a6b6) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.5 (2016-08-19) + +- [Added test that fails without the ... finally ... construct.](https://github.com/unexpectedjs/unexpected-mitm/commit/50e130964ea31c111e42a0def0571a8711028061) ([Andreas Lind](mailto:andreas@one.com)) +- [Fix the case where signalling an error raises an exception.](https://github.com/unexpectedjs/unexpected-mitm/commit/5d7f104f64bdef0f64321e4698e490b43c1d561c) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix lint issue.](https://github.com/unexpectedjs/unexpected-mitm/commit/b84c1940bed38b5e6d5528b91b58f7fe1efbd5f2) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Consolidate the error handling caught blocks.](https://github.com/unexpectedjs/unexpected-mitm/commit/94796216a1c0c88cb05900e05617b6124a36a6de) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Ensure we have fully decoded the request in the no mock early exit case.](https://github.com/unexpectedjs/unexpected-mitm/commit/bd0a2afc108a7a44ab38c4518ee35d33a578e169) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [+2 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v9.1.4...v9.1.5) + +### v9.1.4 (2016-08-17) + +- [Switch back to the official mitm and update to 1.3.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/13810321f9cdfbb373742581c928ec34ee962384) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.3 (2016-08-16) + +- [Switch to mitm-papandreou while waiting for https:\/\/github.com\/moll\/node-mitm\/pull\/34](https://github.com/unexpectedjs/unexpected-mitm/commit/aa84751a1f7892a95537af5c24e6ac63e8a14fef) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.2 (2016-07-17) + +- [Fix request validation failure when faced with stubbed error handling.](https://github.com/unexpectedjs/unexpected-mitm/commit/a8e852370c0c554f0316c528adc3f6781c7a8d83) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Add test where the code being tested can ignore errors from the request and overcome having made an unexpected request.](https://github.com/unexpectedjs/unexpected-mitm/commit/7bb64c43b4373e87b02c4e5dd5bda9b5703cc0e2) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.1 (2016-07-16) + +- [trimMessage: Remove properties with undefined values from the recordings.](https://github.com/unexpectedjs/unexpected-mitm/commit/62a25586022068836154613a4a3536b1c0043bb4) ([Andreas Lind](mailto:andreas@one.com)) + +### v9.1.0 (2016-06-24) + +#### Pull requests + +- [#16](https://github.com/unexpectedjs/unexpected-mitm/pull/16) Mock verification ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +#### Commits to master + +- [Allow UNEXPECTED\_MITM\_VERIFY=true in the env to trigger verification.](https://github.com/unexpectedjs/unexpected-mitm/commit/983eef60c1d01b17aa405d81b7b41e21202a5ad2) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Travis: Build with node.js 6.](https://github.com/unexpectedjs/unexpected-mitm/commit/3ac7264a8e0e081c6f64d80f95ed69d0f651b27a) ([Andreas Lind](mailto:andreas@one.com)) +- [Add test that an error is injected.](https://github.com/unexpectedjs/unexpected-mitm/commit/33a8b62826119f615eeb303925b3e75383a5f7b7) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Add test that a textual UTF-8 body is injected as text.](https://github.com/unexpectedjs/unexpected-mitm/commit/9eb82aac343fdbad79f26cf52525fed708882d6a) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Remove an unused string conversion - this case already uses messy.](https://github.com/unexpectedjs/unexpected-mitm/commit/8d63b3c7d548c9e9417ccc50c5e6c6360b2de513) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [+3 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v9.0.3...v9.1.0) + +### v9.0.3 (2016-05-26) + +#### Pull requests + +- [#14](https://github.com/unexpectedjs/unexpected-mitm/pull/14) Only include relevant filed in npm package ([Peter Müller](mailto:munter@fumle.dk)) + +#### Commits to master + +- [Extensively document nuances of the unexpected requests handling.](https://github.com/unexpectedjs/unexpected-mitm/commit/73ba503a4057e500950c7e928af705cdfec56ce6) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v9.0.2 (2016-04-16) + +- [Documentation: Mark injection example as \#evaluate:false so unexpected-mitm does not attempt to patch up the .md file.](https://github.com/unexpectedjs/unexpected-mitm/commit/62addf209e1185744a7ffe431c3b0a0d1c9f7283) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected to 10.13.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/15532975856de89626167acbaa13dba6d0b8947c) ([Andreas Lind](mailto:andreas@one.com)) +- [Test that the passed requestDescriptions array is not mangled.](https://github.com/unexpectedjs/unexpected-mitm/commit/f1b0f906709644a109628e11caa03b94d29f97ee) ([Andreas Lind](mailto:andreas@one.com)) +- [eslint: force es5 parser mode](https://github.com/unexpectedjs/unexpected-mitm/commit/b9f85244964dc6f29ea5384d6d6f366710c2f80c) ([Gustav Nikolaj Olsen](mailto:gno@one.com)) + +### v9.0.1 (2016-04-09) + +- [Use the newest documentation site generator](https://github.com/unexpectedjs/unexpected-mitm/commit/6285df4d038f5081441686f3d50bd7a35c146cf0) ([Sune Simonsen](mailto:sune@we-knowhow.dk)) + +### v9.0.0 (2016-04-01) + +#### Pull requests + +- [#11](https://github.com/unexpectedjs/unexpected-mitm/pull/11) Enable pipe in response functions ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [#9](https://github.com/unexpectedjs/unexpected-mitm/pull/9) add eslint and use the onelint shared configuration ([Gustav Nikolaj Olsen](mailto:gno@one.com)) +- [#10](https://github.com/unexpectedjs/unexpected-mitm/pull/10) add editorconfig ([Gustav Nikolaj Olsen](mailto:gno@one.com)) +- [#6](https://github.com/unexpectedjs/unexpected-mitm/pull/6) Promisify consumeReadableStream and getMockResponse ([Andreas Lind](mailto:andreas@one.com)) +- [#7](https://github.com/unexpectedjs/unexpected-mitm/pull/7) Replace Istanbul with NYC ([Andreas Lind](mailto:andreas@one.com)) + +#### Commits to master + +- [Bump unexpected-http to 5.4.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/8360487ebd08027cd8b96f9c9b2ce90b050e1eaf) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Address output niggles in the unable to find injection point failure case.](https://github.com/unexpectedjs/unexpected-mitm/commit/bab2d9836b7bec3fb4582c22e07ed249124fdbcd) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Document "with http recorded" including the "and injected" flag.](https://github.com/unexpectedjs/unexpected-mitm/commit/8e3fbd791af28ceafa4759777fecaf005fb369e1) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix single line incantations of "with http recorded and injected".](https://github.com/unexpectedjs/unexpected-mitm/commit/682a9436793a957069ec577e4d565592046e8ad8) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Fix buffer injections.](https://github.com/unexpectedjs/unexpected-mitm/commit/61b79df33fad49fe1222f80c907d8b7927189acc) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [+38 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v8.2.0...v9.0.0) + +### v8.2.0 (2016-01-25) + +- [Fixed propagation of errors that may occur after some data is received on the response stream.](https://github.com/unexpectedjs/unexpected-mitm/commit/58c0bdb5799b491cc7d19586766027e44e7bc979) ([Joel Mukuthu](mailto:jmu@one.com)) +- [Update unexpected to 10.6.1 and unexpected-sinon to 10.0.0, use more liberal version ranges.](https://github.com/unexpectedjs/unexpected-mitm/commit/372075dcb50f406fab31c24bb881e2b876cdc4e1) ([Andreas Lind](mailto:andreas@one.com)) +- [Test: Expect an error in addition to a partial response.](https://github.com/unexpectedjs/unexpected-mitm/commit/c5baa3974c0b009a4548e8469945f4b8d10c5e5a) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 5.1.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/47f2a92d552f229d3d1c33f493007c730051e566) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed accidentally committed experiment.](https://github.com/unexpectedjs/unexpected-mitm/commit/a011c2c15e45e144cab25bd351b715c141627606) ([Andreas Lind](mailto:andreas@one.com)) +- [+4 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v8.1.1...v8.2.0) + +### v8.1.1 (2015-11-25) + +- [Parse the port of the hijacked request to integer, as it's not forbidden to specify it as a string](https://github.com/unexpectedjs/unexpected-mitm/commit/18b33c8ed42e09f86d05c6386351fc0dd2bd852c) ([Maarten Winter](mailto:mw@one.com)) + +### v8.1.0 (2015-11-25) + +- [#2](https://github.com/unexpectedjs/unexpected-mitm/pull/2) Depend on temporary mitm-mwoc fork of mitm, which has two fixes for event timing ([Maarten Winter](mailto:mw@one.com)) + +### v8.0.0 (2015-10-08) + +- [Update unexpected to 10 + plugins.](https://github.com/unexpectedjs/unexpected-mitm/commit/ffba8974d3510b3c6c65c5431ec216cb86836d4e) ([Andreas Lind](mailto:andreas@one.com)) +- [Adopt new Unexpected 10 syntax.](https://github.com/unexpectedjs/unexpected-mitm/commit/d20c612f8395996233d98405ef00e89191d7df5b) ([Andreas Lind](mailto:andreas@one.com)) +- [Update to unexpected v10's addAssertion syntax \[ci skip\].](https://github.com/unexpectedjs/unexpected-mitm/commit/f304f4d3c22a5f2d83b8b106450a5bf699e645f2) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected to 9.16.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/07d454bc0eccf61589742118100a66a5fc09f2ab) ([Andreas Lind](mailto:andreas@one.com)) +- [Fix tests on node.js 4.](https://github.com/unexpectedjs/unexpected-mitm/commit/1ab855fe69b484def131de1c7f5c2a79987aa0f1) ([Andreas Lind](mailto:andreas@one.com)) +- [+3 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v7.7.3...v8.0.0) + +### v7.7.3 (2015-09-18) + +- [Also avoid the "missing identify" error with the overriddenError type.](https://github.com/unexpectedjs/unexpected-mitm/commit/e5ae8930f2c00587295504fc369bb3e65f6d35ae) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.7.2 (2015-09-17) + +- [Don't rely on the identify function automatically inheriting from the base type.](https://github.com/unexpectedjs/unexpected-mitm/commit/5f08c80b0b214c7caad3085a23d21ad0716ddcc9) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed some tests.](https://github.com/unexpectedjs/unexpected-mitm/commit/a9533a3acfe2ba3c4c27af0f23aec5d965f9f4e6) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.7.1 (2015-09-10) + +- [Update unexpected to 9.10.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/a4c16e0ceeb859f59169a0a5c37931f05d953863) ([Andreas Lind](mailto:andreas@one.com)) +- [Fix detection of when to expect a request Content-Type of JSON.](https://github.com/unexpectedjs/unexpected-mitm/commit/1868355a5788a643a319ac1620a1a69cbf8f55b4) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected to 9.9.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/f516a19415186b5a6813da76a332c3a2c01770dd) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed tests with node.js 0.12.](https://github.com/unexpectedjs/unexpected-mitm/commit/4447faa7634464effdbd7109598523311c302a97) ([Andreas Lind](mailto:andreas@one.com)) +- [Travis: Build on node.js 0.12 and io.js 3.0.0 as well](https://github.com/unexpectedjs/unexpected-mitm/commit/ecaa62029bfff9a687c9f2fa6678a665cd74dc50) ([Andreas Lind](mailto:andreas@one.com)) +- [+4 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v7.7.0...v7.7.1) + +### v7.7.0 (2015-08-08) + +- [Update unexpected-messy to 4.8.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/15dab6e1ecdb68abaab3ea6c525b1bbb62d71cac) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 4.8.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/02842838687c1017ea0405052750d4621efd481c) ([Andreas Lind](mailto:andreas@one.com)) +- [Include a version field in the plugin spec.](https://github.com/unexpectedjs/unexpected-mitm/commit/dd46aadeea5491d12d02c01dbc6aadb8a6ea9984) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected to 9.5.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/a93c87b028f017bca032bb286a3afd8213fb9265) ([Andreas Lind](mailto:andreas@one.com)) +- [Revert "Turns out that didn't work in npm 2 :\("](https://github.com/unexpectedjs/unexpected-mitm/commit/0cc64b4c120c3a97869a1c5df0d9c9426668ccd9) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.6.1 (2015-08-05) + +- [Turns out that didn't work in npm 2 :\(](https://github.com/unexpectedjs/unexpected-mitm/commit/dc597572cf0635ff28d04e1796ee960b60b3b6e6) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.6.0 (2015-08-05) + +- [package.json: Add repository field.](https://github.com/unexpectedjs/unexpected-mitm/commit/b294a3bcbed8a4fc2985e79e06c21a491bc2896f) ([Andreas Lind](mailto:andreas@one.com)) +- [package.json: Add author field.](https://github.com/unexpectedjs/unexpected-mitm/commit/9f5430d52dbb78c2da8506f2e3467f4bc2cfe3e7) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-messy to 4.7.0 and messy to 6.6.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/38995c71e0eda2acc5190799866772130fcb9031) ([Andreas Lind](mailto:andreas@one.com)) +- [Don't fail the build when coveralls is down.](https://github.com/unexpectedjs/unexpected-mitm/commit/a385e177b537121fe23d0419aed5266e6259a6d3) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.5.1 +- [Don't discard the port when the expected request url includes it.](https://github.com/unexpectedjs/unexpected-mitm/commit/f2fb82c0951c359d03429df5758e477d9013ab3f) ([Andreas Lind](mailto:andreas@one.com)) +- [Don't discard the host when the expected request url includes it.](https://github.com/unexpectedjs/unexpected-mitm/commit/56fcd361397858d176d2e9352f14931d7fa740c8) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.5.0 (2015-07-23) + +- [Preserve the original serialization of response body JSON provided as a string.](https://github.com/unexpectedjs/unexpected-mitm/commit/4282f3d5bbac9c74c63548b40423eb31407ab465) ([Andreas Lind](mailto:andreas@one.com)) +- [Added pending test.](https://github.com/unexpectedjs/unexpected-mitm/commit/097b51959bdca145f3128de47e006f5b90ad0502) ([Andreas Lind](mailto:andreas@one.com)) +- [jshint](https://github.com/unexpectedjs/unexpected-mitm/commit/84a92e0299c17c8ec4620c5b25c1e2e285e63eb5) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.4.1 (2015-07-10) + +- [Don't overwrite an explicitly defined Host header in the expected request properties.](https://github.com/unexpectedjs/unexpected-mitm/commit/79e03643d6605f54822de23006887c3929463189) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.4.0 (2015-07-08) + +- [Update messy and unexpected-messy.](https://github.com/unexpectedjs/unexpected-mitm/commit/23ea0a5f4e271a8c9985506fd14c3c1b5f77e1b7) ([Andreas Lind](mailto:andreas@one.com)) +- [Added another test of unexercised requests.](https://github.com/unexpectedjs/unexpected-mitm/commit/4fbe479ace2e4595fb33a618533eec283aaa1618) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.3.0 (2015-07-06) + +- [Update dependencies.](https://github.com/unexpectedjs/unexpected-mitm/commit/130f2b0e6fbeab1fbf79c4bcb4be1a533727b04d) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.2.0 (2015-07-03) + +- [Accept unexpected v9](https://github.com/unexpectedjs/unexpected-mitm/commit/a3fba09507baaff59c8265ccbc5f8c8626a0ba51) ([Sune Simonsen](mailto:sune@we-knowhow.dk)) + +### v7.1.1 (2015-06-27) + +- [Remove content type alteration in response functions found to be unneeded.](https://github.com/unexpectedjs/unexpected-mitm/commit/8f28b4743f7dcda23e06218f4e65df92e00ff270) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v7.1.0 (2015-06-24) + +- [Update unexpected to 8.5.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/b551073cdad4280a85bfb5cb34ad4853fae90bca) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.0.2 (2015-06-24) + +- [Don't throw away the resolved value of the assertion being delegated to.](https://github.com/unexpectedjs/unexpected-mitm/commit/90f1898daff7d301c9cbdeaa648dbfff8b5be645) ([Andreas Lind](mailto:andreas@one.com)) + +### v7.0.1 (2015-06-23) + +- [Don't break when the mock response is passed as an Error instance.](https://github.com/unexpectedjs/unexpected-mitm/commit/5fac4e3fdee818faeb7964a9a8a27c0552d258a3) ([Andreas Lind](mailto:andreas@one.com)) +- [Use messy for parsing some of the HttpResponse shorthands.](https://github.com/unexpectedjs/unexpected-mitm/commit/e87f63dbb32782d3c1e9a9869bed48d41e791112) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed redundant 'encrypted' property when instantiating messy.HttpRequest.](https://github.com/unexpectedjs/unexpected-mitm/commit/3a8f7a0438096e8d47bd2c3662690e099125e3bf) ([Andreas Lind](mailto:andreas@one.com)) +- [Update messy to 6.3.0, and update unexpected-\* as well.](https://github.com/unexpectedjs/unexpected-mitm/commit/864dca288559d271a4fc5aa7e3dbd0de7343235b) ([Andreas Lind](mailto:andreas@one.com)) + +### v6.1.0 (2015-06-17) + +#### Pull requests + +- [#1](https://github.com/unexpectedjs/unexpected-mitm/pull/1) Dynamic response ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +#### Commits to master + +- [Add response function documentation to README.](https://github.com/unexpectedjs/unexpected-mitm/commit/ab3a9d1ba6269f9f9b5b90b888ca62068b35ed5a) ([Alex J Burke](mailto:alex@alexjeffburke.com)) +- [Document complex semantics in the code supporting response functions.](https://github.com/unexpectedjs/unexpected-mitm/commit/091e7b23316ab7b9f706866cd88bd6431fbadcad) ([Alex J Burke](mailto:alex@alexjeffburke.com)) + +### v6.0.0 (2015-06-10) + +- [Test: Adapt expected error messages to unexpected-http changes.](https://github.com/unexpectedjs/unexpected-mitm/commit/6fc8a09566b85edce0c5142b1e99572199b12bff) ([Andreas Lind](mailto:andreas@one.com)) +- [Update dependencies for Unexpected 8 compatibility.](https://github.com/unexpectedjs/unexpected-mitm/commit/7648220ee61257510e8c48ff571494b6127f1868) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed bug introduced in 826e896](https://github.com/unexpectedjs/unexpected-mitm/commit/9aa8bd40baab6a69e905aba40052d828ba7e0b98) ([Andreas Lind](mailto:andreas@one.com)) +- [Use messy.Message.hasTextualContentType \(available since messy 4.0.0\) instead of including a separate implementation.](https://github.com/unexpectedjs/unexpected-mitm/commit/826e8960f6f1dfd0b15781e6ea236841fe123581) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.4.0 (2015-05-13) + +- [Fixed recording of client certificates.](https://github.com/unexpectedjs/unexpected-mitm/commit/24de7f00ed3ed82d1c4306fc218b80291e3a58e2) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.3.0 (2015-05-13) + +- [Update unexpected to 7.2.0 and avoid using a space in a custom type name, as that's now prohibited.](https://github.com/unexpectedjs/unexpected-mitm/commit/7e8d94840095c5378ac524dfa80889431831ee51) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.2.1 (2015-05-12) + +- [jshint.](https://github.com/unexpectedjs/unexpected-mitm/commit/c4860c8c2449fa7895e9221ddd596613cb69609c) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.2.0 (2015-05-12) + +- [Don't get stuck in the serialized request handler when a mocked out request follows a socket error.](https://github.com/unexpectedjs/unexpected-mitm/commit/2fa84525a0865ebaba908b585f85f40a9d21cb0c) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed jshint complaint.](https://github.com/unexpectedjs/unexpected-mitm/commit/a735f7ec716d5fceaef90616cd866e0bf9b14b9a) ([Andreas Lind](mailto:andreas@one.com)) +- [Test that a mock response body given as a stream that emits an error will cause that error to be emitted.](https://github.com/unexpectedjs/unexpected-mitm/commit/d0a36c74dfb7874a5bdad646b7f9bca06e689229) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 3.0.2.](https://github.com/unexpectedjs/unexpected-mitm/commit/2968edf2d93a85658b75e0f6bfc44b881fb24673) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected to 7.0.5.](https://github.com/unexpectedjs/unexpected-mitm/commit/bab849517b618a85a5f67a98876ca3682b707031) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.1.0 (2015-04-26) + +- [Switch back to the official mitm module.](https://github.com/unexpectedjs/unexpected-mitm/commit/79a0139316aff7cd999c15a0b2e681102910c2d9) ([Andreas Lind](mailto:andreas@one.com)) +- [README: Added a slightly better example.](https://github.com/unexpectedjs/unexpected-mitm/commit/478a94188f50840b457f61f8864fa1b84a4e1b73) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.0.4 (2015-04-23) + +- [Update unexpected-messy to 3.0.3.](https://github.com/unexpectedjs/unexpected-mitm/commit/7e05668ba5a785b639ffd5c1b8b92d8cf6e748db) ([Andreas Lind](mailto:andreas@one.com)) +- [Restore the ability to mock out JSON responses with invalid JSON.](https://github.com/unexpectedjs/unexpected-mitm/commit/19238ee9243fecac6a0bb08dd6322cb4c51bc39b) ([Andreas Lind](mailto:andreas@one.com)) +- [Don't mangle binary response bodies.](https://github.com/unexpectedjs/unexpected-mitm/commit/a2e9ef6840e28a6cc8db8e731f51aafbe35e6e93) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed accidentally committed npm-debug.log.](https://github.com/unexpectedjs/unexpected-mitm/commit/f8b98773299450939c3395e59eda4d7e85db8fec) ([Andreas Lind](mailto:andreas@one.com)) +- [README: Use SVG badges.](https://github.com/unexpectedjs/unexpected-mitm/commit/d6865c65918f37affba171d2a67f0b22d7814263) ([Andreas Lind](mailto:andreas@one.com)) +- [+1 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v5.0.2...v5.0.4) + +### v5.0.2 (2015-04-17) + +- [Fixed output tests.](https://github.com/unexpectedjs/unexpected-mitm/commit/d5de07519b3bd41ac8606a9d4c3738c5a5c2aa7d) ([Andreas Lind](mailto:andreas@one.com)) +- [jshint.](https://github.com/unexpectedjs/unexpected-mitm/commit/458bad9746c9a52b6cdc3c4ea3712cf76cc163c5) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 3.0.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/c1b730ec93063497c7e18e6c0c2355547c073f5b) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.0.1 (2015-04-17) + +- [Update unexpected-messy to 3.0.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/36e9682d76a341ac8ad385b91d8e2f08a9dbb031) ([Andreas Lind](mailto:andreas@one.com)) + +### v5.0.0 (2015-04-17) + +- [Update messy, unexpected, unexpected-http, and unexpected-messy.](https://github.com/unexpectedjs/unexpected-mitm/commit/ed5a44b7b6d7a645cb82e7176740f9bea1a85c1c) ([Andreas Lind](mailto:andreas@one.com)) + +### v4.0.1 (2015-03-22) + +- [Fixed messy dependency.](https://github.com/unexpectedjs/unexpected-mitm/commit/d7b79e2cdbfd01846ca75f53f6a0348e6ba4e8a2) ([Andreas Lind](mailto:andreas@one.com)) + +### v4.0.0 (2015-03-22) + +- [Update messy to 5.0.1 and unexpected-messy to 2.16.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/e2f448d35b4c48a37d848c166a7776ed276771ef) ([Andreas Lind](mailto:andreas@one.com)) + +### v3.0.0 (2015-03-12) + +- [Update unexpected-http and make unexpected-messy a peer dependency.](https://github.com/unexpectedjs/unexpected-mitm/commit/66e8125af73351df8c9dccd7c95416809b61cd91) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.4.1 (2015-03-12) + +- [Update unexpected to 6.3.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/0c9ba1f4ed32c0d6ba5ddf9d62d628625ef0f8a9) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-messy to 2.14.0.](https://github.com/unexpectedjs/unexpected-mitm/commit/f8502bf2215258e36c0094dc1e4984ea74c0e753) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.4.0 (2015-03-04) + +- [Improve the output when mocked out HTTP exchanges are not exercised.](https://github.com/unexpectedjs/unexpected-mitm/commit/f596f7eb2d5a50311d898430eddd2f366576fb54) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.3.4 (2015-03-04) + +- [Prevent recordedExchanges from being interpreted as an error arg](https://github.com/unexpectedjs/unexpected-mitm/commit/4938fbfaf56d7e67b748507a0581db4ebb46cda3) ([Andreas Lind](mailto:andreas@one.com)) +- [Do not mangle the expected request properties when it is provided as an object.](https://github.com/unexpectedjs/unexpected-mitm/commit/c62e692b2a16daa5f38820d3886b7886ad0533b8) ([Andreas Lind](mailto:andreas@one.com)) +- [Improve output when there are unexercised mocked out exchanges after the test ends.](https://github.com/unexpectedjs/unexpected-mitm/commit/009511aee4c123f7883dfe3b83ccf4648bf33002) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed references to old project location](https://github.com/unexpectedjs/unexpected-mitm/commit/eb581ecf3289da0e885e620d7cfee6b035184007) ([Sune Simonsen](mailto:sune@we-knowhow.dk)) +- [jshint fix.](https://github.com/unexpectedjs/unexpected-mitm/commit/c4d648c554fd95df87873baab956bce7babced28) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.3.3 (2015-03-03) + +- [Recording mode: Fixed the search regexp after 'and injected' was added to the assertion name.](https://github.com/unexpectedjs/unexpected-mitm/commit/d0ec0d48b74f7b03a035527dbb657cf5b86af41f) ([Andreas Lind](mailto:andreas@one.com)) +- [Recording mode: Output the recorded data and a warning if the right place to patch the source file cannot be found.](https://github.com/unexpectedjs/unexpected-mitm/commit/1e1f996e469e6f06d4fa57f80c918bc39c1cc665) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.3.2 (2015-03-03) + +- [Upgraded dependencies for the new unexpected v6](https://github.com/unexpectedjs/unexpected-mitm/commit/a26f85cedf8c6333d88fd2f1d2f54b326a956b9a) ([Sune Simonsen](mailto:sune@we-knowhow.dk)) +- [More refactoring.](https://github.com/unexpectedjs/unexpected-mitm/commit/1c1dee6c8693fa85c064c2f5213c5e8a96123018) ([Andreas Lind](mailto:andreas@one.com)) +- [Refactor.](https://github.com/unexpectedjs/unexpected-mitm/commit/2e4807a75f6f1f70a851cfb1d081f9b974ad8cb8) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed jshint.](https://github.com/unexpectedjs/unexpected-mitm/commit/51f564ca1e762e58419773bf0118e6f817561eaa) ([Andreas Lind](mailto:andreas@one.com)) +- [Run recording tests against a local server.](https://github.com/unexpectedjs/unexpected-mitm/commit/f83da572166d8dc0a5f196f03c1d9bfb44717b1a) ([Andreas Lind](mailto:andreas@one.com)) +- [+3 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v2.3.1...v2.3.2) + +### v2.3.1 (2015-02-20) + +- [Recording mode: Pass on the status code and record it if it isn't 200 \(whoops\).](https://github.com/unexpectedjs/unexpected-mitm/commit/440a475f7b244659d4bdd3292083601315f7e918) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.3.0 (2015-02-19) + +- [Get ca\/cert\/key directly from the connect options, and fall back to getting them from the agent.](https://github.com/unexpectedjs/unexpected-mitm/commit/0885f2664301bf8ef09cb69a475cdf6f5b3561b6) ([Andreas Lind](mailto:andreas@one.com)) +- [Hack: Include 'new' when inspecting Buffer instances.](https://github.com/unexpectedjs/unexpected-mitm/commit/5bb5419f64e70f170735d3abd667a87201614da9) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.2.0 (2015-02-18) + +- [Record client certificate etc.](https://github.com/unexpectedjs/unexpected-mitm/commit/b664818fc832c311c3b3147bc820e701ead583be) ([Andreas Lind](mailto:andreas@one.com)) +- [Support asserting on a request's cert\/key\/ca \(client certificate\).](https://github.com/unexpectedjs/unexpected-mitm/commit/b2fbe2ca8fcb8a181e2d22fcd55157a926abde73) ([Andreas Lind](mailto:andreas@one.com)) +- [It shouldn't be necessary to snapshot the HttpConversation instance or the spec object now that requests are serialized.](https://github.com/unexpectedjs/unexpected-mitm/commit/2cd5e4f6195f95c0d22d8d686492c61a34fb78d7) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.1.1 (2015-02-18) + +- [Don't break when the assertion being delegated to throws synchronously.](https://github.com/unexpectedjs/unexpected-mitm/commit/33c9d7332def357139eb44b65b878232050c938c) ([Andreas Lind](mailto:andreas@one.com)) +- [Try to fix the Travis build.](https://github.com/unexpectedjs/unexpected-mitm/commit/8f8b87509c55a2cf26a6f185e0caef3d2ad23f79) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.1.0 (2015-02-16) + +- [Fixed recording and playback of errors.](https://github.com/unexpectedjs/unexpected-mitm/commit/7fc87c5050ca0e1b1235ab95ff4c3125e7eb4d8d) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 1.7.1.](https://github.com/unexpectedjs/unexpected-mitm/commit/5fcdb4dba90b8e4a1f1204a93418d01a83c335db) ([Andreas Lind](mailto:andreas@one.com)) + +### v2.0.0 (2015-02-13) + +- [Fixed grammar in test description.](https://github.com/unexpectedjs/unexpected-mitm/commit/cbc4c851e122365bf3f3eb70ce0f48d31a349790) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.4.1 (2015-02-11) + +- [Whoops, don't swallow an error passed to the callback by the assertion we're delegating to.](https://github.com/unexpectedjs/unexpected-mitm/commit/17b8cd4638a0f201f8809dad5c4c3a4e4606dd87) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.4.0 (2015-02-10) + +- [Fixed jshint.](https://github.com/unexpectedjs/unexpected-mitm/commit/0439a91dd1cc8e182f9f087e3a075a1d55cfa7b8) ([Andreas Lind](mailto:andreas@one.com)) +- [Produce better output when the test issues more requests than have been mocked out.](https://github.com/unexpectedjs/unexpected-mitm/commit/2fc73738d46b54db192171006d0dfa4c74ba5953) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.3.0 (2015-02-10) + +- [Support a shorthand for specifying expected request bodies and mock response bodies as JSON.](https://github.com/unexpectedjs/unexpected-mitm/commit/9623f45ccd3f2c1bb8c3afb5b03c4551580d04ba) ([Andreas Lind](mailto:andreas@one.com)) +- [Set the errorMode to nested before expecting the 'done' callback to be a function.](https://github.com/unexpectedjs/unexpected-mitm/commit/9959fac124a89b94c1bbaa47ff2e5f6675c137a3) ([Andreas Lind](mailto:andreas@one.com)) +- [Added shorthand for mocking out a JSON response.](https://github.com/unexpectedjs/unexpected-mitm/commit/17c89a178b54c9554712bc65d3b9324e68dfd095) ([Andreas Lind](mailto:andreas@one.com)) +- [Update unexpected-http to 1.7.0 and unexpected-messy to 2.10.0 and clear up dependencies vs. devDependencies problem.](https://github.com/unexpectedjs/unexpected-mitm/commit/ffc7a47e7d46809e08f2ccc8e20f0596c36241c1) ([Andreas Lind](mailto:andreas@one.com)) +- [Output the entire HTTP conversation when expectations aren't met.](https://github.com/unexpectedjs/unexpected-mitm/commit/487c1ae117029fda9b87e19b7bceffe52cd9eab9) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.2.0 (2015-02-09) + +- [Enable the tests that check the encrypted flag.](https://github.com/unexpectedjs/unexpected-mitm/commit/f1d1826ecc07faf8a34b5e322c4e216668b1cbcf) ([Andreas Lind](mailto:andreas@one.com)) +- [Switch to mitm-papandreou@1.0.3-patch1.](https://github.com/unexpectedjs/unexpected-mitm/commit/e1336e5eef0bcd770f97e8ba5189deae49109697) ([Andreas Lind](mailto:andreas@one.com)) +- [Test that we get an error when the test issues more requests than has been mocked.](https://github.com/unexpectedjs/unexpected-mitm/commit/73798bcd5cd3bd70257cf531c6792d89f3a2d17f) ([Andreas Lind](mailto:andreas@one.com)) +- [Test that we get an error if the test ends with leftover mocked out requests.](https://github.com/unexpectedjs/unexpected-mitm/commit/128f5a0ef3e87c6ac7fdc9019a663e72e56cea70) ([Andreas Lind](mailto:andreas@one.com)) +- [Added coveralls dependency.](https://github.com/unexpectedjs/unexpected-mitm/commit/0c9be3789be661eb50ecceaabfa8f537f0043142) ([Andreas Lind](mailto:andreas@one.com)) +- [+1 more](https://github.com/unexpectedjs/unexpected-mitm/compare/v1.1.2...v1.2.0) + +### v1.1.2 (2015-02-06) + +- [Don't request any assertions on the request.](https://github.com/unexpectedjs/unexpected-mitm/commit/28dfa9508b57981a35c33ba4e68f024fba84485d) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.1.1 (2015-02-06) + +- [Fixed mocking out the response status code.](https://github.com/unexpectedjs/unexpected-mitm/commit/d29c0d33d1f6d8df5aac09647780b3b420b9c349) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed code with no effect.](https://github.com/unexpectedjs/unexpected-mitm/commit/4df4d5bad9e4ae2c150e1aa8f364bd26d4c4fa21) ([Andreas Lind](mailto:andreas@one.com)) +- [Removed unused var.](https://github.com/unexpectedjs/unexpected-mitm/commit/58b521b4fc34d1705a8c1d9d796ed38e78887ac7) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.1.0 (2015-02-06) + +- [Promote mitm to a real dependency. It seems unlikely that users will want their own version.](https://github.com/unexpectedjs/unexpected-mitm/commit/7578592233ebdc8947749454df58fff35c214fda) ([Andreas Lind](mailto:andreas@one.com)) +- [Added .travis.yml](https://github.com/unexpectedjs/unexpected-mitm/commit/8bb02051d39bdc9519750c6723fb8332d690760d) ([Andreas Lind](mailto:andreas@one.com)) +- [Moved logo image to the top.](https://github.com/unexpectedjs/unexpected-mitm/commit/b3e47260fba95aaba641c1fcf8d977b87b768c45) ([Andreas Lind](mailto:andreas@one.com)) +- [Fixed logo image ref.](https://github.com/unexpectedjs/unexpected-mitm/commit/08a71ce992cff9b714c2f343276b8a7729364df9) ([Andreas Lind](mailto:andreas@one.com)) + +### v1.0.0 +- [Initial commit, 1.0.0](https://github.com/unexpectedjs/unexpected-mitm/commit/e86dfbcd2a7491f715c06da888df950f942e8a2c) ([Andreas Lind](mailto:andreas@one.com)) + diff --git a/package.json b/package.json index 03910dd..3bf759a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unexpected-mitm", - "version": "13.3.1", + "version": "14.0.0", "description": "Unexpected plugin for the mitm library", "author": "Andreas Lind ", "repository": {