Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update testing-library monorepo (major) #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/jest-dom 5.14.1 -> 6.5.0 age adoption passing confidence
@testing-library/react 9.5.0 -> 16.0.1 age adoption passing confidence
@testing-library/user-event 13.2.1 -> 14.5.2 age adoption passing confidence

Release Notes

testing-library/jest-dom (@​testing-library/jest-dom)

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
  • Remove errant export of GetByRoleMatcher, fixing type checking in some TS configurations (#​575) (a93c0c4)

v6.4.1

Compare Source

Bug Fixes
  • Export type TestingLibraryMatchers from "./matchers" (#​576) (dd1c4dd)

v6.4.0

Compare Source

Features

v6.3.0

Compare Source

Features

v6.2.1

Compare Source

Bug Fixes
  • Standalone types for "./matchers" export and add Bun support (#​566) (5675b86)

v6.2.0

Compare Source

Features
  • toHaveAccessibleDescription supports aria-description (#​565) (1fb156c)

v6.1.6

Compare Source

Bug Fixes

v6.1.5

Compare Source

Bug Fixes

v6.1.4

Compare Source

Bug Fixes
  • upgrade @adobe/css-tools to 4.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
  • matchers type is making the global expect unsafe (#​513) (bdb34f1)

v6.0.0

Compare Source

Features
BREAKING CHANGES
  • Removes the extend-expect script. Users should use
    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'

  • Update kcd-scripts
  • Drop node < 14

v5.17.0

Compare Source

Features
  • New toHaveAccessibleErrorMessage better implementing the spec, deprecate toHaveErrorMessage (#​503) (d717c66)

v5.16.5

Compare Source

Bug Fixes

v5.16.4

Compare Source

Bug Fixes
  • Support unenclosed inner text for details elements in to be visible (#​396) (af18453)

v5.16.3

Compare Source

Bug Fixes

v5.16.2

Compare Source

Bug Fixes

v5.16.1

Compare Source

Bug Fixes

v5.16.0

Compare Source

Features

v5.15.1

Compare Source

Bug Fixes

v5.15.0

Compare Source

Features
testing-library/react-testing-library (@​testing-library/react)

v16.0.1

Compare Source

v16.0.0

Compare Source

Features
  • Move @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
  • Don't raise TypeScript errors when hydating 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
  • Update types to support all possible react component return values (#​1272) (55e79c2)

v14.2.0

Compare Source

Features
  • add 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
BREAKING CHANGES

v13.4.0

Compare Source

Features
  • renderHook: allow passing of all render options to renderHook (#​1118) (27a9584)

v13.3.0

Compare Source

Features

v13.2.0

Compare Source

Features

v13.1.1

Compare Source

Bug Fixes

v13.1.0

Compare Source

Features

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

Features
BREAKING CHANGES

v12.1.5

Compare Source

Bug Fixes

v12.1.4

Compare Source

Bug Fixes
  • Match runtime type of baseElement in TypeScript types (#​1023) (96ed8da)

v12.1.3

Compare Source

Bug Fixes

v12.1.2

Compare Source

Bug Fixes
  • render: Don't reject wrapper types based on statics (#​973) (7f53b56)

v12.1.1

Compare Source

Bug Fixes

v12.1.0

Compare Source

Features

v12.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES

v11.2.7

Compare Source

Bug Fixes

v11.2.6

Compare Source

Bug Fixes
  • types: exclude tsconfig from types folder in publish flow (#​893) (58150b9)

v11.2.5

Compare Source

Bug Fixes

v11.2.4

Compare Source

Bug Fixes
  • render: Default to HTMLElement in returned container (#​868) (81c2de9)

v11.2.3

Compare Source

Bug Fixes

v11.2.2

Compare Source

Bug Fixes

v11.2.1

Compare Source

Bug Fixes
  • types: Allow all HTML and SVG elements in render. (#​833) (1dc33b2)

v11.2.0

Compare Source

Features

v11.1.2

Compare Source

Bug Fixes

v11.1.1

Compare Source

Bug Fixes

v11.1.0

Compare Source

Features

v11.0.4

Compare Source

Bug Fixes
  • Trigger ongot-/onlostpointercapture when calling got-/lostpointercapture (#​786) (c546a6f)

v11.0.3

Compare Source

Bug Fixes
  • Trigger onPointerEnter/Leave when calling pointerEnter/Leave (#​784) (c7b5622)

v11.0.2

Compare Source

Bug Fixes

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

Features
  • use act to flush instead of custom implementation (#​768) (693228c)
BREAKING CHANGES
  • cleanup is now synchronous and wraps the unmounting process in act.

v10.4.9

Compare Source

Bug Fixes

v10.4.8

Compare Source

Bug Fixes
  • fireEvent: Make sure react dispatches focus/blur events (#​758) (9aac157)

v10.4.7

Compare Source

Bug Fixes
  • unmount: Flush useEffect cleanup functions syncronously (#​746) (b82773c)

v10.4.6

Compare Source

Bug Fixes
  • cleanup: remove scheduler code from flush-microtasks (#​744) (240900c)

v10.4.5

Compare Source

Bug Fixes

v10.4.4

Compare Source

Bug Fixes

v10.4.3

Compare Source

Bug Fixes
  • cleanup: Cleanup should flush microtask queue after unmount (#​632) (aac2e44)

v10.4.2

Compare Source

Bug Fixes
  • cleanup: microtask flushing now supports fake timers (#​720) (5814b29)

v10.4.1

Compare Source

Bug Fixes

v10.4.0

Compare Source

Features

Latest DOM Testing Library release page: https://github.com/testing-library/dom-testing-library/releases/tag/v7.17.0

The big feature is fake timers working with async utils out of the box

v10.3.0

Compare Source

Features

v10.2.1

Compare Source

Bug Fixes

v10.2.0

Compare Source

Features
  • run cleanup() when test runner supports teardown() (#​676) (c91e9a9)

v10.1.0

Compare Source

Features

v10.0.6

Compare Source

Bug Fixes

v10.0.5

Compare Source

Bug Fixes
  • fireEvent: automatically configure fireEvent to be wrapped in act (#​685) (6147830)

v10.0.4

Compare Source

Bug Fixes

v10.0.3

Compare Source

Bug Fixes

v10.0.2

Compare Source

Bug Fixes

v10.0.1

Compare Source

Bug Fixes

v10.0.0

Compare Source

Features
BREAKING CHANGES
Update DOM Testing Library

The latest version of DOM Testing Library has several breaking changes you will want to review the changelog of DOM Testing Library v7.0.0 to ensure you are unaffected.

Drop Node 8

Node 10 or greater is required. Node 8 is out of LTS (#​576) (fccc2cf), closes #​575

remove deprecated cleanup-after-each.js

This file which did nothing but log a warning to the console (#​598) (7942f68)

- import '@&#8203;testing-library/react/cleanup-after-each'
+ // nothing! Just remove it

As a general reminder, you should NOT need to use cleanup at all as this is done automatically for you (unless you're using @testing-library/react/pure in which case you know what you're doing... keep using cleanup).

testing-library/user-event (@​testing-library/user-event)

v14.5.2

Compare Source

Bug Fixes
  • remove interop and deep DTL imports (6a3c896)

v14.5.1

Compare Source

Bug Fixes

v14.5.0

Compare Source

Bug Fixes
Features
  • types: Add additional type exports for UserEvent & Options (#​1112) (da00e8d)

v14.4.3

Compare Source

Bug Fixes

v14.4.2

Compare Source

Bug Fixes

v14.4.1

Compare Source

Bug Fixes

v14.4.0

Compare Source

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 Control on AltGraph (#​1003) (2852509)
  • pointer: dispatch contextmenu events with detail: 0 (#​1003) (2852509)
  • pointer: always set PointerEvent.isPrimary (#​1003) (2852509)
  • pointer: set button property on pointer events separately from legacy mouse events (#​1003) (2852509)
  • pointer: click closest common ancestor if mousedown and mouseup happen on different elements (#​1003) (2852509)
  • pointer: omit click event on release if another button is released first (#​1003) (2852509)
  • pointer: dispatch mouseover, mouseenter and mousemove on disabled elements (#​1003) (2852509)
  • pointer: prevent mouse* events per pointerdown event handler (#​1003) ([2852509](https://togithub.com/testing-library/user-e

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone America/Sao_Paulo, 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label May 1, 2024
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch 5 times, most recently from 3f905f1 to 409cda0 Compare May 7, 2024 13:09
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch from 409cda0 to 883a056 Compare June 3, 2024 14:18
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch from 883a056 to 7a4ff73 Compare June 11, 2024 00:28
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch 2 times, most recently from 4790cdf to 2112f1a Compare July 23, 2024 12:53
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch from 2112f1a to 8b81dc4 Compare August 23, 2024 23:19
@renovate renovate bot force-pushed the updates/major-testing-library-monorepo branch from 8b81dc4 to 5bc26f4 Compare August 29, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants