recipes
recipes copied to clipboard
chore(deps): update dependency @testing-library/user-event to v14
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @testing-library/user-event | ^12.1.10 -> ^14.0.0 |
Release Notes
testing-library/user-event (@βtesting-library/user-event)
v14.5.2
Bug Fixes
- remove interop and deep DTL imports (6a3c896)
v14.5.1
Bug Fixes
- incorrect default import from @βtesting-library/dom (#β1162) (d7483f0)
v14.5.0
Bug Fixes
Features
v14.4.3
Bug Fixes
- build: add
typesfield inexports(#β1029) (5bed8c6) - remove circular dependencies (#β1027) (1aa2027)
v14.4.2
Bug Fixes
v14.4.1
Bug Fixes
v14.4.0
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
ControlonAltGraph(#β1003) (2852509) - pointer: dispatch
contextmenuevents withdetail: 0(#β1003) (2852509) - pointer: always set
PointerEvent.isPrimary(#β1003) (2852509) - pointer: set
buttonproperty on pointer events separately from legacy mouse events (#β1003) (2852509) - pointer: click closest common ancestor if
mousedownandmouseuphappen on different elements (#β1003) (2852509) - pointer: omit click event on release if another button is released first (#β1003) (2852509)
- pointer: dispatch
mouseover,mouseenterandmousemoveon disabled elements (#β1003) (2852509) - pointer: prevent
mouse*events perpointerdownevent handler (#β1003) (2852509) - pointer: dispatch
*outand*overevents when moving into / out of nested elements (#β1003) (2852509) - pointer: dispatch
*enterand*leaveevents on ancestors (#β1003) (2852509)
v14.3.0
Features
v14.2.6
Bug Fixes
- document: reduce impact of React@17 workaround (#β992) (9816d38)
- pointer: do not throw for
pointer-events: noneon previous target (#β991) (6e4058b)
v14.2.5
Bug Fixes
v14.2.4
Bug Fixes
- use
window.FileListinstead of implicit global (c88865d)
v14.2.3
Bug Fixes
v14.2.2
Bug Fixes
v14.2.1
Performance Improvements
v14.2.0
Features
Bug Fixes
- guard against selection without range (#β953) (ab78f3f)
- selectOptions: wait after each click (#β951) (7ea7a77)
- wait after each method before leaving
asyncWrapper(#β952) (6f55fee)
v14.1.1
14.1.1 (2022-04-17)
Bug Fixes
- remove implicit global references (#β932) (9913798)
- use
globalThisinstead ofglobal(#β928) (497c14d)
v14.1.0
Features
Bug Fixes
- delete chars from value at
maxlength(#β909) (f5049c4) - reset UI selection after programmatic value change (#β915) (8bc3310)
- set initial value when setting UI value (#β918) (7b0643b)
v14.0.4
14.0.4 (2022-04-01)
Bug Fixes
v14.0.3
14.0.3 (2022-03-31)
Bug Fixes
v14.0.2
14.0.2 (2022-03-31)
Bug Fixes
v14.0.1
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
β BREAKING CHANGES
- APIs always return a Promise.
- pointer:
skipPointerEventshas been removed. UsepointerEventsCheck: PointerEventsCheckLevel.Neverinstead. - upload:
initparameter has been removed fromuserEvent.upload. - upload:
applyAcceptdefaults totrue. - The
userEvent.pasteAPI 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.initparameter has been removed from these APIs:userEvent.clickuserEvent.dblClickuserEvent.tripleClickuserEvent.hoveruserEvent.unhoveruserEvent.selectOptionsuserEvent.deselectOptions
userEvent.uploadno longer supportsclickInitas part of itsinitparameter.- Behavior for special key descriptor
{selectall}has been removed. - Support for
keyCodeproperty on keyboard events has been removed. - An error is thrown when calling
userEvent.clearon an element which is not editable. - An error is thrown when event handlers prevent
userEvent.clearfrom focussing/selecting content. - tab: The
focusTrapoption has been removed fromuserEvent.tab(). - type:
userEvent.typedoes no longer move the cursor if used withskipClick=falseand withoutinitialSelectionStart. - 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 (#β790) (86860cc)
- keep track of document state in UI (#β747) (73e62d0)
- rewrite selection handling (#β776) (968c2c4)
- event: support
beforeinput(#β851) (8890bd6) - add
pointerAPI (#β750) (c12ee44) - add
setupAPI (#β746) (719ba03) - add
userEvent.copyanduserEvent.cut(#β787) (8727a2d) - add
userEvent.tripleClickAPI (#β773) (0badabd) - apply modifier keys in pointer events (#β751) (e33eb86)
- keyboard: add
[Tab]support (#β767) (87470ff) - keyboard: apply modifier state (#β815) (e9635f6)
- keyboard: move cursor and delete content in contenteditable (#β822) (b83b259)
- keyboard: select all per
{Control}+[KeyA](#β774) (ea9b18a) - pointer: change selection per pointer (#β763) (17fb8b1)
- pointer: introduce
pointerEventsCheckoption (#β823) (e2a5f43) - remove support for user provided
MouseEventInit(#β784) (56ebf7d) - paste: replace
userEvent.paste(#β785) (f8fe217) - clear: rewrite
userEvent.clearAPI (#β779) (1cda1b1) - upload: replace element properties (#β794) (543eadb)
Bug Fixes
- check for inherited
:disabled(#β872) (1a00fdf) - clipboard: prevent default behavior on
copy/cut(#β866) (5423094) - clipboard: prevent default behavior on
paste(#β862) (d3d71ac) - create MouseEvents per
createEvent(#β781) (da5b5b7) - export bundled ESM (#β816) (1a5e2a7)
- export types and commonjs bundle (#β821) (4f56856)
- keyboard: parse escaped bracket followed by descriptor (#β814) (684451f)
- keyboard: parse keyboard input without nesting (#β793) (fafa677)
- keyboard: set
KeyboardEvent.charCodeonkeypress(#β771) (55e194a) - keyboard: submit form with
<button/>on[Enter](#β808) (eca157a) - log correct docs link for invalid key descriptors (#β881) (28d6604)
- maintain cursor position on controlled component (#β765) (8f203cc)
- pointer: blur
activeElementon click outside of focusable (#β834) (d64167c) - pointer: consider click context (#β850) (ca4482a)
- pointer: fire pointer events on disabled elements (#β818) (ef2f4e5)
- pointer: honor click handler on
<label/>(#β810) (2c5d9f1) - pointer: trigger
contextmenuonmousedown(#β811) (e1c4cad) - prepare document in setup (#β753) (65be675)
- remove deprecated keyboard features (#β780) (45dc39a)
- remove legacy modifier implementations (#β783) (caea162)
- replace pointer implementations (#β754) (c04f79b)
- reset UI selection on setter (#β770) (2733d10)
- tab: order
tabIndex>0beforetabIndex=0(#β809) (1bc5945) - tab: remove
focusTrapoption (#β772) (a0412c0) - tab: skip elements with
visibility:hidden(#β799) (a747b0a) - upload: fix order of events (#β847) (214fd03)
Miscellaneous Chores
v13.5.0
Features
v13.4.2
Bug Fixes
v13.4.1
Bug Fixes
v13.4.0
Features
v13.3.0
Features
v13.2.1
Bug Fixes
v13.2.0
Features
v13.1.9
Bug Fixes
v13.1.8
Bug Fixes
v13.1.7
Bug Fixes
v13.1.6
Bug Fixes
v13.1.5
Bug Fixes
v13.1.4
Bug Fixes
v13.1.3
Bug Fixes
v13.1.2
Bug Fixes
v13.1.1
Bug Fixes
v13.1.0
Features
v13.0.16
Bug Fixes
v13.0.15
Bug Fixes
v13.0.14
Bug Fixes
v13.0.13
Bug Fixes
v13.0.12
Bug Fixes
v13.0.11
Bug Fixes
v13.0.10
Bug Fixes
v13.0.9
Bug Fixes
v13.0.8
Bug Fixes
v13.0.7
Bug Fixes
v13.0.6
Bug Fixes
v13.0.5
Bug Fixes
v13.0.4
Bug Fixes
v13.0.3
Bug Fixes
v13.0.2
Bug Fixes
v13.0.1
Bug Fixes
v13.0.0
Features
BREAKING CHANGES
userEvent.typefeatures a rewritten implementation shared with the newuserEvent.keyboard. This might break code depending on unintended/undocumented behavior of the previous implementation.userEvent.typetreats{and[as special characters.userEvent.typereturns no Promise if called withoutdelay.
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 is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.