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