Skip to content

Commit

Permalink
Version Packages (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 29, 2022
1 parent e7cd20d commit 3ea2ccb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 26 deletions.
25 changes: 0 additions & 25 deletions .changeset/new-colts-yawn.md

This file was deleted.

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

## 5.2.0

### Minor Changes

- [#98](https://github.com/tivac/xstate-component-tree/pull/98) [`e7cd20d`](https://github.com/tivac/xstate-component-tree/commit/e7cd20dfc3ec20427bb46fea6b7b49085bc0b5cd) Thanks [@tivac](https://github.com/tivac)! - Support for components at the root of machines

```js
createMachine({
initial: "foo",

meta: {
component: RootComponent,
},

states: {
foo: {
meta: {
component: FooComponent,
},
},
},
});
```

Previously `RootComponent` would be ignored, now it will be the first component in the tree and `FooComponent` will be placed as a child of it.

## 5.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": "5.1.0",
"version": "5.2.0",
"description": "Build a tree of components based on statechart values",
"author": "Pat Cavit <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 3ea2ccb

Please sign in to comment.