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

Require Node.js 14.19, 16.15 or 18 #3043

Merged
merged 1 commit into from
Jul 10, 2022
Merged

Require Node.js 14.19, 16.15 or 18 #3043

merged 1 commit into from
Jul 10, 2022

Conversation

novemberborn
Copy link
Member

Node.js 12 is end of life.

Increase the minimal versions for Node.js 14 and 16 to get a more modern feature baseline we can rely on for future development during AVA 5's lifetime.

@novemberborn novemberborn added the breaking requires a SemVer major release label Jun 2, 2022
@sindresorhus
Copy link
Member

In case it's useful, new stuff in Node.js 14:

  • private class methods and accessors
  • Top-level await
    • Get rid of all (async () => {})()
  • crypto.randomInt (Node.js 14.10)
  • Optional chaining
  • Nullish Coalescing
  • import fs from 'node:fs/promises';
  • crypto.randomUUID() (Node.js 14.17)
  • AbortController signal option (Node.js 14.18)

@novemberborn
Copy link
Member Author

Lots of nice features we can make use of then!

@novemberborn novemberborn marked this pull request as ready for review July 10, 2022 16:45
@novemberborn novemberborn merged commit fd7f0ed into main Jul 10, 2022
@novemberborn novemberborn deleted the new-baselines branch July 10, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking requires a SemVer major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants