Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .changeset/slow-planets-begin.md

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## 8.0.0

### Major Changes

- [#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.

```
states : {
foo : {
invoke : {
id : "foo",
// ...
},
},
},
```

This should work now.

**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.

## 7.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xstate-component-tree",
"version": "7.1.0",
"version": "8.0.0",
"description": "Build a tree of components based on statechart values",
"author": "Pat Cavit <npm@patcavit.com>",
"license": "MIT",
Expand Down