You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid making too many packages we can possibly have just two packages, we can call the lightweight package as unicode-data-core and bundle everything including unicode-data-core in the all-inclusive unicode-data package.
We should define criteria where to include APIs. As of now, names & scripts are not considered “core”. What about blocks?
This will require a major version bump.
What about the existing package unicode-names? If we do not create unicode-data-blocks-scripts, maybe we can deprecate it in favor of the new batteries included unicode-data.
When we do the split, I propose the following new version scheme: U.B.M, where:
U is the supported Unicode major version; i.e. 15 for Unicode 15.0.0.
B is used to mark breaking changes: minor Unicode update or any change requiring a version bump according to PVP. It starts at 0 with every new major Unicode version.
M is used for non-breaking changes, such as additions to the API (see PVP).
All the PVP rules apply.
PROS:
It is easier to identify what Unicode version is supported.
Unicode version scheme is very stable. Minor updates are uncommon.
Promote the packages by marking them as mature (0. prefix usually means beta).
CONS:
Increasing the major version from 0 usually indicates the software is very stable and production-ready; not all unicode-data-* packages reach this stage yet. Perhaps this should apply only to packages we judge production-ready, thus keeping the usual 0.X.Y scheme for beta packages. I would say at least unicode-data, unicode-data-core and unicode-data-names are candidates for a version 15.0.0.
It makes our version scheme depend on a third party’s one. But it is very stable and we already bump version for Unicode updates.
It does not reflect the exact Unicode version. But the minor updates of Unicode are uncommon.
Too big, looks like a browser version: I do not mind versions greater than 10 and we can expect at most one major version bump a year.
Some packages may see no change with a new Unicode version. This is unlikely as a new Unicode version usually includes new characters, which will modify the bitmaps. It may happen if the characters have default values. This is not the case for Unicode 15.0.0.
Change in the plan:
If accepted: skip version 1.0 and publish version 15.0.0 instead.
Activity
adithyaov commentedon Sep 24, 2022
Sounds good to me.
wismill commentedon Sep 27, 2022
When we do the split, I propose the following new version scheme:
U.B.M, where:Uis the supported Unicode major version; i.e. 15 for Unicode 15.0.0.Bis used to mark breaking changes: minor Unicode update or any change requiring a version bump according to PVP. It starts at 0 with every new major Unicode version.Mis used for non-breaking changes, such as additions to the API (see PVP).PROS:
0.prefix usually means beta).CONS:
unicode-data-*packages reach this stage yet. Perhaps this should apply only to packages we judge production-ready, thus keeping the usual0.X.Yscheme for beta packages. I would say at leastunicode-data,unicode-data-coreandunicode-data-namesare candidates for a version15.0.0.Change in the plan:
If accepted: skip version
1.0and publish version15.0.0instead.harendra-kumar commentedon Oct 6, 2022
Your pros and cons seem pretty thorough. The cons do not look significant. We can go with this scheme. I am wondering if there is anything to learn from the ICU versioning scheme here: https://icu.unicode.org/processes .
harendra-kumar commentedon Oct 6, 2022
We should probably send an email to @Bodigrim for his opinion, in case we are missing something.
Bodigrim commentedon Oct 7, 2022
Sounds good to me.
(Sorry, I have extremely limited bandwidth at the moment and this is unlikely to improve soon, so feel free to act without waiting for me)