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

feat: Drop support for Node.js 12.x #1169

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jan 29, 2023

BREAKING CHANGE: Minimum supported Node.js version is now 14.x

What:

Drop support for Node.js 12.x

Why:

Reached EOL in April 2022. Tooling is starting to drop Node.js 12.x (see JSDOM) as well so it's time to upgrade to be able to test compat with latest test frameworks (e.g. Jest).

How:

Targetting alpha for now. Want to batch this with testing-library/dom-testing-library#1202
Same as testing-library/dom-testing-library#1207

Checklist:

  • Documentation added to the
    docs site
  • Tests
  • TypeScript definitions updated
  • Ready to be merged

@eps1lon eps1lon added the BREAKING CHANGE This change will require a major version bump label Jan 29, 2023
@eps1lon eps1lon changed the base branch from main to alpha January 29, 2023 11:04
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7d4308e:

Sandbox Source
React Configuration
react-testing-library-examples Configuration

@codecov
Copy link

codecov bot commented Jan 29, 2023

Codecov Report

Merging #1169 (7d4308e) into alpha (c43512a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             alpha     #1169   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          181       181           
  Branches        36        34    -2     
=========================================
  Hits           181       181           
Flag Coverage Δ
experimental 100.00% <ø> (ø)
latest 100.00% <ø> (ø)
next 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@eps1lon eps1lon mentioned this pull request Jan 29, 2023
4 tasks
@eps1lon eps1lon merged commit 07d6872 into testing-library:alpha Jan 31, 2023
@eps1lon eps1lon deleted the feat/drop-node-12 branch January 31, 2023 04:53
eps1lon added a commit that referenced this pull request Jan 31, 2023
BREAKING CHANGE: Minimum supported Node.js version is now 14.x
@eps1lon eps1lon mentioned this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE This change will require a major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant