Node Neo version strings #260
jraymakers
started this conversation in
General
Replies: 1 comment 2 replies
-
As a datapoint, DuckDB JDBC driver went to Major.Minor.Patch.Release naming convention recently, to allow multiple releases of the driver for the same DuckDB release version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm considering a change to Node Neo version strings, starting with the next minor DuckDB version (1.4.0).
Node Neo versions consist of two parts, separated by a hyphen: the DuckDB version (e.g.
1.3.2
) and the Node Neo version (e.g.alpha.24
). I don't intend to change this overall structure, or the DuckDB version part.But, I'm considering two changes to the Node Neo version part:
1
for each new DuckDB version (patch, minor, or major).alpha
part with eitherr
(meaning "release") or nothing.So, the new version strings would either look like
1.4.0-r.1
or1.4.0-1
.A second release for the same DuckDB version would look like:
1.4.0-r.2
or1.4.0-2
.A first release for a new DuckDB version would look like:
1.4.1-r.1
or1.4.1-1
.Resetting the release sequence number makes it somewhat more meaningful; it indicates how many Node Neo releases there have been for a given DuckDB version. It also prevents it from getting too large.
I'm leaning towards keeping the
r
, even though it's not strictly necessary, because it helps indicate the different meaning of the sequence number from the other parts of the version. It's also consistent with the current structure (withalpha
) and preserves the ability to specify different version identifiers (includingalpha
,beta
, etc.) in the future if needed.(Note that both the current and proposed structure follows semver, specifically the "pre-release" part, even though these are not really pre-release versions. I'm mildly abusing the pre-release part to allow multiple Node Neo versions for the same DuckDB version.)
Feedback about the above proposal is welcome.
Beta Was this translation helpful? Give feedback.
All reactions