Releases: astorije/chai-immutable
v2.1.0
See the full changelog and milestone
.equal
now checks forisImmutable
instead ofisIterable
(#213 by @gugu)- Implement reference comparison (#218 by @jakubzitny)
- Add a table of contents of available assertions to the README (#221)
Thanks to @gugu, @jakubzitny, and @jankuca for helping me get this release out! 🙂
v2.0.0
See the full changelog and milestone
- Breaking change: Add Chai v4 support, drop support of Chai <= v3 (#69 by @meeber)
- Breaking change: Add official support of Node.js v6, v8, v10, and v11, and drop official support of Node.js v0.10, v0.12, v4, and v5 (#87, #145, #182)
- Breaking change:
.not.property
and.not.nested.property
now pass when given both a key and value, and that key does not exist (it used to fail) (#104) - Breaking change: Immutable.js is now a
peerDependency
(#99) - Better diff of which keys are extra/missing rather than getting big strings dumped on the user (#67 by @slobo)
- Re-sync
.keys
with Chai's native assertion, and add tests/support for.deep.keys
(#109) - Document usage with Yarn (#148)
- Package is now more lightweight, from 104kb to 52kb (#151)
Huge thanks to @slobo, @meeber, @dmonego, and @antonin-arquey for their help with this release!
v2.0.0-rc.3
v2.0.0-rc.3
v2.0.0-rc.2
2.0.0-rc.2
v2.0.0-rc.1
2.0.0-rc.1
v2.0.0-alpha.2
2.0.0-alpha.2
v2.0.0-alpha.1
2.0.0-alpha.1
v1.6.0
The biggest addition of this release is support the .property
assertion. Huge thanks to @scottnonnenberg for this!
Other notable additions include official support for Node.js v5.x (v6.x should be supported just fine, but CI tools are not building against it yet) and minor documentation improvements and additions.
v1.5.4
This release brings some minor documentation improvements and dependency upgrades, as well as a nice fix by @jakelazaroff:
- Document how to integrate
chai-immutable
withchai-as-promised
(PR #38) - Update minor and patch versions of non-essential devDependencies
- Add Chai's Code of Conduct (PR #42)
- Use
Iterable.isIterable
for Immutable check to fix false results when using multiple copies of Immutable (PR #36 by @jakelazaroff)
v1.5.3
This releases adds some niceness to failing tests:
- Clean up the output messages on failures to a human-readable format on
equal
,include
andkeys
assertions (issue #7) - Make sure the diff is shown when an assertion using
equal
is failing
Additionally, it ensures future compatibility with the new documentation system for Chai plugins (issue #34 on chai-docs
).