Skip to content

Releases: chaijs/chai

v4.4.0

05 Jan 13:21

Choose a tag to compare

What's Changed

  • Allow deepEqual fonction to be configured globally (4.x.x branch) by @forty in #1553

Full Changelog: v4.3.10...v4.4.0

v5.0.0-rc.0

06 Dec 12:58

Choose a tag to compare

v5.0.0-rc.0 Pre-release
Pre-release

The first Release Candidate of chai@v5 is here!

We've put out a few alpha versions and tested them out in various projects with good success. This RC includes all those changes plus any fixes that we've discovered since then.

Please try it out in your projects and let us know if you run into any issues so we can make fixes before version 5!

Thanks for using Chai 🙏🏻

What's Changed

New Contributors

Full Changelog: v4.3.10...v5.0.0-rc.0

v5.0.0

28 Dec 11:56

Choose a tag to compare

BREAKING CHANGES

  • Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have import {...} from 'chai' or import('chai'). require('chai') will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls.
  • Dropped support for Internet Explorer.
  • Dropped support for NodeJS < 18.
  • Minimum supported browsers are now Firefox 100, Safari 14.1, Chrome 100, Edge 100. Support for browsers prior to these versions is "best effort" (bug reports on older browsers will be assessed individually and may be marked as wontfix).

What's Changed

New Contributors

Full Changelog: 4.3.1...v5.0.0

v5.0.0-alpha.2

30 Oct 11:01

Choose a tag to compare

v5.0.0-alpha.2 Pre-release
Pre-release

What's Changed

Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.2

v4.3.10

28 Sep 09:51
744a16e

Choose a tag to compare

This release simply bumps all dependencies to their latest non-breaking versions.

What's Changed

Full Changelog: v4.3.9...v4.3.10

v4.3.9

27 Sep 09:25
923d0a4

Choose a tag to compare

Upgrade dependencies.

This release upgrades dependencies to address CVE-2023-43646 where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang.

Full Changelog: v4.3.8...v4.3.9

v4.3.8

24 Aug 11:44
d9ff2c6

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.3.7...v4.3.8

v5.0.0-alpha.1

26 Jul 07:22
c6481e0

Choose a tag to compare

v5.0.0-alpha.1 Pre-release
Pre-release

What's Changed

Full Changelog: v5.0.0-alpha.0...v5.0.0-alpha.1

v5.0.0-alpha.0

07 Feb 14:57
3076fb3

Choose a tag to compare

v5.0.0-alpha.0 Pre-release
Pre-release

This release is the first alpha release for Chai 5. The changes from v4.x:

  • This package now uses ESM modules. CommonJS environments are no longer supported. If you wish to use a CommonJS environment, please continue to use Chai 4.
  • Drop support for NodeJS versions less than 16. If you are using NodeJS v4-v15, please continue to use Chai 4.
  • Drop support for Internet Explorer 10 & 11. If you wish to test against Internet Explorer 10 or 11 please continue to use Chai 4.
  • Drop support for Safari versions less than 14. If you wish to test against Safari v10-v13 please continue to use Chai 4.
  • Drop support for EdgeHTML. If you wish to test against Edges older than 18 (as in, not Chromium Edge) please continue to use Chai 4.
  • Drop support for Firefox versions less than 102. If you wish to test against Firefox 60 through to 101 please continue to use Chai 4.
  • Drop support for Chrome versions less than 108. If you wish to test against Chrome 68 through 107 please continue to use Chai 4.

v4.3.7

07 Nov 16:38
775f509

Choose a tag to compare

What's Changed

  • fix: deep-eql bump package to support symbols comparison by @snewcomer in #1483

Full Changelog: v4.3.6...v4.3.7