docs: add redirect link to deprecation summary page (#29951)

PR Close #29951
This commit is contained in:
Vani 2019-04-23 10:01:59 -07:00 committed by Andrew Kushnir
parent d0ca7c792d
commit 24c61cb63e
3 changed files with 23 additions and 17 deletions

View File

@ -54,6 +54,10 @@
{"type": 301, "source": "/**/api/common/SelectControlValueAccessor-*", "destination": "/api/forms/SelectControlValueAccessor"}, {"type": 301, "source": "/**/api/common/SelectControlValueAccessor-*", "destination": "/api/forms/SelectControlValueAccessor"},
{"type": 301, "source": "/**/api/common/NgModel", "destination": "/api/forms/NgModel"}, {"type": 301, "source": "/**/api/common/NgModel", "destination": "/api/forms/NgModel"},
// APIs under `http` package is deprecated and new APIs are available under `common/http` package
{"type": 301, "source": "/api/http/:rest*", "destination": "/guide/deprecation#http"},
{"type": 301, "source": "/api/http", "destination": "/guide/deprecation#http"},
// Animations moves, renames and removals // Animations moves, renames and removals
{"type": 301, "source": "/api/animate/:rest*", "destination": "/api/animations/:rest*"}, {"type": 301, "source": "/api/animate/:rest*", "destination": "/api/animations/:rest*"},
// AnimationStateDeclarationMetadata was removed // AnimationStateDeclarationMetadata was removed

View File

@ -87,6 +87,8 @@
"!/api/common/Control*", "!/api/common/Control*",
"!/api/common/MaxLengthValidator*", "!/api/common/MaxLengthValidator*",
"!/api/common/NgModel*", "!/api/common/NgModel*",
"!/api/http/**",
"!/api/http",
"!/api/platform-browser/AnimationDriver*", "!/api/platform-browser/AnimationDriver*",
"!/api/testing/**", "!/api/testing/**",
"!/docs/?*", "!/docs/?*",

View File

@ -22,11 +22,11 @@
/api/core/testing/index/TestBed-class.html /api/core/testing/TestBed /api/core/testing/index/TestBed-class.html /api/core/testing/TestBed
/api/core/testing/inject-function /api/core/testing/inject /api/core/testing/inject-function /api/core/testing/inject
/api/core/testing/inject-function.html /api/core/testing/inject /api/core/testing/inject-function.html /api/core/testing/inject
/api/http/Headers-class /api/http/Headers /api/http/Headers-class /guide/deprecation#http
/api/http/Headers-class.html /api/http/Headers /api/http/Headers-class.html /guide/deprecation#http
/api/http/HTTP_PROVIDERS-let /api/http/HttpModule /api/http/HTTP_PROVIDERS-let /guide/deprecation#http
/api/http/testing/index/MockBackend-class /api/http/testing/MockBackend /api/http/testing/index/MockBackend-class /guide/deprecation#http
/api/http/testing/index/MockBackend-class.html /api/http/testing/MockBackend /api/http/testing/index/MockBackend-class.html /guide/deprecation#http
/api/platform-browser-dynamic/testing/index/platformBrowserDynamicTesting-let.html /api/platform-browser-dynamic/testing/platformBrowserDynamicTesting /api/platform-browser-dynamic/testing/index/platformBrowserDynamicTesting-let.html /api/platform-browser-dynamic/testing/platformBrowserDynamicTesting
/api/platform-browser/AnimationDriver /api/animations/browser/AnimationDriver /api/platform-browser/AnimationDriver /api/animations/browser/AnimationDriver
/api/router/Route-class /api/router/Route /api/router/Route-class /api/router/Route
@ -95,15 +95,15 @@
/docs/js/latest/api/forms/index/FormBuilder-class.html /api/forms/FormBuilder /docs/js/latest/api/forms/index/FormBuilder-class.html /api/forms/FormBuilder
/docs/js/latest/api/forms/index/NG_VALIDATORS-let /api/forms/NG_VALIDATORS /docs/js/latest/api/forms/index/NG_VALIDATORS-let /api/forms/NG_VALIDATORS
/docs/js/latest/api/forms/index/Validator-interface.html /api/forms/Validator /docs/js/latest/api/forms/index/Validator-interface.html /api/forms/Validator
/docs/js/latest/api/http/ConnectionBackend-class /api/http/ConnectionBackend /docs/js/latest/api/http/ConnectionBackend-class /guide/deprecation#http
/docs/js/latest/api/http/index/Http-class.html /api/http/Http /docs/js/latest/api/http/index/Http-class.html /guide/deprecation#http
/docs/js/latest/api/http/index/Jsonp-class.html /api/http/Jsonp /docs/js/latest/api/http/index/Jsonp-class.html /guide/deprecation#http
/docs/js/latest/api/http/index/ResponseOptions-class.html /api/http/ResponseOptions /docs/js/latest/api/http/index/ResponseOptions-class.html /guide/deprecation#http
/docs/js/latest/api/http/index/URLSearchParams-class /api/http/URLSearchParams /docs/js/latest/api/http/index/URLSearchParams-class /guide/deprecation#http
/docs/js/latest/api/http/index/XHRConnection-class /api/http/XHRConnection /docs/js/latest/api/http/index/XHRConnection-class /guide/deprecation#http
/docs/js/latest/api/http/index/XHRConnection-class.html /api/http/XHRConnection /docs/js/latest/api/http/index/XHRConnection-class.html /guide/deprecation#http
/docs/js/latest/api/http/testing/index/MockConnection-class.html /api/http/testing/MockConnection /docs/js/latest/api/http/testing/index/MockConnection-class.html /guide/deprecation#http
/docs/js/latest/api/http/testing/MockBackend-class /api/http/testing/MockBackend /docs/js/latest/api/http/testing/MockBackend-class /guide/deprecation#http
/docs/js/latest/api/platform-browser-dynamic/index/platformBrowserDynamic-let.html /api/platform-browser-dynamic/platformBrowserDynamic /docs/js/latest/api/platform-browser-dynamic/index/platformBrowserDynamic-let.html /api/platform-browser-dynamic/platformBrowserDynamic
/docs/js/latest/api/platform-browser-dynamic/testing/index/BrowserDynamicTestingModule-class.html /api/platform-browser-dynamic/testing/BrowserDynamicTestingModule /docs/js/latest/api/platform-browser-dynamic/testing/index/BrowserDynamicTestingModule-class.html /api/platform-browser-dynamic/testing/BrowserDynamicTestingModule
/docs/js/latest/api/platform-browser/animations/index/BrowserAnimationsModule-class /api/platform-browser/animations/BrowserAnimationsModule /docs/js/latest/api/platform-browser/animations/index/BrowserAnimationsModule-class /api/platform-browser/animations/BrowserAnimationsModule
@ -165,9 +165,9 @@
/docs/ts/latest/api/core/testing/index/fakeAsync-function.html /api/core/testing/fakeAsync /docs/ts/latest/api/core/testing/index/fakeAsync-function.html /api/core/testing/fakeAsync
/docs/ts/latest/api/core/testing/index/TestComponentRenderer-class.html /api/core/testing/TestComponentRenderer /docs/ts/latest/api/core/testing/index/TestComponentRenderer-class.html /api/core/testing/TestComponentRenderer
/docs/ts/latest/api/core/testing/index/tick-function.html /api/core/testing/tick /docs/ts/latest/api/core/testing/index/tick-function.html /api/core/testing/tick
/docs/ts/latest/api/http/Connection-class.html /api/http/Connection /docs/ts/latest/api/http/Connection-class.html /guide/deprecation#http
/docs/ts/latest/api/http/testing/index/MockBackend-class.html /api/http/testing/MockBackend /docs/ts/latest/api/http/testing/index/MockBackend-class.html /guide/deprecation#http
/docs/ts/latest/api/http/testing/index/MockConnection-class.html /api/http/testing/MockConnection /docs/ts/latest/api/http/testing/index/MockConnection-class.html /guide/deprecation#http
/docs/ts/latest/api/platform-browser-dynamic/index/workerAppDynamicPlatform-let.html /api/platform-browser-dynamic/workerAppDynamicPlatform /docs/ts/latest/api/platform-browser-dynamic/index/workerAppDynamicPlatform-let.html /api/platform-browser-dynamic/workerAppDynamicPlatform
/docs/ts/latest/api/testing/fakeAsync-function.html /api/core/testing/fakeAsync /docs/ts/latest/api/testing/fakeAsync-function.html /api/core/testing/fakeAsync
/docs/ts/latest/cookbook/ts-to-js.html https://v2.angular.io/docs/ts/latest/cookbook/ts-to-js.html /docs/ts/latest/cookbook/ts-to-js.html https://v2.angular.io/docs/ts/latest/cookbook/ts-to-js.html