Skip to content

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

v6.1.2

09 Nov 10:09
Compare
Choose a tag to compare

6.1.2 (2023-11-09)

Bug Fixes

  • await-async-events: avoid reporting userEvent.setup() in wrappers (#834) (a1bb21e), closes #800

v6.1.1

09 Nov 08:38
cb84da2
Compare
Choose a tag to compare

6.1.1 (2023-11-09)

Bug Fixes

  • handle multiple imports with no-manual-cleanup (#835) (cb84da2)

v6.1.0

12 Oct 14:31
56a1900
Compare
Choose a tag to compare

6.1.0 (2023-10-12)

Features

v6.0.2

23 Sep 13:11
c0b6e6f
Compare
Choose a tag to compare

6.0.2 (2023-09-23)

Bug Fixes

  • await-async-events: sync userEvent.setup() should not be reported (#817) (c0b6e6f), closes #800

v6.0.1

24 Aug 15:57
88246fc
Compare
Choose a tag to compare

6.0.1 (2023-08-24)

Bug Fixes

  • no-await-sync-events: stop reporting user-event by default (#803) (88246fc)

v6.0.0

12 Aug 12:11
Compare
Choose a tag to compare

6.0.0 (2023-08-12)

You can follow the migration guide to v6.

BREAKING CHANGES

  • await-async-query: await-async-query is now called await-async-queries
  • no-await-sync-events: no-await-sync-events is now enabled by default in the DOM, Angular & React configs
  • no-await-sync-query: no-await-sync-query is now called no-await-sync-queries
  • no-debugging-utils: no-debugging-utils now enables all debug methods in all configs by default
  • no-node-access: no-node-access is now enabled by default in the DOM config
  • await-fire-event: await-fire-event is now called await-async-event
  • no-global-regexp-flag-in-query: no-global-regexp-flag-in-query is now enabled by default in all configs
  • no-manual-cleanup: no-manual-cleanup is now enabled by default in the React & Vue configs
  • no-render-in-setup: no-render-in-setup is now called no-render-in-lifecycle
  • prefer-wait-for: prefer-wait-for is now removed

Bug Fixes

  • await-async-event: pluralize to await-async-events (#670) (7238f76)
  • await-async-events: improve fixer (#675) (9d5554c)

Features

  • await-async-event: add basic fixer (#656) (b4b5394)
  • await-async-query: rename to await-async-queries (#665) (c1803df)
  • await-fire-event: rename to await-async-event + add support for user-event (#652) (b4ce9bb)
  • no-await-sync-events: add to DOM, Angular & React configs by default (#667) (afce5ea)
  • no-await-sync-query: rename to no-await-sync-queries (#666) (7ed3da8)
  • no-debugging-utils: enable all debug methods in all configs by default (#663) (e394ce0)
  • no-debugging-utils: warn instead of error in all configs (#662) (8063f8f)
  • no-global-regexp-flag-in-query: add to all configs by default (#660) (c76a7bf)
  • no-manual-cleanup: add to React & Vue configs by default (#659) (8f6ebf5)
  • no-node-access: add to DOM config by default (#661) (8dfe155)
  • no-render-in-setup: rename to no-render-in-lifecycle (#649) (9acba43)
  • prefer-wait-for: remove rule (#648) (20f23ad)

v6.0.0-alpha.15

05 Aug 12:02
Compare
Choose a tag to compare
v6.0.0-alpha.15 Pre-release
Pre-release

6.0.0-alpha.15 (2023-08-05)

Bug Fixes

  • await-async-util: false positives due to empty strings (#733) (c2b8515)
  • await-async-utils: false positive when destructuring (#722) (34a0a55)
  • deps: update dependencies to latest minor (#753) (9dbd966)
  • prefer-presence-queries: ignore getBy* inside within for on absence queries (#740) (b75dc73)

Features

  • add prefer-query-matchers rule (#750) (31516ad)
  • consistent-data-testid: add support for custom error message (#719) (79b380f), closes #718

v5.11.1

05 Aug 11:31
b75dc73
Compare
Choose a tag to compare

5.11.1 (2023-08-05)

Bug Fixes

  • prefer-presence-queries: ignore getBy* inside within on absence queries (#740) (b75dc73)

v5.11.0

10 May 09:34
31516ad
Compare
Choose a tag to compare

5.11.0 (2023-05-10)

Features

v5.10.3

12 Apr 22:18
9dbd966
Compare
Choose a tag to compare

5.10.3 (2023-04-12)

Bug Fixes

  • deps: update dependencies to latest minor (#753) (9dbd966)