angular-docs-cn/tools/public_api_guard
Alex Rickabaugh f755db78dc fix(core): require factory to be provided for shakeable InjectionToken (#22207)
InjectionToken can be created with an ngInjectableDef, and previously
this allowed the full expressiveness of @Injectable. However, this
requires a runtime reflection system in order to generate factories
from expressed provider declarations.

Instead, this change requires scoped InjectionTokens to provide the
factory directly (likely using inject() for the arguments), bypassing
the need for a reflection system.

Fixes #22205

PR Close #22207
2018-02-15 16:16:16 -08:00
..
animations feat(animations): re-introduce support for transition matching functions (#20723) 2017-12-07 17:16:09 -08:00
common fix(common): weaken AsyncPipe transform signature (#22169) 2018-02-12 15:57:29 -08:00
compiler build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
core fix(core): require factory to be provided for shakeable InjectionToken (#22207) 2018-02-15 16:16:16 -08:00
forms feat(forms): multiple validators for array method (#20766) 2018-02-07 12:04:48 -08:00
http build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
platform-browser feat(platform-browser): fix #19604, can config hammerOptions (#21979) 2018-02-14 15:02:58 -05: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 fix: Update test code to type-check under TS 2.5 (#20175) 2017-11-15 18:12:16 -06:00
platform-webworker-dynamic build: update public api file names (#19190) 2017-09-19 16:59:18 -07:00
router feat(router): add navigationSource and restoredState to NavigationStart event (#21728) 2018-01-29 10:22:59 -08: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