Angular is an open source front-end framework based on TypeScript, co-led by Google’s Angular team and the community, completely rewritten from AngularJS.

Currently Angular v15.1.0 has been released, bringing the following changes:

Deprecated: Router

CanLoad in routers is deprecated, use CanMatch instead.

common change

  • Add BrowserPlatformLocation to public API (#48488)
  • Add data attribute to NgOptimizedImage (#48497)

translater

  • Allow self-closing tags on custom elements (#48535)
  • Handle deprecation warnings (#48652)
  • markdown custom decorator errors when only keeping type symbols (#48638)

compiler-cli

  • renew@babel/coreDependencies and locked versions (#48634)

core

  • Add toTestBed.runInInjectionContextto help test using inject function (#47955)
  • Make isStandalone() Functions are available in the public API (#48114)
  • Support TypeScript 4.9 (#48005)

form

  • Forms provider FormsModule.withConfig will return a FormsModule (#48526)

language server

  • Multiple autoimports are allowed. (#47787)
  • public package.jsonvscode extension parsing (#48678)
  • Prevent crashes due to references that cannot be emitted (#47938)
  • public /api Entrance (#48670)
  • Update packages/language-service/build.sh script to use vscode-ng-language-service’s new Bazel build (#48663)

For details, please check: https://github.com/angular/angular/releases/tag/15.1.0

#Angular #released #supporting #TypeScript

Leave a Comment

Your email address will not be published. Required fields are marked *