-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promoting @angular-devkit packages to stable semver #19978
Comments
Hi, The reason why this packages follow a different versioning mechanism is because the API of these packages is not stable. Although, we try not to do breaking changes outside of major, as per Semver rules packages without a major version can contain breaking changes in any version. https://semver.org/#spec-item-4 Issue: ionic-team/angular-toolkit#250
With regards to the linked issue ionic-team/angular-toolkit#250, this appears to be more of an The above mentioned packages are typically not installed in the users workspace and hence defining them as peer dependency is not the correct approach. This is because for this to work the packages need to be hoisted in the correct location by the package managers, which is not always the case. Therefore, in this case the best course of action would be to change these dependencies to be direct dependencies. Issue #19957 Issue ionic-team/angular-toolkit#437
This also appears to be an Ionic issue in their peer dependencies definitions for two reasons.
Promoting these packages to stable is definitely something that we do want to do. But that does entitle some work like:
All in all, I do think that experimental versioning can be confusing, but we are abiding fully to the Semver rules. If anything we going beyond that and try not to do breaking changes in minor unstable versions. FYI: @mhartington from Ionic |
Maybe I should change the title of this issue to I don't know how far off these packages are actually from being stable but by the sound of your last comment they seem pretty stable. Plus not even considering that these packages & angular 2 has been out for over 4 years and are used in many prod envs 🙂 Is there a current plan when |
It’s tentative for version 12. |
Nice! Thx for the info. Is there another issue to follow progress? If yes, I’ll just go ahead and close this one. |
@BorntraegerMarc, as far as I know there isn’t. |
Thank you for the detailed explanation @alan-agius4. I'll go back and take a look at our deps for angular-toolkit and get them cleaned up. |
Closing since in version 12, most of the packages have been promoted to stable. We will evaluate the status |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 Feature request
Description
To prevent issues like this it would be great if the
@angular-devkit
libs follow the same semantic versioning as the main@angular
packages.Describe the solution you'd like
So e.g. instead of releasing the next major version as
@angular-devkit/[email protected]
to release it as@angular-devkit/[email protected]
This way semver checks will mork more reliably throughout the angular community.
Describe alternatives you've considered
NOTE: I have tried to search for existing open issues that describe the same feature request. Didn't find one. I'll be gladly closing this issue for another one if you could just point me in the right direction.
The text was updated successfully, but these errors were encountered: