changeset: added changesets for Observable type update

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-05-17 13:27:57 +02:00
parent e6f0180242
commit 61c3f927cc
2 changed files with 18 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/core-api': patch
---
Updated the `Observable` type to provide interoperability with `Symbol.observable`, making it compatible with at least `zen-observable` and `RxJS 7`.
In cases where this change breaks tests that mocked the `Observable` type, the following addition to the mock should fix the breakage:
```ts
[Symbol.observable]() {
return this;
},
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/test-utils': patch
---
Updated `MockErrorApi` to work with new `Observable` type in `@backstage/core`.