Never miss a release that matters

AI-powered summaries of every GitHub release.

AI Summaries

Changelogs condensed into clear, actionable insights.

Always Free

Track up to 5 packages at no cost, forever.

Weekly Digest

A curated summary of every release, delivered weekly.

Get Started Free
@testing-library/reactv16.x
7 releases

TL;DR

Testing Library now fully supports React 19, resolving a type inference issue with error handling.

Fixes Worth Knowing

Resolved a type inference problem with onCaughtError (error handling callback) when using React 19. This ensures correct type checking and prevents potential issues when handling errors in your tests.

v16.3.2v16.3.2
Jan 19, 2026
v16.3.1v16.3.1
Dec 15, 2025
v16.3.0v16.3.0
Apr 2, 2025
v16.2.0v16.2.0
Jan 15, 2025
v16.1.0v16.1.0
Dec 5, 2024
v16.0.1v16.0.1
Aug 29, 2024
v16.0.0v16.0.0
Jun 3, 2024
@testing-library/reactv15.x
8 releases

TL;DR

React Testing Library now correctly handles React.act (React’s concurrency mechanism) in all cases, resolving potential issues with asynchronous updates in tests.

Fixes Worth Knowing

Resolved a bug where tests could fail or behave unexpectedly when using React.act with certain React versions. The library now dynamically exports the correct act function, ensuring compatibility and reliable test execution.

v15.0.7v15.0.7
May 7, 2024
v15.0.6v15.0.6
May 1, 2024
v15.0.5v15.0.5
Apr 26, 2024
v15.0.4v15.0.4
Apr 23, 2024
v15.0.3v15.0.3
Apr 23, 2024
v15.0.2v15.0.2
Apr 13, 2024
v15.0.1v15.0.1
Apr 11, 2024
v15.0.0v15.0.0
Apr 10, 2024
@testing-library/reactv14.x
9 releases

TL;DR

Testing Library now supports React 19 Canary, allowing you to test applications using the latest React features.

New

  • Support for React 19 Canary (pre-release version of React).

Fixes Worth Knowing

  • Fixed an issue with nullish coalescing operators that could cause unexpected behavior in tests.
v14.3.1v14.3.1
Apr 11, 2024
v14.3.0v14.3.0
Apr 8, 2024
v14.2.2v14.2.2
Mar 19, 2024
v14.2.1v14.2.1
Feb 1, 2024
v14.2.0v14.2.0
Jan 30, 2024
v14.1.2v14.1.2
Nov 17, 2023
v14.1.1v14.1.1
Nov 17, 2023
v14.1.0v14.1.0
Nov 8, 2023
v14.0.0v14.0.0
Feb 16, 2023
@testing-library/reactv14.xprerelease
3 releases

TL;DR

Upgrading to the latest version improves test stability by addressing potential "missing act" warnings and incorporates updates from @testing-library/dom (DOM manipulation library).

Breaking

Fixes Worth Knowing

  • Resolved an issue causing false "missing act" warnings when using queued microtasks, improving test reliability.
v14.0.0-alpha.3v14.0.0-alpha.3
Feb 16, 2023
v14.0.0-alpha.2v14.0.0-alpha.2
Feb 16, 2023
v14.0.0-alpha.1v14.0.0-alpha.1
Jan 31, 2023
@testing-library/reactv13.xprerelease
7 releases

TL;DR

Testing Library now requires Node.js 14 or higher, improving performance and allowing us to leverage newer JavaScript features.

Breaking

  • Node.js 12.x is no longer supported (minimum version is now 14.x).

Before You Upgrade

  • Update your Node.js version to 14 or higher before upgrading Testing Library.
v13.5.0-alpha.1v13.5.0-alpha.1
Jan 31, 2023
v13.0.0-alpha.7v13.0.0-alpha.7
Mar 30, 2022
v13.0.0-alpha.6v13.0.0-alpha.6
Mar 4, 2022
v13.0.0-alpha.5v13.0.0-alpha.5
Nov 23, 2021
v13.0.0-alpha.4v13.0.0-alpha.4
Oct 31, 2021
v13.0.0-alpha.3v13.0.0-alpha.3
Oct 28, 2021
v13.0.0-alpha.1v13.0.0-alpha.1
Sep 13, 2021
@testing-library/reactv13.x
7 releases

