# What changed in eslint-plugin-jest-dom

> 12 changes in eslint-plugin-jest-dom 5 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/eslint-plugin-jest-dom/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## eslint-plugin-jest-dom 5

### New APIs and options

- Mixed value assertions can now be replaced with this matcher. (5.8.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.8.0)
- Mixed value assertions can now be replaced with this matcher. (5.8.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.8.0)
- Adds the prefer-pressed rule to eslint-plugin-jest-dom. (5.7.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.7.0)

### Behavior and default changes

- The prefer-in-document rule now supports toBeNil and toBeNullable. (5.10.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.10.0)
- The rule supports aria-valuenow, allowing it to recommend the preferred value assertion for that attribute. (5.8.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.8.0)

### Tooling

- The plugin now supports ESLint v10. (5.6.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.6.0)

### Fixes and other changes

- The rule now reports on identifiers. (5.10.1) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.10.1)
- The prefer-class rule now supports toBeTrue and toBeFalse. (5.9.1) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.9.1)
- The prefer-empty rule no longer fixes a matcher when it has no argument. (5.8.1) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.8.1)
- Negated messages for banned attribute based rules now include the actual arguments. (5.7.1) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.7.1)
- No longer flags aria-checked="mixed". (5.6.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.6.0)
- Its fixer now always passes strings. (5.6.0) — [release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases/tag/v5.6.0)
