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

initial draft of versioning guidelines #171

Merged
merged 8 commits into from
Mar 16, 2019
Merged

Conversation

ghinks
Copy link
Contributor

@ghinks ghinks commented Mar 8, 2019

Issue 158 versioning discourse has resulted in this brief advice for versioning. We are separating the versioning advice from the associated tooling that would or could enforce versioning.


The package maintenance group recommends that supported packages follow the issued NPM [best practices](https://docs.npmjs.com/about-semantic-versioning). Most packages that receive help are expected to already be following this guidance. However if a package is not already on a major semver release number we suggest that bumping up to version 1.0.0 on the next semver major release.

It is also recommended that increasing the minimum required version of node is a breaking change and should be accompanied by major semver change.
Copy link

Choose a reason for hiding this comment

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

IMO it should be more than a recommendation, it's a must. Bumping major takes no effort and prevents major pains.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The wording will be changed to make it a required practice

ljharb
ljharb previously requested changes Mar 8, 2019
docs/drafts/versioning.md Outdated Show resolved Hide resolved
@ghinks ghinks requested a review from ljharb March 9, 2019 00:51
docs/drafts/versioning.md Outdated Show resolved Hide resolved
docs/drafts/versioning.md Outdated Show resolved Hide resolved
docs/drafts/versioning.md Show resolved Hide resolved
mcollina and others added 2 commits March 9, 2019 08:29
Co-Authored-By: ghinks <ghinks@yahoo.com>
Co-Authored-By: ghinks <ghinks@yahoo.com>
@ghinks ghinks dismissed ljharb’s stale review March 16, 2019 11:15

reformatted and took on other comments which outdated request.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM

breaking change and should be accompanied by major semver change.
- Release tag comments
Copy link
Member

Choose a reason for hiding this comment

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

what does this mean? Certainly there should be a semver tag on each published version - I’m not sure if this is what’s meant here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the originator wanted comments on the tag.

Copy link
Member

Choose a reason for hiding this comment

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

I think it’s probably better called “release notes”.

Copy link
Member

Choose a reason for hiding this comment

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

That would then be:

- release notes, in at least one of or possibly all of: in the commit message that bumps the version; in a changelog file in the version bump commit; in the tag annotation for the semver-tagged published commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

k, most reasonable.

@ghinks ghinks merged commit 82869ed into nodejs:master Mar 16, 2019
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.

5 participants