Skip to content

Upgrading @testing-library/react 11 to 12

Unknown11.2.7 → 12.1.5

Fetching 10 releases from GitHub…0 / 10
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Node.js requirement changed in 12.0.0-alpha.1: >=10 → >=12.

Adds @types/react-dom <18.0.0.

Installs 83 packages in all (was 29).

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: function render<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement>(ui: React.ReactElement, options: RenderOptions<Q, Container>): RenderResult<Q, Container> → function render<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement, BaseElement extends Element | DocumentFragment = Container>(ui: React.ReactElement, options: RenderOptions<Q, Container, BaseElement>): RenderResult<Q, Container, BaseElement>
  • changed: interface RenderOptions<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement> → interface RenderOptions<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement, BaseElement extends Element | DocumentFragment = Container>
  • changed: property RenderOptions.baseElement?: Element → property RenderOptions.baseElement?: BaseElement
  • changed: property RenderOptions.wrapper?: React.ComponentType → property RenderOptions.wrapper?: React.JSXElementConstructor<{ children: React.ReactElement }>
  • changed: type RenderResult<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement> = { container: Container; baseElement: Element; debug: (baseElement?: | Element | DocumentFragment | Array<Element | DocumentFragment>, maxLength?: number, optio… → type RenderResult<Q extends Queries = typeof queries, Container extends Element | DocumentFragment = HTMLElement, BaseElement extends Element | DocumentFragment = Container> = { container: Container; baseElement: BaseElement; debug: (baseElement?: | Element | DocumentFragment | Array<Element | DocumentFragment>, maxLength?: number, o…