angular-docs-cn/tools/public_api_guard
Chuck Jazdzewski 86b2b2504f feat(common): rename underlying `NgFor` class and add a type parameter (#14104)
Note, this affects the underlying class and should not affect usage.

DEPRECATION:
- the `NgFor` class is now deprecated. Use `NgForOf<T>` instead.
  IMPORTANT: Only the `NgFor` class is deprecated, not the `ngFor`
  directive. The `*ngFor` and related directives are unaffected by
  this change  as references to the `NgFor` class generated from
  templates will be automatically converted to references to
  `NgForOf<T>` without requiring any template modifications.
- `TrackByFn` is now deprecated. Use `TrackByFunction<T>` instead.

Migration:
- Replace direct references to the `NgFor` class to `NgForOf<any>`.
- Replace references to `TrackByFn` to `TrackByFunction<any>`.

BREAKING CHANGE:
A definition of `Iterable<T>` is now required to correctly compile
Angular applications. Support for `Iterable<T>` is not required at
runtime but a type definition `Iterable<T>` must be available.

`NgFor`, and now `NgForOf<T>`, already supports `Iterable<T>` at
runtime. With this change the type definition is updated to reflect
this support.

Migration:
- add "es2015.iterable.ts" to your tsconfig.json "libs" fields.

Part of #12398

PR Close #14104
2017-02-01 09:29:51 -06:00
..
common feat(common): rename underlying `NgFor` class and add a type parameter (#14104) 2017-02-01 09:29:51 -06:00
compiler fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
core feat(common): rename underlying `NgFor` class and add a type parameter (#14104) 2017-02-01 09:29:51 -06:00
forms fix(forms): provide a method to compare options (#13349) 2017-01-31 11:38:30 -06:00
http feat(http): simplify URLSearchParams creation (#13338) 2016-12-09 15:38:29 -08:00
platform-browser feat(core): Add type information to injector.get() (#13785) 2017-01-17 15:34:54 -06:00
platform-browser-dynamic feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
platform-server feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
platform-webworker feat(core): Add type information to injector.get() (#13785) 2017-01-17 15:34:54 -06:00
platform-webworker-dynamic feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
router feat(router): deprecate preserveQueryParams,add queryParamsHandling (#14095) 2017-01-31 15:43:25 -06:00
upgrade feat(upgrade): export VERSION from `upgrade/static` (#14037) 2017-02-01 09:29:51 -06:00