unstale

npm / @testing-library/react-native

@testing-library/react-native

What changed in @testing-library/react-native 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

23 breaking1 deprecations4 new APIs and options6 behavior and defaults1 tooling4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@testing-library/react-native 1439 changes

Breaking changes 23

  • Accessible names more closely follow React Native inputs, including TextInput placeholder handling, child-name concatenation, and stricter getByRole name matching.

    14.0.0release notes

  • The concurrentRoot render and configuration option was removed because concurrent rendering is always enabled.

    14.0.0release notes

  • The createNodeMock render option was removed because the new Test Renderer integration does not support it.

    14.0.0release notes

  • fireEvent() and its helpers are async by default and return Promise<void>; callers must await them.

    14.0.0release notes

  • The fireEventAsync API was removed; use fireEvent instead.

    14.0.0release notes

  • The getQueriesForElement alias was removed; use within instead.

    14.0.0release notes

  • The minimum supported Node.js version is now ^22.13.0 || >=24.

    14.0.0release notes

  • React 19.0.0 or newer is now required; React 18 is no longer supported.

    14.0.0release notes

  • The minimum supported React Native version is now 0.78.

    14.0.0release notes

  • render() is async by default and returns Promise<RenderResult>; callers must await it.

    14.0.0release notes

  • The renderAsync API was removed; use render instead.

    14.0.0release notes

  • Query results and the rendered element tree expose host elements only; composite components are no longer visible.

    14.0.0release notes

  • renderHook() is async by default and returns Promise<RenderHookResult>; callers must await it.

    14.0.0release notes

  • The renderHookAsync API was removed; use renderHook instead.

    14.0.0release notes

  • A codemod updates dependencies by removing React Test Renderer packages, adding Test Renderer, and updating React Native Testing Library.

    14.0.0release notes

  • The deprecated React Test Renderer integration was replaced with Test Renderer, which is now a peer dependency; install the compatibility line matching your React 19 minor version.

    14.0.0release notes

  • Type definitions now use TestInstance from Test Renderer instead of ReactTestInstance from React Test Renderer.

    14.0.0release notes

  • Text strings rendered outside React Native Text components now throw, matching React Native runtime behavior.

    14.0.0release notes

  • The legacy UNSAFE_getAllByProps query was removed.

    14.0.0release notes

  • The legacy UNSAFE_getByProps query was removed.

    14.0.0release notes

  • UNSAFE_root was removed; use container for the pseudo-element container or root for the first rendered host element.

    14.0.0release notes

  • The render option was removed because text string validation is now always enabled.

    14.0.0release notes

  • The update alias was removed; use rerender instead.

    14.0.0release notes

Deprecations 1

  • Bubbling of direct events in fireEvent is deprecated.

    14.1.0release notes

New APIs and options 4

  • Adds UserEvent support for accessibilityAction.

    14.1.0release notes

  • Adds fireEvent.layout for firing layout events, including direct events.

    14.1.0release notes

  • Adds UserEvent pullToRefresh() for testing pull-to-refresh interactions.

    14.1.0release notes

  • The container API was reintroduced as a safe pseudo-element container aligned with React Testing Library semantics.

    14.0.0release notes

Behavior and default changes 6

  • Warns when firing events on disabled elements.

    14.1.0release notes

  • act() always returns a Promise and should always be awaited.

    14.0.0release notes

  • fireEvent.press() passes a default synthetic native event object to handlers and deep-merges event props supplied by the test.

    14.0.0release notes

  • fireEvent.scroll() passes a default synthetic native event object to handlers and deep-merges event props supplied by the test.

    14.0.0release notes

  • Suspended or hidden instances are represented with React Native-like hidden props such as display: 'none', bringing visibility queries and matchers closer to runtime behavior.

    14.0.0release notes

  • configure, render, renderHook, and userEvent.setup warn when passed unknown options, helping catch stale or misspelled options during migration.

    14.0.0release notes

Tooling 1

  • A codemod updates test code for async render, renderHook, fireEvent, act, rerender, and unmount usage.

    14.0.0release notes

Fixes and other changes 4

  • Adds support for React Native 0.88 with React 19.3.

    14.1.0release notes

  • Fixes a setImmediate fake timer issue with jsdom.

    14.1.0release notes

  • Includes selection in the TextInput change event generated by user-event.

    14.0.1release notes

  • Cleans up waitFor timers when an error occurs during onTimeout printout.

    14.0.1release notes