-
Notifications
You must be signed in to change notification settings - Fork 159
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
Versioning strategy #92
Comments
In #87, I initially updated the version in the package.json files from 1.0.0 to 0.1.0 as a transition phase: at that time, we haven't decided yet what the versioning will be, but fore sure, we are not ready for v1 😄 I am in favor of a new versioning scheme, as proposed in the issue description
From a user perspective, restarting the versioning scheme makes sense: this is a new library, so there is no reason to continue with the existing mxGraph versioning scheme. I am not convinced that using v5 would help existing mxGraph users (as a reminder, the latest mxGraph version is 4.2.2). From a technical view, the repository contains all original mxGraph tags, for instance v4.2.0, v4.2.2 and the former Changelog file. The changelog part is quite easy to manage (see issue description). For the tags, we could rename them or drop them all as they are available in the original mxGraph repository. Eventually, we could keep track of the relation between the commit hash and the tags [UPDATE 2022-06-09]: about the tag, we may not have any issue if we decide to tag the repo with the name of the package as we have a monorepo. Like this is done in https://github.com/rollup/plugins/tags |
Oh thank you @tbouffard I forgot about the tags. I like the idea of renaming the deprecated tags. What do you think about using a prefix like [Edit] Do you mean that we may name the new tags as |
Hi, sorry for the late answer For the tag rename, |
Hi My new proposal is
What do you think about this new proposal @mcyph @junsikshim @aminosbh @cd-yang @csouchet? |
I agree that keeping the existing tags doesn't bring any value to this project. Starting from v0.1.0 sounds good to me. |
Any updates on this? Seem this is the only issue blocking alpha release and publishing this to npm.
FWIW:
Really looking forward to using this library, thank you for keeping it alive and migrating to TypeScript, huge improvement and investment - thank you! |
Hi @tbouffard, I'm ok with your proposal 🙂 |
Hi, thanks for the recent feedback. I was waiting to get several opinions before doing something. |
Hi, I should be able to work on the topic in a few days. |
I have just performed the latest actions we agreed on:
|
Since this is a fork of the archived jgraph/mxgraph and since it changed its name to maxGraph, it is a good chose to rest the version number, what I noticed in the package.json files.
It is always a good practice to use a clear versioning strategy to reduce the cognitive load for everyone developing and using this library. These days the Semantic Versioning approach is followed by many (maybe majority) of libraries and softwares.
Regrading the current status of the project which is maybe prune to heavy changes in the public API, I suggest that we my start with version
0.1.0
as @tbouffard proposed in his draft #87 . The Semantic Versioning 4th rule states that the major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.When publishing a pre-release we just have to add a prefix like
-alpha
-beta
-beta.1
-beta.2
-rc
The Semantic Versioning spec do not add any further rules concerning 0.y.z version but we can just apply the same rules for the x.y.z where x >= 1in a best effort way.
Proposal:
0.1.0-alpha
for internal usage and testing. (Could be event published on npm this way)-alpha
suffix or replace it with a-beta
suffix (i.e.0.2.5-beta
). IMO I do not think it's necessary to use a-beta
suffix for 0.y.z versions since they are all considered in the development phase.1.0.0
series could start (start with-alpha
-beta
-rc
suffix)Notes:
ChangeLog
file must be taken into consideration. It may be archived or we can simply add a separator to start a new chapter.Related issues/discussions:
The text was updated successfully, but these errors were encountered: