Upgrade @testing-library/user-event to version 14.0.0 #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ @testing-library/user-event (^13.1.8 → ^14.0.0) · Repo · Changelog
Release Notes
14.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 75 commits:
chore: update link to CONTRIBUTORSchore: add codesandbox template without framework (#884)docs: add joshunger as a contributor for bug (#883)fix: log correct docs link for invalid key descriptors (#881)chore: update dependencies (#882)chore: fix typo in comment (#875)chore: fix CODE_OF_CONDUCT.md location (#879)docs: add markwoon as a contributor for bug (#873)fix: check for inherited `:disabled` (#872)docs: add lifeiscontent as a contributor for ideas (#870)chore: modernize issue templates (#869)docs: add Gudahtt as a contributor for bug, code (#868)fix(clipboard): prevent default behavior on `copy`/`cut` (#866)fix(clipboard): prevent default behavior on `paste` (#862)refactor: reorganize tests for key event behavior (#863)refactor: streamline tests for maxlength support (#860)refactor: simplify test setup with focus and selection (#859)refactor: refactor test setup (#856)refactor: refactor test helpers (#852)feat(event): support `beforeinput` (#851)fix(pointer): consider click context (#850)fix(upload): fix order of events (#847)refactor: dispatch all UI events per one internal API (#838)docs: add piecyk as a contributor for bug (#837)fix(pointer): blur `activeElement` on click outside of focusable (#834)docs: update CONTRIBUTORS (#829)docs: update CONTRIBUTORS (#827)docs: harmonize README (#826)docs: streamline README (#825)feat(pointer)!: introduce `pointerEventsCheck` option (#823)feat(keyboard): move cursor and delete content in contenteditable (#822)fix(pointer): fire pointer events on disabled elements (#818)fix: export types and commonjs bundle (#821)fix!: export bundled ESM (#816)feat(keyboard): apply modifier state (#815)fix(keyboard): parse escaped bracket followed by descriptor (#814)fix(pointer): honor click handler on `<label/>` (#810)fix(pointer): trigger `contextmenu` on `mousedown` (#811)fix(tab): order `tabIndex>0` before `tabIndex=0` (#809)fix(keyboard): submit form with `<button/>` on `[Enter]` (#808)test: refactor and rewrite tests (#800)fix(tab): skip elements with `visibility:hidden` (#799)refactor: use relative imports (#795)feat(upload)!: replace element properties (#794)fix(keyboard): parse keyboard input without nesting (#793)feat!: async APIs (#790)feat: add `userEvent.copy` and `userEvent.cut` (#787)feat!: replace `userEvent.paste` (#785)fix!: remove legacy modifier implementations (#783)feat!: remove support for user provided `MouseEventInit` (#784)fix!: remove deprecated keyboard features (#780)feat!: rewrite `userEvent.clear` API (#779)fix: create MouseEvents per `createEvent` (#781)feat(keyboard): select all per `{Control}+[KeyA]` (#774)feat: rewrite selection handling (#776)feat: add `userEvent.tripleClick` API (#773)fix: reset UI selection on setter (#770)fix(keyboard): set `KeyboardEvent.charCode` on `keypress` (#771)fix(tab)!: remove `focusTrap` option (#772)feat(keyboard): add `[Tab]` support (#767)fix: maintain cursor position on controlled component (#765)feat(pointer)!: change selection per pointer (#763)chore: override build config for types (#761)chore: update release config (#760)chore: replace release action (#759)refactor: clean up paths (#756)fix!: replace pointer implementations (#754)fix: prepare document in setup (#753)refactor: use relative imports (#752)feat: apply modifier keys in pointer events (#751)feat: add `pointer` API (#750)feat: keep track of document state in UI (#747)feat: add `setup` API (#746)chore!: drop support for node 10 (#698)docs: add patricklizon as a contributor for code (#749)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands