Skip to content
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

feat(core): add migration to remove entryComponents #44308

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

Adds an automated migration that will drop any usages of entryComponents from @NgModule and @Component.

@google-cla google-cla bot added the cla: yes label Nov 30, 2021
@crisbeto crisbeto marked this pull request as ready for review November 30, 2021 10:13
@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: minor This PR is targeted for the next minor release labels Nov 30, 2021
@ngbot ngbot bot added this to the Backlog milestone Nov 30, 2021
@@ -9,6 +9,11 @@
"version": "13.0.0-beta",
"description": "In Angular version 13, the `teardown` flag in `TestBed` will be enabled by default. This migration automatically opts out existing apps from the new teardown behavior.",
"factory": "./migrations/testbed-teardown/index"
},
"migration-v13.1-entry-components": {
"version": "13.1.0-beta",
Copy link
Member

Choose a reason for hiding this comment

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

FYI: ng update is rarely used for updating minors based on what I saw. Are we planning on re-running this for v14 major?

Copy link
Member Author

Choose a reason for hiding this comment

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

We could. I suppose that I'll just have to bump the version here when we're close to 14?

Copy link
Member

Choose a reason for hiding this comment

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

We could already have a second entry for v14 and keep the 13.1.0-one as well. Not feeling strongly though.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 I've added the second entry.

@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 30, 2021
@crisbeto crisbeto modified the milestones: Backlog, v13.1 Nov 30, 2021
Adds an automated migration that will drop any usages of `entryComponents` from `@NgModule` and `@Component`.
@dylhunn
Copy link
Contributor

dylhunn commented Nov 30, 2021

Merging by specific request -- ignoring Saucelabs checks

@dylhunn
Copy link
Contributor

dylhunn commented Nov 30, 2021

This PR was merged into the repository by commit 5dff077.

@dylhunn dylhunn closed this in 5dff077 Nov 30, 2021
dylhunn added a commit to dylhunn/angular that referenced this pull request Nov 30, 2021
dylhunn added a commit that referenced this pull request Nov 30, 2021
dimakuba pushed a commit to dimakuba/angular that referenced this pull request Dec 28, 2021
Adds an automated migration that will drop any usages of `entryComponents` from `@NgModule` and `@Component`.

PR Close angular#44308
dimakuba pushed a commit to dimakuba/angular that referenced this pull request Dec 28, 2021
@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 Dec 31, 2021
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 area: core Issues related to the framework runtime cla: yes target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants