Skip to content

Commit

Permalink
Version Packages (beta) (#4446)
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 Nov 10, 2023
1 parent d6e41a9 commit 689190c
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 19 deletions.
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"chilled-crews-matter",
"chilly-timers-kiss",
"clean-pens-buy",
"clean-turkeys-cough",
"clever-jars-fly",
"cold-steaks-drop",
"cool-grapes-suffer",
Expand All @@ -55,6 +56,7 @@
"fast-rockets-share",
"fast-tables-design",
"few-lamps-yawn",
"few-monkeys-build",
"fifty-dingos-appear",
"five-mirrors-join",
"five-queens-behave",
Expand Down Expand Up @@ -132,6 +134,7 @@
"plenty-countries-divide",
"plenty-dragons-lie",
"polite-experts-wash",
"polite-pens-lie",
"poor-badgers-explain",
"poor-bottles-sort",
"popular-chefs-camp",
Expand Down Expand Up @@ -183,6 +186,7 @@
"tall-nails-drive",
"tame-lemons-rescue",
"tasty-terms-remain",
"ten-lies-repair",
"ten-singers-rhyme",
"tender-cups-obey",
"thin-ads-obey",
Expand Down
14 changes: 14 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# xstate

## 5.0.0-beta.42

### Major Changes

- [#4438](https://github.com/statelyai/xstate/pull/4438) [`7bbf41d7d`](https://github.com/statelyai/xstate/commit/7bbf41d7d17257d2b2a2675494f68cbae8dc19fd) Thanks [@Andarist](https://github.com/Andarist)! - Removed `State#toStrings` method.

- [#4443](https://github.com/statelyai/xstate/pull/4443) [`18862e53c`](https://github.com/statelyai/xstate/commit/18862e53cc24c38db6e21f5aecac501942db1d9d) Thanks [@Andarist](https://github.com/Andarist)! - `State` class has been removed and replaced by `MachineSnapshot` object. They largely have the same properties and methods. On of the main noticeable results of this change is that you can no longer check `state instanceof State`.

- [#4444](https://github.com/statelyai/xstate/pull/4444) [`d6e41a923`](https://github.com/statelyai/xstate/commit/d6e41a923bfaa9e39fdd60d4bbee661bd048dfaf) Thanks [@Andarist](https://github.com/Andarist)! - Removed `mapState` utility function.

### Minor Changes

- [#4440](https://github.com/statelyai/xstate/pull/4440) [`10d95393a`](https://github.com/statelyai/xstate/commit/10d95393a3bfdfab31a9670ae56751e7557a4a17) Thanks [@Andarist](https://github.com/Andarist)! - `State.from`, `StateMachine#createState` and `StateMachine#resolveStateValue` were removed. They largely served the same purpose as `StateMachine#resolveState` and this is the method that is still available and can be used instead of them.

## 5.0.0-beta.41

### Major 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": "5.0.0-beta.41",
"version": "5.0.0-beta.42",
"description": "Finite State Machines and Statecharts for the Modern Web.",
"main": "dist/xstate.cjs.js",
"module": "dist/xstate.esm.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"devDependencies": {
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
},
"dependencies": {}
}
4 changes: 2 additions & 2 deletions packages/xstate-graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"devDependencies": {
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
},
"dependencies": {}
}
4 changes: 2 additions & 2 deletions packages/xstate-immer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"dependencies": {},
"peerDependencies": {
"immer": "^9.0.6 || ^10",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"devDependencies": {
"immer": "^10.0.2",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
}
}
4 changes: 2 additions & 2 deletions packages/xstate-inspect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
"devDependencies": {
"@types/ws": "^8.2.2",
"ws": "^8.4.0",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
},
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"peerDependenciesMeta": {
"@types/ws": {
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -76,6 +76,6 @@
"jsdom-global": "^3.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
}
}
4 changes: 2 additions & 2 deletions packages/xstate-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"peerDependencies": {
"solid-js": "^1.6.0",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -59,6 +59,6 @@
"devDependencies": {
"solid-js": "^1.7.6",
"solid-testing-library": "^0.3.0",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
}
}
4 changes: 2 additions & 2 deletions packages/xstate-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"peerDependencies": {
"svelte": "^3.24.1 || ^4",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -60,6 +60,6 @@
"svelte-check": "^3.2.0",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^5.0.0",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
}
}
4 changes: 2 additions & 2 deletions packages/xstate-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"devDependencies": {
"strip-ansi": "^5.2.0",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
},
"dependencies": {
"@xstate/graph": "2.0.0-beta.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"peerDependencies": {
"vue": "^3.0.0",
"xstate": "^5.0.0-beta.41"
"xstate": "^5.0.0-beta.42"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -55,6 +55,6 @@
"@testing-library/vue": "^6.6.1",
"@vue/compiler-sfc": "^3.0.11",
"vue": "^3.0.11",
"xstate": "5.0.0-beta.41"
"xstate": "5.0.0-beta.42"
}
}

0 comments on commit 689190c

Please sign in to comment.