Semantic Versioning and splitting apart a library, providing a bundled build
Posted
by
Derick Bailey
on Programmers
See other posts from Programmers
or by Derick Bailey
Published on 2013-08-14T14:03:09Z
Indexed on
2013/10/22
10:14 UTC
Read the original article
Hit count: 295
versioning
|semantic-versioning
I've got a nice, fairly popular JavaScript library that is following Semantic Versioning.
The current library has a few dependency libraries, which are available either as separate downloads or as part of a single bundled download. I see a need to head down this path further. I want to extract additional, smaller libraries out of the one larger library. Each of these extracted libraries would be available as separate files, or inside of the one bundled build, again.
If I go down this path of extracting the libraries, and providing a bundled version of the final code, does this require a full version change in semantic versioning? Would I have to bump from 1.x to 2.x?
My first thought it no: I will not change any public API, so I don't have to change the major version number. But then I wonder... well, I am restructuring a lot of things, even though the final API for the bundled version would be the same.
Is there a clear answer from semver on something like this? Do I need to bump first, second or third dot? Or something else?
© Programmers or respective owner