From 6feac8b848b70b8ef814a8f3b3ec09c7c442b892 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 07:46:51 -0400 Subject: [PATCH] Version Packages (beta) (#4178) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 1 + packages/core/CHANGELOG.md | 14 ++++++++++++++ packages/core/package.json | 2 +- packages/xstate-analytics/package.json | 4 ++-- packages/xstate-graph/package.json | 4 ++-- packages/xstate-immer/package.json | 4 ++-- packages/xstate-inspect/package.json | 4 ++-- packages/xstate-react/package.json | 4 ++-- packages/xstate-scxml/package.json | 2 +- packages/xstate-solid/package.json | 4 ++-- packages/xstate-svelte/package.json | 4 ++-- packages/xstate-test/package.json | 4 ++-- packages/xstate-vue/package.json | 4 ++-- 13 files changed, 35 insertions(+), 20 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 9e834899e9..5aed50b712 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -130,6 +130,7 @@ "tall-nails-drive", "tame-lemons-rescue", "tasty-terms-remain", + "ten-singers-rhyme", "tender-cups-obey", "thin-ads-obey", "thin-dryers-argue", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 55b3d5e474..2e89ecd9a1 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,19 @@ # xstate +## 5.0.0-beta.22 + +### Major Changes + +- [#4176](https://github.com/statelyai/xstate/pull/4176) [`2e176b0b9`](https://github.com/statelyai/xstate/commit/2e176b0b95eefddb7231f7dd40c18e3022ec9706) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `interpret(...)` function has been deprecated and renamed to `createActor(...)`: + + ```diff + -import { interpret } from 'xstate'; + +import { createActor } from 'xstate'; + + -const actor = interpret(machine); + +const actor = createActor(machine); + ``` + ## 5.0.0-beta.21 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index c5f4ef42b6..61a22a8bfe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "xstate", - "version": "5.0.0-beta.21", + "version": "5.0.0-beta.22", "description": "Finite State Machines and Statecharts for the Modern Web.", "main": "dist/xstate.cjs.js", "module": "dist/xstate.esm.js", diff --git a/packages/xstate-analytics/package.json b/packages/xstate-analytics/package.json index 9d84ec5b04..2da4440bd1 100644 --- a/packages/xstate-analytics/package.json +++ b/packages/xstate-analytics/package.json @@ -41,10 +41,10 @@ "url": "https://github.com/statelyai/xstate/issues" }, "peerDependencies": { - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "devDependencies": { - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "dependencies": {} } diff --git a/packages/xstate-graph/package.json b/packages/xstate-graph/package.json index a61a1f131c..4397034431 100644 --- a/packages/xstate-graph/package.json +++ b/packages/xstate-graph/package.json @@ -40,10 +40,10 @@ "url": "https://github.com/statelyai/xstate/issues" }, "peerDependencies": { - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "devDependencies": { - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "dependencies": {} } diff --git a/packages/xstate-immer/package.json b/packages/xstate-immer/package.json index b12d409ff7..df441fdbb5 100644 --- a/packages/xstate-immer/package.json +++ b/packages/xstate-immer/package.json @@ -41,10 +41,10 @@ "dependencies": {}, "peerDependencies": { "immer": "^9.0.6 || ^10", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "devDependencies": { "immer": "^10.0.2", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" } } diff --git a/packages/xstate-inspect/package.json b/packages/xstate-inspect/package.json index 7ffabe7a3c..a68f4c9f9a 100644 --- a/packages/xstate-inspect/package.json +++ b/packages/xstate-inspect/package.json @@ -53,12 +53,12 @@ "devDependencies": { "@types/ws": "^8.2.2", "ws": "^8.4.0", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "peerDependencies": { "@types/ws": "^8.0.0", "ws": "^8.0.0", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "peerDependenciesMeta": { "@types/ws": { diff --git a/packages/xstate-react/package.json b/packages/xstate-react/package.json index 7dbb2fdb9f..6fd93b614d 100644 --- a/packages/xstate-react/package.json +++ b/packages/xstate-react/package.json @@ -71,7 +71,7 @@ "peerDependencies": { "@xstate/fsm": "^3.0.0-beta.3", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "peerDependenciesMeta": { "@xstate/fsm": { @@ -96,7 +96,7 @@ "jsdom-global": "^3.0.2", "react": "^18.0.0", "react-dom": "^18.0.0", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "preconstruct": { "entrypoints": [ diff --git a/packages/xstate-scxml/package.json b/packages/xstate-scxml/package.json index bd8101c8b8..e4b97885fc 100644 --- a/packages/xstate-scxml/package.json +++ b/packages/xstate-scxml/package.json @@ -41,7 +41,7 @@ }, "dependencies": { "xml-js": "^1.6.11", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "devDependencies": { "@scion-scxml/test-framework": "^2.0.15" diff --git a/packages/xstate-solid/package.json b/packages/xstate-solid/package.json index 0a04e10bca..97ea2d0b6b 100644 --- a/packages/xstate-solid/package.json +++ b/packages/xstate-solid/package.json @@ -60,7 +60,7 @@ "peerDependencies": { "@xstate/fsm": "^3.0.0-beta.3", "solid-js": "^1.6.0", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "peerDependenciesMeta": { "@xstate/fsm": { @@ -74,7 +74,7 @@ "@xstate/fsm": "3.0.0-beta.3", "solid-js": "^1.7.6", "solid-testing-library": "^0.3.0", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "preconstruct": { "entrypoints": [ diff --git a/packages/xstate-svelte/package.json b/packages/xstate-svelte/package.json index 5d04ecd4f7..831ad98d9a 100644 --- a/packages/xstate-svelte/package.json +++ b/packages/xstate-svelte/package.json @@ -56,7 +56,7 @@ "peerDependencies": { "@xstate/fsm": "^3.0.0-beta.3", "svelte": "^3.24.1 || ^4", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "peerDependenciesMeta": { "@xstate/fsm": { @@ -75,7 +75,7 @@ "svelte-check": "^3.2.0", "svelte-jester": "^2.3.2", "svelte-preprocess": "^5.0.0", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "preconstruct": { "entrypoints": [ diff --git a/packages/xstate-test/package.json b/packages/xstate-test/package.json index c7a6e8cca9..d525180075 100644 --- a/packages/xstate-test/package.json +++ b/packages/xstate-test/package.json @@ -46,11 +46,11 @@ "url": "https://github.com/statelyai/xstate/issues" }, "peerDependencies": { - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "devDependencies": { "strip-ansi": "^5.2.0", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "dependencies": { "@xstate/graph": "^2.0.0-alpha.1" diff --git a/packages/xstate-vue/package.json b/packages/xstate-vue/package.json index c8d12b5a11..7493b1168e 100644 --- a/packages/xstate-vue/package.json +++ b/packages/xstate-vue/package.json @@ -54,7 +54,7 @@ "peerDependencies": { "@xstate/fsm": "^3.0.0-beta.3", "vue": "^3.0.0", - "xstate": "^5.0.0-beta.21" + "xstate": "^5.0.0-beta.22" }, "peerDependenciesMeta": { "@xstate/fsm": { @@ -70,7 +70,7 @@ "@vue/compiler-sfc": "^3.0.11", "@xstate/fsm": "3.0.0-beta.3", "vue": "^3.0.11", - "xstate": "5.0.0-beta.21" + "xstate": "5.0.0-beta.22" }, "preconstruct": { "entrypoints": [