v13.1.0 (2022-12-23)
Pull requests
- #853 Upgrade ukkonen to version 2.1.0 (depfu[bot])
Commits to master
v13.0.1 (2022-08-22)
Pull requests
- #852 Fix bug that caused expect({foo: 123}, 'to satisfy', {foo: undefined}) to pass (Andreas Lind)
Commits to master
- Fix CHANGELOG generation in preversion script now that an npm env var changed (Andreas Lind)
- Unskip test that succeeds now we treat functions as objects (Andreas Lind)
- Fix typos in test descriptions (Andreas Lind)
v13.0.0 (2022-04-26)
Pull requests
- #820 Upgrade eslint-plugin-markdown to version 2.2.1 (Andreas Lind, depfu[bot])
- #847 Upgrade jasmine to version 3.99.0 (depfu[bot])
- #851 Inspect BigInts as
123n
instead ofBigInt\(123\)
(Andreas Lind) - #782 Remove legacy support for addAssertion without a subject type (Andreas Lind)
- #781 to satisfy: Disallow satisfying against a non-plain object (Andreas Lind)
- #785 Add the parent expect to the prototype chain of a child expect (Andreas Lind)
Commits to master
- Add release notes (Andreas Lind)
- Apply the jasmine patch for 4.x as well (Andreas Lind)
- Expect jasmine to exit with 3 when tests have failed https://github.com/jasmine/jasmine-npm/blob/main/release_notes/4.0.0.md#breaking-changes (Andreas Lind)
- Update jasmine to ^4.1.0 (Andreas Lind)
- Drop support for node.js 10 and 12, add 16 (Andreas Lind)
- +6 more
v12.0.4 (2022-02-22)
- #850 Always escape special characters in string diffs (Andreas Lind)
- #848 Upgrade jasmine-core to version 4.0.0 (depfu[bot])
- #843 Upgrade eslint-plugin-mocha to version 10.0.1 (depfu[bot])
- #840 Upgrade prettier to version 2.5.0 (depfu[bot])
- #839 Upgrade karma to version 6.3.9 (depfu[bot])
- #838 Upgrade karma to version 6.3.8 (depfu[bot])
- #837 Upgrade karma to version 6.3.7 (depfu[bot])
- #836 Upgrade karma to version 6.3.6 (depfu[bot])
- #835 Upgrade eslint to version 8.1.0 (depfu[bot])
- #834 Upgrade hyperlink to version 5.0.0 (depfu[bot])
- #833 Upgrade karma to version 6.3.5 (depfu[bot])
- #819 Upgrade prettier to version 2.4.0 (depfu[bot])
- #816 Upgrade jasmine to version 3.9.0 (depfu[bot])
- #815 Upgrade jasmine to version 3.8.0 (depfu[bot])
- #812 Upgrade karma to version 6.3.4 (depfu[bot])
- #810 Upgrade karma to version 6.3.3 (depfu[bot])
- #808 Upgrade eslint-plugin-mocha to version 9.0.0 (depfu[bot])
v12.0.3 (2021-05-13)
- Update magicpen to ^6.2.4 (Andreas Lind)
- Attempt to repair BrowserStack PR build matching for Github Actions. (Alex J Burke)
- Fix test status link. (Alex J Burke)
- Sync the set of badges in the README with the docs index page. (Alex J Burke)
- Adapt a linting exception to prettier's insistence on line breaking. (Alex J Burke)
- +2 more
v12.0.2 (2021-05-07)
v12.0.1 (2021-04-29)
Pull requests
- #798 Upgrade jasmine to version 3.7.0 (depfu[bot])
- #800 Upgrade karma to version 6.3.2 (depfu[bot])
- #802 Upgrade eslint-plugin-promise to version 5.1.0 (depfu[bot])
- #801 Upgrade eslint-plugin-markdown to version 2.0.1 (depfu[bot])
- #780 Add unexpected-snapshot to the plugins page (Sune Simonsen)
- #779 Upgrade eslint-config-prettier to version 7.0.0 (depfu[bot])
- #778 Upgrade eslint-plugin-standard to version 5.0.0 (depfu[bot])
- #777 Restore coverage upload via GitHub action (Alex J Burke)
- #776 Upgrade prettier to version 2.2.0 (depfu[bot])
Commits to master
- Remove david-dm dependency status badge that's throwing 500/503 (Andreas Lind)
- Revert "Update offline-github-changelog to ^2.0.0" (Andreas Lind)
- Update magicpen to ^6.2.2 (Andreas Lind)
- Bring in fugl 2. (Alex J Burke)
- Revert "Merge pull request #801 from unexpectedjs/depfu/update/npm/eslint-plugin-markdown-2.0.1" (Alex J Burke)
- +10 more
v12.0.0 (2020-11-19)
Pull requests
- #773 Require node.js 10+, update dependencies (Alex J Burke, Andreas Lind, Andreas Lind)
- #775 GitHub actions rebased on the node.js 10 branch (Alex J Burke, Andreas Lind)
Commits to master
v11.15.1 (2020-11-18)
- #771 Fix expect.hook/expect.clone interaction (Andreas Lind)
- #772 Inspect Date instances as ISO strings instead of the longer format that includes the weekday (Andreas Lind)
- #757 Upgrade karma to version 5.2.3 (depfu[bot])
v11.15.0 (2020-09-10)
Pull requests
- #756 Upgrade karma to version 5.2.2 (depfu[bot])
- #754 Upgrade karma to version 5.2.1 (depfu[bot])
- #753 Upgrade karma to version 5.2.0 (depfu[bot])
- #750 Upgrade prettier to version 2.1.0 (Andreas Lind, depfu[bot])
- #748 Switch to evaldown --validate for the documentation. (Alex J Burke)
- #744 Upgrade rollup-plugin-terser to version 7.0.0 (depfu[bot])
- #743 Upgrade eslint-plugin-mocha to version 8.0.0 (depfu[bot])
- #739 Upgrade karma to version 5.1.1 (depfu[bot])
- #738 Upgrade jasmine to version 3.6.1 (depfu[bot])
- #721 Switch to evaldown (Alex J Burke)
- #736 Upgrade karma to version 5.1.0 (depfu[bot])
- #734 Upgrade gh-pages to version 3.0.0 (depfu[bot])
- #732 Upgrade rollup-plugin-terser to version 6.0.1 (depfu[bot])
- #731 Upgrade karma to version 5.0.9 (depfu[bot])
- #730 Upgrade karma to version 5.0.8 (depfu[bot])
- #729 Upgrade karma-browserstack-launcher to version 1.6.0 (depfu[bot])
- #728 Upgrade karma to version 5.0.7 (depfu[bot])
- #727 Upgrade eslint-plugin-mocha to version 7.0.0 (depfu[bot])
- #725 Upgrade eslint to version 7.0.0 (depfu[bot])
- #724 Upgrade karma to version 5.0.5 (depfu[bot])
- #718 Upgrade karma to version 5.0.4 (depfu[bot])
- #717 Upgrade karma-mocha to version 2.0.1 (depfu[bot])
- #715 Upgrade karma-browserstack-launcher to version 1.5.2 (depfu[bot])
- #712 Upgrade karma-mocha to version 2.0.0 (depfu[bot])
- #711 Upgrade karma to version 5.0.1 (depfu[bot])
- #708 Upgrade jest to version 25.2.3 (depfu[bot])
- #707 Upgrade buble to version 0.20.0 (depfu[bot])
Commits to master
- Add only flag for to contain assertion (#755) (Gustav Nikolaj)
- Empty commit to trigger build (Andreas Lind)
- Bump unexpected-documentation-site-generator for assets copying fix. (Alex J Burke)
- Revert "Revert "Revert "Temporarily remove unexpected-mitm due to a node >=12.6.3 regression.""" (Andreas Lind)
- Revert "Revert "Temporarily remove unexpected-mitm due to a node >=12.6.3 regression."" (Andreas Lind)
- +14 more
v11.14.0 (2020-03-24)
- #705 Add support for <object> to have (unconfigurable|unenumerable|unwritable|readonly|read-only) property <string|Symbol> (Andreas Lind, Andreas Lind)
- #701 Upgrade rollup to version 2.0.3 (depfu[bot])
v11.13.0 (2020-02-13)
Pull requests
- #696 Add support for symbols in <object> to have property/properties... (Andreas Lind)
- #695 Remove support for: not to have (configurable|enumerable|writable) property (Andreas Lind)
- #697 utils.isArray: Use Array.isArray if available (Andreas Lind)
- #698 Rewrite calculateLimits (Andreas Lind)
- #691 Upgrade diff to version 4.0.2 (depfu[bot])
- #684 Bring in unexpected-markdown 5 and reconfigure test setup to match. (Alex J Burke)
Commits to master
- Revert "Temporarily pin deno to v0.27.0 due to an openssl linking issue." (Alex J Burke)
- Temporarily pin deno to v0.27.0 due to an openssl linking issue. (Alex J Burke)
- Don't try to run hyperlink after updating examples (Andreas Lind)
v11.12.1 (2019-12-31)
Pull requests
- #683 Clone aware magic pen themes (Alex J Burke)
- #682 Upgrade eslint-plugin-node to version 11.0.0 (depfu[bot])
Commits to master
- Fix path to bin in Makefile after 56194bc. (Alex J Burke)
- Only run hyperlink on release so "npm run generate-site" doesn't become too slow (Andreas Lind)
v11.12.0 (2019-12-26)
- #679 Replace leven with ukkonen (Sune Simonsen)
- #677 Upgrade nyc to version 15.0.0 (depfu[bot])
v11.11.0 (2019-12-19)
Pull requests
- #675 Always define Symbol and Buffer, even if the runtime doesn't support them (Andreas Lind)
Commits to master
v11.10.0 (2019-12-18)
Pull requests
- #674 Add support for BigInt (Andreas Lind)
Commits to master
- Fix typos in test descriptions (Andreas Lind)
- Remove duplicated function name that confuses the TS compiler. (Alex J Burke)
v11.9.0 (2019-12-15)
Pull requests
- #671 Support an "only" flag in the "to have properties" assertion. (Alex J Burke, Andreas Lind)
Commits to master
- Build with node 8.16.2 instead of 8.7.0 (Andreas Lind)
- Pin deno to v0.25.0 until a timers issue in v0.26.0 is resolved. (Alex J Burke)
- Catch up with deno install script default path change. (Alex J Burke)
- Rename variable "unexpected" => "expect" in top-level creation code. (Alex J Burke)
- docs(addAssertion): document alternations, flags and optional values (#668) (Joel Mukuthu)
v11.8.1 (2019-11-12)
- #667 Upgrade prettier to version 1.19.1 (Andreas Lind, depfu[bot])
- #666 Upgrade karma to version 4.4.1 (depfu[bot])
- #664 Upgrade jasmine to version 3.5.0 (depfu[bot])
- #663 Upgrade eslint-plugin-node to version 10.0.0 (depfu[bot])
- #658 Upgrade karma-chrome-launcher to version 3.1.0 (depfu[bot])
- #662 Check documentation link integrity when building docs (Peter Müller)
- #661 Upgrade karma to version 4.3.0 (depfu[bot])
v11.8.0 (2019-08-28)
Pull requests
- #657 ESM build with Deno support (Alex J Burke, Andreas Lind)
- #656 Upgrade eslint-plugin-mocha to version 6.0.0 (depfu[bot])
- #654 docs: use correct writing form for Node.js (Liran Tal)
- #655 Try to fix the build (Andreas Lind)
- #653 Upgrade karma to version 4.2.0 (depfu[bot])
Commits to master
v11.7.0 (2019-07-14)
Pull requests
- #651 Allow "not to be defined" to check for undefined. (Alex J Burke)
- #652 Upgrade karma-chrome-launcher to version 3.0.0 (depfu[bot])
- #650 Upgrade eslint-config-standard to version 13.0.1 (Andreas Lind, depfu[bot])
- #648 Upgrade eslint-config-prettier to version 6.0.0 (depfu[bot])
- #646 Upgrade unexpected-markdown to version 4.0.0 (depfu[bot])
- #647 Upgrade unexpected-magicpen to version 2.0.0 (depfu[bot])
- #644 Rework "to satisfy" documentation to clarify the semantics. (Alex J Burke, Sune Simonsen)
- #643 Upgrade eslint-config-prettier to version 5.0.0 (depfu[bot])
Commits to master
- Actually add the new unexpected-rxjs to the plugin docs (Sune Simonsen)
- Fix lint (Andreas Lind)
- Remove no longer used rollup-plugin-uglify (Andreas Lind)
- Fix complex specifications link target. (Alex J Burke)
v11.6.1 (2019-06-13)
Pull requests
- #642 Fix context reset for child expect's (Sune Simonsen)
- #641 Upgrade prettier to version 1.18.2 (Andreas Lind, depfu[bot])
- #639 Upgrade rollup-plugin-terser to version 5.0.0 (depfu[bot])
- #638 Replace uglify-js with terser (Andreas Lind)
Commits to master
v11.6.0 (2019-05-20)
Pull requests
- #555 expect.it: Forward flags to assertions further down the parameter list (Andreas Lind)
- #636 Upgrade rollup-plugin-commonjs to version 10.0.0 (depfu[bot])
Commits to master
- Hardwire uglify-js at 3.5.12 in an attempt to fix the build (Andreas Lind)
- Revert "Revert "Merge pull request #636 from unexpectedjs/depfu/update/npm/rollup-plugin-commonjs-10.0.0"" (Andreas Lind)
- Revert "Merge pull request #636 from unexpectedjs/depfu/update/npm/rollup-plugin-commonjs-10.0.0" (Andreas Lind)
v11.5.1 (2019-05-12)
- #633 Fix compatibility with the esm module loader (Andreas Lind)
v11.5.0 (2019-05-10)
- #632 Inspect Buffers with Buffer.from([0x00, ...]) instead of Buffer([0x00, ...]) (Andreas Lind)
- #630 Upgrade eslint-plugin-node to version 9.0.1 (depfu[bot])
v11.4.1 (2019-05-02)
- #627 Always omit at least two lines in string diffs (Andreas Lind)
- #628 Fix highlighting of diffing trailing whitespace in the last line (Andreas Lind)
- #626 Wire a plugins build canary target into the Travis build matrix. (Alex J Burke)
v11.4.0 (2019-04-25)
- #625 Do not highlight "trailing" whitespace in diff chunks that aren't the end of the line (Andreas Lind)
- #610 exportStyle: Pass on the allowRedefinition parameter to the parent's addStyle (Andreas Lind)
v11.3.0 (2019-04-24)
Pull requests
- #624 Truncate large consecutive blocks of unchanged text in the string diff (Andreas Lind, Sune Simonsen)
- #622 Don't trigger the footgun protection when a promise is .then()ed but not fully awaited (Andreas Lind)
- #621 Disallow .hook() on a frozen expect (Andreas Lind)
- #620 Upgrade nyc to version 14.0.0 (depfu[bot])
- #618 Upgrade prettier to version 1.17.0 (depfu[bot])
- #619 Upgrade karma to version 4.1.0 (depfu[bot])
- #616 Upgrade mocha to version 6.1.2 (Andreas Lind, depfu[bot])
- #614 Upgrade jasmine to version 3.4.0 (depfu[bot])
- #613 Update the changelog in the preversion hook, avoiding an extra commit (Andreas Lind)
- #609 No need for the BABEL_ENV anymore (Sune Simonsen)
Commits to master
- Only run the external tests through Mocha (Sune Simonsen)
- Fixed jest warning (Sune Simonsen)
- Update offline-github-changelog to ^1.6.1 (Andreas Lind)
- Use the version hook instead of preversion (Andreas Lind)
- Update karma-browserstack-launcher to 1.5.1 (Andreas Lind)
- +2 more
v11.2.0 (2019-03-13)
Pull requests
- #604 Upgrade jest to version 24.4.0 (depfu[bot])
- #608 Replace babel with buble (Sune Simonsen)
Commits to master
v11.1.2 (2019-03-13)
Pull requests
- #607 Upgrade magicpen to version 6.0.2 (Sune Simonsen, depfu[bot])
- #602 From v11 function inherits object, so there is no need to state both in assertions (Sune Simonsen)
- #600 Remove shim and sham (Sune Simonsen)
- #601 Add highlights from the remaining major releases to the releases page (Andreas Lind)
- #565 Merge the Unexpected instance with the expect function, and make wrapped/nested expects have the parent as the prototype (Andreas Lind)
Commits to master
- Remove unexpected.js and unexpected.js.map from version control (Andreas Lind)
- Updated the changelog (Andreas Lind)
v11.1.1 (2019-03-01)
Pull requests
- #599 Make UnexpectedError#expect non-enumerable (Andreas Lind)
- #598 Upgrade karma to version 4.0.1 (depfu[bot])
- #597 Split the plugin list into maintained by us and 3rdparty plugins (Sune Simonsen)
Commits to master
v11.1.0 (2019-02-25)
Pull requests
- #595 to throw an: fulfill the promise with the error (Andreas Lind)
- #592 Upgrade find-node-modules to version 2.0.0 (depfu[bot])
- #588 Upgrade eslint-config-prettier to version 4.0.0 (depfu[bot])
- #586 Upgrade karma to version 4.0.0 (depfu[bot])
- #480 Lint JavaScript snippets in the documentation (Andreas Lind, Andreas Lind)
- #581 Deprecate legacy typeless addAssertion (Andreas Lind)
- #583 Upgrade prettier to version 1.16.0 (depfu[bot])
- #580 Upgrade unexpected-documentation-site-generator to version 6.0.0 (depfu[bot])
- #579 Upgrade unexpected-markdown to version 3.0.0 (depfu[bot])
Commits to master
- Build unexpected.js (Andreas Lind)
- Fix legacy typeless addAssertion in documentation (Andreas Lind)
- .eslintrc.js: Remove unnecessary parserOptions (Andreas Lind)
- Updated the changelog (Andreas Lind)
v11.0.1 (2019-01-15)
Pull requests
- #577 Avoid deprecation warnings in node.js 10 because we have methods called inspect (Andreas Lind, Andreas Lind)
- #578 Replace eslint-config-pretty-standard with eslint-config-{prettier,standard} (Andreas Lind)
- #576 function type: Support inspection of classes and generators (Andreas Lind)
- #575 Link to 'to satisfy' from the 'to have property' docs (Andreas Lind)
- #571 removedHighlight style: Render newlines as \n (Andreas Lind)
- #493 Clarify the function call in "to throw" documentation. (Alex J Burke)
- #573 Upgrade karma-browserstack-launcher to version 1.4.0 (depfu[bot])
- #572 Upgrade diff to version 4.0.1 (depfu[bot])
- #447 Upgrade diff to version 3.5.0 (Andreas Lind, depfu[bot])
- #569 Make a separate BrowserStack project for separate branches (Sune Simonsen)
Commits to master
- Build unexpected.js (Andreas Lind)
- Use the unexpected-dev project on browserstack for Travis "PR" builds (Andreas Lind)
- Empty commit to get the browser test back to a successful state (Andreas Lind)
- Updated the changelog (Andreas Lind)
v11.0.0 (2019-01-06)
Pull requests
- #509 V11 (Major) (Alex J Burke, Andreas Lind, Andreas Lind, Andreas Lind, Sune Simonsen, depfu[bot])
- #567 Remove long-deprecated support for this.subject etc. in assertion handlers (Andreas Lind)
- #566 Remove support for expect.async (Andreas Lind)
- #564 Upgrade unexpected-documentation-site-generator to version 5.1.0 (depfu[bot])
- #563 Upgrade rollup to version 1.0.1 (depfu[bot])
- #546 Fix test script to execute headless browser in place of phantomjs. (Alex J Burke)
- #556 Simplify the "to be rejected with" and "to call the callback with error" assertions (Andreas Lind)
- #559 Don't let changes to expect.output.preferredWidth propagate into existing clones (Andreas Lind)
- #561 Made all internal doc URL's relative and with a trailing slash (Sune Simonsen)
- #562 Avoid http redirects in assets linked from the frontpage (Andreas Lind)
- #550 Address a number of issues with array-like "to satisfy". (Alex J Burke)
- #547 Fix unexpected messy missing diff (Alex J Burke, Sune Simonsen)
- #543 <object> to satisfy <object>: Do not dereference properties that aren't needed for the assertion (Andreas Lind)
- #448 Make the <function> type a subtype of <object> (Andreas Lind)
- #542 Feature/unsupport to have items with function (Andreas Lind)
- #328 to satisfy: compare functions by value (Andreas Lind, Sune Simonsen)
- #517 Freeze the top-level expect (Andreas Lind)
- #407 Drop compatibility with pre-10.10.0 type.diff return values (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Revert "REVERT once v11 is out of beta: Specify tag:beta in package.json" (Andreas Lind)
- Revert "REVERT ME when merging v11 to master: Don't deploy the documentation site when doing releases" (Andreas Lind)
- Docs: Use https urls on the plugin page, fix a dead link (Andreas Lind)
- Docs: List unexpected-preact on the plugins page (Andreas Lind)
- +1 more
v10.40.2 (2019-01-02)
Pull requests
- #554 mocha: Use --require unexpected-markdown instead of --compilers ... (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- function type: Fix reindentation of single line arrow functions (Andreas Lind)
- Documentation: Fix link to unexpected-webdriver (Andreas Lind)
- Karma: Bump the mocha timeout to one minute to match v11 (Andreas Lind)
- Fix typo in test descriptions (Andreas Lind)
- +7 more
v10.40.1 (2018-12-31)
Pull requests
- #553 Fix inspection of single line arrow functions that have a linebreak right after the arrow (Andreas Lind)
Commits to master
v10.40.0 (2018-12-26)
Pull requests
- #540 Added karma, mocha, chrome headless setup (Sune Simonsen)
- #539 Upgrade rollup-plugin-node-resolve to version 4.0.0 (depfu[bot])
- #538 Fix special casing of UnexpectedError in <function> to error/throw (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Update rollup to version 0.68.1 (depfu[bot])
- Updated the changelog (Sune Simonsen)
v10.39.2 (2018-11-18)
Pull requests
- #534 Fix the output to make the unexpected-dom test suite pass (Sune Simonsen)
- #527 Upgrade gh-pages to version 2.0.1 (depfu[bot])
Commits to master
- Build unexpected.js (Sune Simonsen)
- Lock jasmine down to ~3.2.0 (Andreas Lind)
- eslint --fix . (Andreas Lind)
- Update prettier to version 1.15.1 (depfu[bot])
- Updated the changelog (Sune Simonsen)
v10.39.1 (2018-09-30)
Pull requests
- #522 Use arrow functions when possible (Andreas Lind)
- #521 Add and configure eslint-plugin-mocha (Andreas Lind)
- #519 Fix/hack inspection of arrow functions with leading newline (prettier-ism) (Andreas Lind)
- #518 Link to the documentation site using https (Andreas Lind)
- #516 Upgrade rollup to version 0.66.1 (depfu[bot])
- #511 Upgrade rollup to version 0.65.2 (depfu[bot])
Commits to master
- Build unexpected.js (Sune Simonsen)
- Docs, plugins page: Update the unexpected-dom url (Andreas Lind)
- Updated the changelog (Alex J Burke)
v10.39.0 (2018-09-06)
Pull requests
- #504 Truncate subject in begin and end with assertions (Alex J Burke)
- #492 Add "to start with" as an alias for "to begin with". (Alex J Burke)
- #508 Revert "Merge pull request #482 from alexjeffburke/feature/includeNonEnumerableProperties" (Sune Simonsen)
- #495 Upgrade rollup to version 0.63.0 (depfu[bot])
- #482 Include non-enumerable properties (Alex J Burke, Andreas Lind)
- #490 Upgrade rollup to version 0.62.0 (depfu[bot])
- #487 Upgrade unexpected-magicpen to version 1.0.0 (depfu[bot])
- #485 Upgrade rollup to version 0.61.1 (depfu[bot])
- #484 Upgrade rollup to version 0.60.0 (depfu[bot])
- #479 Reformat code snippets in the documentation (Andreas Lind)
- #478 Document some more methods (Andreas Lind)
- #477 Upgrade jest to version 23.0.0 (depfu[bot])
Commits to master
- Build unexpected.js (Alex J Burke)
- Use gh-pages from node modules directory. (Alex J Burke)
- Fix jest/jsdom interop in external tests (Andreas Lind)
- Fix jest/jsdom interop (Andreas Lind)
- eslint --fix . (Andreas Lind)
- +10 more
v10.38.0 (2018-05-22)
Pull requests
- #476 Implement Unexpected#freeze / expect.freeze (Andreas Lind)
- #467 add: negated assertions for 'to have an item satisfying' and 'to have… (Jan Aagaard Meier)
- #475 Upgrade rollup-plugin-uglify to version 4.0.0 (Andreas Lind, depfu[bot])
- #472 Upgrade rollup to version 0.59.0 (depfu[bot])
- #471 Added link to the unexpected-reaction plugin (Sune Simonsen)
- #441 Only compact the subject when there is a diff (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Avoid rollup deprecation warning by moving the banner config into output: {} (Andreas Lind)
- package.json: Fix weird empty object literal introduced by depfu (Andreas Lind)
- Updated the changelog (Alex J Burke)
v10.37.7 (2018-05-05)
Pull requests
- #465 Fix key in value check that were not converted to type.hasKey(). (Alex J Burke)
Commits to master
v10.37.6 (2018-05-02)
Pull requests
- #464 Add support for node.js 10 (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Revert "Travis: Build with node.js 10" (Andreas Lind)
- Travis: Build with node.js 10 (Andreas Lind)
- Updated the changelog (Sune Simonsen)
v10.37.5 (2018-04-18)
Pull requests
- #457 Fixed wrong error message seen in unexpected-dom (Sune Simonsen)
- #451 Upgrade jest to version 22.4.3 (Andreas Lind, depfu[bot])
- #456 Upgrade rollup-plugin-uglify to version 3.0.0 (depfu[bot])
- #455 Upgrade rollup-plugin-commonjs to version 9.1.0 (depfu[bot])
- #454 Upgrade rollup to version 0.58.0 (depfu[bot])
- #450 Upgrade jasmine-core to version 3.1.0 (depfu[bot])
Commits to master
- Build unexpected.js (Sune Simonsen)
- Fixed jest setup (Sune Simonsen)
- Use ^ deps (Andreas Lind)
- Updated the changelog (Sune Simonsen)
v10.37.4 (2018-04-10)
Pull requests
- #444 Fixed IE11+ browser support (Sune Simonsen)
Commits to master
v10.37.3 (2018-04-09)
Pull requests
- #443 Trim stack traces with windows paths (Peter Müller)
- #442 Update offline GitHub changelog to credit PR authors (Sune Simonsen)
- #423 Additional object type overrides (Alex J Burke)
- #437 Only use eslint-plugin-prettier in a TTY (Gustav Nikolaj Olsen)
Commits to master
- Build unexpected.js (Andreas Lind)
- Point to the unexpected-dom documentation site (Sune Simonsen)
- Do not require a global babel install in the Makefile. (Alex J Burke)
- Travis: Build with node.js 9 (Andreas Lind)
- Updated the changelog (Andreas Lind)
v10.37.2 (2018-02-12)
- Build unexpected.js (Andreas Lind)
- Skip test in Phantom.js (Andreas Lind)
- Fix lint (Andreas Lind)
- UnexpectedError#stack: Don't mess up when the error message contains $& (Andreas Lind)
- Updated the changelog (Sune Simonsen)
v10.37.1 (2018-02-11)
Pull requests
- #436 Add prettier setup, run lebab, switch to 2 space indent (Andreas Lind, Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- UnexpectedError#serializeMessage: Make regexp group non-capturing (Andreas Lind)
- Updated the changelog (Sune Simonsen)
v10.37.0 (2018-02-01)
Pull requests
- #434 Remove user defined addAssertion handlers from stack (Sune Simonsen)
- #435 add unexpected-eventemitter to plugin list (Christopher Hiller)
Commits to master
v10.36.3 (2018-01-19)
Pull requests
- #433 Adding a failing test for expect.child not honoring type order (Sune Simonsen)
- #431 Update all dependencies that don't break with node 8 (Andreas Lind)
- #432 Add unexpected-generator to plugin list (Gert Sønderby)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Restructure Makefile slightly to avoid tripping up GNU make (Andreas Lind)
- Updated the changelog (Alex J Burke)
v10.36.2 (2017-11-20)
Pull requests
- #428 Fix error on promise .and() (Alex J Burke)
Commits to master
v10.36.1 (2017-11-12)
Pull requests
- #426 Fix array-like undefined non numerical keys and add Symbol support. (Alex J Burke)
- #425 Upgrade to array-changes 3.0.0. (Alex J Burke)
Commits to master
- Build unexpected.js (Alex J Burke)
- Avoid git commit alias in the Makefile. (Alex J Burke)
- Spice up the main example (Sune Simonsen)
- Updated the changelog (Sune Simonsen)
- Fix changelog link from doc site (Sune Simonsen)
- +1 more
v10.36.0 (2017-10-05)
Pull requests
- #422 Generate changelog (Sune Simonsen)
- #421 Use ...rest params instead of Array#apply (Andreas Lind, Sune Simonsen)
Commits to master
v10.34.5 (2017-09-03)
v10.34.4 (2017-09-03)
v10.34.3 (2017-09-03)
- Clean before a secondary build on travis (Sune Simonsen)
- Try a whitelist instead of .npmignore (Sune Simonsen)
v10.34.2 (2017-09-03)
- #420 Reintroduce Babel (Sune Simonsen)
- #419 Revert "Babel" (Sune Simonsen)
v10.34.0 (2017-09-03)
Pull requests
- #418 Babel (Andreas Lind, Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Remove the build folder as part of the clean target (Sune Simonsen)
- Update nyc to 11.1.0 (Andreas Lind)
v10.33.2 (2017-08-14)
Pull requests
- #415 Don't break when a function has its own custom #toString (Andreas Lind)
- #414 to have properties: Allow numerical property names passed as either strings or numbers (Andreas Lind)
Commits to master
v10.33.1 (2017-08-05)
- Build unexpected.js (Gustav Nikolaj Olsen)
- implicit return multiline arrow function inspection (#412) (Gustav Nikolaj)
- Fix dead link to the documentation of the SameValue algorithm (Andreas Lind)
v10.33.0 (2017-08-01)
Pull requests
- #409 Replace browserify with rollup, add source map and uglify unexpected.js (Andreas Lind)
- #406 Remove the ability for a plugin to specify required dependencies (Andreas Lind)
- #410 added: plugin unexpected-date (Sushant)
Commits to master
v10.32.1 (2017-07-15)
Pull requests
- #408 Fix inspection of bound functions (broken in 4485bf622 / 10.30.0) (Andreas Lind)
Commits to master
v10.32.0 (2017-07-06)
Pull requests
- #403 Alias for to be a date (Sushant)
- #402 rename: to-be-one-of.js => to-be-one-of.spec.js (Sushant)
Commits to master
v10.31.0 (2017-07-02)
Pull requests
Commits to master
v10.30.0 (2017-07-01)
Pull requests
- #387 Support inspection of arrow functions (Andreas Lind)
- #396 Don't allow a compound assertion where (a prefix of) the last half is not an existing assertion (Andreas Lind)
- #400 addStyle & installTheme: Return the expect function rather than the magicpen instance (for chaining) (Andreas Lind)
- #398 Document will-throw-a assertions for functions that take input (Nicklas Laine Overgaard)
Commits to master
- Build unexpected.js (Andreas Lind)
- Travis: Build with node.js 8 (Andreas Lind)
- Copy the new example to the 'to throw' documentation, too. (Andreas Lind)
v10.29.0 (2017-05-12)
Pull requests
- #388 Introduce a first class context and use it to avoid serializing expect.it(...).or(...) (Andreas Lind, Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Remove the logo from the readme as it seems to confuse package search (Sune Simonsen)
v10.28.0 (2017-05-08)
Pull requests
- #397 to be (a|an) <string>: Always die when a non-existent type is specified (Andreas Lind)
- #392 Adding the logo to the readme to make medium links show the logo (Sune Simonsen)
- #389 Support expect.it(function (value) {...}) (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Using PNG logo from readme (Sune Simonsen)
- Added PNG logo (Sune Simonsen)
- Second attempt to trick Medium into showing our logo (Sune Simonsen)
- Added top-level logo to doc site (Sune Simonsen)
- +6 more
v10.27.0 (2017-04-17)
Pull requests
- #385 Allow plugins to hook into the main expect function (Andreas Lind)
- #384 Fix flag forwarding for expect.it (Andreas Lind)
- #377 Child expect + exportAssertion (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Update mocha to 3.2.0, switch to ^ version range. (Andreas Lind)
- Updated the to satisfy documentation sligtly (Sune Simonsen)
v10.26.3 (2017-03-02)
Pull requests
- #381 Fix the error message when an object is exhaustively satisfied against an object, and some keys are missing (Andreas Lind)
- #379 Upgraded Jest to the newest version. (Sune Simonsen)
Commits to master
v10.26.2 (2017-02-27)
- Build unexpected.js (Andreas Lind)
- to satisfy: Don't break when the assertion fails and the subject has a property that also exists on Object.prototype (Andreas Lind)
v10.26.1 (2017-02-26)
Pull requests
- #376 Add assertion type signature to error messages relevant to it (Peter Müller)
Commits to master
- Build unexpected.js (Andreas Lind)
- Makefile, test target: Don't pass --harmony-async-await now that node 7.6.0 supports async/await without it. (Andreas Lind)
- type.inspect: Fix detection of whether inspect is invoked by util.inspect (Andreas Lind)
v10.26.0 (2017-02-16)
Pull requests
- #372 addAssertion: Fail when the handler takes too many parameters (Andreas Lind)
- #371 Fix:
to exhaustively satisfy
doesn't consider a missing property to be identical to a property with a value of undefined (#370) (Andreas Lind)
Commits to master
v10.25.0 (2017-02-04)
Pull requests
- #367 to throw a/an (Andreas Lind)
- #368 Consistently use the 'not to be empty' assertion for objects and arrays (Andreas Lind)
Commits to master
v10.24.0 (2017-01-26)
Pull requests
- #366 Normalized line breaks in test output. (Gert Sønderby)
Commits to master
- Build unexpected.js (Andreas Lind)
- update eslint-config-onelint (1.2.0) and eslint (2.13.1) (Gustav Nikolaj Olsen)
v10.23.0 (2017-01-23)
- Build unexpected.js (Andreas Lind)
- Stop abusing .i() to increase indentation, use indentLines/outdentLines instead. (Andreas Lind)
- Show the type signature of the subject and arguments when failing with "assertion not found". (Andreas Lind)
v10.22.2 (2017-01-20)
Pull requests
- #363 Jest suite up (Andreas Lind, Sune Simonsen)
Commits to master
v10.22.1 (2017-01-19)
Pull requests
- #361 Jest seems to just print the stack, so we need the error message in the stack (Sune Simonsen)
Commits to master
v10.22.0 (2017-01-09)
- Build unexpected.js (Andreas Lind)
- Make notifyPendingPromise available as a property of the expect function, allowing it to be overridden. (Andreas Lind)
- Fixed typo in the documentation (Sune Simonsen)
- Code cleanup (Sune Simonsen)
v10.21.1 (2016-12-27)
Pull requests
- #357 Highlight trailing whitespace in added/removed string diff chunks (Andreas Lind)
- #353 Remove expect.promise from the docs (Andreas Lind, Joel Mukuthu, Joel Mukuthu)
- #354 Install the promise polyfill in one central place. (Andreas Lind)
Commits to master
v10.21.0 (2016-12-18)
Pull requests
- #338 Add <object|array-like> to have (a value|an item) satisfying <any|assertion> (Andreas Lind, Joel Mukuthu)
- #355 Inspect async functions (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Build unexpected.js (Sune Simonsen)
- Travis: Enable build with node.js 7. (Andreas Lind)
- Makefile: Don't rely on ./node_modules/.bin/ being in $PATH. Fixes #343. (Andreas Lind)
v10.20.0 (2016-11-27)
Pull requests
- #340 Add 'to be fulfilled with a value satisfying' and 'to be rejected with error satisfying' (Joel Mukuthu)
- #348 to have (items|values|keys) satisfying: Only allow one <any> as the value, not <any+> (Andreas Lind)
- #349 to have keys satisfying, to have values satisfying: Disallow an empty array (Andreas Lind)
Commits to master
v10.19.0 (2016-11-14)
Pull requests
- #344 Add '[not] to be one of' assertion (Morten Siebuhr)
- #332 Consistently return the output from the inspect and diff methods of the built-in types (Andreas Lind)
- #336 Use eslint-plugin-import (especially import/no-extraneous-dependencies). (Andreas Lind)
Commits to master
v10.18.1 (2016-09-26)
v10.18.0 (2016-09-26)
Pull requests
- #333 Render array moves with arrows (Andreas Lind)
Commits to master
v10.17.2 (2016-09-14)
v10.17.1 (2016-09-14)
Pull requests
- #335 Upgraded array-changes (Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Simplify documentation test to avoid output differences between v8 5.1+ and everything else. (Andreas Lind)
v10.17.0 (2016-09-02)
- Build unexpected.js (Andreas Lind)
- Fix the test suite with node.js 6.5.0. (Andreas Lind)
- Makefile, travis target: Also depend on 'clean' so the targets will be rebuilt despite unexpected.js being checked in. (Andreas Lind)
- Update magicpen to 5.10.0. (Andreas Lind)
v10.16.0 (2016-08-22)
Pull requests
- #323 Preserve the stack of the actual error. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Fix the jasmine setup with npm 3. (Andreas Lind)
- Include unexpected-magicpen.min.js in the JasmineRunner.html template. (Andreas Lind)
v10.15.1 (2016-08-05)
Pull requests
- #327 Fix subject compaction in nested settings (Andreas Lind)
- #326 Avoid some .then(function () {return something}) constructs using promise.tap (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Update chewbacca to 1.10.0. (Andreas Lind)
- Added a Github star badge to the documentation site (Sune Simonsen)
v10.15.0 (2016-07-15)
Pull requests
- #321 Allow assertions to succeed without settling all promises (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Travis: Test with node.js 6 as well. (Andreas Lind)
- Update chewbacca to 1.9.0. (Andreas Lind)
- Fix lint. (Andreas Lind)
- when sorted: Fix the non-array case. (Andreas Lind)
v10.14.2 (2016-06-23)
Pull requests
- #314 Fix/unexpected magicpen (Andreas Lind)
- #312 Add 'when sorted' and 'when sorted by' assertions for arrays (Joel Mukuthu)
Commits to master
v10.14.1 (2016-06-22)
- Build unexpected.js (Andreas Lind)
- Remove magicPen style test (moved to the unexpected-magicpen test suite). (Andreas Lind)
- Use 'to have message' in tests where possible. (Andreas Lind)
- Use 'to have message' instead of 'to have text message' in assertions, whoops. (Andreas Lind)
v10.14.0 (2016-06-22)
Pull requests
- #310 Move the magicpen type into a separate unexpected-magicpen plugin (Andreas Lind)
- #313 Fix case where mocha 2.2.0+ sidesteps the footgun detection by suppre… (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Reintroduce <Error> to have message <string> in core. (Andreas Lind)
- Added failing test that demonstrates a shortcoming with the afterEach-based detection of promises that should have been returned. (Andreas Lind)
- Fix url in error message. (Andreas Lind)
v10.13.3 (2016-05-20)
Pull requests
- #306 Expose (almost) all of Bluebird's static methods. (Andreas Lind)
- #305 Feature/expect with one argument (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Updated browser compatibility for now - will return to it (Sune Simonsen)
- Make sure that expect.use can handle function.name not being present on IE (Sune Simonsen)
- Don't hack the stack in environments that don't make the error stack available as a getter (Sune Simonsen)
- <object> to satisfy <object>: Skip missing keys expected to be missing so they don't get rendered in the diff. (Andreas Lind)
v10.13.2 (2016-04-19)
- Build unexpected.js (Sune Simonsen)
- Upgrade to the latest magicpen to avoid a check that is causing problems with older plug versions (Sune Simonsen)
v10.13.1 (2016-04-17)
Pull requests
- #303 Update plugins page to link to unexpected-react docs (Dave Brotherstone)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Upgrade magicpen (Sune Simonsen)
- Test that the 'You have created a promise that was not returned from the it block' warning is emitted in multi-file suites. (Andreas Lind)
- make test-phantomjs: Simplify how the JSON config is passed to mocha-phantomjs-core. (Andreas Lind)
v10.13.0 (2016-04-06)
Pull requests
- #301 Don't inspect args for when called with as an array (Sune Simonsen)
Commits to master
v10.12.0 (2016-04-05)
Pull requests
- #300 Feature/cheaper long stack trace (Andreas Lind)
- #299 Switch from mocha-phantomjs-papandreou to mocha-phantomjs-core and st… (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Whoops, don't depend on two phantom.js packages. (Andreas Lind)
- Removed superfluous 2nd expect.shift arg. (Andreas Lind)
- Ensure that we get the new dark markdown theme (Sune Simonsen)
- Use ranges for the unexpected-markdown dependency (Sune Simonsen)
- +2 more
v10.11.1 (2016-03-31)
- Build unexpected.js (Andreas Lind)
- findSuffixAssertions: Fix edge case where a failing assertion is followed by an assertion where a non-string is where an assertion should have been. (Andreas Lind)
v10.11.0 (2016-03-31)
Pull requests
- #297 A fix and two new features for expect.promise(function (run) {...}) (Andreas Lind)
- #295 Only fail in the afterEach hook if the test was otherwise successful (Andreas Lind)
- #296 Update leven to 2.0.0. (Andreas Lind)
- #293 Add unexpected-webdriver plugin to docs (Felix Gnass)
- #289 Implement <function> to be (rejected|fulfilled) [with] (Andreas Lind)
- #282 make coverage: Replace istanbul with nyc (an istanbul wrapper) (Andreas Lind)
- #288 add eslint and use the onelint shared configuration (Gustav Nikolaj Olsen)
Commits to master
- Build unexpected.js (Andreas Lind)
- Update coveralls to 2.11.9, use a liberal version range with ^. (Andreas Lind)
- Fix rendering of assertion strings when using certain compound assertions. (Andreas Lind)
- Added pending test. (Andreas Lind)
- Save a var in utils.uniqueNonNumericalStringsAndSymbols. (Andreas Lind)
- +10 more
v10.10.12 (2016-03-18)
- Build unexpected.js (Andreas Lind)
- Always set the inline attribute when generating a diff. Fixes #285. (Andreas Lind)
v10.10.11 (2016-03-18)
- Build unexpected.js (Andreas Lind)
- <object> to satisfy <object>: Fix the diff generation when a missing property is fulfilled by a function in the RHS. (Andreas Lind)
v10.10.10 (2016-03-17)
Pull requests
- #284 Fix UNEXPECTED_FULL_TRACE env variable for emulated DOM (Dave Brotherstone)
Commits to master
v10.10.9 (2016-03-17)
Pull requests
- #281 to exhaustively satisfy: Don't break with non-enumerable properties and allow matching on prototype properties (Andreas Lind)
Commits to master
v10.10.8 (2016-03-13)
Pull requests
- #279 expect.it: Always fail when there's a misspelled assertion (Andreas Lind)
Commits to master
v10.10.6 (2016-03-13)
Pull requests
- #280 Don't consider two different functions equal even if their toString() methods return the same value (Andreas Lind)
Commits to master
v10.10.5 (2016-03-11)
- Build unexpected.js (Sune Simonsen)
- Documented UnexpectedError.isUnexpected (Sune Simonsen)
- Changing UnexpectedError name back to
UnexpectedError
as the change was breaking wallaby (Sune Simonsen) - stringDiff: Fix rendering of added/removed newlines immediately following a replaced chunk. (Andreas Lind)
v10.10.4 (2016-03-09)
Pull requests
- #277 Make unexpected errors more resilient to weird post processing of the stack (Sune Simonsen)
Commits to master
v10.10.3 (2016-03-09)
Pull requests
- #276 Refactor string diff code (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Upgraded magicpen to get better phantomjs detection (Sune Simonsen)
- Increase string diff limit to 4 KB, 1024 bytes is clearly too little. (Andreas Lind)
v10.10.2 (2016-03-07)
- Build unexpected.js (Andreas Lind)
- to satisfy: Don't break when trying to determine whether an object and null are structurally similar. (Andreas Lind)
v10.10.1 (2016-03-07)
- Build unexpected.js (Sune Simonsen)
- Suppress string diff when actual or expected is longer than 1024 chars. (Andreas Lind)
- magicPenLine style: Add support for inspecting raw output. (Andreas Lind)
- Documentation: Add unexpected-set to the plugins page. (Andreas Lind)
- Update documentation. (Andreas Lind)
- +1 more
v10.10.0 (2016-03-04)
Pull requests
- #275 Disallow expect({...}, 'to satisfy', [...]) (Andreas Lind)
- #273 Avoid diff result (Andreas Lind)
- #274 Switch to unexpected-bluebird (Andreas Lind)
- #271 Always include vertical whitespace between the error message and the diff (Andreas Lind)
- #270 WIP: Omit plus and minus in string diffs, except in text mode (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- inspect: Don't detect a recurring object as [Circular]. (Andreas Lind)
v10.9.1 (2016-02-27)
Pull requests
- #269 npm version: Fail unless invoked via make release. (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Fixed linting errors (Sune Simonsen)
- Fixed key sorting for
to equal
on objects (Sune Simonsen)
v10.9.0 (2016-02-27)
Pull requests
- #268 Remove all unexpected lines from the stack unless UNEXPECTED_FULL_TRACE is set (Sune Simonsen)
- #267 Add unexpected-events to the list of plugins. (Alex J Burke)
- #263 Add support for arrays with non-numerical keys (Andreas Lind)
- #265 Add jspm support (Guy Bedford)
- #264 Fix broken link to magicpen repo in api/addType.md docs (Vesa Laakso)
- #262 Implement Symbol type when the Symbol global is available. (Andreas Lind)
- #257 Wip: Replace test framework patch with afterEach hook (Andreas Lind, Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Added missing returns in the prefix and suffix methods of the binaryArray type. (Andreas Lind)
- Remove unused var. (Andreas Lind)
- Simplify 'to error'. (Andreas Lind)
- Remove no longer needed arrayification. (Andreas Lind)
- +6 more
v10.8.4 (2016-02-26)
v10.8.3 (2016-02-26)
v10.8.2 (2016-02-18)
- treat as a jspm package (cherry picked from commit 8dd74034826bdfaeafe72ce20c087e7c4d2c7557) (Guy Bedford)
- add jspm support (cherry picked from commit 15c4e88b9ae09581e5f8b740a2e1ae1a22b85efd) (Guy Bedford)
v10.8.1 (2016-01-29)
- Build unexpected.js (Andreas Lind)
- Revert "Merge pull request #239 from unexpectedjs/feature/bluebird3" (Andreas Lind)
- Revert "Avoid using Bluebird's Promise.settle, silences deprecation warning." (Andreas Lind)
v10.8.0 (2016-01-25)
Pull requests
- #258 Implement 'to have (items|values) exhaustively satisfying'. (Andreas Lind)
- #256 Fix propagation of a missing assertion error in expect.it(...).or(...) constructs (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Avoid using Bluebird's Promise.settle, silences deprecation warning. (Andreas Lind)
- Fixed documentation bug. (Andreas Lind)
v10.7.0 (2016-01-22)
Pull requests
- #239 Update bluebird from 2.9.34 to 3.1.1. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- test/assertions/when-called{ => .spec}.js (Andreas Lind)
- expect.shift: Support expect.it in addition to an assertion string. (Andreas Lind)
- Added unexpected-check to the plugin list (Sune Simonsen)
v10.6.1 (2016-01-22)
- Build unexpected.js (Andreas Lind)
- <array-like> to satisfy <array-like>: Fix "cannot get rejection reason of a non-rejected promise" error. (Andreas Lind)
- Travis: Build on the latest node.js 4 and 5 release (instead of only 4.0.0). (Andreas Lind)
v10.6.0 (2016-01-22)
Pull requests
- #250 Allow subtypes of object and array-like more fine-grained control over newlines and indentation (Andreas Lind)
- #247 Added '<object> not to have keys' assertion (Joel Mukuthu)
Commits to master
- Build unexpected.js (Andreas Lind)
- Documentation, to call the callback: Remove construct that broke update-examples. (Andreas Lind)
- Added --save-dev flag to node installation documentation (Sune Simonsen)
v10.5.1 (2016-01-08)
Pull requests
- #242 Generate the html runners so we don't have to maintain them (Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Fixed to have properties on function objects (Sune Simonsen)
- Docs, addAssertion: Add a note about multiple assertion strings not being supported. (Andreas Lind)
- Throw a more specific error when attempting to add an assertion with multiple assertion strings. (Andreas Lind)
- it throw{ => s} in test descriptions (Andreas Lind)
- +59 more
v10.5.0 (2015-12-23)
Pull requests
- #240 Spike/compound assertion (Andreas Lind)
- #241 Implement expect(fn, 'when called', ...); (Andreas Lind)
- #237 Fixed our test setup and extracted the first test into another file (Sune Simonsen)
- #236 Feature/unexpected markdown upgrade (Andreas Lind, Sune Simonsen)
- #235 to only have keys: Implemented diff (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Moved to be positive and to be negative to separate spec files. (Sune Simonsen)
- Moved to be truthy and to be falsy to new spec files (Sune Simonsen)
- Moved misplaced specs (Sune Simonsen)
- Moved
when decoded as
spec to separate file. (Sune Simonsen) - +1 more
v10.4.0 (2015-12-09)
- Build unexpected.js (Andreas Lind)
- Update .npmignore so that the built site, coverage report, test suite, and documentation isn't published. (Andreas Lind)
- to have items satisfying: Avoid quotes around the subsequent assertion names in the error output. (Andreas Lind)
- Simplify the <object> to satisfy <object> diffing code a bit now that it doesn't need to handle the <array-like> to satisfy <array-like> case anymore. (Andreas Lind)
v10.3.1 (2015-11-23)
v10.3.0 (2015-11-22)
Pull requests
- #230 Improve the appearance of missing properties in object diffs and to satisfy diffs (Andreas Lind)
Commits to master
v10.2.0 (2015-11-17)
- Build unexpected.js (Andreas Lind)
- <object> to satisfy <object>: Pass if an object is satisfied against itself. (Andreas Lind)
- <Promise> assertions: Offer footgun protection when testing promises created with other Promise libs. (Andreas Lind)
- Avoid Array.prototype.slice.{call,apply}(arguments, ...) in hot code. (Andreas Lind)
v10.1.0
- Build unexpected.js (Sune Simonsen)
- Expose withError on the top level expect (Sune Simonsen)
- Oh, it's not https. (Andreas Lind)
- Plugins page: Update unexpected-moment url. (Andreas Lind)
- documentation: Add unexpected-moment to the Plugins page. (Andreas Lind)
- +4 more
v10.0.2 (2015-10-23)
Pull requests
- #218 oathbreaker: Don't recapture the stack of non-Unexpected errors. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Update index.js (Andreas Lind)
- Makefile: Fix indentation and minor cosmetics. (Andreas Lind)
- Makefile, coverage target: Exclude bootstrap-unexpected-markdown.js instead of generate-site.js (Andreas Lind)
- Also reapply the test framework patch when a parent module of index.js is retrieved from require's cache. (Andreas Lind)
- +4 more
v10.0.1
- Build unexpected.js (Andreas Lind)
- Fixed relaxed match. (Andreas Lind)
- Upgraded the documentation generator (Sune Simonsen)
- Updated the documentation generator (Sune Simonsen)
v10.0.0 (2015-10-08)
Pull requests
- #220 Spike/v10 duck typing (Andreas Lind, Sune Simonsen)
- #219 Feature/v10 shift (Andreas Lind)
Commits to master
v9.16.1 (2015-10-05)
- Build unexpected.js (Andreas Lind)
- Makefile: node_modules/.bin/deploy-site{ => .sh} (Andreas Lind)
- Fix expect(...).and(...).and(...). (Andreas Lind)
- Document 'when called with'. See #217. (Andreas Lind)
- makePromise: Don't wrap reject in a superfluous function. (Andreas Lind)
- +3 more
v9.16.0 (2015-09-24)
v9.15.0 (2015-09-24)
- Build unexpected.js (Sune Simonsen)
- Added a colorByIndex style that will color the text with the color of the given index in the theme palette (Sune Simonsen)
v9.14.0 (2015-09-24)
- Upgraded to the newest version of magicpen (Sune Simonsen)
- Support a format argument for expect.inspect (Sune Simonsen)
- Enforce our current coding style (Sune Simonsen)
v9.13.0 (2015-09-18)
- Build unexpected.js (Andreas Lind)
- Never dot out array items for arrays shorter than 11 elements. (Andreas Lind)
v9.12.3 (2015-09-17)
- Build unexpected.js (Sune Simonsen)
- corrected test description (Sune Simonsen)
- Revert "Relaxed the requirements for type.identify a bit, to be compatible with plugins" (Sune Simonsen)
v9.12.2 (2015-09-17)
- Build unexpected.js (Sune Simonsen)
- Relaxed the requirements for type.identify a bit, to be compatible with plugins (Sune Simonsen)
v9.12.1 (2015-09-17)
v9.12.0 (2015-09-16)
Pull requests
- #211 Put annotation on next line in to satisfy when lines gets too long (Sune Simonsen)
- #210 Add gitter chat badge to README (Peter Müller)
- #209 Remove the Assertion class, refactor and optimize the creation of the wrapped expect function (Andreas Lind, Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Updated the performance thresshold as we are not able to get it stable enough :-S (Sune Simonsen)
- Updating chewbacca to fix bug efter promisification (Sune Simonsen)
- Updating chewbacca (Sune Simonsen)
- updated chewbacca (Sune Simonsen)
- +14 more
v9.11.1 (2015-09-13)
Pull requests
- #208 Add unexpected-react-shallow plugin to docs (Dave Brotherstone)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Fixed inspection bug that messed up unexpected-messy (Sune Simonsen)
- added no timeout flag to the benchmark target (Sune Simonsen)
v9.11.0 (2015-09-10)
- Build unexpected.js (Sune Simonsen)
- Added functionality to change the default depth from the browser and command line (Sune Simonsen)
v9.10.0 (2015-09-10)
- Build unexpected.js (Andreas Lind)
- array-like: Make the delimiter customizable in subtypes (Andreas Lind)
- Travis: Build on node.js 4.0.0. (Andreas Lind)
- Define the Buffer type after Uint8Array. (Andreas Lind)
v9.9.0 (2015-09-07)
Pull requests
- #207 Omit subject for expect.it as well (Sune Simonsen)
Commits to master
- Build unexpected.js (Andreas Lind)
- to satisfy diff: Improve output when items are missing. (Andreas Lind)
v9.8.1 (2015-09-04)
v9.8.0 (2015-09-04)
- Build unexpected.js (Andreas Lind)
- Remove unused var. (Andreas Lind)
- Changed the to have keys satisfying to only satisfy on the keys (Sune Simonsen)
- Adjust threshold for when compacting subject (Sune Simonsen)
v9.7.0 (2015-09-04)
- Build unexpected.js (Andreas Lind)
- Introduce a 'defaultOrNested' error mode. (Andreas Lind)
- to have items satisfying: Don't use bubble mode, it makes the output worse. (Andreas Lind)
- Revert "Documentation: Duplicate a failed promise in two snippets to prevent it from causing an uncaught exception." (Andreas Lind)
- Documentation: Duplicate a failed promise in two snippets to prevent it from causing an uncaught exception. (Andreas Lind)
- +5 more
v9.6.0 (2015-08-18)
- Use output.preferredWidth when generating the standard error message (Sune Simonsen)
- Whoops, move unexpected-documentation-site-generator to the correct section of package.json. Again. (Andreas Lind)
- Update unexpected-documentation-site-generator to 2.9.2. (Andreas Lind)
- Documentation, plugins page: Sort the plugins alphabetically. (Andreas Lind)
- Documentation, plugins page: Use https links when possible. (Andreas Lind)
- +2 more
v9.5.2 (2015-08-18)
Pull requests
- #205 Fix patching of the test framework's 'it' function in test suites spanning multiple files (Andreas Lind)
Commits to master
v9.5.1 (2015-08-18)
Pull requests
- #202 Add a "Plugins" page to the documentation (Andreas Lind)
Commits to master
- upgraded magicpen to improve output detection (Sune Simonsen)
- Update plugins.md (Andreas Lind)
- Fixed addAssertion headline (Sune Simonsen)
- Fixed headline for plugins.md (Sune Simonsen)
- Fix headlines for api pages (Sune Simonsen)
- +6 more
v9.5.0 (2015-08-08)
Pull requests
- #198 Fix error message of 'when fulfilled' with expect.it (Andreas Lind)
- #201 Allow plugins to have a version property. (Andreas Lind)
- #200 Inspect magicpen instances as a series of function calls (Andreas Lind)
- #183 String assertions 'to begin with' + 'to end with' (Peter Müller)
- #195 Add some docs about the expect function. (Andreas Lind)
- #196 to have property: Improve the error output when an expected value is given (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Updated the documentation generator (Sune Simonsen)
- Update magicpen to 5.1.0. (Andreas Lind)
- to begin with, to end with, to contain: Error out if passed a needle of the empty string. (Andreas Lind)
- Increase test coverage. (Andreas Lind)
- +9 more
v9.4.0 (2015-07-27)
Pull requests
- #197 Fix stack trace of errors that has been thrown when the work queue has been drained (Sune Simonsen)
- #193 installPlugin => use, allow functions as plugins (Andreas Lind)
- #192 installPlugin: Error out if an already installed plugin has the same … (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Updated documentation tests (Sune Simonsen)
- not to have own property with a value: Make sure the error message refers to the correct assertion. (Andreas Lind)
- binaryArray to satisfy: Use the type system to decide whether the value is an expect.it or a function. (Andreas Lind)
- Add support for expect(...).and(expect.it(...)) (Andreas Lind)
- +3 more
v9.3.0 (2015-07-21)
Pull requests
- #190 expect: Always return a thenable (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- to call the callback with error: Only provide the error as the fulfillment value rather than the entire arguments array. (Andreas Lind)
- to call the callback: Error out if the callback is called twice. (Andreas Lind)
- Fixed typo in variable name. (Andreas Lind)
- README: Point to the documentation at unexpected.js.org (Andreas Lind)
v9.2.1 (2015-07-08)
- Build unexpected.js (Andreas Lind)
- Update array-changes to 1.0.3. (Andreas Lind)
- Makefile, update-examples target: Generate the site after the examples have been updated. (Andreas Lind)
- Makefile, travis target: Build the documentation. (Andreas Lind)
- Update unexpected-documentation-site-generator to 2.5.2. (Andreas Lind)
- +3 more
v9.2.0 (2015-07-06)
v9.1.0 (2015-07-06)
- Build unexpected.js (Sune Simonsen)
- Upgraded magicpen for tweaks to the alt-method (Sune Simonsen)
- Manually fixed documentation test (sin). (Andreas Lind)
- [not] to contain, not to match: Ensure the text mode diff is correct when needle contains newline (Andreas Lind)
- Fix the output of 'when passed as parameter to' by duplicating code. (Andreas Lind)
- +5 more
v9.0.0 (2015-07-03)
Pull requests
- #182 Added .editorconfig (Peter Müller)
- #180 Error to have message: Allow specifying the desired representation of the error (html/ansi/text). (Andreas Lind)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Fixed regression after merge (Sune Simonsen)
- Optimize UnexpectedError (Sune Simonsen)
- Fixed bug where we needed to clone the output (Sune Simonsen)
- Documented that you need to provide a format or output to UnexpectedError.getDiff (Sune Simonsen)
- +9 more
v8.5.1 (2015-06-30)
- Build unexpected.js (Sune Simonsen)
- Updated the documentation spec (Sune Simonsen)
- Fixed bug where unexpected would fail if you gave it null as a placeholder value (Sune Simonsen)
- Pass the output into createStandardErrorMessage (Sune Simonsen)
- Using expect.fail direktly to throw a type error instread of createing an Unexpected error and failing with that (Sune Simonsen)
- +11 more
v8.5.0 (2015-06-24)
Pull requests
- #179 to call the callback: Resolve the promise with an array containing th… (Andreas Lind)
- #176 Implemented "to call the callback with [no] error" assertion. (Andreas Lind)
- #177 Pull the unexpected-promise plugin into core. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Right, Phantom.js doesn't support setImmediate. (Andreas Lind)
- Document the fulfilled value of 'to call the callback with error' and 'to call the callback without error' as well. (Andreas Lind)
- installPlugin: Throw if the unexpected-promise plugin is installed. (Andreas Lind)
- Prohibit redefinition of a type. (Andreas Lind)
- +4 more
v8.4.1 (2015-06-23)
- Build unexpected.js (Sune Simonsen)
- Fixed: patching mocha didn't work with mocha --require (Sune Simonsen)
v8.4.0 (2015-06-21)
Pull requests
- #174 expect.fail with an object: Set all properties on the UnexpectedError. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Split up combo promise inspection test. (Andreas Lind)
- Omit " => undefined" when inspecting promises rejected without a reason. (Andreas Lind)
- Switch from doublequotes to singlequotes in the "unknown assertion..." error message as well. (Andreas Lind)
v8.3.0 (2015-06-16)
Pull requests
- #172 Add inspect method to promises (Andreas Lind)
- #171 Added custom inspect function for UnexpectedError. (Andreas Lind)
- #169 Stop truncating the stack of thrown errors (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- Use single quotes in the 'assertion is not defined for the type...' message. (Andreas Lind)
v8.2.0 (2015-06-15)
- Build unexpected.js (Andreas Lind)
- to [not] [only] have (key|keys): Fully support getKeys. (Andreas Lind)
- Update mocha to 2.2.5. (Andreas Lind)
v8.1.3 (2015-06-15)
- Build unexpected.js (Andreas Lind)
- to satisfy diff: Always omit indices when the subject type is array-like or a subtype. (Andreas Lind)
v8.1.2 (2015-06-13)
- Build unexpected.js (Sune Simonsen)
- Inspect array objects with square brackets instread of Array({...}) (Sune Simonsen)
v8.1.1 (2015-06-13)
- Build unexpected.js (Sune Simonsen)
- Only use suffix and prefix of types in to satisfy, inspect and diffs (Sune Simonsen)
v8.1.0 (2015-06-12)
Pull requests
- #168 Improve output of "to have items/values/keys satisfying" (Sune Simonsen)
Commits to master
v8.0.1 (2015-06-10)
- to have property: fix typo, not and value (Gustav Nikolaj Olsen)
- Fixed link in 8.0.0 changelog. (Andreas Lind)
- Deploy documentation site to site-build branch instead of gh-pages to avoid CNAME conflict with the actual site (Sune Simonsen)
v8.0.0 (2015-06-10)
Pull requests
- #164 Feature/to error (Andreas Lind, Gustav Nikolaj Olsen, Sune Simonsen)
Commits to master
- Build unexpected.js (Sune Simonsen)
- Raise coverage of special character escaping (Sune Simonsen)
- Fixed failing test in phantomjs (Sune Simonsen)
- Exclude generate-site.js from the coverage report. (Andreas Lind)
- Exclude lib/testFrameworkPatch.js from the coverage report. (Andreas Lind)
- +49 more
v7.5.1 (2015-06-01)
- Build unexpected.js (Andreas Lind)
- Avoid the use of .caught(...) on promises that we didn't necessarily create ourselves. (Andreas Lind)
- I messed up the meaning of some test descriptions with my last commit (Sune Simonsen)
v7.5.0 (2015-05-22)
v7.4.3 (2015-05-20)
- Build unexpected.js (Andreas Lind)
- Let the 'name' property take precedence again when inspecting Error instances. (Andreas Lind)
v7.4.2 (2015-05-19)
- Build unexpected.js (Andreas Lind)
- Fixed diff when Error instances weren't created by the same constructor. (Andreas Lind)
- Fixed inspection of the constructor name for Error subclasses. (Andreas Lind)
- Another regression test for #155. (Sune Simonsen)
v7.4.1 (2015-05-19)
- Build unexpected.js (Sune Simonsen)
- Fixed case where we didn't use the type system in to satisfy to decide is a function should be called (Sune Simonsen)
- Added regression test for #155. (Andreas Lind)
v7.4.0 (2015-05-18)
Pull requests
- #155 Use type system in to satisfy (Sune Simonsen)
- #154 expect.it: Indicate success/failure for all clauses. (Andreas Lind)
Commits to master
- Build unexpected.js (Andreas Lind)
- wrapperObject to satisfy: Prefer the label from the assertion being delegated to if available. (Andreas Lind)
- Update index.md (Andreas Lind)
v7.3.0 (2015-05-13)
- Build unexpected.js (Andreas Lind)
- Inspect errors with only a message property more compactly. (Andreas Lind)
v7.2.0 (2015-05-13)
- Build unexpected.js (Andreas Lind)
- binaryArray: Add support for .prefix() and .suffix() the same way as array-like and wrapperObject. (Andreas Lind)
v7.1.2 (2015-05-12)
- Build unexpected.js (Sune Simonsen)
- Use the error name when inspecting error instances (Sune Simonsen)
- Fixed: Provide context for type.prefix and type.suffix (Sune Simonsen)
- Added common.js to mocha.opts (Sune Simonsen)
- Removed unecessary code (Sune Simonsen)
- +1 more
v7.1.1 (2015-05-11)
- Build unexpected.js (Sune Simonsen)
- Use getKeys in array-like when inspecting (Sune Simonsen)
- Provide context for type prefix and suffix methods. (Sune Simonsen)
- Never dot out the unwrapped value of a wrapper object (Sune Simonsen)
v7.1.0 (2015-05-11)
- Build unexpected.js (Andreas Lind)
- Fixed typo in docs. (Andreas Lind)
- package.json: Lock down the bluebird dependency at 2.9.25. (Andreas Lind)
- to satisfy diff on array-like: Output the type name when it's not an actual array. (Andreas Lind)
- to satisfy: Renamed var to reflect reality: bothAreArrays => bothAreArrayLike (Andreas Lind)
- +14 more
v7.0.5 (2015-05-04)
- Build unexpected.js (Andreas Lind)
- Buffer to satisfy: Support promise-returning expect.its and functions. (Andreas Lind)
- Renamed accidentally committed "should foo" test and added the successful case. (Andreas Lind)
- Make the site generation a bit more general (Sune Simonsen)
- Fixed bug in update-examples with the new metalsmith-unexpected-markdown (Sune Simonsen)
- +3 more
v7.0.4 (2015-04-30)
- Build unexpected.js (Sune Simonsen)
- Fixed bug where the diff for an array-like object satisfied against an array did not show that entries should be removed (Sune Simonsen)
v7.0.3 (2015-04-29)
- Build unexpected.js (Andreas Lind)
- any type: Guard against node.js' require('util').inspect eagerly calling .inspect() on objects (Andreas Lind)
- to satisfy: Fixed silently successful 'to satisfy' of array against objects. (Andreas Lind)
v7.0.2 (2015-04-29)
- Build unexpected.js (Andreas Lind)
- Refactored expect.it to settle all promises before building the report. (Andreas Lind)
- Makefile, travis target: Disregard the exit code from coveralls to avoid failing the build when it flakes out. (Andreas Lind)
- Updated to throw documentation to include to satisfy example (Sune Simonsen)
- Updated the error message for #149 to point to the documentation (Sune Simonsen)
- +10 more