TL;DR

renderHook now accepts all render options, giving you more control over how your custom hooks are tested (custom hooks are reusable logic).

New

  • renderHook now supports all render options, matching the flexibility of render.
v13.4.0v13.4.0
Sep 4, 2022
v13.3.0v13.3.0
May 28, 2022
v13.2.0v13.2.0
May 3, 2022
v13.1.1v13.1.1
Apr 15, 2022
v13.1.0v13.1.0
Apr 15, 2022
v13.0.1v13.0.1
Apr 11, 2022
v13.0.0v13.0.0
Mar 31, 2022
@testing-library/reactv12.x
7 releases

TL;DR

Testing Library now only supports React versions prior to 18, addressing a compatibility issue.

Fixes Worth Knowing

  • Resolved a bug where the library was incompatible with React 18 (latest React version).
v12.1.5v12.1.5
Apr 11, 2022
v12.1.4v12.1.4
Mar 9, 2022
v12.1.3v12.1.3
Feb 15, 2022
v12.1.2v12.1.2
Oct 3, 2021
v12.1.1v12.1.1
Sep 27, 2021
v12.1.0v12.1.0
Sep 11, 2021
v12.0.0v12.0.0
Jun 23, 2021
@testing-library/reactv12.xprerelease
2 releases

TL;DR

This release drops support for Node 10, requiring users to upgrade to a supported version (Node 12+) to continue using Testing Library.

Breaking

  • Node 10 support removed (end-of-life).

Before You Upgrade

Ensure you are using Node version 12 or higher before upgrading.

v12.0.0-alpha.2v12.0.0-alpha.2
Jun 13, 2021
v12.0.0-alpha.1v12.0.0-alpha.1
Jun 12, 2021
@testing-library/reactv11.xprerelease
2 releases

TL;DR

Testing Library now uses an updated internal dom implementation, improving compatibility and stability.

Fixes Worth Knowing

Resolved an issue with the underlying dom library (handles browser-like environments) that could cause unexpected behavior in some tests.

v11.2.8-alpha.1v11.2.8-alpha.1
Jun 8, 2021
v11.0.0-beta.1v11.0.0-beta.1
Aug 30, 2020
@testing-library/reactv11.x
16 releases

TL;DR

Testing Library now handles environments where process is undefined, improving compatibility with various testing setups.

Fixes Worth Knowing

Fixed an issue where tests would fail in environments lacking a process object (Node.js environments). This improves reliability when running tests in uncommon configurations.

v11.2.7v11.2.7
May 14, 2021
v11.2.6v11.2.6
Mar 30, 2021
v11.2.5v11.2.5
Feb 2, 2021
v11.2.4v11.2.4
Feb 2, 2021
v11.2.3v11.2.3
Jan 7, 2021
v11.2.2v11.2.2
Nov 20, 2020
v11.2.1v11.2.1
Nov 19, 2020
v11.2.0v11.2.0
Nov 18, 2020
v11.1.2v11.1.2
Nov 11, 2020
v11.1.1v11.1.1
Nov 3, 2020
v11.1.0v11.1.0
Oct 14, 2020
v11.0.4v11.0.4
Sep 13, 2020
v11.0.3v11.0.3
Sep 13, 2020
v11.0.2v11.0.2
Sep 3, 2020
v11.0.1v11.0.1
Sep 3, 2020
v11.0.0v11.0.0
Sep 2, 2020
@testing-library/reactv10.x
21 releases

TL;DR

Testing Library now includes updated dependencies, improving stability and resolving potential issues with common DOM interactions (browser behavior).

Fixes Worth Knowing

Updated dependencies address potential issues when interacting with elements in the browser, improving test reliability.

Before You Upgrade

No action is needed; this is a dependency update and should work seamlessly with existing tests.

v10.4.9v10.4.9
Aug 21, 2020
v10.4.8v10.4.8
Aug 5, 2020
v10.4.7v10.4.7
Jul 15, 2020
v10.4.6v10.4.6
Jul 13, 2020
v10.4.5v10.4.5
Jul 8, 2020
v10.4.4v10.4.4
Jul 5, 2020
v10.4.3v10.4.3
Jun 25, 2020
v10.4.2v10.4.2
Jun 24, 2020
v10.4.1v10.4.1
Jun 23, 2020
v10.4.0v10.4.0
Jun 23, 2020
v10.3.0v10.3.0
Jun 18, 2020
v10.2.1v10.2.1
Jun 5, 2020
v10.2.0v10.2.0
Jun 4, 2020
v10.1.0v10.1.0
Jun 4, 2020
v10.0.6v10.0.6
Jun 2, 2020
v10.0.5v10.0.5
Jun 1, 2020
v10.0.4v10.0.4
Apr 30, 2020
v10.0.3v10.0.3
Apr 20, 2020
v10.0.2v10.0.2
Mar 30, 2020
v10.0.1v10.0.1
Mar 13, 2020
v10.0.0v10.0.0
Mar 12, 2020
@testing-library/reactv10.xprerelease
2 releases

TL;DR

This release updates Testing Library to drop support for Node 8 and removes the deprecated cleanup-after-each function, while also improving test cleanup by flushing microtasks.

Breaking

  • Node Support: Node 8 is no longer supported (requires Node 10+).
  • cleanup-after-each: Removed deprecated function (no action needed if not used).
  • DOM Testing Library: Updates to the latest version may introduce breaking changes; review its changelog.

New

  • Microtask Flushing: Test cleanup now flushes microtasks for more reliable results (improves test stability).

Before You Upgrade

  • Ensure your Node version is 10 or greater.
  • Review the changelog for @testing-library/dom for potential breaking changes.
v10.0.0-beta.2v10.0.0-beta.2
Mar 4, 2020
v10.0.0-beta.1v10.0.0-beta.1
Mar 4, 2020
@testing-library/reactv9.x
16 releases

TL;DR

The debug function now accepts the same arguments as prettyDOM (a debugging utility), improving flexibility when inspecting component states during tests.

New

  • The debug function now accepts arguments, matching the prettyDOM function’s API for more control during test debugging.
v9.5.0v9.5.0
Mar 4, 2020
v9.4.1v9.4.1
Feb 22, 2020
v9.4.0v9.4.0
Dec 13, 2019
v9.3.3v9.3.3
Dec 11, 2019
v9.3.2v9.3.2
Nov 4, 2019
v9.3.1v9.3.1
Oct 30, 2019
v9.3.0v9.3.0
Oct 3, 2019
v9.2.0v9.2.0
Sep 26, 2019
v9.1.4v9.1.4
Sep 3, 2019
v9.1.3v9.1.3
Aug 16, 2019
v9.1.2v9.1.2
Aug 15, 2019
v9.1.1v9.1.1
Aug 12, 2019
v9.1.0v9.1.0
Aug 10, 2019
v9.0.2v9.0.2
Aug 9, 2019
v9.0.1v9.0.1
Aug 9, 2019
v9.0.0v9.0.0
Aug 9, 2019
@testing-library/reactv8.x
10 releases

TL;DR

Testing Library now handles component unmounting more reliably with improved async act integration, preventing potential issues with state updates after tests complete.

Fixes Worth Knowing

  • Resolved an issue where components weren’t always fully cleaned up after tests, which could lead to unexpected behavior in subsequent tests.
  • Updated a warning message to inform users they can now upgrade to React 16.9.0 (latest React version).
v8.0.9v8.0.9
Aug 8, 2019
v8.0.8v8.0.8
Aug 6, 2019
v8.0.7v8.0.7
Jul 26, 2019
v8.0.6v8.0.6
Jul 23, 2019
v8.0.5v8.0.5
Jul 12, 2019
v8.0.4v8.0.4
Jun 25, 2019
v8.0.3v8.0.3
Jun 25, 2019
v8.0.2v8.0.2
Jun 24, 2019
v8.0.1v8.0.1
May 30, 2019
v8.0.0v8.0.0
May 30, 2019
@testing-library/reactv7.x
2 releases

TL;DR

Testing Library updates its internal dependencies, ensuring compatibility and stability for existing tests.

Fixes Worth Knowing

Updated the dom-testing-library dependency to resolve a compatibility issue, preventing potential test failures.

v7.0.1v7.0.1
May 19, 2019
v7.0.0v7.0.0
Apr 25, 2019
@testing-library/reactv6.x
8 releases

TL;DR

Testing Library now supports async act (concurrent rendering), enabling tests for components using asynchronous updates within React’s act environment.

New

  • Async Act Support: Test components that perform asynchronous state updates using act (React’s unit of work).

Fixes Worth Knowing

  • React DOM Compatibility: Improved compatibility with React DOM, resolving issues related to requiring test utilities.
  • Act Wrapper: Corrected how results are returned from the act wrapper, ensuring tests execute as expected.
v6.1.2v6.1.2
Apr 5, 2019
v6.1.1v6.1.1
Apr 5, 2019
v6.1.0v6.1.0
Apr 5, 2019
v6.0.4v6.0.4
Apr 1, 2019
v6.0.3v6.0.3
Mar 26, 2019
v6.0.2v6.0.2
Mar 21, 2019
v6.0.1v6.0.1
Mar 19, 2019
v6.0.0v6.0.0
Feb 24, 2019
@testing-library/reactv5.x
26 releases

TL;DR

The testHook API now supports a wrapper component, enabling more flexible and realistic testing of React hooks (reusable logic).

New

  • testHook now accepts a wrapper option, allowing you to render a component around the hook under test.
  • testHook now returns a ref object to the hook’s result, providing direct access to its values.

Before You Upgrade

If you are using testHook, review your tests to see if wrapping the hook in a component improves their accuracy or coverage.

v5.9.0v5.9.0
Feb 19, 2019
v5.8.0v5.8.0
Feb 12, 2019
v5.7.0v5.7.0
Feb 12, 2019
v5.6.1v5.6.1
Feb 11, 2019
v5.6.0v5.6.0
Feb 11, 2019
v5.5.4v5.5.4
Feb 8, 2019
v5.5.3v5.5.3
Feb 6, 2019
v5.5.2v5.5.2
Feb 6, 2019
v5.5.1v5.5.1
Feb 6, 2019
v5.5.0v5.5.0
Feb 6, 2019
v5.4.4v5.4.4
Jan 4, 2019
v5.4.3v5.4.3
Jan 4, 2019
v5.4.2v5.4.2
Dec 20, 2018
v5.4.1v5.4.1
Dec 19, 2018
v5.4.0v5.4.0
Dec 16, 2018
v5.3.2v5.3.2
Dec 9, 2018
v5.3.1v5.3.1
Nov 28, 2018
v5.3.0v5.3.0
Nov 21, 2018
v5.2.3v5.2.3
Oct 25, 2018
v5.2.2v5.2.2
Oct 25, 2018
v5.2.1v5.2.1
Oct 22, 2018
v5.2.0v5.2.0
Oct 5, 2018
v5.1.1v5.1.1
Oct 3, 2018
v5.1.0v5.1.0
Sep 18, 2018
v5.0.1v5.0.1
Sep 3, 2018
v5.0.0v5.0.0
Aug 9, 2018
@testing-library/reactv4.x
12 releases

TL;DR

React Testing Library no longer uses Simulate.change, improving compatibility and aligning with current React best practices for simulating input changes.

Fixes Worth Knowing

  • The render function now returns the base element, allowing easier access to the rendered component for specific queries or manipulations.
  • Updated dependencies to ensure compatibility and stability (dom-testing-library).
v4.1.8v4.1.8
Aug 9, 2018
v4.1.7v4.1.7
Aug 6, 2018
v4.1.6v4.1.6
Aug 3, 2018
v4.1.5v4.1.5
Jul 26, 2018
v4.1.4v4.1.4
Jul 25, 2018
v4.1.3v4.1.3
Jul 17, 2018
v4.1.2v4.1.2
Jul 3, 2018
v4.1.1v4.1.1
Jul 2, 2018
v4.1.0v4.1.0
Jun 27, 2018
v4.0.2v4.0.2
Jun 24, 2018
v4.0.1v4.0.1
Jun 19, 2018
v4.0.0v4.0.0
Jun 19, 2018
@testing-library/reactv3.x
11 releases

TL;DR

Testing Library now fully supports React Portals, enabling tests for components rendered outside the main DOM (like modals).

Fixes Worth Knowing

  • TypeScript definitions have been improved with exported interfaces and typings, enhancing the developer experience (code hinting/validation).
  • Resolved an issue preventing tests from correctly interacting with React Portal elements.
  • Updated Node.js engine support.
v3.1.7v3.1.7
Jun 13, 2018
v3.1.6v3.1.6
Jun 12, 2018
v3.1.5v3.1.5
Jun 12, 2018
v3.1.4v3.1.4
Jun 8, 2018
v3.1.3v3.1.3
May 18, 2018
v3.1.2v3.1.2
May 18, 2018
v3.1.1v3.1.1
May 18, 2018
v3.1.0v3.1.0
May 15, 2018
v3.0.2v3.0.2
May 8, 2018
v3.0.1v3.0.1
May 6, 2018
v3.0.0v3.0.0
May 6, 2018
@testing-library/reactv2.x
9 releases

TL;DR

Testing Library now includes a rerender function, allowing you to re-execute your component’s render logic during a test to verify updates and side effects.

New

  • rerender function: Allows re-rendering of a component (useful for state updates).
  • Context examples: Added illustrative examples for testing components using React Context (data sharing).

Fixes Worth Knowing

  • TypeScript definitions: Improved type definitions for better support when using TypeScript (a JavaScript superset). This includes fixes for getByTestId.
v2.5.2v2.5.2
May 4, 2018
v2.5.1v2.5.1
May 3, 2018
v2.5.0v2.5.0
May 3, 2018
v2.4.0v2.4.0
May 2, 2018
v2.3.0v2.3.0
Apr 27, 2018
v2.2.0v2.2.0
Apr 24, 2018
v2.1.1v2.1.1
Apr 11, 2018
v2.1.0v2.1.0
Apr 10, 2018
v2.0.0v2.0.0
Apr 6, 2018
@testing-library/reactv1.x
21 releases

TL;DR

Testing Library now includes getByAltText (a query method) and a toHaveAttribute custom matcher, improving accessibility and attribute-based testing.

New

  • getByAltText: New query method for finding elements by their alt text.
  • toHaveAttribute: Custom matcher for asserting the presence of specific HTML attributes.

Fixes Worth Knowing

  • The library now correctly supports elements with aria-label attributes.
  • Fixed issues with text matching when the search term isn’t a string.
  • Improved error messages for matcher failures.
v1.10.0v1.10.0
Apr 5, 2018
v1.9.5v1.9.5
Apr 4, 2018
v1.9.4v1.9.4
Apr 2, 2018
v1.9.3v1.9.3
Apr 2, 2018
v1.9.2v1.9.2
Mar 30, 2018
v1.9.1v1.9.1
Mar 29, 2018
v1.9.0v1.9.0
Mar 29, 2018
v1.8.2v1.8.2
Mar 29, 2018
v1.8.1v1.8.1
Mar 29, 2018
v1.8.0v1.8.0
Mar 29, 2018
v1.7.1v1.7.1
Mar 29, 2018
v1.7.0v1.7.0
Mar 28, 2018
v1.6.0v1.6.0
Mar 23, 2018
v1.5.0v1.5.0
Mar 22, 2018
v1.4.0v1.4.0
Mar 21, 2018
v1.3.0v1.3.0
Mar 20, 2018
v1.2.1v1.2.1
Mar 20, 2018
v1.2.0v1.2.0
Mar 20, 2018
v1.1.0v1.1.0
Mar 19, 2018
v1.0.1v1.0.1
Mar 19, 2018
v1.0.0v1.0.0
Mar 19, 2018
@testing-library/reactv0.x
1 release

TL;DR

React Testing Library is now available, providing a lightweight solution for testing React components by focusing on user behavior rather than implementation details.

New

  • Provides an alternative to enzyme for testing React components.
  • Encourages tests that resemble how users interact with the application.
v0.1.0v0.1.0
Mar 19, 2018