Skip to content

Releases: chaijs/chai-as-promised

v8.0.0-beta.1

14 May 21:14
0bf21dd
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

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

7.1.0

02 Jul 18:22
Compare
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
Compare
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
Compare
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.

5.3.0

20 Mar 22:52
Compare
Choose a tag to compare

Adds support for promises from jQuery >= 3.0.0. (@mgol, #122)

5.2.0

20 Dec 15:38
Compare
Choose a tag to compare

Allows messages to be passed through for .should.become(value, message). (@klamping, #132)

5.1.0

20 Dec 15:37
Compare
Choose a tag to compare

Adds support for Chai 3.x.