chore(dev-deps): update package dev-dependencies (major) #43
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:
^14.3.1->^16.3.0^18.3.20->^19.1.0^22.1.0->^26.0.0^0.34.6->^3.1.1Release Notes
testing-library/react-testing-library (@testing-library/react)
v16.3.0Compare Source
v16.2.0Compare Source
Features
v16.1.0Compare Source
Features
v16.0.1Compare Source
Bug Fixes
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
Bug Fixes
actis notanywhenReact.actis not declared (#1323) (c1f2957)v15.0.6Compare Source
Bug Fixes
v15.0.5Compare Source
Bug Fixes
containeroption based onhydrate(#1313) (d143f46)v15.0.4Compare Source
Bug Fixes
renderHookoptions extend options forrender(#1308) (48282c2)v15.0.3Compare Source
Bug Fixes
document(#1304) (067d0c6)v15.0.2Compare Source
Bug Fixes
legacyRooterror message (#1301) (c63b873)v15.0.1Compare Source
Bug Fixes
v15.0.0Compare Source
Release
BREAKING CHANGES
@testing-library/domchanges various roles. Check out the changed tests in testing-library/dom-testing-library@2c57055 to get an overview about what changed.jsdom/jsdom (jsdom)
v26.0.0Compare Source
Breaking change:
canvaspeer dependency requirement has been upgraded from v2 to v3. (sebastianwachter)Other changes:
AbortSignal.any(). (jdbevan)ElementInternalslabelsproperty. The form-associated callbacks are not yet supported. (hesxenon)whatwg-url, adding support forURL.parse().cssstyleandrrweb-cssom, to improve CSS parsing capabilities.nwsapi, improving CSS selector matching.parse5, fixing a bug around<noframes>elements and HTML entity decoding.JSDOM.fromURL()to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.v25.0.1Compare Source
tough-cookie, which no longer prints a deprecation warning.v25.0.0Compare Source
This major release changes the prototype of a jsdom's
EventTarget.prototypeto point to theObject.prototypeinside the jsdom, instead of pointing to the Node.jsObject.prototype. Thus, the prototype chain ofWindowstays entirely within the jsdom, never crossing over into the Node.js realm.This only occurs when
runScriptsis set to non-default values of"dangerously"or"outside-only", as with the default value, there is no separateObject.prototypeinside the jsdom.This will likely not impact many programs, but could cause some changes in
instanceofbehavior, and so out of an abundance of caution, we're releasing it as a new major version.v24.1.3Compare Source
postMessage()that were done as a bare property (i.e.,postMessage()instead ofwindow.postMessage()).v24.1.2Compare Source
inoperator applied toEventTargetmethods, e.g.'addEventListener' in window, which only appeared in Node.js ≥22.5.0. (legendecas)blur(): it no longer firesfocusandfocusinon theDocument, andblurandfocusoutno longer have theirrelatedTargetproperty set. (asamuzaK)v24.1.1Compare Source
selectionchangeevent on theDocumentobject. (piotr-oles)v24.1.0Compare Source
getSetCookie()method to theHeadersclass. (ushiboy)Object.prototype, like"constructor"or"toString".rweb-cssom, which can now parse additional CSS constructs.v24.0.0Compare Source
This release reverts our selector engine back to
nwsapi. As discussed in #3659, the performance regressions from@asamuzakjp/dom-selectorturned out to be higher than anticipated. In the future, we can revisit@asamuzakjp/dom-selectorafter it reachesnwsapi's performance on the two real-world benchmarks provided by the community.Since reverting to
nwsapicauses several functionality regressions, e.g. removing:has()support, we've decided to make this a major version.Additionally:
input.maxLength,input.minLength,input.size,progress.max,tableCell.colSpan,tableCell.rowSpan,tableCol.span,textArea.cols,textArea.maxLength,textArea.minLength,textArea.rows.v23.2.0Compare Source
This release switches our CSS selector engine from
nwsapito@asamuzakjp/dom-selector. The new engine is more actively maintained, and supports many new selectors: see the package's documentation for the full list. It also works better with shadow trees.There is a potential of a performance regression due to this change. In our stress test benchmark, which runs most of these 273 selectors against this 128 KiB document, the new engine completes the benchmark only 0.25x as fast. However, we're hopeful that in more moderate usage this will not be a significant issue. Any help speeding up
@asamuzakjp/dom-selectoris appreciated, and feel free to open an issue if this has had a significant impact on your project.v23.1.0Compare Source
ElementInternals, including theshadowRootgetter and the string-valued ARIA properties. (zjffun)Element.history.pushState()andhistory.replaceState()to follow the latest specification, notably with regards to how they handle empty string inputs and what new URLs are possible.input.valueAsANumbersetter to handleNaNcorrectly. (alexandertrefz)cssstylewhich contains several bug fixes.v23.0.1Compare Source
canvaspeer dependency introduced in v23.0.0.v23.0.0Compare Source
whatwg-urlwhich integrates various additions to theURLandURLSearchParamsobjects.vitest-dev/vitest (vitest)
v3.1.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.1.0Compare Source
🚀 Features
%$option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347)diff.maxDepthoption and set non-Infinityvalue as a default to reduce crash - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7481 (eacab)test.each/fortitle formatting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7522 (ea3d6)--configLoaderCLI option - by @Carnageous and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7574 (2a852)vitest-browser-littovitest init browserand docs - by @EskiMojo14 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7705 (5659a)and,orandfilterlocators - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7463 (63949)--silent=passed-onlyto log failed tasks only - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7530 (f9e1c)test.scopedto overridetest.extendfixtures per-suite - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7233 (e5851)context.skip(boolean)- by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7659 (6adec)🐞 Bug Fixes
diff.expand: falseas default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7697 (f3420)--hideSkippedTestsshould hide suites too - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7695 (ba9b5)🏎 Performance
View changes on GitHub
v3.0.9Compare Source
🐞 Bug Fixes
ctx.skip()asnever- by @sirlancelot in https://github.com/vitest-dev/vitest/issues/7608 (09f35)resolveConfigAPI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7623 (db14a)toHaveBeenCalledWith(asymmetricMatcher)withundefinedarguments - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7624 (0fb21)getState().testPathduring collection with no isolation - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7640 (3fb3f)coverage.all- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7597 (422ba)buildStart- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7652 (29f5a)removeEventListeneris bound to worker - by @joelgallant in https://github.com/vitest-dev/vitest/issues/7631 (ff42b)View changes on GitHub
v3.0.8Compare Source
🐞 Bug Fixes
@vitest/spy- by @mrginglymus in https://github.com/vitest-dev/vitest/issues/7575 (7f7ff)beforeEach/Allcleanup callback timeout - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7500 (0c292)Task.suiteinitialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7414 (ca9ff)buildStarton Vite 6 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7480 (c0f47)View changes on GitHub
v3.0.7Compare Source
v3.0.6Compare Source
🐞 Bug Fixes
getMockedSystemTimeforuseFakeTimer- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7405 (03912)queueMicrotaskfrom default fake timers to not break node fetch - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7505 (167a9)toHaveClasstyping - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7383 (7ef23)maxWorkers- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7483 (adbb2)vite-nodeto pass correct execution wrapper offset - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7417 (1f2e5)inspectrelated cli options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7373 (ed15b)View changes on GitHub
v3.0.5Compare Source
This release includes security patches for:
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v3.0.4Compare Source
This release includes security patches for:
🐞 Bug Fixes
development|productioncondition on Vites 6 by @hi-ogawa and @sheremet-va (#7301) (ef146)/__screenshot-error- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7340 (ed9ae)View changes on GitHub
v3.0.3Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v3.0.2Compare Source
🐞 Bug Fixes
expect().resolves/rejectschain typings - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7273 (fa415)View changes on GitHub
v3.0.1Compare Source
🐞 Bug Fixes
View changes on GitHub
v3.0.0Compare Source
Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
spy.mockResetchanges - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 (db7a8)describe(..., { shuffle: boolean })and inherit from parent suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6670 (aa1da)retryandrepeats- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6817 (e8ce9)🚀 Features
diffoptions and supportprintBasicPrototype- by @hi-ogawa, @sheremet-va and Michał Grzegorzewski in https://github.com/vitest-dev/vitest/issues/6740 (39186)ctx.skip()dynamically - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6805 (697c3)vitest/nodeentry point and statically on Vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7029 (be8d4)diff.printBasicPrototype: falseby default - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7043 (2b5c5)Configuration
📅 Schedule: Branch creation - "* 0-3 1 * *" in timezone America/New_York, 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.
👻 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.