Frontmatter
| id | 3311 |
| title | Stabilize and improve versioning for the package neo.mjs by introducing beta version directly from dev branch |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Jul 20, 2022, 11:36 AM |
| updatedAt | Sep 14, 2024, 4:26 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3311 |
| author | davhm |
| commentsCount | 5 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 14, 2024, 4:26 AM |
Stabilize and improve versioning for the package neo.mjs by introducing beta version directly from dev branch

David, this part: "New features are being added without raising the minor version number"
is actually not correct.
a merge from dev to main only happens in case there is a new minor version number, which will then get released into a new npm package version.

This means the new patch versions are being released from the dev branch already, without any merging into main?
For example, setting default headers for XHR requests was added. This however didn't result in a minor version increase, but just a patch version.

I would go with beta versions too. That way we can write version upgrade plans, so that users do not loose stability. Instead of having 20 minor versions, we this might be the next version incrementation:
next 4.0.71.123 next beta 4.0.72 next public 4.1.0
@github-actions - 2024-08-30T02:27:53Z
This issue is stale because it has been open for 90 days with no activity.
- 2024-08-30T02:27:53Z @github-actions added the
stalelabel
@github-actions - 2024-09-14T02:26:57Z
This issue was closed because it has been inactive for 14 days since being marked as stale.
- 2024-09-14T02:26:58Z @github-actions closed this issue
Currently every small improvement on dev is merged into main to be published and installable by users of neo.
Disadvantages for developers:
npm installDisadvantages for contributors:
Proposed change
Instead, I propose to publish a beta version directly from dev branch, which adds for example the latest commit id into a published version, like `4.1.0-beta.3dc41d8a2'.
Then, using
npm dist-tags. a version tag can be added (for example) as:neo.mjs@betaorneo.mjs@<next-minor-version>-betaThe dist-tag points to the latest published version, so that users can then explicitly `npm install neo.mjs@
Advantages:
npm installnpm install neo.mjs@rcand still get the latest changes to the package, without