Skip to content

feat(@schematics/angular): update Angular dependencies to use ^ as version prefix - #22571

Merged
dgp1130 merged 2 commits into
angular:masterfrom
alan-agius4:migration-v14
Jan 27, 2022
Merged

dgp1130 merged 2 commits into
angular:masterfrom
alan-agius4:migration-v14

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

With this change we update Angular dependencies to use ^ instead of ~ as version prefix.

Closes #21925

These migrations cannot be used with version Angular CLI 14, since `ng update` will not allow updating multiple versions at once.
@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Jan 25, 2022
@alan-agius4
alan-agius4 requested a review from dgp1130 January 25, 2022 14:39
@alan-agius4
alan-agius4 marked this pull request as ready for review January 25, 2022 14:39

@dgp1130 dgp1130 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

I assume the typical ng update version bumps already respect the user's prefix and won't clobber the ^ with a ~? Just want to make sure it doesn't overwrite all this hard work.

@dgp1130

dgp1130 commented Jan 25, 2022

Copy link
Copy Markdown
Collaborator

Also, let's hold off on merging breaking changes like this until we're sure that we aren't doing 13.3.

…version prefix

With this change we update Angular dependencies to use `^` instead of `~` as version prefix.

Closes #21925
@alan-agius4

alan-agius4 commented Jan 26, 2022 •

Copy link
Copy Markdown
Collaborator Author

I assume the typical ng update version bumps already respect the user's prefix and won't clobber the ^ with a ~? Just want to make sure it doesn't overwrite all this hard work.

Yeah, that's right.

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jan 26, 2022
@dgp1130
dgp1130 merged commit 7e7de68 into angular:master Jan 27, 2022
@alan-agius4
alan-agius4 deleted the migration-v14 branch January 27, 2022 19:10
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Feb 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Angular dependencies to use ^ for semver

2 participants