core-api: switch to deprecating routing types rather than removing

This commit is contained in:
Patrik Oldsberg
2020-12-07 19:06:24 +01:00
parent d8d5a17dad
commit 0873ed2d06
4 changed files with 45 additions and 6 deletions
+6 -2
View File
@@ -1,5 +1,9 @@
---
'@backstage/core-api': minor
'@backstage/core-api': patch
---
Remove exported `ConcreteRoute`, `MutableRouteRef`, `AbsoluteRouteRef` types, and add as of yet unused `params` option to `createRouteRef`.
Deprecated the `ConcreteRoute`, `MutableRouteRef`, `AbsoluteRouteRef` types and added a new `RouteRef` type as replacement.
Deprecated and disabled the `createSubRoute` method of `AbsoluteRouteRef`.
Add an as of yet unused `params` option to `createRouteRef`.