Skip to content

Conversation

@RyanSkraba
Copy link
Contributor

Bumps master to the next major release.

@github-actions github-actions bot added build Java Pull Requests for Java binding JS website labels Oct 7, 2021
"version": "1.12.0-SNAPSHOT",
"lockfileVersion": 1,
"requires": true,
"packages": {
Copy link
Member

Choose a reason for hiding this comment

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

Is this change related to this PR ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is kind of tricky! We bumped lockfileVersion to 2, which seemed like the right thing to do, but since build/release process uses the oldest supported version of Node.js, this file is always updated after a build. That doesn't seem right to me either, so I checked in the file created "using the tools at time of bump".

What do you think? What's the right thing to do for a node.js developer?

Copy link
Member

Choose a reason for hiding this comment

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

For me the best is to use exact versions in package.json for [dev] dependencies, like 0.11.0.
Using "smart" versions like ~0.11.0 or ^0.11.0 leads to such kind of problems. See https://nodejs.dev/learn/the-package-lock-json-file for more.

I think it is OK to merge this PR now, but maybe we should pin the dependencies' versions for 1.12.0 ?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Effectively, I'm going to merge this now so that all the commits after it are "visibly" 1.12.0 and require cherry-picking if we want them on branch-1.11! Thanks for the review!

@RyanSkraba RyanSkraba merged commit 131f2c5 into apache:master Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Java Pull Requests for Java binding JS website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants