Skip to content

Commit ee98f48

Browse files
Version Packages (#231)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent dfb45cc commit ee98f48

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

.changeset/slow-planets-begin.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 8.0.0
4+
5+
### Major Changes
6+
7+
- [#230](https://github.com/tivac/xstate-component-tree/pull/230) [`fdba194`](https://github.com/tivac/xstate-component-tree/commit/fdba194de0e9e8c396725a2c9cdd7264e118175c) Thanks [@tivac](https://github.com/tivac)! - Matching state and invoke names would cause `xstate-component-tree` to fail to return child components in some cases because internally it named them the same thing and stomped all over itself.
8+
9+
```
10+
states : {
11+
foo : {
12+
invoke : {
13+
id : "foo",
14+
// ...
15+
},
16+
},
17+
},
18+
```
19+
20+
This should work now.
21+
22+
**BREAKING CHANGE**: All `machine` values in the output that previously looked like `root.foo` will now look like `root.#foo`, in order to help differentiate the child machine `id` from the parent state path.
23+
324
## 7.1.0
425

526
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xstate-component-tree",
3-
"version": "7.1.0",
3+
"version": "8.0.0",
44
"description": "Build a tree of components based on statechart values",
55
"author": "Pat Cavit <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)