Releases: chaijs/chai-as-promised
Releases · chaijs/chai-as-promised
v8.0.0
What's Changed
- Migrate CI to GitHub Actions by @WikiRik in #283
- feat: upgrade dev toolchain by @43081j in #285
- chore: add prettier by @43081j in #286
- feat: move to ESM-only by @43081j in #287
- fix: raise a nicer error when non-object errors are matched by @43081j in #294
- chore: allow publishing prereleases by @43081j in #295
- fix: update repo in package.json by @43081j in #296
- chore: relicense as MIT by @43081j in #299
New Contributors
Full Changelog: v7.1.2...v8.0.0
v8.0.0-beta.1
What's Changed
Full Changelog: v8.0.0-beta.0...v8.0.0-beta.1
v8.0.0-beta.0
What's Changed
- Migrate CI to GitHub Actions by @WikiRik in #283
- feat: upgrade dev toolchain by @43081j in #285
- chore: add prettier by @43081j in #286
- feat: move to ESM-only by @43081j in #287
- fix: raise a nicer error when non-object errors are matched by @43081j in #294
- chore: allow publishing prereleases by @43081j in #295
New Contributors
Full Changelog: v7.1.2...v8.0.0-beta.0
v7.1.2
What's Changed
- docs(README): add example of how to use async/await by @jedwards1211 in #222
- Updated README.md to reflect functionality by @James-Firth in #247
- feat: support chai 5.x in peer dependency by @43081j in #284
New Contributors
- @jedwards1211 made their first contribution in #222
- @James-Firth made their first contribution in #247
- @43081j made their first contribution in #284
Full Changelog: v7.1.1...v7.1.2
7.1.1
7.1.0
7.0.0
The breaking change in this release is that it has started using syntax that is only supported on Node.js v4 and above, as previous versions of Node no longer are supported by the Node.js project itself. As such browser consumers will also need to take care to transpile when testing on older browsers.
Additionally, Chai as Promised now supports Chai v4 (@meeber).
6.0.0
In #167, @lddubeau made many improvements to edge cases that have plagued users:
- Overhauls
rejectedWith
to behave more like Chai'sthrows
asserter. - Updates
.fulfilled
,.rejected
, and.rejectedWith
to change the asserter target to the fulfillment value or rejection reason, so that further assertions with.and
act on them. - Updates
.fulfilled
, when successful, to return a promise that fulfills with the fulfillment value - Updates
.rejected
and.rejectedWith
, when successful, to return a promise that fulfills with the rejection reason
Also, Chai as Promised now only supplies a CommonJS-style module. To get AMD or <script>
-compatibility, use a bundler tool like browserify.