Skip to content

Releases: chaijs/chai

v5.0.0

28 Dec 11:56
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v4.3.6

26 Jan 13:12
529b8b5
Compare
Choose a tag to compare

Update loupe to 2.3.1

v4.3.5

25 Jan 14:46
99e36a8
Compare
Choose a tag to compare

v4.3.4...v4.3.5