Update testing-library monorepo (major) #22
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.
This PR contains the following updates:
^5.17.0
->^6.0.0
^13.4.0
->^16.0.0
^13.5.0
->^14.0.0
Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v6.6.3
Compare Source
v6.6.2
Compare Source
Bug Fixes
v6.6.1
Compare Source
v6.6.0
Compare Source
v6.5.0
Compare Source
v6.4.8
Compare Source
v6.4.7
Compare Source
v6.4.6
Compare Source
Bug Fixes
v6.4.5
Compare Source
Bug Fixes
v6.4.4
Compare Source
v6.4.3
Compare Source
v6.4.2
Compare Source
Bug Fixes
v6.4.1
Compare Source
Bug Fixes
TestingLibraryMatchers
from "./matchers" (#576) (dd1c4dd)v6.4.0
Compare Source
Features
v6.3.0
Compare Source
Features
v6.2.1
Compare Source
Bug Fixes
v6.2.0
Compare Source
Features
v6.1.6
Compare Source
Bug Fixes
v6.1.5
Compare Source
Bug Fixes
v6.1.4
Compare Source
Bug Fixes
@adobe/css-tools
to4.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
v6.0.0
Compare Source
Features
BREAKING CHANGES
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'
testing-library/react-testing-library (@testing-library/react)
v16.0.1
Compare Source
v16.0.0
Compare Source
Features
@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
v15.0.6
Compare Source
v15.0.5
Compare Source
v15.0.4
Compare Source
v15.0.3
Compare Source
Bug Fixes
document
(#1304) (067d0c6)v15.0.2
Compare Source
v15.0.1
Compare Source
v15.0.0
Compare Source
v14.3.1
Compare Source
Bug Fixes
v14.3.0
Compare Source
v14.2.2
Compare Source
v14.2.1
Compare Source
Bug Fixes
v14.2.0
Compare Source
Features
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
@testing-library/dom
to 9.0.0 (#1177) (6653c23)BREAKING CHANGES
testing-library/user-event (@testing-library/user-event)
v14.5.2
Compare Source
Bug Fixes
v14.5.1
Compare Source
Bug Fixes
v14.5.0
Compare Source
Bug Fixes
Features
v14.4.3
Compare Source
Bug Fixes
types
field inexports
(#1029) (5bed8c6)v14.4.2
Compare Source
Bug Fixes
exports
field (#1022) (7839e29)v14.4.1
Compare Source
Bug Fixes
v14.4.0
Compare Source
Features
auxclick
events (#1003) (2852509)Bug Fixes
Control
onAltGraph
(#1003) (2852509)contextmenu
events withdetail: 0
(#1003) (2852509)PointerEvent.isPrimary
(#1003) (2852509)button
property on pointer events separately from legacy mouse events (#1003) (2852509)mousedown
andmouseup
happen on different elements (#1003) (2852509)mouseover
,mouseenter
andmousemove
on disabled elements (#1003) (2852509)mouse*
events perpointerdown
event handler (#1003) (2852509)*out
and*over
events when moving into / out of nested elements (#1003) (2852509)*enter
and*leave
events on ancestors (#1003) (2852509)v14.3.0
Compare Source
Features
v14.2.6
Compare Source
Bug Fixes
pointer-events: none
on previous target (#991) (6e4058b)v14.2.5
Compare Source
Bug Fixes
value
onHTMLSelectElement
(#989) (77a7fa8)v14.2.4
Compare Source
Bug Fixes
window.FileList
instead of implicit global (c88865d)v14.2.3
Compare Source
Bug Fixes
v14.2.2
Compare Source
Bug Fixes
HTMLInputElement.setRangeText()
(#984) (73443ec)v14.2.1
Compare Source
Performance Improvements
v14.2.0
Compare Source
Features
pointerEventsCheck
(#950) (31b7091)Bug Fixes
asyncWrapper
(#952) (6f55fee)v14.1.1
Compare Source
14.1.1 (2022-04-17)
Bug Fixes
globalThis
instead ofglobal
(#928) (497c14d)v14.1.0
Compare Source
Features
advanceTimers
option (#907) (627a5cf)Bug Fixes
maxlength
(#909) (f5049c4)v14.0.4
Compare Source
14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()
(#898) (6d36828)v14.0.3
Compare Source
14.0.3 (2022-03-31)
Bug Fixes
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
skipPointerEvents
has been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Never
instead.init
parameter has been removed fromuserEvent.upload
.applyAccept
defaults totrue
.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 supportsclickInit
as part of its
init
parameter.{selectall}
has been removed.keyCode
property on keyboard events has been removed.userEvent.clear
on an element which is not editable.userEvent.clear
from focussing/selecting content.focusTrap
option has been removed fromuserEvent.tab()
.userEvent.type
does no longer move the cursorif used with
skipClick=false
and withoutinitialSelectionStart
.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput
(#851) (8890bd6)pointer
API (#750) (c12ee44)setup
API (#746) (719ba03)userEvent.copy
anduserEvent.cut
(#787) (8727a2d)userEvent.tripleClick
API (#773) (0badabd)[Tab]
support (#767) (87470ff){Control}+[KeyA]
(#774) (ea9b18a)pointerEventsCheck
option (#823) (e2a5f43)MouseEventInit
(#784) (56ebf7d)userEvent.paste
(#785) (f8fe217)userEvent.clear
API (#779) (1cda1b1)Bug Fixes
:disabled
(#872) (1a00fdf)copy
/cut
(#866) (5423094)paste
(#862) (d3d71ac)createEvent
(#781) (da5b5b7)KeyboardEvent.charCode
onkeypress
(#771) (55e194a)<button/>
on[Enter]
(#808) (eca157a)activeElement
on click outside of focusable (#834) (d64167c)<label/>
(#810) (2c5d9f1)contextmenu
onmousedown
(#811) (e1c4cad)tabIndex>0
beforetabIndex=0
(#809) (1bc5945)focusTrap
option (#772) (a0412c0)visibility:hidden
(#799) (a747b0a)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.
This PR was generated by Mend Renovate. View the repository job log.