angular-docs-cn/tools/public_api_guard
Victor Berchet 0ebd577db4 refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783)
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close #22783
2018-03-15 14:52:22 -07:00
..
animations feat(animations): expose `element` and `params` within transition matchers (#22693) 2018-03-13 09:42:24 -07:00
common fix: overloading a function doesn't generate all of the signatures (#22569) 2018-03-09 13:07:36 -08:00
compiler build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
core refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783) 2018-03-15 14:52:22 -07:00
forms refactor(forms): deprecate ngModel usage on same field as formControl (#22633) 2018-03-07 20:47:53 -08:00
http build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
platform-browser test: migrate remaining public-api tests to Bazel (#22639) 2018-03-09 09:11:40 -08:00
platform-browser-dynamic feat(platform-browser-dynamic): export `JitCompilerFactory` (#20478) 2017-11-22 08:56:11 -06:00
platform-server feat(platform-server): add an API to transfer state from server (#19134) 2017-09-21 13:56:13 -07:00
platform-webworker build: upgrade to TypeScript 2.7 (#22669) 2018-03-12 09:27:23 -07:00
platform-webworker-dynamic build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
router build: upgrade to TypeScript 2.7 (#22669) 2018-03-12 09:27:23 -07:00
service-worker fix(service-worker): don't crash if SW not supported 2017-12-01 14:18:16 -08:00
upgrade fix(upgrade): replaces get/setAngularLib with get/setAngularJSGlobal 2017-12-18 12:10:01 -08:00
BUILD.bazel test: migrate remaining public-api tests to Bazel (#22639) 2018-03-09 09:11:40 -08:00