fix(deps): update testing-library monorepo (major) #9

Merged
kumi merged 2 commits from renovate/major-testing-library-monorepo into main 2025-03-12 12:15:27 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
@testing-library/jest-dom dependencies major ^5.17.0 -> ^6.0.0
@testing-library/react dependencies major ^13.4.0 -> ^16.0.0
@testing-library/user-event dependencies major ^13.5.0 -> ^14.0.0

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

v6.6.3

Compare Source

Bug Fixes
  • add vitest import when extending vitest matchers (#​646) (5ba0156)

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features

v6.4.8

Compare Source

Bug Fixes

v6.4.7

Compare Source

Bug Fixes

v6.4.6

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes

v6.4.4

Compare Source

Bug Fixes

v6.4.3

Compare Source

Bug Fixes
  • Updates role support for aria-required attribute in toBeRequired (#​590) (20aca33)

v6.4.2

Compare Source

Bug Fixes
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.3.1 to address vulnerability (#​532) (44f1eab)

v6.1.3

Compare Source

Bug Fixes

v6.1.2

Compare Source

Bug Fixes

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features

v6.0.1

Compare Source

Bug Fixes
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    the default import path or one of the new test platform-specific
    paths to automatically extend the appropriate "expect" instance.

extend-expect was not documented in the Readme, so this change should
have minimal impact.

Users can now use the following import paths to automatically extend
"expect" for their chosen test platform:

For example:

import '@​testing-library/jest-dom/jest-globals'

Importing from one of the above paths will augment the appropriate
matcher interface for the given test platform, assuming the import
is done in a .ts file that is included in the user's tsconfig.json.

It's also (still) possible to import the matchers directly without
side effects:

import * as matchers from '@​testing-library/jest-dom/matchers'

  • Update kcd-scripts
  • Drop node < 14
testing-library/react-testing-library (@​testing-library/react)

v16.2.0

Compare Source

Features

v16.1.0

Compare Source

Features

v16.0.1

Compare Source

Bug Fixes
  • Add support for exactOptionalPropertyTypes in TypeScript (#​1351) (3dcd8a9)

v16.0.0

Compare Source

Features
  • Move @testing-library/dom and @types/react-dom to peer dependencies (#​1305) (a4744fa)
BREAKING CHANGES
  • @testing-library/dom was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of @testing-library/dom installed that frequently caused bugs when used with @testing-library/user-event. We will also be able to allow new versions of @testing-library/dom being used without a SemVer major release of @testing-library/react by just widening the peer dependency.
    @types/react-dom needs to be installed if you're typechecking files using @testing-library/react.

v15.0.7

Compare Source

Bug Fixes
  • Ensure act is not any when React.act is not declared (#​1323) (c1f2957)

v15.0.6

Compare Source

Bug Fixes

v15.0.5

Compare Source

Bug Fixes

v15.0.4

Compare Source

Bug Fixes

v15.0.3

Compare Source

Bug Fixes
  • Don't raise TypeScript errors when hydating document (#​1304) (067d0c6)

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

Release
BREAKING CHANGES
  • Minimum supported Node.js version is 18.0
  • New version of @testing-library/dom changes various roles. Check out the changed tests in 2c570553d8 to get an overview about what changed.

v14.3.1

Compare Source

Bug Fixes

v14.3.0

Compare Source

Features

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Bug Fixes
  • Update types to support all possible react component return values (#​1272) (55e79c2)

v14.2.0

Compare Source

Features
  • add reactStrictMode option to enable strict mode render (#​1241) (0880eba)

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Features

v14.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
testing-library/user-event (@​testing-library/user-event)

v14.6.1

Compare Source

Bug Fixes

v14.6.0

Compare Source

Features
Bug Fixes
  • clipboard: await DataTransferItem.getAsString() callback (#​1251) (7b11b0e)
  • event: assign pointer coords to MouseEvent (#​1039) (8528972)
  • pointer: check PointerCoords.x in isDifferentPointerPosition (#​1216) (75edef5)
  • pointer: check all fields of PointerCoords in isDifferentPointerPosition() (#​1229) (5f3d28f)

v14.5.2

Compare Source

Bug Fixes
  • remove interop and deep DTL imports (6a3c896)

v14.5.1

Compare Source

Bug Fixes

v14.5.0

Compare Source

Bug Fixes
Features
  • types: Add additional type exports for UserEvent & Options (#​1112) (da00e8d)

v14.4.3

Compare Source

Bug Fixes

v14.4.2

Compare Source

Bug Fixes

v14.4.1

Compare Source

Bug Fixes

v14.4.0

Compare Source

Features
Bug Fixes
  • event: be robust against incomplete event implementations (#​1009) (289828b)
  • upload: be robust against missing FileList implementation (#​1007) (a46b4d7)
  • keyboard: switch modifier state of lock keys on the correct event (#​1003) (2852509)
  • keyboard: remove platform-specific additional key events for Control on AltGraph (#​1003) (2852509)
  • pointer: dispatch contextmenu events with detail: 0 (#​1003) (2852509)
  • pointer: always set PointerEvent.isPrimary (#​1003) (2852509)
  • pointer: set button property on pointer events separately from legacy mouse events (#​1003) (2852509)
  • pointer: click closest common ancestor if mousedown and mouseup happen on different elements (#​1003) (2852509)
  • pointer: omit click event on release if another button is released first (#​1003) (2852509)
  • pointer: dispatch mouseover, mouseenter and mousemove on disabled elements (#​1003) (2852509)
  • pointer: prevent mouse* events per pointerdown event handler (#​1003) (2852509)
  • pointer: dispatch *out and *over events when moving into / out of nested elements (#​1003) (2852509)
  • pointer: dispatch *enter and *leave events on ancestors (#​1003) (2852509)

v14.3.0

Compare Source

Features

v14.2.6

Compare Source

Bug Fixes
  • document: reduce impact of React@17 workaround (#​992) (9816d38)
  • pointer: do not throw for pointer-events: none on previous target (#​991) (6e4058b)

v14.2.5

Compare Source

Bug Fixes
  • document: do not track value on HTMLSelectElement (#​989) (77a7fa8)

v14.2.4

Compare Source

Bug Fixes
  • use window.FileList instead of implicit global (c88865d)

v14.2.3

Compare Source

Bug Fixes
  • document: use setters/methods on element as default (#​987) (c40e614)

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Performance Improvements
  • tab: avert visibility check on irrelevant elements (#​967) (d2d8a39)

v14.2.0

Compare Source

Features
  • report element with declaration in pointerEventsCheck (#​950) (31b7091)
Bug Fixes

v14.1.1

Compare Source

14.1.1 (2022-04-17)
Bug Fixes

v14.1.0

Compare Source

Features
Bug Fixes

v14.0.4

Compare Source

14.0.4 (2022-04-01)
Bug Fixes

v14.0.3

Compare Source

14.0.3 (2022-03-31)
Bug Fixes
  • pointer: change selection before dispatching focus (#​895) (06f12a6)

v14.0.2

Compare Source

14.0.2 (2022-03-31)
Bug Fixes

v14.0.1

Compare Source

14.0.1 (2022-03-31)
Bug Fixes

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • APIs always return a Promise.
  • pointer: skipPointerEvents has been removed.
    Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.
  • upload: init parameter has been removed from userEvent.upload.
  • upload: applyAccept defaults to true.
  • The userEvent.paste API has new parameters.
  • {ctrl}, {del}, {esc} no longer describe a key. Use {Control}, {Delete}, {Escape} instead.
  • {alt}, {ctrl}, {meta}, {shift} no longer imply not releasing the key. Use {Alt>}, {Control>}, {Meta>}, {Shift>} instead.
  • init parameter has been removed from these APIs:
    • userEvent.click
    • userEvent.dblClick
    • userEvent.tripleClick
    • userEvent.hover
    • userEvent.unhover
    • userEvent.selectOptions
    • userEvent.deselectOptions
  • userEvent.upload no longer supports clickInit
    as part of its init parameter.
  • Behavior for special key descriptor {selectall} has been removed.
  • Support for keyCode property on keyboard events has been removed.
  • An error is thrown when calling userEvent.clear on an element which is not editable.
  • An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
  • tab: The focusTrap option has been removed from userEvent.tab().
  • type: userEvent.type does no longer move the cursor
    if used with skipClick=false and without initialSelectionStart.
  • The implementation of pointer related APIs was replaced.
    This might break tests relying on unintended side-effects of the previous implementation.
  • Support for node 10 was removed as it reached its end-of-life.
Features
Bug Fixes
Miscellaneous Chores

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | dependencies | major | [`^5.17.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/5.17.0/6.6.3) | | [@testing-library/react](https://github.com/testing-library/react-testing-library) | dependencies | major | [`^13.4.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/13.4.0/16.2.0) | | [@testing-library/user-event](https://github.com/testing-library/user-event) | dependencies | major | [`^13.5.0` -> `^14.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fuser-event/13.5.0/14.6.1) | --- ### Release Notes <details> <summary>testing-library/jest-dom (@&#8203;testing-library/jest-dom)</summary> ### [`v6.6.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3) ##### Bug Fixes - add vitest import when extending vitest matchers ([#&#8203;646](https://github.com/testing-library/jest-dom/issues/646)) ([5ba0156](https://github.com/testing-library/jest-dom/commit/5ba015651c7b10c154e5a4ae54f85df6010c5295)) ### [`v6.6.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2) ##### Bug Fixes - remove recursive type reference in vitest types ([#&#8203;636](https://github.com/testing-library/jest-dom/issues/636)) ([4468378](https://github.com/testing-library/jest-dom/commit/4468378fb4986018e0bacdebd02244decb9f0718)) ### [`v6.6.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.6.0...v6.6.1) ##### Bug Fixes - fix lodash import in to-have-selection.js ([#&#8203;642](https://github.com/testing-library/jest-dom/issues/642)) ([ced792e](https://github.com/testing-library/jest-dom/commit/ced792e2f2773f16c249c6ce59fa8df968d28a20)) ### [`v6.6.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.6.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.5.0...v6.6.0) ##### Features - implement toHaveSelection ([#&#8203;637](https://github.com/testing-library/jest-dom/issues/637)) ([9b14804](https://github.com/testing-library/jest-dom/commit/9b148043d082a83f0ae5cdc03cdfc6a7c4573e6e)) ### [`v6.5.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.5.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.8...v6.5.0) ##### Features - **toHaveValue:** Asserting aria-valuenow ([#&#8203;479](https://github.com/testing-library/jest-dom/issues/479)) ([acbf416](https://github.com/testing-library/jest-dom/commit/acbf416871cf43525d569703be0e50f00a294e9b)) ### [`v6.4.8`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.8) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.7...v6.4.8) ##### Bug Fixes - Drop peerDependencies from package.json ([#&#8203;610](https://github.com/testing-library/jest-dom/issues/610)) ([faf534b](https://github.com/testing-library/jest-dom/commit/faf534b6ffa20db8e3cad5824d8bc35bc2309965)) ### [`v6.4.7`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.7) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.7) ##### Bug Fixes - Type definition of `toHaveClass` ([#&#8203;611](https://github.com/testing-library/jest-dom/issues/611)) ([5cc6298](https://github.com/testing-library/jest-dom/commit/5cc6298847e08872b79f827921c64c9ba261cc54)) ### [`v6.4.6`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.6) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6) ##### Bug Fixes - Support [@&#8203;starting-style](https://github.com/starting-style) ([#&#8203;602](https://github.com/testing-library/jest-dom/issues/602)) ([fd9ee68](https://github.com/testing-library/jest-dom/commit/fd9ee68ae4ca93c47f0781ad23113d45118b8476)) ### [`v6.4.5`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.5) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.4...v6.4.5) ##### Bug Fixes - add js suffix to isEqualWith import ([#&#8203;599](https://github.com/testing-library/jest-dom/issues/599)) ([e8c8b13](https://github.com/testing-library/jest-dom/commit/e8c8b13c6de2a0ccffaa6539809c8c11f141beca)) ### [`v6.4.4`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.4) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.3...v6.4.4) ##### Bug Fixes - **infra:** codecoverage token addition ([#&#8203;600](https://github.com/testing-library/jest-dom/issues/600)) ([f03a582](https://github.com/testing-library/jest-dom/commit/f03a582827453de6fac4510dcf4fa3148c7ed68a)) ### [`v6.4.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.3) ##### Bug Fixes - Updates role support for aria-required attribute in `toBeRequired` ([#&#8203;590](https://github.com/testing-library/jest-dom/issues/590)) ([20aca33](https://github.com/testing-library/jest-dom/commit/20aca338d09062a2a71f6dd4e0daad65b26f6210)) ### [`v6.4.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2) ##### Bug Fixes - Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations ([#&#8203;575](https://github.com/testing-library/jest-dom/issues/575)) ([a93c0c4](https://github.com/testing-library/jest-dom/commit/a93c0c4a20ed4d3a9656261ea6a449d1015b7879)) ### [`v6.4.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1) ##### Bug Fixes - Export type `TestingLibraryMatchers` from "./matchers" ([#&#8203;576](https://github.com/testing-library/jest-dom/issues/576)) ([dd1c4dd](https://github.com/testing-library/jest-dom/commit/dd1c4dd504973efced2f9e02a35e7df3079914af)) ### [`v6.4.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.4.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0) ##### Features - Add toHaveRole matcher ([#&#8203;572](https://github.com/testing-library/jest-dom/issues/572)) ([f7dc673](https://github.com/testing-library/jest-dom/commit/f7dc673dbc13e508f9867a9eb9c547ce3964b22c)) ### [`v6.3.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.3.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0) ##### Features - Support for regular expressions in toHaveClass ([#&#8203;563](https://github.com/testing-library/jest-dom/issues/563)) ([9787ed5](https://github.com/testing-library/jest-dom/commit/9787ed59fcc930e3d33c8a6efe473da3eca01707)) ### [`v6.2.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.2.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.2.0...v6.2.1) ##### Bug Fixes - Standalone types for "./matchers" export and add Bun support ([#&#8203;566](https://github.com/testing-library/jest-dom/issues/566)) ([5675b86](https://github.com/testing-library/jest-dom/commit/5675b8668c09345e064001784338a85b7bf9f2af)) ### [`v6.2.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.2.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0) ##### Features - toHaveAccessibleDescription supports aria-description ([#&#8203;565](https://github.com/testing-library/jest-dom/issues/565)) ([1fb156c](https://github.com/testing-library/jest-dom/commit/1fb156c2b544e0069c56a72a2f1909fe04850f6c)) ### [`v6.1.6`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.6) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6) ##### Bug Fixes - Upgrade [@&#8203;adobe/css-tools](https://github.com/adobe/css-tools) to v4.3.2 ([#&#8203;553](https://github.com/testing-library/jest-dom/issues/553)) ([b64b953](https://github.com/testing-library/jest-dom/commit/b64b953f76170f282c73329ee3479ede13610713)) ### [`v6.1.5`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.5) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.4...v6.1.5) ##### Bug Fixes - support uppercase custom props in toHaveStyle ([#&#8203;552](https://github.com/testing-library/jest-dom/issues/552)) ([b7b7c6a](https://github.com/testing-library/jest-dom/commit/b7b7c6a9652f259434d13a22e4319826a4bd4d8b)) ### [`v6.1.4`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.4) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.3...v6.1.4) ##### Bug Fixes - upgrade `@adobe/css-tools` to `4.3.1` to address vulnerability ([#&#8203;532](https://github.com/testing-library/jest-dom/issues/532)) ([44f1eab](https://github.com/testing-library/jest-dom/commit/44f1eabc79b848f45daffac21c5f7383424e893c)) ### [`v6.1.3`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.3) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.2...v6.1.3) ##### Bug Fixes - proper [@&#8203;jest/globals](https://github.com/jest/globals) import ([#&#8203;530](https://github.com/testing-library/jest-dom/issues/530)) ([5b492ac](https://github.com/testing-library/jest-dom/commit/5b492ace23d52b7cb7d3f91913ed0b5311905a26)) ### [`v6.1.2`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.2) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.1...v6.1.2) ##### Bug Fixes - bump [@&#8203;adobe/css-tools](https://github.com/adobe/css-tools) for ESM support ([#&#8203;525](https://github.com/testing-library/jest-dom/issues/525)) ([b959a68](https://github.com/testing-library/jest-dom/commit/b959a681386164bf5d64f5b2b9c8bf891301bc12)) ### [`v6.1.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.1.0...v6.1.1) ##### Bug Fixes - **package.json:** update main and module file paths ([#&#8203;523](https://github.com/testing-library/jest-dom/issues/523)) ([853a3e5](https://github.com/testing-library/jest-dom/commit/853a3e51ba6757a34780e32953525b6142eadcf9)) ### [`v6.1.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.1.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.0.1...v6.1.0) ##### Features - Publish ESM and CJS (https://github.com/testing-library/jest-dom/pull/519) ### [`v6.0.1`](https://github.com/testing-library/jest-dom/releases/tag/v6.0.1) [Compare Source](https://github.com/testing-library/jest-dom/compare/v6.0.0...v6.0.1) ##### Bug Fixes - matchers type is making the global expect unsafe ([#&#8203;513](https://github.com/testing-library/jest-dom/issues/513)) ([bdb34f1](https://github.com/testing-library/jest-dom/commit/bdb34f12959578c77b18b0c0910d512768b20ab0)) ### [`v6.0.0`](https://github.com/testing-library/jest-dom/releases/tag/v6.0.0) [Compare Source](https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.0.0) ##### Features - local types, supporting jest, [@&#8203;jest/globals](https://github.com/jest/globals), vitest ([#&#8203;511](https://github.com/testing-library/jest-dom/issues/511)) ([4b764b9](https://github.com/testing-library/jest-dom/commit/4b764b9f6a7b564d7f8ec0e9b0c6ba9cc875f2b8)) ##### BREAKING CHANGES - Removes the extend-expect script. Users should use the default import path or one of the new test platform-specific paths to automatically extend the appropriate "expect" instance. extend-expect was not documented in the Readme, so this change should have minimal impact. Users can now use the following import paths to automatically extend "expect" for their chosen test platform: - [@&#8203;testing-library/jest-dom](https://github.com/testing-library/jest-dom) - jest ([@&#8203;types/jest](https://github.com/types/jest)) - @&#8203;testing-library/jest-dom/jest-globals - [@&#8203;jest/globals](https://github.com/jest/globals) - @&#8203;testing-library/jest-dom/vitest - vitest For example: import '@&#8203;testing-library/jest-dom/jest-globals' Importing from one of the above paths will augment the appropriate matcher interface for the given test platform, assuming the import is done in a .ts file that is included in the user's tsconfig.json. It's also (still) possible to import the matchers directly without side effects: import \* as matchers from '@&#8203;testing-library/jest-dom/matchers' - Update kcd-scripts - Drop node < 14 </details> <details> <summary>testing-library/react-testing-library (@&#8203;testing-library/react)</summary> ### [`v16.2.0`](https://github.com/testing-library/react-testing-library/releases/tag/v16.2.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v16.1.0...v16.2.0) ##### Features - Add support for React error handlers ([#&#8203;1354](https://github.com/testing-library/react-testing-library/issues/1354)) ([9618c51](https://github.com/testing-library/react-testing-library/commit/9618c5133706ec964f649e60a777cc384db58a3f)) ### [`v16.1.0`](https://github.com/testing-library/react-testing-library/releases/tag/v16.1.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v16.0.1...v16.1.0) ##### Features - Add support for React 19 ([#&#8203;1367](https://github.com/testing-library/react-testing-library/issues/1367)) ([85ac253](https://github.com/testing-library/react-testing-library/commit/85ac2534a59abd38880011e77da4bb8c716eba84)) ### [`v16.0.1`](https://github.com/testing-library/react-testing-library/releases/tag/v16.0.1) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v16.0.0...v16.0.1) ##### Bug Fixes - Add support for exactOptionalPropertyTypes in TypeScript ([#&#8203;1351](https://github.com/testing-library/react-testing-library/issues/1351)) ([3dcd8a9](https://github.com/testing-library/react-testing-library/commit/3dcd8a9649e25054c0e650d95fca2317b7008576)) ### [`v16.0.0`](https://github.com/testing-library/react-testing-library/releases/tag/v16.0.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.7...v16.0.0) ##### Features - Move `@testing-library/dom` and `@types/react-dom` to peer dependencies ([#&#8203;1305](https://github.com/testing-library/react-testing-library/issues/1305)) ([a4744fa](https://github.com/testing-library/react-testing-library/commit/a4744fa904bf11812c92093226c3805450472636)) ##### BREAKING CHANGES - `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency. `@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`. ### [`v15.0.7`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.7) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.6...v15.0.7) ##### Bug Fixes - Ensure `act` is not `any` when `React.act` is not declared ([#&#8203;1323](https://github.com/testing-library/react-testing-library/issues/1323)) ([c1f2957](https://github.com/testing-library/react-testing-library/commit/c1f2957a219ec7e6a6159a57c5d0717655c515cd)) ### [`v15.0.6`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.6) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.5...v15.0.6) ##### Bug Fixes - export new act when available ([#&#8203;1319](https://github.com/testing-library/react-testing-library/issues/1319)) ([b6e59f7](https://github.com/testing-library/react-testing-library/commit/b6e59f7d58c69f617cc9854d8c3e6f86c2dfb0e9)) ### [`v15.0.5`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.5) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.4...v15.0.5) ##### Bug Fixes - Stop restricting `container` option based on `hydrate` ([#&#8203;1313](https://github.com/testing-library/react-testing-library/issues/1313)) ([d143f46](https://github.com/testing-library/react-testing-library/commit/d143f46b39cbc750630a5cf2863182b4036d35ac)) ### [`v15.0.4`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.4) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.3...v15.0.4) ##### Bug Fixes - Ensure `renderHook` options extend options for `render` ([#&#8203;1308](https://github.com/testing-library/react-testing-library/issues/1308)) ([48282c2](https://github.com/testing-library/react-testing-library/commit/48282c2f35fb7338834b40983c12b889af35f5d1)) ### [`v15.0.3`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.3) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.2...v15.0.3) ##### Bug Fixes - Don't raise TypeScript errors when hydating `document` ([#&#8203;1304](https://github.com/testing-library/react-testing-library/issues/1304)) ([067d0c6](https://github.com/testing-library/react-testing-library/commit/067d0c6d2e87092f6ecaa8c9fcf505e4576055cf)) ### [`v15.0.2`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.2) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.1...v15.0.2) ##### Bug Fixes - Improve `legacyRoot` error message ([#&#8203;1301](https://github.com/testing-library/react-testing-library/issues/1301)) ([c63b873](https://github.com/testing-library/react-testing-library/commit/c63b873072d62c858959c2a19e68f8e2cc0b11be)) ### [`v15.0.1`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.1) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v15.0.0...v15.0.1) ##### Bug Fixes - Stop using nullish coalescing ([#&#8203;1299](https://github.com/testing-library/react-testing-library/issues/1299)) ([1645d21](https://github.com/testing-library/react-testing-library/commit/1645d21950ab8e3c6740b7e51b8a179a4c975c24)) ### [`v15.0.0`](https://github.com/testing-library/react-testing-library/releases/tag/v15.0.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.3.1...v15.0.0) ##### Release - 15.0.0 ([#&#8203;1295](https://github.com/testing-library/react-testing-library/issues/1295)) ([787cb85](https://github.com/testing-library/react-testing-library/commit/787cb85f8baa3d2e2a9916b7dad12c0a76d787a4)) ##### BREAKING CHANGES - Minimum supported Node.js version is 18.0 - New version of `@testing-library/dom` changes various roles. Check out the changed tests in https://github.com/testing-library/dom-testing-library/commit/2c570553d8f31b008451398152a9bd30bce362b3 to get an overview about what changed. ### [`v14.3.1`](https://github.com/testing-library/react-testing-library/releases/tag/v14.3.1) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.3.0...v14.3.1) ##### Bug Fixes - Stop using nullish coalescing ([#&#8203;1300](https://github.com/testing-library/react-testing-library/issues/1300)) ([8434a24](https://github.com/testing-library/react-testing-library/commit/8434a24ce79583d1359f58563c5f3981e729eb1c)) ### [`v14.3.0`](https://github.com/testing-library/react-testing-library/releases/tag/v14.3.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.2.2...v14.3.0) ##### Features - Add support for React 19 Canary ([#&#8203;1294](https://github.com/testing-library/react-testing-library/issues/1294)) ([9c4a46d](https://github.com/testing-library/react-testing-library/commit/9c4a46d5b9923c21c936d206614a8febcc939fc2)) ### [`v14.2.2`](https://github.com/testing-library/react-testing-library/releases/tag/v14.2.2) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.2.1...v14.2.2) ##### Bug Fixes - Remove unused types ([#&#8203;1287](https://github.com/testing-library/react-testing-library/issues/1287)) ([3da62fd](https://github.com/testing-library/react-testing-library/commit/3da62fd9741ca74bcd0d2bc668ba76a2d8f3751f)) ### [`v14.2.1`](https://github.com/testing-library/react-testing-library/releases/tag/v14.2.1) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.2.0...v14.2.1) ##### Bug Fixes - Update types to support all possible react component return values ([#&#8203;1272](https://github.com/testing-library/react-testing-library/issues/1272)) ([55e79c2](https://github.com/testing-library/react-testing-library/commit/55e79c290d3ec8a8eb3d39539e2c05bf35dff3d9)) ### [`v14.2.0`](https://github.com/testing-library/react-testing-library/releases/tag/v14.2.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.1.2...v14.2.0) ##### Features - add `reactStrictMode` option to enable strict mode render ([#&#8203;1241](https://github.com/testing-library/react-testing-library/issues/1241)) ([0880eba](https://github.com/testing-library/react-testing-library/commit/0880eba4a01c030f942ad93600081bbb86eac959)) ### [`v14.1.2`](https://github.com/testing-library/react-testing-library/releases/tag/v14.1.2) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.1.1...v14.1.2) ##### Bug Fixes - revert missing hooks warnings ([#&#8203;1255](https://github.com/testing-library/react-testing-library/issues/1255)) ([1c67477](https://github.com/testing-library/react-testing-library/commit/1c67477443244e52c3ae57db49e1a6e8226e0c0d)) ### [`v14.1.1`](https://github.com/testing-library/react-testing-library/releases/tag/v14.1.1) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.1.0...v14.1.1) ##### Bug Fixes - log globals warning only once ([#&#8203;1252](https://github.com/testing-library/react-testing-library/issues/1252)) ([fd52a59](https://github.com/testing-library/react-testing-library/commit/fd52a593a7987a14d3cf5c94f112795a1630725d)), closes [#&#8203;1249](https://github.com/testing-library/react-testing-library/issues/1249) ### [`v14.1.0`](https://github.com/testing-library/react-testing-library/releases/tag/v14.1.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v14.0.0...v14.1.0) ##### Features - add warnings when globals are missing ([#&#8203;1244](https://github.com/testing-library/react-testing-library/issues/1244)) ([d80319f](https://github.com/testing-library/react-testing-library/commit/d80319f5695d0ddbd93f7d63ca1cb71450663ba6)) ### [`v14.0.0`](https://github.com/testing-library/react-testing-library/releases/tag/v14.0.0) [Compare Source](https://github.com/testing-library/react-testing-library/compare/v13.4.0...v14.0.0) ##### Bug Fixes - Prevent "missing act" warning for queued microtasks ([#&#8203;1137](https://github.com/testing-library/react-testing-library/issues/1137)) ([f78839b](https://github.com/testing-library/react-testing-library/commit/f78839bf4147a777a823e33a429bcf5de9562f9e)) ##### Features - Bump `@testing-library/dom` to 9.0.0 ([#&#8203;1177](https://github.com/testing-library/react-testing-library/issues/1177)) ([6653c23](https://github.com/testing-library/react-testing-library/commit/6653c239c0acbafd204326c8951cde8206d39898)) - Drop support for Node.js 12.x ([#&#8203;1169](https://github.com/testing-library/react-testing-library/issues/1169)) ([9b7a1e2](https://github.com/testing-library/react-testing-library/commit/9b7a1e2bea5bf20ba9728f98eb7c68cdb80b7fdd)) ##### BREAKING CHANGES - See https://github.com/testing-library/dom-testing-library/releases/tag/v9.0.0 - Minimum supported Node.js version is now 14.x </details> <details> <summary>testing-library/user-event (@&#8203;testing-library/user-event)</summary> ### [`v14.6.1`](https://github.com/testing-library/user-event/releases/tag/v14.6.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.6.0...v14.6.1) ##### Bug Fixes - correct description for `delay` option ([#&#8203;1175](https://github.com/testing-library/user-event/issues/1175)) ([2edf14d](https://github.com/testing-library/user-event/commit/2edf14d2e787e5a4217e69f602d21dc9dc8a6149)) - **keyboard:** add `ContextMenu` to `defaultKeyMap` ([#&#8203;1079](https://github.com/testing-library/user-event/issues/1079)) ([3e471d1](https://github.com/testing-library/user-event/commit/3e471d1feb2ab08c34650a9d51b4b29555122663)) - **keyboard:** add brackets to `defaultKeyMap` ([#&#8203;1226](https://github.com/testing-library/user-event/issues/1226)) ([543ecb0](https://github.com/testing-library/user-event/commit/543ecb0ea91ce36de9ed9d4f0fffc43df0068f38)) - **keyboard:** walk through radio group per arrow keys ([#&#8203;1049](https://github.com/testing-library/user-event/issues/1049)) ([bf8111c](https://github.com/testing-library/user-event/commit/bf8111ca9fed2ab738e0568d741c2de1425e0ca4)) - **pointer:** dispatch mouse events if `pointerdown` is `defaultPrevented` ([#&#8203;1121](https://github.com/testing-library/user-event/issues/1121)) ([f681f7b](https://github.com/testing-library/user-event/commit/f681f7bbfe4938540d4f2504d32e7f45b3ab50b6)) - **pointer:** set `button` and `buttons` properties on `PointerEvent` ([#&#8203;1219](https://github.com/testing-library/user-event/issues/1219)) ([6614f72](https://github.com/testing-library/user-event/commit/6614f7282c75f783167fd3bee8113244a524fe20)) - **pointer:** use `1` as default value for `PointerEvent.width` and `PointerEvent.height` ([#&#8203;1224](https://github.com/testing-library/user-event/issues/1224)) ([f0468d0](https://github.com/testing-library/user-event/commit/f0468d04d75c84900daf440f96b114192b920372)) - prevent `click` event loop on form-associated custom element ([#&#8203;1238](https://github.com/testing-library/user-event/issues/1238)) ([465fc7e](https://github.com/testing-library/user-event/commit/465fc7eb49d38ad20b6cb227aea667167c4ea955)) - prevent `click` event on non-focusable control ([#&#8203;1130](https://github.com/testing-library/user-event/issues/1130)) ([e429094](https://github.com/testing-library/user-event/commit/e4290948650a6925f549f4ec35ff74b3e81a0c64)) - **upload:** apply `accept` filter more leniently ([#&#8203;1064](https://github.com/testing-library/user-event/issues/1064)) ([a344ad4](https://github.com/testing-library/user-event/commit/a344ad4dfea07b854513705d9e5ef7b3ef10919d)) ### [`v14.6.0`](https://github.com/testing-library/user-event/releases/tag/v14.6.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.5.2...v14.6.0) ##### Features - dispatch `FocusEvent` in hidden documents ([#&#8203;1252](https://github.com/testing-library/user-event/issues/1252)) ([1ed8b15](https://github.com/testing-library/user-event/commit/1ed8b1557b40c7ded24c62f14d33b1086ceac0a4)) ##### Bug Fixes - **clipboard:** await `DataTransferItem.getAsString()` callback ([#&#8203;1251](https://github.com/testing-library/user-event/issues/1251)) ([7b11b0e](https://github.com/testing-library/user-event/commit/7b11b0e88a4bf8a3366caa70888028bf4bff59ec)) - **event:** assign pointer coords to MouseEvent ([#&#8203;1039](https://github.com/testing-library/user-event/issues/1039)) ([8528972](https://github.com/testing-library/user-event/commit/852897257744b18eca56edc9dc171e626a6d9823)) - **pointer:** check `PointerCoords.x` in `isDifferentPointerPosition` ([#&#8203;1216](https://github.com/testing-library/user-event/issues/1216)) ([75edef5](https://github.com/testing-library/user-event/commit/75edef5c066e30c3be28b8d607b47f7b66ad14c1)) - **pointer:** check all fields of `PointerCoords` in `isDifferentPointerPosition()` ([#&#8203;1229](https://github.com/testing-library/user-event/issues/1229)) ([5f3d28f](https://github.com/testing-library/user-event/commit/5f3d28fe3a5a83b7403c1c6f41ba2be881306bfc)) ### [`v14.5.2`](https://github.com/testing-library/user-event/releases/tag/v14.5.2) [Compare Source](https://github.com/testing-library/user-event/compare/v14.5.1...v14.5.2) ##### Bug Fixes - remove interop and deep DTL imports ([6a3c896](https://github.com/testing-library/user-event/commit/6a3c896bd2d77d284c6deab4f4f02c0fb366824b)) ### [`v14.5.1`](https://github.com/testing-library/user-event/releases/tag/v14.5.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.5.0...v14.5.1) ##### Bug Fixes - incorrect default import from [@&#8203;testing-library/dom](https://github.com/testing-library/dom) ([#&#8203;1162](https://github.com/testing-library/user-event/issues/1162)) ([d7483f0](https://github.com/testing-library/user-event/commit/d7483f049a1ec2ebf1ca1e2c1f4367849fca5997)) ### [`v14.5.0`](https://github.com/testing-library/user-event/releases/tag/v14.5.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.4.3...v14.5.0) ##### Bug Fixes - **exports:** add a named export for userEvent ([4019cee](https://github.com/testing-library/user-event/commit/4019ceeabad2538da3f69c63bab79be731b99f3f)), closes [#&#8203;1146](https://github.com/testing-library/user-event/issues/1146) ##### Features - **types:** Add additional type exports for UserEvent & Options ([#&#8203;1112](https://github.com/testing-library/user-event/issues/1112)) ([da00e8d](https://github.com/testing-library/user-event/commit/da00e8d610f10ec29d9f06ca62fa8899c53d4fd1)) ### [`v14.4.3`](https://github.com/testing-library/user-event/releases/tag/v14.4.3) [Compare Source](https://github.com/testing-library/user-event/compare/v14.4.2...v14.4.3) ##### Bug Fixes - **build:** add `types` field in `exports` ([#&#8203;1029](https://github.com/testing-library/user-event/issues/1029)) ([5bed8c6](https://github.com/testing-library/user-event/commit/5bed8c6a2b645e172973d55d6ac2ceb637972291)) - remove circular dependencies ([#&#8203;1027](https://github.com/testing-library/user-event/issues/1027)) ([1aa2027](https://github.com/testing-library/user-event/commit/1aa2027e5ec445ab413808556efa7763b65053d3)) ### [`v14.4.2`](https://github.com/testing-library/user-event/releases/tag/v14.4.2) [Compare Source](https://github.com/testing-library/user-event/compare/v14.4.1...v14.4.2) ##### Bug Fixes - **build:** add `exports` field ([#&#8203;1022](https://github.com/testing-library/user-event/issues/1022)) ([7839e29](https://github.com/testing-library/user-event/commit/7839e293135e48fd710445c8bb1233bf2e1abb4b)) ### [`v14.4.1`](https://github.com/testing-library/user-event/releases/tag/v14.4.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.4.0...v14.4.1) ##### Bug Fixes - **build:** transpile to es2019 syntax ([#&#8203;1016](https://github.com/testing-library/user-event/issues/1016)) ([4291cb8](https://github.com/testing-library/user-event/commit/4291cb8cd59afa9f7e2cff46f12dae6e26f7c5bc)) ### [`v14.4.0`](https://github.com/testing-library/user-event/releases/tag/v14.4.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.3.0...v14.4.0) ##### Features - **pointer**: dispatch `auxclick` events ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) ##### Bug Fixes - **event:** be robust against incomplete event implementations ([#&#8203;1009](https://github.com/testing-library/user-event/issues/1009)) ([289828b](https://github.com/testing-library/user-event/commit/289828b1b90e79d4ad3bfc227a2e68bd88f13344)) - **upload:** be robust against missing FileList implementation ([#&#8203;1007](https://github.com/testing-library/user-event/issues/1007)) ([a46b4d7](https://github.com/testing-library/user-event/commit/a46b4d7157ec0b2cfc450fa852910e332a17080c)) - **keyboard**: switch modifier state of lock keys on the correct event ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **keyboard**: remove platform-specific additional key events for `Control` on `AltGraph` ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: dispatch `contextmenu` events with `detail: 0` ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: always set `PointerEvent.isPrimary` ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: set `button` property on pointer events separately from legacy mouse events ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: click closest common ancestor if `mousedown` and `mouseup` happen on different elements ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: omit click event on release if another button is released first ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: dispatch `mouseover`, `mouseenter` and `mousemove` on disabled elements ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: prevent `mouse*` events per `pointerdown` event handler ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: dispatch `*out` and `*over` events when moving into / out of nested elements ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) - **pointer**: dispatch `*enter` and `*leave` events on ancestors ([#&#8203;1003](https://github.com/testing-library/user-event/issues/1003)) ([2852509](https://github.com/testing-library/user-event/commit/2852509f8e4d5ca28ec494cc85dc4020b0e44b45)) ### [`v14.3.0`](https://github.com/testing-library/user-event/releases/tag/v14.3.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.6...v14.3.0) ##### Features - **keyboard:** change radio group per arrow keys ([#&#8203;995](https://github.com/testing-library/user-event/issues/995)) ([e1c22af](https://github.com/testing-library/user-event/commit/e1c22af5875155306b201d8d7ad6ce8ac05a8d56)) ### [`v14.2.6`](https://github.com/testing-library/user-event/releases/tag/v14.2.6) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.5...v14.2.6) ##### Bug Fixes - **document:** reduce impact of React@17 workaround ([#&#8203;992](https://github.com/testing-library/user-event/issues/992)) ([9816d38](https://github.com/testing-library/user-event/commit/9816d384c33db30a00e1fa16c3bd616c6c58fd27)) - **pointer:** do not throw for `pointer-events: none` on previous target ([#&#8203;991](https://github.com/testing-library/user-event/issues/991)) ([6e4058b](https://github.com/testing-library/user-event/commit/6e4058becffb261a64968677c161f82daf9b3e25)) ### [`v14.2.5`](https://github.com/testing-library/user-event/releases/tag/v14.2.5) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.4...v14.2.5) ##### Bug Fixes - **document:** do not track `value` on `HTMLSelectElement` ([#&#8203;989](https://github.com/testing-library/user-event/issues/989)) ([77a7fa8](https://github.com/testing-library/user-event/commit/77a7fa840a162e1361fab88e52cb01b3c805163a)) ### [`v14.2.4`](https://github.com/testing-library/user-event/releases/tag/v14.2.4) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.3...v14.2.4) ##### Bug Fixes - use `window.FileList` instead of implicit global ([c88865d](https://github.com/testing-library/user-event/commit/c88865d3fcb34c485f7f008a01e8eb7e5bfbfbbe)) ### [`v14.2.3`](https://github.com/testing-library/user-event/releases/tag/v14.2.3) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.2...v14.2.3) ##### Bug Fixes - **document:** use setters/methods on element as default ([#&#8203;987](https://github.com/testing-library/user-event/issues/987)) ([c40e614](https://github.com/testing-library/user-event/commit/c40e614b9f2af5fd8f917bc0166716e0c701bc88)) ### [`v14.2.2`](https://github.com/testing-library/user-event/releases/tag/v14.2.2) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.1...v14.2.2) ##### Bug Fixes - **document:** track `HTMLInputElement.setRangeText()` ([#&#8203;984](https://github.com/testing-library/user-event/issues/984)) ([73443ec](https://github.com/testing-library/user-event/commit/73443ecf333752236c938827716e273ca7ae4950)) ### [`v14.2.1`](https://github.com/testing-library/user-event/releases/tag/v14.2.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.2.0...v14.2.1) ##### Performance Improvements - **tab:** avert visibility check on irrelevant elements ([#&#8203;967](https://github.com/testing-library/user-event/issues/967)) ([d2d8a39](https://github.com/testing-library/user-event/commit/d2d8a3996f3af6318153f765aedd890576ce6da3)) ### [`v14.2.0`](https://github.com/testing-library/user-event/releases/tag/v14.2.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.1.1...v14.2.0) ##### Features - report element with declaration in `pointerEventsCheck` ([#&#8203;950](https://github.com/testing-library/user-event/issues/950)) ([31b7091](https://github.com/testing-library/user-event/commit/31b709183a8695ff534bf0a5ac8e5e3726fcd3b9)) ##### Bug Fixes - guard against selection without range ([#&#8203;953](https://github.com/testing-library/user-event/issues/953)) ([ab78f3f](https://github.com/testing-library/user-event/commit/ab78f3f50d8ec9a2fa8b3794ceb9a9b1b02fb3a6)) - **selectOptions:** wait after each click ([#&#8203;951](https://github.com/testing-library/user-event/issues/951)) ([7ea7a77](https://github.com/testing-library/user-event/commit/7ea7a77a87ca1e6ce4e461ce87c0a0a1e8dd77a7)) - wait after each method before leaving `asyncWrapper` ([#&#8203;952](https://github.com/testing-library/user-event/issues/952)) ([6f55fee](https://github.com/testing-library/user-event/commit/6f55feebffcb331f627c8467b856723d90e06896)) ### [`v14.1.1`](https://github.com/testing-library/user-event/releases/tag/v14.1.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.1.0...v14.1.1) ##### [14.1.1](https://github.com/testing-library/user-event/compare/v14.1.0...v14.1.1) (2022-04-17) ##### Bug Fixes - remove implicit global references ([#&#8203;932](https://github.com/testing-library/user-event/issues/932)) ([9913798](https://github.com/testing-library/user-event/commit/9913798d1e60755f1bf2e6f3caecf5600a9a7c69)) - use `globalThis` instead of `global` ([#&#8203;928](https://github.com/testing-library/user-event/issues/928)) ([497c14d](https://github.com/testing-library/user-event/commit/497c14df2c036e4dddd4b18101353531b0238948)) ### [`v14.1.0`](https://github.com/testing-library/user-event/releases/tag/v14.1.0) [Compare Source](https://github.com/testing-library/user-event/compare/v14.0.4...v14.1.0) ##### Features - add `advanceTimers` option ([#&#8203;907](https://github.com/testing-library/user-event/issues/907)) ([627a5cf](https://github.com/testing-library/user-event/commit/627a5cf22e6736eb3e9e6303b21e5940269ba027)) ##### Bug Fixes - delete chars from value at `maxlength` ([#&#8203;909](https://github.com/testing-library/user-event/issues/909)) ([f5049c4](https://github.com/testing-library/user-event/commit/f5049c45c1d0d7917cc85ebd02e9c8e2761549a8)) - reset UI selection after programmatic value change ([#&#8203;915](https://github.com/testing-library/user-event/issues/915)) ([8bc3310](https://github.com/testing-library/user-event/commit/8bc331036cf7a2d3f93fb9e5faca0f8dcfa3c20e)) - set initial value when setting UI value ([#&#8203;918](https://github.com/testing-library/user-event/issues/918)) ([7b0643b](https://github.com/testing-library/user-event/commit/7b0643b52a50b2f7fd93e4401ef643b5fbae6516)) ### [`v14.0.4`](https://github.com/testing-library/user-event/releases/tag/v14.0.4) [Compare Source](https://github.com/testing-library/user-event/compare/v14.0.3...v14.0.4) ##### [14.0.4](https://github.com/testing-library/user-event/compare/v14.0.3...v14.0.4) (2022-04-01) ##### Bug Fixes - track calls to `HTMLInputElement.select()` ([#&#8203;898](https://github.com/testing-library/user-event/issues/898)) ([6d36828](https://github.com/testing-library/user-event/commit/6d36828e22d0ab65d94178daadb131ec92bae676)) ### [`v14.0.3`](https://github.com/testing-library/user-event/releases/tag/v14.0.3) [Compare Source](https://github.com/testing-library/user-event/compare/v14.0.2...v14.0.3) ##### [14.0.3](https://github.com/testing-library/user-event/compare/v14.0.2...v14.0.3) (2022-03-31) ##### Bug Fixes - **pointer:** change selection before dispatching `focus` ([#&#8203;895](https://github.com/testing-library/user-event/issues/895)) ([06f12a6](https://github.com/testing-library/user-event/commit/06f12a6475e6332a048c8c0770a36661af3fea20)) ### [`v14.0.2`](https://github.com/testing-library/user-event/releases/tag/v14.0.2) [Compare Source](https://github.com/testing-library/user-event/compare/v14.0.1...v14.0.2) ##### [14.0.2](https://github.com/testing-library/user-event/compare/v14.0.1...v14.0.2) (2022-03-31) ##### Bug Fixes - work around shadowed globals ([#&#8203;892](https://github.com/testing-library/user-event/issues/892)) ([126d2e7](https://github.com/testing-library/user-event/commit/126d2e7b7853e0cf16640e01316e3c602ef2b640)) ### [`v14.0.1`](https://github.com/testing-library/user-event/releases/tag/v14.0.1) [Compare Source](https://github.com/testing-library/user-event/compare/v14.0.0...v14.0.1) ##### [14.0.1](https://github.com/testing-library/user-event/compare/v14.0.0...v14.0.1) (2022-03-31) ##### Bug Fixes - maintain UI value on controlled number input ([#&#8203;889](https://github.com/testing-library/user-event/issues/889)) ([a7f9906](https://github.com/testing-library/user-event/commit/a7f99066a5623e0bd05ce3092def09907a1d4dc6)) - **pointer:** support nested select ([#&#8203;888](https://github.com/testing-library/user-event/issues/888)) ([e23e559](https://github.com/testing-library/user-event/commit/e23e559297c33d86c96d217c414d4d230e14c7a2)) ### [`v14.0.0`](https://github.com/testing-library/user-event/releases/tag/v14.0.0) [Compare Source](https://github.com/testing-library/user-event/compare/v13.5.0...v14.0.0) ##### ⚠ BREAKING CHANGES - **APIs always return a Promise.** - **pointer:** `skipPointerEvents` has been removed. Use `pointerEventsCheck: PointerEventsCheckLevel.Never` instead. - **upload:** `init` parameter has been removed from `userEvent.upload`. - **upload:** `applyAccept` defaults to `true`. - The `userEvent.paste` API has new parameters. - `{ctrl}`, `{del}`, `{esc}` no longer describe a key. Use `{Control}`, `{Delete}`, `{Escape}` instead. - `{alt}`, `{ctrl}`, `{meta}`, `{shift}` no longer imply not releasing the key. Use `{Alt>}`, `{Control>}`, `{Meta>}`, `{Shift>}` instead. - `init` parameter has been removed from these APIs: - `userEvent.click` - `userEvent.dblClick` - `userEvent.tripleClick` - `userEvent.hover` - `userEvent.unhover` - `userEvent.selectOptions` - `userEvent.deselectOptions` - `userEvent.upload` no longer supports `clickInit` as part of its `init` parameter. - Behavior for special key descriptor `{selectall}` has been removed. - Support for `keyCode` property on keyboard events has been removed. - An error is thrown when calling `userEvent.clear` on an element which is not editable. - An error is thrown when event handlers prevent `userEvent.clear` from focussing/selecting content. - **tab:** The `focusTrap` option has been removed from `userEvent.tab()`. - **type:** `userEvent.type` does no longer move the cursor if used with `skipClick=false` and without `initialSelectionStart`. - The implementation of pointer related APIs was replaced. This might break tests relying on unintended side-effects of the previous implementation. - Support for node 10 was removed as it reached its end-of-life. ##### Features - async APIs ([#&#8203;790](https://github.com/testing-library/user-event/issues/790)) ([86860cc](https://github.com/testing-library/user-event/commit/86860cc5fd1b59a6b34ffd00c96d22520f4aa56e)) - keep track of document state in UI ([#&#8203;747](https://github.com/testing-library/user-event/issues/747)) ([73e62d0](https://github.com/testing-library/user-event/commit/73e62d03877c736e18bc9e394e4ed07333b99933)) - rewrite selection handling ([#&#8203;776](https://github.com/testing-library/user-event/issues/776)) ([968c2c4](https://github.com/testing-library/user-event/commit/968c2c429e8d67974b9a313d1efab7d78c35c207)) - **event:** support `beforeinput` ([#&#8203;851](https://github.com/testing-library/user-event/issues/851)) ([8890bd6](https://github.com/testing-library/user-event/commit/8890bd6d17376205f553620148852d63f84d5565)) - add `pointer` API ([#&#8203;750](https://github.com/testing-library/user-event/issues/750)) ([c12ee44](https://github.com/testing-library/user-event/commit/c12ee44dc2caa19c5df98442759fcc9ae4ba167f)) - add `setup` API ([#&#8203;746](https://github.com/testing-library/user-event/issues/746)) ([719ba03](https://github.com/testing-library/user-event/commit/719ba03af5647e09cd734f419ce5f234af60328a)) - add `userEvent.copy` and `userEvent.cut` ([#&#8203;787](https://github.com/testing-library/user-event/issues/787)) ([8727a2d](https://github.com/testing-library/user-event/commit/8727a2d7b1723287923bf5e6ea1c33844d9cccf5)) - add `userEvent.tripleClick` API ([#&#8203;773](https://github.com/testing-library/user-event/issues/773)) ([0badabd](https://github.com/testing-library/user-event/commit/0badabdd504b0c42ad9adca94edd96ddb53ae303)) - apply modifier keys in pointer events ([#&#8203;751](https://github.com/testing-library/user-event/issues/751)) ([e33eb86](https://github.com/testing-library/user-event/commit/e33eb86194e08a0bc46285ca1acb57d6d533fbb7)) - **keyboard:** add `[Tab]` support ([#&#8203;767](https://github.com/testing-library/user-event/issues/767)) ([87470ff](https://github.com/testing-library/user-event/commit/87470ffe49c93c0b7a858d5c07d660fede90f881)) - **keyboard:** apply modifier state ([#&#8203;815](https://github.com/testing-library/user-event/issues/815)) ([e9635f6](https://github.com/testing-library/user-event/commit/e9635f656298ef1f96bd255b0d89031e04441537)) - **keyboard:** move cursor and delete content in contenteditable ([#&#8203;822](https://github.com/testing-library/user-event/issues/822)) ([b83b259](https://github.com/testing-library/user-event/commit/b83b25927a38de2477099ec2ad2ad074a5296ce6)) - **keyboard:** select all per `{Control}+[KeyA]` ([#&#8203;774](https://github.com/testing-library/user-event/issues/774)) ([ea9b18a](https://github.com/testing-library/user-event/commit/ea9b18a0e96142f7d4cd80009a53be06a1431c07)) - **pointer:** change selection per pointer ([#&#8203;763](https://github.com/testing-library/user-event/issues/763)) ([17fb8b1](https://github.com/testing-library/user-event/commit/17fb8b14056bb68d1c2fd9e8796c09e00aacd844)) - **pointer:** introduce `pointerEventsCheck` option ([#&#8203;823](https://github.com/testing-library/user-event/issues/823)) ([e2a5f43](https://github.com/testing-library/user-event/commit/e2a5f434b6e8b0ec0badddec52b54957b6f3320a)) - remove support for user provided `MouseEventInit` ([#&#8203;784](https://github.com/testing-library/user-event/issues/784)) ([56ebf7d](https://github.com/testing-library/user-event/commit/56ebf7d00620d7696d73e30f7f5d90a7ea02d0f3)) - **paste:** replace `userEvent.paste` ([#&#8203;785](https://github.com/testing-library/user-event/issues/785)) ([f8fe217](https://github.com/testing-library/user-event/commit/f8fe217fd445a27a62705894eb2c9f5a38a91f42)) - **clear:** rewrite `userEvent.clear` API ([#&#8203;779](https://github.com/testing-library/user-event/issues/779)) ([1cda1b1](https://github.com/testing-library/user-event/commit/1cda1b1b9726c2e7db213ec543f96b3fde2d10b8)) - **upload:** replace element properties ([#&#8203;794](https://github.com/testing-library/user-event/issues/794)) ([543eadb](https://github.com/testing-library/user-event/commit/543eadb14d8d0f08d5023edbd3353eb5df591329)) ##### Bug Fixes - check for inherited `:disabled` ([#&#8203;872](https://github.com/testing-library/user-event/issues/872)) ([1a00fdf](https://github.com/testing-library/user-event/commit/1a00fdfc3085addc4792897aecda202e07c3f5d2)) - **clipboard:** prevent default behavior on `copy`/`cut` ([#&#8203;866](https://github.com/testing-library/user-event/issues/866)) ([5423094](https://github.com/testing-library/user-event/commit/5423094180cd0946b7440f699933b6569b8639f5)) - **clipboard:** prevent default behavior on `paste` ([#&#8203;862](https://github.com/testing-library/user-event/issues/862)) ([d3d71ac](https://github.com/testing-library/user-event/commit/d3d71ac65d21f96b36cd1e087b79890bb8e61f03)) - create MouseEvents per `createEvent` ([#&#8203;781](https://github.com/testing-library/user-event/issues/781)) ([da5b5b7](https://github.com/testing-library/user-event/commit/da5b5b721894b39a4ab9bc2f15afa4123bfda88e)) - export bundled ESM ([#&#8203;816](https://github.com/testing-library/user-event/issues/816)) ([1a5e2a7](https://github.com/testing-library/user-event/commit/1a5e2a718b03e8523d7c14ba43020d2d9d653b33)) - export types and commonjs bundle ([#&#8203;821](https://github.com/testing-library/user-event/issues/821)) ([4f56856](https://github.com/testing-library/user-event/commit/4f56856bfc64aa1fcc6ee8ab91050b61ee7c2e7e)) - **keyboard:** parse escaped bracket followed by descriptor ([#&#8203;814](https://github.com/testing-library/user-event/issues/814)) ([684451f](https://github.com/testing-library/user-event/commit/684451f11b946374dca8a9650fce9fa316d0f032)) - **keyboard:** parse keyboard input without nesting ([#&#8203;793](https://github.com/testing-library/user-event/issues/793)) ([fafa677](https://github.com/testing-library/user-event/commit/fafa677a0901cab79174eb387b08d051db7129cc)) - **keyboard:** set `KeyboardEvent.charCode` on `keypress` ([#&#8203;771](https://github.com/testing-library/user-event/issues/771)) ([55e194a](https://github.com/testing-library/user-event/commit/55e194aa96c31844950fa5c74c5ff14a513f0f24)) - **keyboard:** submit form with `<button/>` on `[Enter]` ([#&#8203;808](https://github.com/testing-library/user-event/issues/808)) ([eca157a](https://github.com/testing-library/user-event/commit/eca157ad8efecfdef8bd955a835d7371c9a45908)) - log correct docs link for invalid key descriptors ([#&#8203;881](https://github.com/testing-library/user-event/issues/881)) ([28d6604](https://github.com/testing-library/user-event/commit/28d66044e4bbd25b1422c1107db7a5b9a538a150)) - maintain cursor position on controlled component ([#&#8203;765](https://github.com/testing-library/user-event/issues/765)) ([8f203cc](https://github.com/testing-library/user-event/commit/8f203cc4ad2c3e3bf9de5fcf90925970c7cb8868)) - **pointer:** blur `activeElement` on click outside of focusable ([#&#8203;834](https://github.com/testing-library/user-event/issues/834)) ([d64167c](https://github.com/testing-library/user-event/commit/d64167ca40506e381aff53c985b19e6d2a8a156d)) - **pointer:** consider click context ([#&#8203;850](https://github.com/testing-library/user-event/issues/850)) ([ca4482a](https://github.com/testing-library/user-event/commit/ca4482a16bd0da3f7d7e5684fe6bb4650f26a1ee)) - **pointer:** fire pointer events on disabled elements ([#&#8203;818](https://github.com/testing-library/user-event/issues/818)) ([ef2f4e5](https://github.com/testing-library/user-event/commit/ef2f4e50ee8a53f3cc52deb5982a104be6e9d0ce)) - **pointer:** honor click handler on `<label/>` ([#&#8203;810](https://github.com/testing-library/user-event/issues/810)) ([2c5d9f1](https://github.com/testing-library/user-event/commit/2c5d9f1369301539826879f95c9f6093f676e2bb)) - **pointer:** trigger `contextmenu` on `mousedown` ([#&#8203;811](https://github.com/testing-library/user-event/issues/811)) ([e1c4cad](https://github.com/testing-library/user-event/commit/e1c4caded733c7bd41c2f161e1ce6dc1d392d7e5)) - prepare document in setup ([#&#8203;753](https://github.com/testing-library/user-event/issues/753)) ([65be675](https://github.com/testing-library/user-event/commit/65be6751e3558e85da42f105606b9feb7afc878c)) - remove deprecated keyboard features ([#&#8203;780](https://github.com/testing-library/user-event/issues/780)) ([45dc39a](https://github.com/testing-library/user-event/commit/45dc39a3f9f08522eb289f0e8ced0b9ede9a1535)) - remove legacy modifier implementations ([#&#8203;783](https://github.com/testing-library/user-event/issues/783)) ([caea162](https://github.com/testing-library/user-event/commit/caea16238a2d7041d2f15cd8b850ca396eba0de9)) - replace pointer implementations ([#&#8203;754](https://github.com/testing-library/user-event/issues/754)) ([c04f79b](https://github.com/testing-library/user-event/commit/c04f79b628f123f62fb4a1df5a760be6da6f3582)) - reset UI selection on setter ([#&#8203;770](https://github.com/testing-library/user-event/issues/770)) ([2733d10](https://github.com/testing-library/user-event/commit/2733d107c8d1ecb111e14099f31672a76ba293e2)) - **tab:** order `tabIndex>0` before `tabIndex=0` ([#&#8203;809](https://github.com/testing-library/user-event/issues/809)) ([1bc5945](https://github.com/testing-library/user-event/commit/1bc59459e4c7fc6e3c4de7853234f6720b4129f6)) - **tab:** remove `focusTrap` option ([#&#8203;772](https://github.com/testing-library/user-event/issues/772)) ([a0412c0](https://github.com/testing-library/user-event/commit/a0412c00cdb40ae670e4abbde5c0d30eae68e58b)) - **tab:** skip elements with `visibility:hidden` ([#&#8203;799](https://github.com/testing-library/user-event/issues/799)) ([a747b0a](https://github.com/testing-library/user-event/commit/a747b0ab07681651bf6b6428471de2dd76bc22df)) - **upload:** fix order of events ([#&#8203;847](https://github.com/testing-library/user-event/issues/847)) ([214fd03](https://github.com/testing-library/user-event/commit/214fd03e71b23e0bb1ea90f6299008701600e533)) ##### Miscellaneous Chores - drop support for node 10 ([#&#8203;698](https://github.com/testing-library/user-event/issues/698)) ([ce01cde](https://github.com/testing-library/user-event/commit/ce01cde601e7b7191055d0def319753bbab96493)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-03-07 17:23:51 +00:00
kumi added 1 commit 2025-03-12 12:15:20 +00:00
kumi merged commit 9a99d8bf2c into main 2025-03-12 12:15:27 +00:00
kumi deleted branch renovate/major-testing-library-monorepo 2025-03-12 12:15:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kumi/caffeinateddomains-frontend#9
No description provided.