Update testing-library monorepo (major) #57
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.11.6->6.4.611.2.2->16.0.012.5.0->14.5.2Release Notes
testing-library/jest-dom (@testing-library/jest-dom)
v6.4.6Compare Source
Bug Fixes
v6.4.5Compare Source
Bug Fixes
v6.4.4Compare Source
v6.4.3Compare Source
v6.4.2Compare Source
Bug Fixes
v6.4.1Compare Source
Bug Fixes
TestingLibraryMatchersfrom "./matchers" (#576) (dd1c4dd)v6.4.0Compare Source
Features
v6.3.0Compare Source
Features
v6.2.1Compare Source
Bug Fixes
v6.2.0Compare Source
Features
v6.1.6Compare Source
Bug Fixes
v6.1.5Compare Source
Bug Fixes
v6.1.4Compare Source
Bug Fixes
@adobe/css-toolsto4.3.1to address vulnerability (#532) (44f1eab)v6.1.3Compare Source
Bug Fixes
v6.1.2Compare Source
Bug Fixes
v6.1.1Compare Source
Bug Fixes
v6.1.0Compare Source
Features
v6.0.1Compare Source
Bug Fixes
v6.0.0Compare 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'
v5.17.0Compare Source
Features
toHaveAccessibleErrorMessagebetter implementing the spec, deprecatetoHaveErrorMessage(#503) (d717c66)v5.16.5Compare Source
Bug Fixes
v5.16.4Compare Source
Bug Fixes
v5.16.3Compare Source
Bug Fixes
.not(#447) (6988a67)v5.16.2Compare Source
Bug Fixes
toBeDisabled(#368) (8162115)v5.16.1Compare Source
Bug Fixes
toHaveClasserror message format (#405) (a9beb47)v5.16.0Compare Source
Features
v5.15.1Compare Source
Bug Fixes
v5.15.0Compare Source
Features
v5.14.1Compare Source
Bug Fixes
v5.14.0Compare Source
Features
v5.13.0Compare Source
Features
toHaveErrorMessagematcher (#370) (217fdcc)v5.12.0Compare Source
Features
v5.11.10Compare Source
Bug Fixes
v5.11.9Compare Source
Bug Fixes
v5.11.8Compare Source
Bug Fixes
v5.11.7Compare Source
Bug Fixes
testing-library/react-testing-library (@testing-library/react)
v16.0.0Compare Source
Features
@testing-library/domand@types/react-domto peer dependencies (#1305) (a4744fa)BREAKING CHANGES
@testing-library/domwas moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of@testing-library/dominstalled that frequently caused bugs when used with@testing-library/user-event. We will also be able to allow new versions of@testing-library/dombeing used without a SemVer major release of@testing-library/reactby just widening the peer dependency.@types/react-domneeds to be installed if you're typechecking files using@testing-library/react.v15.0.7Compare Source
v15.0.6Compare Source
v15.0.5Compare Source
v15.0.4Compare Source
v15.0.3Compare Source
Bug Fixes
document(#1304) (067d0c6)v15.0.2Compare Source
v15.0.1Compare Source
v15.0.0Compare Source
v14.3.1Compare Source
Bug Fixes
v14.3.0Compare Source
v14.2.2Compare Source
v14.2.1Compare Source
Bug Fixes
v14.2.0Compare Source
Features
reactStrictModeoption to enable strict mode render (#1241) (0880eba)v14.1.2Compare Source
Bug Fixes
v14.1.1Compare Source
Bug Fixes
v14.1.0Compare Source
Features
v14.0.0Compare Source
Bug Fixes
Features
@testing-library/domto 9.0.0 (#1177) (6653c23)BREAKING CHANGES
v13.4.0Compare Source
Features
v13.3.0Compare Source
Features
globalThisif available (#1070) (c80809a)v13.2.0Compare Source
Features
v13.1.1Compare Source
Bug Fixes
v13.1.0Compare Source
Features
renderHook(#991) (9535eff)v13.0.1Compare Source
Bug Fixes
v13.0.0Compare Source
Features
BREAKING CHANGES
createRootAPI by default which comes with a set of changes while also enabling support for concurrent features.To opt-out of this change you can use
render(ui, { legacyRoot: true } ). But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.v12.1.5Compare Source
Bug Fixes
v12.1.4Compare Source
Bug Fixes
v12.1.3Compare Source
Bug Fixes
@types/react-domas a direct dependency (#1001) (149d9a9)v12.1.2Compare Source
Bug Fixes
v12.1.1Compare Source
Bug Fixes
v12.1.0Compare Source
Features
v12.0.0Compare Source
Bug Fixes
Features
BREAKING CHANGES
@testing-library/domto 8.0.0. Please check out the@testing-library/[email protected]release page for a detailed list of breaking changes.v11.2.7Compare Source
Bug Fixes
processnot being defined (#911) (8a1c8e9)v11.2.6Compare Source
Bug Fixes
v11.2.5Compare Source
Bug Fixes
v11.2.4Compare Source
Bug Fixes
v11.2.3Compare Source
Bug Fixes
void(#857) (1389f09)testing-library/user-event (@testing-library/user-event)
v14.5.2Compare Source
Bug Fixes
v14.5.1Compare Source
Bug Fixes
v14.5.0Compare Source
Bug Fixes
Features
v14.4.3Compare Source
Bug Fixes
typesfield inexports(#1029) (5bed8c6)v14.4.2Compare Source
Bug Fixes
exportsfield (#1022) (7839e29)v14.4.1Compare Source
Bug Fixes
v14.4.0Compare Source
Features
auxclickevents (#1003) (2852509)Bug Fixes
ControlonAltGraph(#1003) (2852509)contextmenuevents withdetail: 0(#1003) (2852509)PointerEvent.isPrimary(#1003) (2852509)buttonproperty on pointer events separately from legacy mouse events (#1003) (2852509)mousedownandmouseuphappen on different elements (#1003) (2852509)mouseover,mouseenterandmousemoveon disabled elements (#1003) (2852509)mouse*events perpointerdownevent handler (#1003) (2852509)*outand*overevents when moving into / out of nested elements (#1003) (2852509)*enterand*leaveevents on ancestors (#1003) (2852509)v14.3.0Compare Source
Features
v14.2.6Compare Source
Bug Fixes
pointer-events: noneon previous target (#991) (6e4058b)v14.2.5Compare Source
Bug Fixes
valueonHTMLSelectElement(#989) (77a7fa8)v14.2.4Compare Source
Bug Fixes
window.FileListinstead of implicit global (c88865d)v14.2.3Compare Source
Bug Fixes
v14.2.2Compare Source
Bug Fixes
HTMLInputElement.setRangeText()(#984) (73443ec)v14.2.1Compare Source
Performance Improvements
v14.2.0Compare Source
Features
pointerEventsCheck(#950) (31b7091)Bug Fixes
asyncWrapper(#952) (6f55fee)v14.1.1Compare Source
14.1.1 (2022-04-17)
Bug Fixes
globalThisinstead ofglobal(#928) (497c14d)v14.1.0Compare Source
Features
advanceTimersoption (#907) (627a5cf)Bug Fixes
maxlength(#909) (f5049c4)v14.0.4Compare Source
14.0.4 (2022-04-01)
Bug Fixes
HTMLInputElement.select()(#898) (6d36828)v14.0.3Compare Source
14.0.3 (2022-03-31)
Bug Fixes
focus(#895) (06f12a6)v14.0.2Compare Source
14.0.2 (2022-03-31)
Bug Fixes
v14.0.1Compare Source
14.0.1 (2022-03-31)
Bug Fixes
v14.0.0Compare Source
⚠ BREAKING CHANGES
skipPointerEventshas been removed.Use
pointerEventsCheck: PointerEventsCheckLevel.Neverinstead.initparameter has been removed fromuserEvent.upload.applyAcceptdefaults totrue.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.deselectOptionsuserEvent.uploadno longer supportsclickInitas part of its
initparameter.{selectall}has been removed.keyCodeproperty on keyboard events has been removed.userEvent.clearon an element which is not editable.userEvent.clearfrom focussing/selecting content.focusTrapoption has been removed fromuserEvent.tab().userEvent.typedoes no longer move the cursorif used with
skipClick=falseand withoutinitialSelectionStart.This might break tests relying on unintended side-effects of the previous implementation.
Features
beforeinput(#851) (8890bd6)pointerAPI (#750) (c12ee44)setupAPI (#746) (719ba03)userEvent.copyanduserEvent.cut(#787) (8727a2d)userEvent.tripleClickAPI (#773) (0badabd)[Tab]support (#767) (87470ff){Control}+[KeyA](#774) (ea9b18a)pointerEventsCheckoption (#823) (e2a5f43)MouseEventInit(#784) ([56ebf7d](https://togithub.com/testing-library/user-event/commit/56ebf7d00620d7696d73e30f7f5d90a7Configuration
📅 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 has been generated by Mend Renovate. View repository job log here.