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(zone.js): remove legacy files and access to deep imports #51752

Closed

Conversation

alan-agius4
Copy link
Contributor

This commit removes access to deep imports and zone-testing-bundle and zone-testing-node-bundle

This commit removed access to deep and legacy dist imports. zone-testing-bundle and zone-testing-node-bundle are also no longer generated.

BREAKING CHANGE:
Deep and legacy dist/ imports like zone.js/bundles/zone-testing.js and zone.js/dist/zone are no longer allowed. zone-testing-bundle and zone-testing-node-bundle are also no longer part of the package.

The proper way to import zone.js and zone.js/testing is:

import 'zone.js';
import 'zone.js/testing';

This commit removes access to deep imports and `zone-testing-bundle` and `zone-testing-node-bundle`

This commit removed access to deep and legacy `dist` imports. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer generated.

BREAKING CHANGE:
Deep and legacy `dist/` imports like `zone.js/bundles/zone-testing.js` and `zone.js/dist/zone` are no longer allowed. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer part of the package.

The proper way to import `zone.js` and `zone.js/testing` is:
```js
import 'zone.js';
import 'zone.js/testing';
```
@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Sep 13, 2023
@angular-robot angular-robot bot added detected: breaking change PR contains a commit with a breaking change detected: feature PR contains a feature commit labels Sep 13, 2023
…839c18c7f6db81`

This is needed to consume a zone.js related import fix. angular/dev-infra#1383
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Sep 13, 2023
@ngbot ngbot bot added this to the Backlog milestone Sep 13, 2023
This commits add missing `override` modifier to `HostBindingCompilationJob` class members.
@alan-agius4 alan-agius4 marked this pull request as ready for review September 13, 2023 12:05
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 13, 2023
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

@JiaLiPassion JiaLiPassion left a comment

Choose a reason for hiding this comment

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

LGTM!

@alan-agius4 alan-agius4 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 Sep 14, 2023
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit 70e88f8.

pkozlowski-opensource pushed a commit that referenced this pull request Sep 14, 2023
…839c18c7f6db81` (#51752)

This is needed to consume a zone.js related import fix. angular/dev-infra#1383

PR Close #51752
pkozlowski-opensource pushed a commit that referenced this pull request Sep 14, 2023
…51752)

This commits add missing `override` modifier to `HostBindingCompilationJob` class members.

PR Close #51752
@alan-agius4 alan-agius4 deleted the zone.js-remove-legacy-imports branch September 14, 2023 10:22
@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 Oct 15, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…r#51752)

This commit removes access to deep imports and `zone-testing-bundle` and `zone-testing-node-bundle`

This commit removed access to deep and legacy `dist` imports. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer generated.

BREAKING CHANGE:
Deep and legacy `dist/` imports like `zone.js/bundles/zone-testing.js` and `zone.js/dist/zone` are no longer allowed. `zone-testing-bundle` and `zone-testing-node-bundle` are also no longer part of the package.

The proper way to import `zone.js` and `zone.js/testing` is:
```js
import 'zone.js';
import 'zone.js/testing';
```

PR Close angular#51752
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…839c18c7f6db81` (angular#51752)

This is needed to consume a zone.js related import fix. angular/dev-infra#1383

PR Close angular#51752
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…ngular#51752)

This commits add missing `override` modifier to `HostBindingCompilationJob` class members.

PR Close angular#51752
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: build & ci Related the build and CI infrastructure of the project area: zones detected: breaking change PR contains a commit with a breaking change detected: feature PR contains a feature commit target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants