Skip to content

Commit

Permalink
Version Packages (#112)
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 Feb 19, 2023
1 parent 88d1dba commit fc714f2
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
18 changes: 0 additions & 18 deletions .changeset/angry-trees-hammer.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/selfish-balloons-know.md

This file was deleted.

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

## 6.0.0

### Major Changes

- [#111](https://github.com/tivac/xstate-component-tree/pull/111) [`a0ec633`](https://github.com/tivac/xstate-component-tree/commit/a0ec633e140ffdf7a03915dfcd72f6cc67a4c050) Thanks [@tivac](https://github.com/tivac)! - Add `.d.ts` files to releases and restructure exports.

## Previously

```
import ComponentTree from "xstate-component-tree";
import componentHelper from "xstate-component-tree/component";
```

## Now

```
import { ComponentTree, componentHelper } from "xstate-component-tree";
```

### Minor Changes

- [#113](https://github.com/tivac/xstate-component-tree/pull/113) [`88d1dba`](https://github.com/tivac/xstate-component-tree/commit/88d1dba0ba899c85bdccbc804348358b8b7eb1dc) Thanks [@tivac](https://github.com/tivac)! - Component helper preserves `.meta` fields

Previous using the helper like this:

```js
helper(Component, {
meta: {
fooga: "wooga",
},
});
```

would return an object with no `meta.fooga` property. Now those keys are properly preserved if they exist.

`meta.load` will **still be overwritten** if it exists, because it is required for the helper to function. A warning if it exists may be introduced in a future release.

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

0 comments on commit fc714f2

Please sign in to comment.