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

Bump @angular/platform-browser-dynamic from 17.3.9 to 18.0.0 in /news-cast-explorer-fe #701

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2024

Bumps @angular/platform-browser-dynamic from 17.3.9 to 18.0.0.

Release notes

Sourced from @​angular/platform-browser-dynamic's releases.

v18.0.0

18.0.0 (2024-05-22)

animations

Commit Description
refactor - bcce85af72 remove deprecated matchesElement from AnimationDriver (#55479)

common

Commit Description
refactor - d34c033902 Deprecate Local Data API functions (#54483)
refactor - 3b0de30b37 remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302)

compiler

Commit Description
fix - 91b007e58f add math elements to schema (#55631)
fix - 33d0102304 allow comments between connected blocks (#55966)
fix - 7fc7f3f05f capture all control flow branches for content projection in if blocks (#54921)
fix - a369f43fbd capture switch block cases for content projection (#54921)
fix - eb625d3783 declare for loop aliases in addition to new name (#54942)
fix - f824911510 For FatalDiagnosticError, hide the message field without affecting the emit (#55160)
fix - a040fb720a maintain multiline CSS selectors during CSS scoping (#55509)
fix - 39624c6b12 output input flags as a literal (#55215)
fix - eba92cfa55 prevent usage of reserved control flow symbol in custom interpolation context. (#55809)
fix - 7d5bc1c628 remove container index from conditional instruction (#55190)
fix - 4eb0165750 remove support for unassignable expressions in two-way bindings (#55342)
fix - e1650e3b13 throw error if item name and context variables conflict (#55045)

compiler-cli

Commit Description
feat - 5bd188a394 add partial compilation support for deferred blocks (#54908)
feat - b02b31a915 drop support for TypeScript older than 5.4 (#54961)
fix - 78188e877a add diagnostic if initializer API is used outside of an initializer (#54993)
fix - 69a83993b3 do not throw when retrieving TCB symbol for signal input with restricted access (#55774)
fix - 4f4f41016e dom property binding check in signal extended diagnostic (#54324)
fix - 7a16d7e969 don't type check the bodies of control flow nodes in basic mode (#55360)
fix - 8d93597a82 fix type narrowing of @if with aliases (#55835)
fix - 9b424d7224 preserve original reference to non-deferrable dependency (#54759)
fix - 694ba79cbf report cases where initializer APIs are used in a non-directive class (#54993)
fix - 6219341d26 report errors when initializer APIs are used on private fields (#54981)
fix - c04ffb1fa6 use switch statements to narrow Angular switch blocks (#55168)

core

Commit Description
feat - a730f09ae9 Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356)
feat - fdd560ea14 Add ability to configure zone change detection to use zoneless scheduler (#55252)
feat - bce5e2344f Add build target for jsaction contract binary. (#55319)
feat - 666d646575 Add event delegation library to queue up events and replay them when the application is ready (#55121)
feat - 5f06ca8f55 add HOST_TAG_NAME token (#54751)
feat - a600a39d0c add support for fallback content in ng-content (#54854)

... (truncated)

Changelog

Sourced from @​angular/platform-browser-dynamic's changelog.

18.0.0 (2024-05-22)

Breaking Changes

animations

  • Deprecated matchesElement method has been removed from AnimationDriver as it is unused.

common

  • The deprecated isPlatformWorkerUi and isPlatformWorkerApp have been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.

compiler

  • Angular only supports writable expressions inside of two-way bindings.

compiler-cli

    • Angular no longer supports TypeScript versions older than 5.4.

core

  • OnPush views at the root of the application need to be marked dirty for their host bindings to refresh. Previously, the host bindings were refreshed for all root views without respecting the OnPush change detection strategy.

  • OnPush views at the root of the application need to be marked dirty for their host bindings to refresh. Previously, the host bindings were refreshed for all root views without respecting the OnPush change detection strategy.

  • The ComponentFixture autoDetect feature will no longer refresh the component's host view when the component is OnPush and not marked dirty. This exposes existing issues in components which claim to be OnPush but do not correctly call markForCheck when they need to be refreshed. If this change causes test failures, the easiest fix is to change the component to ChangeDetectionStrategy.Default.

  • ComponentFixture.whenStable now matches the ApplicationRef.isStable observable. Prior to this change, stability of the fixture did not include everything that was considered in ApplicationRef. whenStable of the fixture will now include unfinished router navigations and unfinished HttpClient requests. This will cause tests that await the whenStable promise to time out when there are incomplete requests. To fix this, remove the whenStable, instead wait for another condition, or ensure HttpTestingController mocks responses for all requests. Try adding HttpTestingController.verify() before your await fixture.whenStable to identify the open requests. Also, make sure your tests wait for the stability promise. We found many examples of tests that did not, meaning the expectations did not execute within the test body.

    In addition, ComponentFixture.isStable would synchronously switch to true in some scenarios but will now always be asynchronous.

  • Angular will ensure change detection runs, even when the state update originates from outside the zone, tests may observe additional rounds of change detection compared to the previous behavior.

    This change will be more likely to impact existing unit tests. This should usually be seen as more correct and the test should be updated, but in cases where it is too much effort to debug, the test can revert to the old behavior by adding provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly}) to the TestBed providers.

... (truncated)

Commits
  • b1dffa4 refactor: migrate platform-* to prettier formatting (#55423)
  • 457d02c docs: Use new Urls to drop the docs url mapper (#55043)
  • f523415 docs: drop glossary links (#55044)
  • eb20c1a refactor(platform-browser-dynamic): unused RESOURCE_CACHE_PROVIDER API has ...
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) from 17.3.9 to 18.0.0.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.0/packages/platform-browser-dynamic)

---
updated-dependencies:
- dependency-name: "@angular/platform-browser-dynamic"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 22, 2024
@jesperancinha jesperancinha merged commit 62f5682 into main May 24, 2024
7 checks passed
@jesperancinha jesperancinha deleted the dependabot/npm_and_yarn/news-cast-explorer-fe/angular/platform-browser-dynamic-18.0.0 branch May 24, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant