Releases: chaijs/chai
Releases · chaijs/chai
v5.0.0
BREAKING CHANGES
- Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have
import {...} from 'chai'
orimport('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
- feat: use chaijs/loupe for inspection by @pcorpet in #1401
- docs: fix URL in README by @Izzur in #1413
- Remove
get-func-name
dependency by @koddsson in #1416 - Convert Makefile script to npm scripts by @koddsson in #1424
- Clean up README badges by @koddsson in #1422
- fix: package.json - deprecation warning on exports field by @stevenjoezhang in #1400
- fix: deep-eql bump package to support symbols by @snewcomer in #1458
- ES module conversion PoC by @43081j in #1498
- chore: drop commonjs support by @43081j in #1503
- Update pathval by @koddsson in #1527
- Update check-error by @koddsson in #1528
- update
deep-eql
to latest version by @koddsson in #1542 - Inline
type-detect
as a simple function by @koddsson in #1544 - Update loupe by @koddsson in #1545
- Typo 'Test an object' not 'Test and object' by @mavaddat in #1460
- Update
assertion-error
to it's latest major version! by @koddsson in #1543 - Replacing Karma with Web Test Runner by @koddsson in #1546
New Contributors
- @Izzur made their first contribution in #1413
- @stevenjoezhang made their first contribution in #1400
- @43081j made their first contribution in #1498
Full Changelog: 4.3.1...v5.0.0
v5.0.0-alpha.2
What's Changed
- update
deep-eql
to latest version by @koddsson in #1542 - Inline
type-detect
as a simple function by @koddsson in #1544 - Update loupe by @koddsson in #1545
- Typo 'Test an object' not 'Test and object' by @mavaddat in #1460
- Update
assertion-error
to it's latest major version! by @koddsson in #1543 - Replacing Karma with Web Test Runner by @koddsson in #1546
Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.2
v4.3.10
This release simply bumps all dependencies to their latest non-breaking versions.
What's Changed
- upgrade all dependencies by @keithamus in #1540
Full Changelog: v4.3.9...v4.3.10
v4.3.9
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
What's Changed
- 4.x.x: Fix link to commit logs on GitHub by @bugwelle in #1487
- build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 by @dependabot in #1488
- Small typo in test.js by @mavaddat in #1459
- docs: specify return type of objDisplay by @scarf005 in #1490
- Update CONTRIBUTING.md by @matheus-rodrigues00 in #1521
- Fix: update exports.version to current version by @peanutenthusiast in #1534
New Contributors
- @bugwelle made their first contribution in #1487
- @mavaddat made their first contribution in #1459
- @scarf005 made their first contribution in #1490
- @matheus-rodrigues00 made their first contribution in #1521
- @peanutenthusiast made their first contribution in #1534
Full Changelog: v4.3.7...v4.3.8
v5.0.0-alpha.1
v5.0.0-alpha.0
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
What's Changed
- fix: deep-eql bump package to support symbols comparison by @snewcomer in #1483
Full Changelog: v4.3.6...v4.3.7