Skip to content

Commit

Permalink
ci(changeset): generate PR with changelog & version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 14, 2020
1 parent d1bed1b commit 883f674
Show file tree
Hide file tree
Showing 17 changed files with 77 additions and 72 deletions.
5 changes: 0 additions & 5 deletions .changeset/curvy-planets-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/famous-moons-beam.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/good-countries-cross.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/large-bats-explode.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-pumas-applaud.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/ninety-toys-smile.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spicy-cheetahs-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-turkeys-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-lemons-travel.md

This file was deleted.

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

## 4.9.0

### Minor Changes

- [`f3ff150`](https://github.com/davidkpiano/xstate/commit/f3ff150f7c50f402704d25cdc053b76836e447e3) [#1103](https://github.com/davidkpiano/xstate/pull/1103) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Simplify the `TransitionConfigArray` and `TransitionConfigMap` types in order to fix excessively deep type instantiation TypeScript reports. This addresses [#1015](https://github.com/davidkpiano/xstate/issues/1015).

* [`6c47b66`](https://github.com/davidkpiano/xstate/commit/6c47b66c3289ff161dc96d9b246873f55c9e18f2) [#1076](https://github.com/davidkpiano/xstate/pull/1076) Thanks [@Andarist](https://github.com/Andarist)! - Added support for conditional actions. It's possible now to have actions executed based on conditions using following:

```js
entry: [
choose([
{ cond: ctx => ctx > 100, actions: raise('TOGGLE') },
{
cond: 'hasMagicBottle',
actions: [assign(ctx => ({ counter: ctx.counter + 1 }))]
},
{ actions: ['fallbackAction'] }
])
];
```

It works very similar to the if-else syntax where only the first matched condition is causing associated actions to be executed and the last ones can be unconditional (serving as a general fallback, just like else branch).

### Patch Changes

- [`1a129f0`](https://github.com/davidkpiano/xstate/commit/1a129f0f35995981c160d756a570df76396bfdbd) [#1073](https://github.com/davidkpiano/xstate/pull/1073) Thanks [@Andarist](https://github.com/Andarist)! - Cleanup internal structures upon receiving termination events from spawned actors.

* [`e88aa18`](https://github.com/davidkpiano/xstate/commit/e88aa18431629e1061b74dfd4a961b910e274e0b) [#1085](https://github.com/davidkpiano/xstate/pull/1085) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with data expressions of root's final nodes being called twice.

- [`88b17b2`](https://github.com/davidkpiano/xstate/commit/88b17b2476ff9a0fbe810df9d00db32c2241cd6e) [#1090](https://github.com/davidkpiano/xstate/pull/1090) Thanks [@rjdestigter](https://github.com/rjdestigter)! - This change carries forward the typestate type information encoded in the arguments of the following functions and assures that the return type also has the same typestate type information:

- Cloned state machine returned by `.withConfig`.
- `.state` getter defined for services.
- `start` method of services.

* [`d5f622f`](https://github.com/davidkpiano/xstate/commit/d5f622f68f4065a2615b5a4a1caae6b508b4840e) [#1069](https://github.com/davidkpiano/xstate/pull/1069) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Loosened event type for `SendAction<TContext, AnyEventObject>`

## 4.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xstate",
"version": "4.8.0",
"version": "4.9.0",
"description": "Finite State Machines and Statecharts for the Modern Web.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/xstate-fsm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @xstate/fsm

## 1.4.0

### Minor Changes

- [`3d50808`](https://github.com/davidkpiano/xstate/commit/3d50808ac68b1f52de49969e5e83b2c341fda525) [#1082](https://github.com/davidkpiano/xstate/pull/1082) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `.state` property is now exposed on the service returned from `interpret(machine)`, which is a getter that returns the latest state of the machine.

### Patch Changes

- [`dcbd72f`](https://github.com/davidkpiano/xstate/commit/dcbd72ffe1804d6c50b5ebf2d17ec2b74a8c7b58) [#1122](https://github.com/davidkpiano/xstate/pull/1122) Thanks [@chancestrickland](https://github.com/chancestrickland)! - `StateMachine.Config` type accepts now a third type parameter - `TState` - similarly to other existing types. When provided it provides helpful intellisense when defining the state chart transitions.

## 1.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-fsm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/fsm",
"version": "1.3.0",
"version": "1.4.0",
"description": "XState for finite state machines",
"keywords": [
"state",
Expand Down
11 changes: 11 additions & 0 deletions packages/xstate-graph/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
# @xstate/graph

## 1.1.0

### Minor Changes

- [`137b0cd`](https://github.com/davidkpiano/xstate/commit/137b0cdf71054d67f0c5ba2c11021436ec3739ed) [#1033](https://github.com/davidkpiano/xstate/pull/1033) Thanks [@ZempTime](https://github.com/ZempTime)! - Added ESM build of the package which can be loaded through modern web bundlers (instead of default CommonJS files).

### Patch Changes

- Updated dependencies [[`f3ff150`](https://github.com/davidkpiano/xstate/commit/f3ff150f7c50f402704d25cdc053b76836e447e3), [`6c47b66`](https://github.com/davidkpiano/xstate/commit/6c47b66c3289ff161dc96d9b246873f55c9e18f2), [`1a129f0`](https://github.com/davidkpiano/xstate/commit/1a129f0f35995981c160d756a570df76396bfdbd), [`e88aa18`](https://github.com/davidkpiano/xstate/commit/e88aa18431629e1061b74dfd4a961b910e274e0b), [`88b17b2`](https://github.com/davidkpiano/xstate/commit/88b17b2476ff9a0fbe810df9d00db32c2241cd6e), [`d5f622f`](https://github.com/davidkpiano/xstate/commit/d5f622f68f4065a2615b5a4a1caae6b508b4840e)]:
- xstate@4.9.0
4 changes: 2 additions & 2 deletions packages/xstate-graph/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/graph",
"version": "1.0.0",
"version": "1.1.0",
"description": "XState graph utilities",
"keywords": [
"state",
Expand Down Expand Up @@ -37,7 +37,7 @@
"url": "https://github.com/davidkpiano/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.7.0"
"xstate": "^4.9.0"
},
"devDependencies": {
"jest": "^24.8.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/xstate-test/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @xstate/test

## 0.4.0

### Minor Changes

- [`137b0cd`](https://github.com/davidkpiano/xstate/commit/137b0cdf71054d67f0c5ba2c11021436ec3739ed) [#1033](https://github.com/davidkpiano/xstate/pull/1033) Thanks [@ZempTime](https://github.com/ZempTime)! - Added ESM build of the package which can be loaded through modern web bundlers (instead of default CommonJS files).

### Patch Changes

- Updated dependencies [[`f3ff150`](https://github.com/davidkpiano/xstate/commit/f3ff150f7c50f402704d25cdc053b76836e447e3), [`6c47b66`](https://github.com/davidkpiano/xstate/commit/6c47b66c3289ff161dc96d9b246873f55c9e18f2), [`1a129f0`](https://github.com/davidkpiano/xstate/commit/1a129f0f35995981c160d756a570df76396bfdbd), [`e88aa18`](https://github.com/davidkpiano/xstate/commit/e88aa18431629e1061b74dfd4a961b910e274e0b), [`88b17b2`](https://github.com/davidkpiano/xstate/commit/88b17b2476ff9a0fbe810df9d00db32c2241cd6e), [`137b0cd`](https://github.com/davidkpiano/xstate/commit/137b0cdf71054d67f0c5ba2c11021436ec3739ed), [`d5f622f`](https://github.com/davidkpiano/xstate/commit/d5f622f68f4065a2615b5a4a1caae6b508b4840e)]:
- xstate@4.9.0
- @xstate/graph@1.1.0

## 0.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/xstate-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/test",
"version": "0.3.0",
"version": "0.4.0",
"description": "XState test utilities",
"keywords": [
"state",
Expand Down Expand Up @@ -44,7 +44,7 @@
"url": "https://github.com/davidkpiano/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.7.6"
"xstate": "^4.9.0"
},
"devDependencies": {
"@types/jest-environment-puppeteer": "^4.0.0",
Expand All @@ -59,7 +59,7 @@
"xstate": "*"
},
"dependencies": {
"@xstate/graph": "^1.0.0",
"@xstate/graph": "^1.1.0",
"chalk": "^2.4.2"
}
}

0 comments on commit 883f674

Please sign in to comment.