Skip to content

feat(core): enable block syntax#51994

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:enable-blocks
Closed

feat(core): enable block syntax#51994
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:enable-blocks

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Oct 3, 2023

Enables the new @ block syntax by default by removing the enabledBlockTypes flags. There are still some internal flags that allow special use cases to opt out of the block syntax, like during XML parsing and when compiling older libraries (see #51979).

@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: major This PR is targeted for the next major release labels Oct 3, 2023
@ngbot ngbot bot added this to the Backlog milestone Oct 3, 2023
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 3, 2023
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 decided to delete this test since cases like this are now parsing errors. This is accounted for already in the automated migration.

crisbeto added a commit to crisbeto/angular-cli that referenced this pull request Oct 3, 2023
…plate

Fixes that the starter template would've generated a compilation error in v17 after angular/angular#51994 is released.
@crisbeto crisbeto marked this pull request as ready for review October 3, 2023 09:14
@crisbeto crisbeto modified the milestones: Backlog, v17-candidates Oct 3, 2023
@crisbeto crisbeto added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Oct 3, 2023
@crisbeto
Copy link
Member Author

crisbeto commented Oct 3, 2023

Caretaker note: cl/570327778 will have to be patched together with this change to disable blocks internally.

@crisbeto
Copy link
Member Author

crisbeto commented Oct 3, 2023

Mostly passing TGP. There are a handful of failing targets, but they're due to issues with the target itself.

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto crisbeto requested review from MarkTechson and removed request for mgechev October 3, 2023 15:17
Copy link
Contributor

@MarkTechson MarkTechson left a comment

Choose a reason for hiding this comment

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

LGTM

@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 Oct 3, 2023
Enables the new `@` block syntax by default by removing the `enabledBlockTypes` flags. There are still some internal flags that allow special use cases to opt out of the block syntax, like during XML parsing and when compiling older libraries (see angular#51979).
@alxhub
Copy link
Member

alxhub commented Oct 3, 2023

This PR was merged into the repository by commit 43e6fb0.

@alxhub alxhub closed this in 43e6fb0 Oct 3, 2023
clydin pushed a commit to angular/angular-cli that referenced this pull request Oct 4, 2023
…plate

Fixes that the starter template would've generated a compilation error in v17 after angular/angular#51994 is released.
@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 Nov 3, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
Enables the new `@` block syntax by default by removing the `enabledBlockTypes` flags. There are still some internal flags that allow special use cases to opt out of the block syntax, like during XML parsing and when compiling older libraries (see angular#51979).

PR Close angular#51994
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 detected: feature PR contains a feature commit merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments