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!: establish baseline Node.js version support #184

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

boneskull
Copy link
Collaborator

@boneskull boneskull commented Oct 29, 2024

I wonder if adding the engines field is going to break somebody. I guess I'd only really care if their package manager's default behavior is like enabling engineStrict? Is that a thing?

@boneskull
Copy link
Collaborator Author

@nzakas Given this package is not doing anything especially fancy, would you consider dropping macOS from the build matrix? I'm not sure it's buying us much.

@boneskull boneskull requested a review from nzakas October 29, 2024 19:48
@nzakas
Copy link
Contributor

nzakas commented Oct 29, 2024

No objections from me.

@boneskull
Copy link
Collaborator Author

@nzakas I've created #186, but this PR still needs an approval. 😄

@boneskull boneskull force-pushed the boneskull/expand-build-matrix branch from c04dd0e to 1052075 Compare November 19, 2024 20:48
@boneskull
Copy link
Collaborator Author

@nzakas friendly ping for approval

@nzakas
Copy link
Contributor

nzakas commented Nov 20, 2024

Gah sorry, just been buried lately. Thanks for the followup ping.

@@ -70,5 +70,8 @@
"rollup": "4.23.0",
"typescript": "5.6.3",
"yorkie": "2.0.0"
},
"engines": {
"node": "^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

I generally consider changing explicitly supported node versions as a breaking change. I don't mind doing it, but I do think we should bump major version for clarity. WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that's fine. You do the releases/bumps manually, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

It's handled via release-please, so if we update the title of this PR to be "feat!: Set Node.js support" (or some such thing with "feat!" at the front), when this is merged, release-please creates a major version bump.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

great, right. I probably should have checked 😄

BREAKING CHANGE: Adds `engines.node` field in `package.json` with value of `^16.20.0 || ^18.0.0 || ^20.0.0 || ^22.0.0`. Versions which do not satisfy this range are unsupported.

- Adds Node.js v22 to build matrix
@boneskull boneskull force-pushed the boneskull/expand-build-matrix branch from 1052075 to 41b3c07 Compare November 27, 2024 23:11
@boneskull boneskull self-assigned this Nov 27, 2024
@boneskull boneskull changed the title chore(ci): test on Node.js v22; add engines field feat!: establish baseline Node.js version support Nov 27, 2024
@boneskull
Copy link
Collaborator Author

@nzakas OK, this is ready for final approval.

Copy link
Contributor

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM.

@nzakas nzakas merged commit 8600392 into main Dec 2, 2024
16 checks passed
@nzakas nzakas deleted the boneskull/expand-build-matrix branch December 2, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants