Skip to content

Releases: testing-library/user-event

v14.0.1

31 Mar 09:50
e23e559
Compare
Choose a tag to compare

14.0.1 (2022-03-31)

Bug Fixes

  • maintain UI value on controlled number input (#889) (a7f9906)
  • pointer: support nested select (#888) (e23e559)

v14.0.0

29 Mar 07:31
f209a6f
Compare
Choose a tag to compare

14.0.0 (2022-03-29)

⚠ 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

Read more

v14.0.0-beta.14

24 Mar 18:06
28d6604
Compare
Choose a tag to compare
v14.0.0-beta.14 Pre-release
Pre-release

14.0.0-beta.14 (2022-03-24)

Bug Fixes

  • log correct docs link for invalid key descriptors (#881) (28d6604)

v14.0.0-beta.13

04 Mar 11:04
0da81d2
Compare
Choose a tag to compare
v14.0.0-beta.13 Pre-release
Pre-release

14.0.0-beta.13 (2022-03-04)

Bug Fixes

v14.0.0-beta.12

01 Mar 12:29
5423094
Compare
Choose a tag to compare
v14.0.0-beta.12 Pre-release
Pre-release

14.0.0-beta.12 (2022-03-01)

Bug Fixes

  • clipboard: prevent default behavior on copy/cut (#866) (5423094)
  • clipboard: prevent default behavior on paste (#862) (d3d71ac)

v14.0.0-beta.11

10 Feb 13:16
8890bd6
Compare
Choose a tag to compare
v14.0.0-beta.11 Pre-release
Pre-release

14.0.0-beta.11 (2022-02-10)

Features

v14.0.0-beta.10

08 Feb 11:13
ca4482a
Compare
Choose a tag to compare
v14.0.0-beta.10 Pre-release
Pre-release

14.0.0-beta.10 (2022-02-08)

Bug Fixes

v14.0.0-beta.9

07 Feb 10:50
214fd03
Compare
Choose a tag to compare
v14.0.0-beta.9 Pre-release
Pre-release

14.0.0-beta.9 (2022-02-07)

Bug Fixes

v14.0.0-beta.8

16 Jan 23:25
d64167c
Compare
Choose a tag to compare
v14.0.0-beta.8 Pre-release
Pre-release

14.0.0-beta.8 (2022-01-16)

Bug Fixes

  • pointer: blur activeElement on click outside of focusable (#834) (d64167c)

v14.0.0-beta.7

05 Jan 17:50
e2a5f43
Compare
Choose a tag to compare
v14.0.0-beta.7 Pre-release
Pre-release

14.0.0-beta.7 (2022-01-05)

⚠ BREAKING CHANGES

  • pointer: skipPointerEvents has been removed.
    Use pointerEventsCheck: PointerEventsCheckLevel.Never instead.

Features

  • pointer: introduce pointerEventsCheck option (#823) (e2a5f43)