Skip to content

build: use less ambiguous peer dependency to Angular framework #24425

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

Conversation

devversion
Copy link
Member

@devversion devversion commented Feb 16, 2022

Our current peer dependency for Angular CDK/Material v13 also allows
for Angular v14.0.0-0. This might work practically since Angular FW
v14 is usually compatible with Angular N-1 versions.

Although this peer dependency version is currently a little ambiguous since
it does not allow for all v14 pre-releases. Rather as per NPMs definition, the
current range does only allow for v14.x.y and v14.0.0-(next|rc).X
(excluding pre-releases for other minors)

It seems like it would be best to avoid this pre-release "range extension" in general
to avoid this ambiguity/inconsistency, while also fixing angular/angular-cli#22654.

In general, it seems reasonable to say that Angular CDK v13 is compatible
with Angular FW v13, and Angular FW v14 (both of these ranges excluding
pre-releases consistently)

@devversion devversion requested a review from a team as a code owner February 16, 2022 14:48
@devversion devversion added merge safe target: minor This PR is targeted for the next minor release labels Feb 16, 2022
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Feb 16, 2022
Our current peer dependency for Angular CDK/Material v13, also allow
for Angular `v14.0.0-0`. This might work practically since Angular FW
v14 is usually compatible with Angular N-1 versions.

Although this peer dependency version is currently a little ambiguous since
it does not allow all v14 pre-releases. Rather as per NPMs definition, the
current range does only allow for `v14.x.y` and `v14.0.0-(next|rc).X`
(excluding pre-releases for other minors)

It seems like it would be best to avoid this pre-release addition in general
to avoid this ambiguity/inconsistency, while also fixing angular/angular-cli#22654.

In general, it seems reasonable to say that Angular CDK v13 is compatible
with Angular FW v13, and Angular FW v14 (both of these ranges excluding
pre-releases consistently)
@devversion devversion force-pushed the build/correct-framework-peer-dependency branch from 2d222a7 to 747dddb Compare February 16, 2022 15:02
@wagnermaciel wagnermaciel merged commit 9166184 into angular:master Feb 16, 2022
@angular-automatic-lock-bot
Copy link

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 Mar 19, 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: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants