# jest-dom changelog > Custom DOM element matchers for Jest and Vitest. - Vendor: Testing Library - Category: Developer Tools - Official site: https://github.com/testing-library/jest-dom - Tracked by: What's New (https://whatsnew.fyi/product/testing-library-jest-dom) - Harvested from: GitHub (testing-library/jest-dom) - Entries below: 10 (newest first) What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## Releases ### v7.0.1 - Date: 2026-08-09 - Version: v7.0.1 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v7.0.1 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v7.0.1 - **fixed** — declare vitest as an optional peer dependency ##### [7.0.1](https://github.com/testing-library/jest-dom/compare/v7.0.0...v7.0.1) (2026-08-09) ###### Bug Fixes * declare vitest as an optional peer dependency ([#733](https://github.com/testing-library/jest-dom/issues/733)) ([3782c78](https://github.com/testing-library/jest-dom/commit/3782c78b3dc9824675afe0cb8f1722f8c96f494d)) ### v7.0.0 - Date: 2026-07-20 - Version: v7.0.0 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v7.0.0 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v7.0.0 - **added** — add toContainAnyBy* and toContainOneBy* query matchers - **changed** — @testing-library/dom is now a required peer dependency - **changed** — The minimum supported Node.js version is now 22 #### [7.0.0](https://github.com/testing-library/jest-dom/compare/v6.10.0...v7.0.0) (2026-07-20) ###### Features * add toContainAnyBy* and toContainOneBy* query matchers ([1e39089](https://github.com/testing-library/jest-dom/commit/1e39089d850408a583c83495d00d8aa27078933f)) ###### BREAKING CHANGES * @testing-library/dom is now a required peer dependency. The minimum supported Node.js version is now 22. Repaired release for https://github.com/testing-library/jest-dom/pull/731 ### v6.10.0 - Date: 2026-07-20 - Version: v6.10.0 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.10.0 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.10.0 - **added** — Add toContainAnyBy* and toContainOneBy* query matchers #### [6.10.0](https://github.com/testing-library/jest-dom/compare/v6.9.1...v6.10.0) (2026-07-20) ###### Features * add toContainAnyBy* and toContainOneBy* query matchers ([#731](https://github.com/testing-library/jest-dom/issues/731)) ([cae44df](https://github.com/testing-library/jest-dom/commit/cae44df901cf8e92e3febc0af6fa667b10be6d6a)) ### v6.9.1 - Date: 2025-10-01 - Version: v6.9.1 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.9.1 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.9.1 - **fixed** — Fix undefined Node error in nodejs ##### [6.9.1](https://github.com/testing-library/jest-dom/compare/v6.9.0...v6.9.1) (2025-10-01) ###### Bug Fixes * Fix undefined `Node` error (nodejs) ([#707](https://github.com/testing-library/jest-dom/issues/707)) ([0ff8904](https://github.com/testing-library/jest-dom/commit/0ff8904ff4683d676ff70ab68b7f08465c44d0d0)) ### v6.9.0 - Date: 2025-09-30 - Version: v6.9.0 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.9.0 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.9.0 - **added** — Add .toAppearBefore/.toAppearAfter matcher #### [6.9.0](https://github.com/testing-library/jest-dom/compare/v6.8.0...v6.9.0) (2025-09-30) ###### Features * Add .toAppearBefore/.toAppearAfter matcher ([#702](https://github.com/testing-library/jest-dom/issues/702)) ([95f870a](https://github.com/testing-library/jest-dom/commit/95f870acb2f9b200bb8833aba476fba3ad7b8dee)) ### v6.8.0 - Date: 2025-08-20 - Version: v6.8.0 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.8.0 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.8.0 - **added** — Add toBePartiallyPressed matcher #### [6.8.0](https://github.com/testing-library/jest-dom/compare/v6.7.0...v6.8.0) (2025-08-20) ###### Features * add toBePartiallyPressed matcher ([#203](https://github.com/testing-library/jest-dom/issues/203)) ([#692](https://github.com/testing-library/jest-dom/issues/692)) ([779b712](https://github.com/testing-library/jest-dom/commit/779b7125d39fe49e8b674f078c4692c1becdc8b4)) ### v6.7.0 - Date: 2025-08-13 - Version: v6.7.0 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.7.0 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.7.0 - **added** — add toBePressed matcher #### [6.7.0](https://github.com/testing-library/jest-dom/compare/v6.6.4...v6.7.0) (2025-08-13) ###### Features * add toBePressed matcher ([#203](https://github.com/testing-library/jest-dom/issues/203)) ([#658](https://github.com/testing-library/jest-dom/issues/658)) ([cfdf8ae](https://github.com/testing-library/jest-dom/commit/cfdf8ae3701ddb4fc26f481a842366f1b0823594)) ### v6.6.4 - Date: 2025-07-26 - Version: v6.6.4 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.6.4 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.6.4 - **changed** — replace chalk with picocolors for improved performance ##### [6.6.4](https://github.com/testing-library/jest-dom/compare/v6.6.3...v6.6.4) (2025-07-26) ###### Performance Improvements * replace chalk with picocolors ([#659](https://github.com/testing-library/jest-dom/issues/659)) ([707e647](https://github.com/testing-library/jest-dom/commit/707e6471ae33fa2a25fab7e87be721218b5b9339)) ### v6.6.3 - Date: 2024-10-31 - Version: v6.6.3 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.6.3 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.6.3 - **fixed** — add vitest import when extending vitest matchers ##### [6.6.3](https://github.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3) (2024-10-31) ###### Bug Fixes * add vitest import when extending vitest matchers ([#646](https://github.com/testing-library/jest-dom/issues/646)) ([5ba0156](https://github.com/testing-library/jest-dom/commit/5ba015651c7b10c154e5a4ae54f85df6010c5295)) ### v6.6.2 - Date: 2024-10-17 - Version: v6.6.2 - Original notes: https://github.com/testing-library/jest-dom/releases/tag/v6.6.2 - Permalink: https://whatsnew.fyi/product/testing-library-jest-dom/releases/v6.6.2 - **fixed** — remove recursive type reference in vitest types ##### [6.6.2](https://github.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2) (2024-10-17) ###### Bug Fixes * remove recursive type reference in vitest types ([#636](https://github.com/testing-library/jest-dom/issues/636)) ([4468378](https://github.com/testing-library/jest-dom/commit/4468378fb4986018e0bacdebd02244decb9f0718))