Skip to content

Releases: chaijs/chai-as-promised

v8.0.2

22 Aug 17:26
726c0e0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.0.1...v8.0.2

v8.0.1

23 Nov 21:35
85ce334

Choose a tag to compare

What's Changed

  • fix: update license in package manifest by @43081j in #300

Full Changelog: v8.0.0...v8.0.1

v8.0.0

09 Jun 18:13
4c6e8b0

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.1.2...v8.0.0

v8.0.0-beta.1

14 May 21:14
0bf21dd

Choose a tag to compare

v8.0.0-beta.1 Pre-release
Pre-release

What's Changed

Full Changelog: v8.0.0-beta.0...v8.0.0-beta.1

v8.0.0-beta.0

14 May 21:11
c9a4b22

Choose a tag to compare

v8.0.0-beta.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v7.1.2...v8.0.0-beta.0

v7.1.2

11 May 10:21

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.1.1...v7.1.2

7.1.1

05 Jul 00:33

Choose a tag to compare

Fixes ESLint accidentally being included as a dependency since v7.0.0.

7.1.0

02 Jul 18:22

Choose a tag to compare

Fixes Chai's proxy protection for property assertions (when using Chai v4 or higher). (@meeber, #205)

7.0.0

11 Jun 19:54

Choose a tag to compare

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

27 Sep 18:22

Choose a tag to compare

In #167, @lddubeau made many improvements to edge cases that have plagued users:

  • Overhauls rejectedWith to behave more like Chai's throws 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.