Skip to content

Releases: chaijs/chai

v4.3.6

26 Jan 13:12
529b8b5

Choose a tag to compare

Update loupe to 2.3.1

v4.3.5

25 Jan 14:46
99e36a8

Choose a tag to compare

v4.3.4...v4.3.5

v4.3.4

12 Mar 16:51

Choose a tag to compare

This fixes broken inspect behavior with bigints (#1321) (#1383) thanks @vapier

4.3.3 / 2021-03-03

03 Mar 18:22

Choose a tag to compare

This reintroduces Assertion as an export in the mjs file. See #1378 & #1375

4.3.2 / 2021-03-03

03 Mar 18:20

Choose a tag to compare

This fixes a regression in IE11. See #1380 & #1379

4.3.1 / 2021-03-02

02 Mar 18:21

Choose a tag to compare

This releases fixed an engine incompatibility with 4.3.0

The 4.x.x series of releases will be compatible with Node 4.0. Please report any errors found in Node 4 as bugs, and they will be fixed.

The 5.x.x series, when released, will drop support for Node 4.0

This fix also ensures pathval is updated to 1.1.1 to fix CVE-2020-7751

4.3.0 / 2021-02-04

04 Feb 10:58

Choose a tag to compare

This is a minor release.

Not many changes have got in since the last release but this one contains a very important change (#1257) which will allow jest users to get better diffs. From this release onwards, jest users will be able to see which operator was used in their diffs. The operator is a property of the AssertionError thrown when assertions fail. This flag indicates what kind of comparison was made.

This is also an important change for plugin maintainers. Plugin maintainers will now have access to the operator flag, which they can have access to through an utilmethod calledgetOperator`.

Thanks to all the amazing people that contributed to this release.

New Features

  • Allow contain.oneOf to take an array of possible values (@voliva)
  • Adding operator attribute to assertion error (#1257) (@rpgeeganage)
  • The closeTo error message will now inform the user when a delta is required (@eouw0o83hf)

Docs

  • Add contains flag to oneOf documentation (@voliva)

Tests

  • Make sure that useProxy config is checked in overwriteProperty (@vieiralucas)
  • Add tests for contain.oneOf (@voliva )

Chores

  • Update mocha to version 6.1.4
  • Add node v10 and v12 to ci (@vieiralucas)
  • Drop support for node v4, v6 and v9 (@vieiralucas)
  • Fix sauce config for headless chrome (@meeber)
  • Update dev dependencies (@meeber)
  • Removed phantomjs dependency (#1204)

4.2.0 / 2018-09-25

26 Sep 09:40

Choose a tag to compare

This is a minor release. Thank you to all of our contributors and users!

New Features

Bug Fixes

Performance

Style

Tests

  • test(assert): increase coverage (#1084, #1085; @brutalcrozt)
  • test: stop modifying globals in Proxy tests (#1144; @meeber)

Docs

Chores

  • chore: update package-lock.json (#1198; @meeber)
  • Update mocha to the latest version (#1127)
  • chore: update dependencies (#1157; @meeber)
  • Update browserify to the latest version (#1135)
  • chore: update Node versions in Travis config (#1126; @meeber)
  • chore: remove Opera from Sauce config (#1125; @meeber)
  • chore: update dependencies (#1118; @meeber)
  • chore: update dependencies (#1074; @meeber)
  • Chore: change coverage service (coverall to codecov) (#927, #1073; @brutalcrozt)
  • chore: add package-lock.json (#1013; @meeber)

4.1.2 / 2017-08-31

31 Aug 21:39

Choose a tag to compare

This release fixes a bug when running in certain environments, and includes a few minor documentation fixes.

Bug Fixes

  • fix: update deep-eql to version 3.0.0 (#1020)
  • fix: replace code causing breakage under strict CSP (#1032; @Alhadis)

Docs

4.1.1 / 2017-08-05

05 Aug 07:29

Choose a tag to compare

This release includes a few bug and documentation fixes.

Bug Fixes

Docs