Skip to content

Releases: testing-library/eslint-plugin-testing-library

v4.0.0-beta.2

03 Apr 10:02
7e9d5c5

Choose a tag to compare

v4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2021-04-03)

Bug Fixes

  • first round of bugfixes for v4 (7e9d5c5), closes #307 #304
  • await-async-utils: reference correct node name (a8c1fe4)
  • no-await-sync-query: avoid false positive from parent func (cac6670)
  • no-wait-for-side-effects: report on each side effect node (93b81f5)
  • prefer-find-by: simplify error message (82124af)

Features

  • no-wait-for-multiple-assertions: report assertions (98448bb)

v4.0.0-beta.1

28 Mar 18:14
82ace49

Choose a tag to compare

v4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2021-03-28)

Bug Fixes

  • no-await-sync-query: avoid reporting queries if not within callee (#278) (ed09979), closes #276

chore

  • update dependencies + run prettier on codebase (#234) (9c2072d)

Code Refactoring

Features

BREAKING CHANGES

  • Minimum node version required is v10.22.1
  • Minimum ESLint version required is 7.5.0. Support for ESLint between v5 and v7.4 has been dropped
  • recommended config preset has been renamed to dom, so make sure to update it in your ESLint config file if you were using recommended preset.
  • no-wait-for-empty-callback rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.
  • prefer-screen-queries rule is automatically enabled if recommended, angular, react or vue config enabled. If you have any of those enabled, you could get new ESLint errors related to this rule after upgrading this plugin.

v3.10.2

21 Mar 10:18

Choose a tag to compare

3.10.2 (2021-03-21)

Bug Fixes

  • no-await-sync-events: add exception for userEvent.keyboard (4d5b422)

v3.10.1

19 Nov 00:24
b289638

Choose a tag to compare

3.10.1 (2020-11-19)

Bug Fixes

  • prefer-explicit-assert: handle valid getBy* without expect (#257) (b289638)

v3.10.0

29 Oct 22:38
2cc2263

Choose a tag to compare

3.10.0 (2020-10-29)

Features

v3.9.2

16 Oct 11:00
f78720d

Choose a tag to compare

3.9.2 (2020-10-16)

Bug Fixes

  • prefer-explicit-assert: only enforce assertion when presence/absence matcher (#238) (f78720d), closes #218

v3.9.1

12 Oct 18:20
6ce0140

Choose a tag to compare

3.9.1 (2020-10-12)

Bug Fixes

v3.9.0

20 Sep 15:46
be75630

Choose a tag to compare

3.9.0 (2020-09-20)

Features

v3.8.0

31 Aug 08:51
7e2f5e3

Choose a tag to compare

3.8.0 (2020-08-31)

Features

v3.7.0

22 Aug 18:03
dddf405

Choose a tag to compare

3.7.0 (2020-08-22)

Features

  • prefer-explicit-assert: add 'assertion' config option (#220) (dddf405), closes #218