Skip to content

Commit

Permalink
Version Packages (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Andarist committed Jan 24, 2020
1 parent dc0ea18 commit 267fa6d
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 60 deletions.
5 changes: 0 additions & 5 deletions .changeset/big-jeans-wait.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-windows-tan.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/mighty-coats-beam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-files-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nice-cobras-suffer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-weeks-visit.md

This file was deleted.

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

## 4.7.7

### Patch Changes

- [`c8db035`](https://github.com/davidkpiano/xstate/commit/c8db035b90a7ab4a557359d493d3dd7973dacbdd) [#936](https://github.com/davidkpiano/xstate/pull/936) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `escalate()` action can now take in an expression, which will be evaluated against the `context`, `event`, and `meta` to return the error data.

* [`2a3fea1`](https://github.com/davidkpiano/xstate/commit/2a3fea18dcd5be18880ad64007d44947cc327d0d) [#952](https://github.com/davidkpiano/xstate/pull/952) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The typings for the raise() action have been fixed to allow any event to be raised. This typed behavior will be refined in version 5, to limit raised events to those that the machine accepts.

- [`f86d419`](https://github.com/davidkpiano/xstate/commit/f86d41979ed108e2ac4df63299fc16f798da69f7) [#957](https://github.com/davidkpiano/xstate/pull/957) Thanks [@Andarist](https://github.com/Andarist)! - Fixed memory leak - each created service has been registered in internal map but it was never removed from it. Registration has been moved to a point where Interpreter is being started and it's deregistered when it is being stopped.

## 4.7.6

### Patch 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.7.6",
"version": "4.7.7",
"description": "Finite State Machines and Statecharts for the Modern Web.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
40 changes: 40 additions & 0 deletions packages/xstate-fsm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @xstate/fsm

## 1.3.0

### Minor Changes

- [`7367de2`](https://github.com/davidkpiano/xstate/commit/7367de29a641e693702e919160292022a4d35323) [#946](https://github.com/davidkpiano/xstate/pull/946) Thanks [@Andarist](https://github.com/Andarist)! - Added a second, optional, `options` parameter to the `createMachine`. Currently only `actions` map can be put there - similarly how this can be done for `xstate` itself:

<details>
<summary>Example</summary>

```js
const machine = createMachine({
initial: 'idle'
states: {
idle: {
on: {
LOAD: {
target: 'loading',
actions: 'fetchData'
}
}
},
loading: {
// ...
}
}
}, {
actions: {
fetchData: () => /* ... */
}
})
```

</details>

* [`3c10215`](https://github.com/davidkpiano/xstate/commit/3c102158d24d3f12aa671bc39dea0a2e98e3c34f) [#811](https://github.com/davidkpiano/xstate/pull/811) Thanks [@ghengeveld](https://github.com/ghengeveld)! - A `config` property got exposed on created machines. It's the same object which got passed in as argument.

### Patch Changes

- [`a337473`](https://github.com/davidkpiano/xstate/commit/a337473c669c3a486c5cfa4a0ff4956b5136053d) [#827](https://github.com/davidkpiano/xstate/pull/827) Thanks [@Andarist](https://github.com/Andarist)! - Fixed entry actions defined on an initial state not being executed.

## 1.2.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.2.0",
"version": "1.3.0",
"description": "XState for finite state machines",
"keywords": [
"state",
Expand Down

0 comments on commit 267fa6d

Please sign in to comment.