Note: everything before this version's changelog was filled in retroactively.
- Remove
assert.async
API without replacement.- Just use the
assert.*
methods directly within your.then
callbacks.
- Just use the
- Bring
clean-assert-util
andclean-match
into the library itself and remove their dependencies. - Fix a few outstanding bugs and docs issues.
- Add a
global.js
bundle for easier browser loading. - Optimize
assert.includes
and friends' matching algorithm. - Simplify the internals some.
- Support array-like collections in
assert.includes
and friends. - Add
assert.equalsAny(actual, [...expected])
and correspondingassert.equalsNone(actual, [...expected])
to replace the abuse ofassert.includes
andassert.includesAny
I was starting to do. - Remove several stray Thallium remnants within the code base.
- Add a lot more tests, and cover most permutations.
- Revise and reorganize documentation.
- Streamline public API by:
- Recasting the high-level API to be simpler and more consistent.
- Renaming several methods to use proper English
- Using a single method for type checking and reusing the logic for
assert.throws
.
- Fix argument order from
expected, actual
toactual, expected
- Support iterators for key lists.
- Add iterable type checks.
- Support iterables in
assert.includes
and friends.
- Add a couple files missed from a broken
npm publish
- Add
assert.async
API for working with promises
First stable release