Replies: 1 comment 2 replies
-
|
It didn't break the contract. The sub-module is available. |
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.
-
I want to preface this discussion with the fact that is a fantastic package; thank you for your contribution to the svelte community!
With that said, I wanted to bring up the idea of using pure semantic versioning with this package.
I noticed the change from version 1.0.3 to 1.0.4 broke the contract between the package and the downstream user by changing the location of some imports from @svelte-router/core/kernel to @svelte-router/core. While I agree with the contents of the change, I think it would constitute a major version number bump (v2.0.0) rather than a patch version number bump from the definition of semantic versioning.
Example: Module federation
In a module federation example, say we have three remotes and a host. Each of these apps all share the @svelte-router/core package as a singleton. Module federation 2.0 states:
Using semantic versioning, the change from 1.0.3 -> 1.0.4 would have been a major version bump, telling the downstream users running the host and remote applications that they should probably synchronize updating to the latest version because it's a major change, which means breaking change.
Curious to hear thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions