Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Mar 31, 2025

To support future APF changes that may include pre-linked code specific to the Angular version used to create the package, an additional package resolution condition will now be automatically added to the build process for applications. A condition in the form of angular:linked-<version>, where <version> is the full package version of @angular/core, will now be present during application builds. This change in combination with APF changes will allow matching packages to avoid the linking step during a build. Non-version matching packages will continue to function and use the existing linking transformation process.

@clydin clydin added the target: major This PR is targeted for the next major release label Mar 31, 2025
@clydin clydin marked this pull request as ready for review April 1, 2025 00:16
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Apr 1, 2025
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

🎉

… APF

To support future APF changes that may include pre-linked code specific
to the Angular version used to create the package, an additional package
resolution condition will now be automatically added to the build process
for applications. A condition in the form of `angular:linked-<version>`,
where `<version>` is the full package version of `@angular/core`, will now
be present during application builds. This change in combination with APF
changes will allow matching packages to avoid the linking step during a
build. Non-version matching packages will continue to function and use
the existing linking transformation process.
@clydin clydin force-pushed the application/linked-packages branch from f573ff6 to e58c0ed Compare April 1, 2025 13:16
@clydin clydin 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 Apr 1, 2025
@clydin clydin merged commit da7063f into angular:main Apr 1, 2025
31 checks passed
@clydin clydin deleted the application/linked-packages branch April 1, 2025 14:06
@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 May 2, 2025
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: @angular/build target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants