Skip to content

Releases: testing-library/user-event

v14.0.0-beta.6

01 Jan 20:03
b83b259
Compare
Choose a tag to compare
v14.0.0-beta.6 Pre-release
Pre-release

14.0.0-beta.6 (2022-01-01)

Features

  • keyboard: move cursor and delete content in contenteditable (#822) (b83b259)

Bug Fixes

  • pointer: fire pointer events on disabled elements (#818) (ef2f4e5)

v14.0.0-beta.5

31 Dec 17:39
4f56856
Compare
Choose a tag to compare
v14.0.0-beta.5 Pre-release
Pre-release

14.0.0-beta.5 (2021-12-31)

Bug Fixes

v14.0.0-beta.4

30 Dec 07:40
1a5e2a7
Compare
Choose a tag to compare
v14.0.0-beta.4 Pre-release
Pre-release

14.0.0-beta.4 (2021-12-30)

⚠ BREAKING CHANGES

  • export bundled ESM (#816)

Features

Bug Fixes

v14.0.0-beta.3

13 Dec 11:28
2c5d9f1
Compare
Choose a tag to compare
v14.0.0-beta.3 Pre-release
Pre-release

14.0.0-beta.3 (2021-12-13)

Bug Fixes

  • keyboard: submit form with <button/> on [Enter] (#808) (eca157a)
  • pointer: honor click handler on <label/> (#810) (2c5d9f1)
  • pointer: trigger contextmenu on mousedown (#811) (e1c4cad)
  • tab: order tabIndex>0 before tabIndex=0 (#809) (1bc5945)

v14.0.0-beta.2

07 Dec 09:25
a747b0a
Compare
Choose a tag to compare
v14.0.0-beta.2 Pre-release
Pre-release

14.0.0-beta.2 (2021-12-07)

Bug Fixes

  • tab: skip elements with visibility:hidden (#799) (a747b0a)

v14.0.0-beta.1

28 Nov 18:55
ae3f07c
Compare
Choose a tag to compare
v14.0.0-beta.1 Pre-release
Pre-release

14.0.0-beta.1 (2021-11-28)

⚠ BREAKING CHANGES

  • upload: init parameter has been removed from userEvent.upload.
  • APIs always return a Promise.
  • paste: 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
  • Behavior for special key descriptor {selectall} has been removed.
  • Support for keyCode property on keyboard events has been removed.
  • clear: An error is thrown when calling userEvent.clear on an element which is not editable.
  • clear: An error is thrown when event handlers prevent userEvent.clear from focussing/selecting content.
  • tab: The focusTrap option has been removed from userEvent.tab().
  • pointer: 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

v14.0.0-alpha.18

28 Nov 10:30
4adb909
Compare
Choose a tag to compare
v14.0.0-alpha.18 Pre-release
Pre-release

14.0.0-alpha.18 (2021-11-28)

Bug Fixes

v14.0.0-alpha.17

25 Nov 20:27
4873895
Compare
Choose a tag to compare
v14.0.0-alpha.17 Pre-release
Pre-release

14.0.0-alpha.17 (2021-11-25)

⚠ BREAKING CHANGES

  • upload: init parameter has been removed from userEvent.upload.

Features

v14.0.0-alpha.16

25 Nov 13:57
df75e5f
Compare
Choose a tag to compare
v14.0.0-alpha.16 Pre-release
Pre-release

14.0.0-alpha.16 (2021-11-25)

Bug Fixes

  • keyboard: parse keyboard input without nesting (#793) (df75e5f)

v14.0.0-alpha.15

25 Nov 11:45
ca214d4
Compare
Choose a tag to compare
v14.0.0-alpha.15 Pre-release
Pre-release

14.0.0-alpha.15 (2021-11-25)

⚠ BREAKING CHANGES

  • APIs always return a Promise.

Features