Switching to fixed versioning for Spark packages #2308
Closed
Powerplex
announced in
Architecture Decision Record
Replies: 2 comments
-
We decided to preserve the package naming. It means that we must start the version number from this is because the package with the highest version is We will republish every package in We must set the |
Beta Was this translation helpful? Give feedback.
0 replies
-
The PR: #2309 |
Beta Was this translation helpful? Give feedback.
0 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.
-
We had many issues related to our consumers updating one package and not another. Sometimes it is causing two versions of a library to be installed.
Example:
@spark-ui/dialog@latest is using
@radix-ui/dialog@1.1.0
@spark-ui/drawer@latest is also using
@radix-ui/dialog@1.1.0
But on a consumer website, an earlier version than
latest
is installed just forDialog
, this earlier version is using@radix-ui/dialog@1.0.0
The page now loads two versions of the same library, and it causes some critical bugs.
We suggest to switch Spark from independant versioning to fixed versionning, like many other libraries or design system, like Storybook here for example:
=> all packages shares a same version.
Let's weight the pros and cons and the strategy to implement this.
Beta Was this translation helpful? Give feedback.
All reactions