Skip to content

refactor(core): deprecate @Component.interpolation#55778

Closed
alxhub wants to merge 1 commit intoangular:mainfrom
alxhub:deprecate-interpolations
Closed

refactor(core): deprecate @Component.interpolation#55778
alxhub wants to merge 1 commit intoangular:mainfrom
alxhub:deprecate-interpolations

Conversation

@alxhub
Copy link
Member

@alxhub alxhub commented May 13, 2024

Angular has long had the ability to use different interpolation delimiters (by default {{ and }}). This concept was copied over from AngularJS, where AngularJS syntax is included in HTML sent over the network to the browser. Occasionally developers would use SSR frameworks which also have interpolation syntaxes of their own, so there was a need to change the delimiters used by AngularJS to avoid conflicts.

Since Angular templates are always processed by our compiler and the interpolation characters are never processed by other systems first, this option is vestigial in Angular and only increases the complexity of our parser.

DEPRECATION: @Component.interpolation is deprecated. Use Angular's delimiters instead.

@alxhub alxhub force-pushed the deprecate-interpolations branch 2 times, most recently from 2223ac0 to 6ec4753 Compare May 13, 2024 16:58
Copy link
Contributor

@atscott atscott left a comment

Choose a reason for hiding this comment

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

reviewed-for: public-api

@atscott atscott added the target: rc This PR is targeted for the next release-candidate label May 13, 2024
Copy link
Contributor

@thePunderWoman thePunderWoman left a comment

Choose a reason for hiding this comment

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

reviewed-for: public-api

@atscott atscott added the action: merge The PR is ready for merge by the caretaker label May 13, 2024
@alxhub alxhub force-pushed the deprecate-interpolations branch from 6ec4753 to 6159c0b Compare May 14, 2024 14:44
@angular-robot angular-robot bot added the detected: deprecation PR contains a commit with a deprecation label May 14, 2024
Angular has long had the ability to use different interpolation delimiters
(by default `{{` and `}}`). This concept was copied over from AngularJS,
where AngularJS syntax is included in HTML sent over the network to the
browser. Occasionally developers would use SSR frameworks which _also_ have
interpolation syntaxes of their own, so there was a need to change the
delimiters used by AngularJS to avoid conflicts.

Since Angular templates are always processed by our compiler and the
interpolation characters are never processed by other systems first, this
option is vestigial in Angular and only increases the complexity of our
parser.

DEPRECATED: `@Component.interpolation` is deprecated. Use Angular's
delimiters instead.
@atscott atscott force-pushed the deprecate-interpolations branch from 6159c0b to e0ce343 Compare May 14, 2024 18:08
@atscott
Copy link
Contributor

atscott commented May 14, 2024

This PR was merged into the repository by commit f736bea.

@atscott atscott closed this in f736bea May 14, 2024
atscott pushed a commit that referenced this pull request May 14, 2024
Angular has long had the ability to use different interpolation delimiters
(by default `{{` and `}}`). This concept was copied over from AngularJS,
where AngularJS syntax is included in HTML sent over the network to the
browser. Occasionally developers would use SSR frameworks which _also_ have
interpolation syntaxes of their own, so there was a need to change the
delimiters used by AngularJS to avoid conflicts.

Since Angular templates are always processed by our compiler and the
interpolation characters are never processed by other systems first, this
option is vestigial in Angular and only increases the complexity of our
parser.

DEPRECATED: `@Component.interpolation` is deprecated. Use Angular's
delimiters instead.

PR Close #55778
@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 Jun 14, 2024
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 detected: deprecation PR contains a commit with a deprecation target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants