Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2023

Bumps @angular/common from 15.2.0 to 16.0.0.

Release notes

Sourced from @​angular/common's releases.

v16.0.0

16.0.0 (2023-05-03)

Commit Description
refactor - 48aa96ea13 remove Angular Compatibility Compiler (ngcc) (#49101)
refactor - 2703fd6260 remove deprecated EventManager method addGlobalEventListener (#49645)

common

Commit Description
feat - 5dce2a5a3a Provide MockPlatformLocation by default in BrowserTestingModule (#49137)
fix - d47fef72cb strict type checking for ngtemplateoutlet (#48374)
refactor - c41a21658c remove deprecated XhrFactory export from http entrypoint (#49251)

compiler

Commit Description
feat - 1a6ca68154 add support for compile-time required inputs (#49304)
feat - 13dd614cd1 add support for compile-time required inputs (#49453)
feat - 8f539c11f4 add support for compile-time required inputs (#49468)
feat - 79cdfeb392 drop support for TypeScript 4.8 (#49155)
feat - 1407a9aeaf support multiple configuration files in extends (#49125)
fix - 9de1e9da8f incorrectly matching directives on attribute bindings (#49713)
fix - 6623810e4d Produce diagnositc if directive used in host binding is not exported (#49527)

compiler-cli

Commit Description
feat - 03d1d00ad9 Add an extended diagnostic for nSkipHydration (#49512)
fix - ed817e32fe Catch FatalDiagnosticError during template type checking (#49527)
perf - 49fe974501 optimize NgModule emit for standalone components (#49837)

core

Commit Description
feat - 89d291c367 add assertInInjectionContext (#49529)
feat - 4e9531f777 add mergeApplicationConfig method (#49253)
feat - d7d6514add Add ability to configure NgZone in bootstrapApplication (#49557)
feat - bc5ddabdcb add Angular Signals to the public API (#49150)
feat - 17e9862653 add API to provide CSP nonce for inline stylesheets (#49444)
feat - 605c536420 add migration to remove moduleId references (#49496)
feat - 99d874fe3b add support for TypeScript 5.0 (#49126)
feat - d1617c449d allow removal of previously registered DestroyRef callbacks (#49493)
feat - b2327f4df1 Allow typeguards on QueryList.filter (#48042)
feat - 061f3d1086 Drop public factories property for IterableDiffers : Breaking change (#49598)
feat - fdf61974d1 drop support for zone.js versions <=0.12.0 (#49331)
feat - 9c5fd50de4 effects can optionally return a cleanup function (#49625)
feat - c024574f46 expose makeStateKey, StateKey and TransferState (#49563)
feat - a5f1737d1c expose onDestroy on ApplicationRef (#49677)
feat - e883198460 implement takeUntilDestroyed in rxjs-interop (#49154)
feat - 0814f20594 introduce runInInjectionContext and deprecate prior version (#49396)
feat - 0f5c8003cc introduce concept of DestroyRef (#49158)

... (truncated)

Changelog

Sourced from @​angular/common's changelog.

16.0.0 (2023-05-03)

Blog post "Angular v16 is now available".

Breaking Changes

  • Angular Compatibility Compiler (ngcc) has been removed and as a result Angular View Engine libraries will no longer work
  • Deprecated EventManager method addGlobalEventListener has been removed as it is not used by Ivy.

bazel

  • Several changes to the Angular Package Format (APF)
    • Removal of FESM2015
    • Replacing ES2020 with ES2022
    • Replacing FESM2020 with FESM2022
  • Several changes to the Angular Package Format (APF)
    • Removal of FESM2015
    • Replacing ES2020 with ES2022
    • Replacing FESM2020 with FESM2022

common

  • MockPlatformLocation is now provided by default in tests. Existing tests may have behaviors which rely on BrowserPlatformLocation instead. For example, direct access to the window.history in either the test or the component rather than going through the Angular APIs (Location.getState()). The quickest fix is to update the providers in the test suite to override the provider again TestBed.configureTestingModule({providers: [{provide: PlatformLocation, useClass: BrowserPlatformLocation}]}). The ideal fix would be to update the code to instead be compatible with MockPlatformLocation instead.
  • If the 'ngTemplateOutletContext' is different from the context, it will result in a compile-time error.

Before the change, the following template was compiling:

interface MyContext {
  $implicit: string;
}
@​Component({
standalone: true,
imports: [NgTemplateOutlet],
selector: 'person',
template: &lt;ng-container *ngTemplateOutlet=&quot; myTemplateRef; context: { $implicit: 'test', xxx: 'xxx' } &quot;&gt;&lt;/ng-container&gt;,
})
export class PersonComponent {
myTemplateRef!: TemplateRef<MyContext>;
</tr></table>

... (truncated)

Commits
  • 8080bf0 docs: Make links out of @​see tags (#50098)
  • 5711bab refactor(common): Deprecate useless isPlatform functions (#50055)
  • 80ed0a4 fix(common): fix incorrectly reported distortion for padded images (#49889)
  • 8d32acf docs: remove mention of the webworker platform issues (#49947)
  • e668a05 refactor(common): Remove check for createShadowRoot (#49756)
  • 2a580b6 fix(http): HTTP cache was being disabled prematurely (#49826)
  • 95bc7e2 fix(http): prevent headers from throwing an error when initializing numerical...
  • 15c91a5 fix(http): delay accessing pendingTasks.whenAllTasksComplete (#49784)
  • 2eb9b8b fix(http): wait for all XHR requests to finish before stabilizing application...
  • 2b3258f refactor(platform-server): include info about enabled features into ng-server...
  • Additional commits viewable 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 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/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 15.2.0 to 16.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/16.0.0/packages/common)

---
updated-dependencies:
- dependency-name: "@angular/common"
  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 8, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 15, 2023

Superseded by #233.

@dependabot dependabot bot closed this May 15, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/angular/common-16.0.0 branch May 15, 2023 04:03
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