Skip to content

feat(deps)!: update Node.js to v22 #214

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

feat(deps)!: update Node.js to v22 #214

wants to merge 3 commits into from

Conversation

Anemy
Copy link
Member

@Anemy Anemy commented Jun 2, 2025

Re @addaleax's comment, let's wait until mongosh is on node 22 before we merge this.

@@ -11,19 +11,20 @@ name: CI
jobs:
test:
name: Test
timeout-minutes: 10
Copy link
Member Author

@Anemy Anemy Jun 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like these tests don't cleanup fully. To prevent them running 360 minutes I'm adding this. Not fixing the root in these changes, likely that'll be saved for another time.

@addaleax
Copy link
Contributor

addaleax commented Jun 5, 2025

Should this be a breaking change as it's in the package.json? feat!

Yeah, bumping the minimum Node.js requirement is definitely a feat!.

Practically speaking, I don't think we can bump to 22 yet, not until mongosh is also at a newer (20+) version of Node.js. That will likely happen later this year, though.

@Anemy Anemy changed the title chore(ci): update Node.js to v22 feat(deps)!: update Node.js to v22 Jun 5, 2025
@addaleax
Copy link
Contributor

addaleax commented Jun 5, 2025

@Anemy You could lower the target to 20.x and add testing for 22.x and 24.x – would that work for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants