diff --git a/.changeset/tall-beans-suffer.md b/.changeset/tall-beans-suffer.md deleted file mode 100644 index e81755b410..0000000000 --- a/.changeset/tall-beans-suffer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'xstate': minor ---- - -The machine can now be safely JSON-serialized, using `JSON.stringify(machine)`. The shape of this serialization is defined in `machine.schema.json` and reflected in `machine.definition`. - -Note that `onEntry` and `onExit` have been deprecated in the definition in favor of `entry` and `exit`. diff --git a/.changeset/twelve-tables-tap.md b/.changeset/twelve-tables-tap.md deleted file mode 100644 index 1f1be63327..0000000000 --- a/.changeset/twelve-tables-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'xstate': patch ---- - -Fixed memory leak - `State` objects had been retained in closures. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 54adda342f..fa1a865885 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,17 @@ # xstate +## 4.8.0 + +### Minor Changes + +- [`55aa589`](https://github.com/davidkpiano/xstate/commit/55aa589648a9afbd153e8b8e74cbf2e0ebf573fb) [#960](https://github.com/davidkpiano/xstate/pull/960) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The machine can now be safely JSON-serialized, using `JSON.stringify(machine)`. The shape of this serialization is defined in `machine.schema.json` and reflected in `machine.definition`. + + Note that `onEntry` and `onExit` have been deprecated in the definition in favor of `entry` and `exit`. + +### Patch Changes + +- [`1ae31c1`](https://github.com/davidkpiano/xstate/commit/1ae31c17dc81fb63e699b4b9bf1cf4ead023001d) [#1023](https://github.com/davidkpiano/xstate/pull/1023) Thanks [@Andarist](https://github.com/Andarist)! - Fixed memory leak - `State` objects had been retained in closures. + ## 4.7.8 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 4a5f78283b..90d57d1ae5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "xstate", - "version": "4.7.8", + "version": "4.8.0", "description": "Finite State Machines and Statecharts for the Modern Web.", "main": "lib/index.js", "module": "es/index.js",