Skip to content

Commit

Permalink
Version Packages (beta) (#4373)
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 Oct 20, 2023
1 parent 8b3f664 commit 26542fc
Show file tree
Hide file tree
Showing 12 changed files with 39 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 @@ -126,6 +126,7 @@
"popular-guests-kneel",
"popular-months-confess",
"pretty-beans-pretend",
"proud-apricots-double",
"proud-glasses-develop",
"purple-buses-hug",
"quick-lizards-burn",
Expand All @@ -134,6 +135,7 @@
"rare-phones-whisper",
"rare-snakes-protect",
"red-berries-occur",
"rich-ladybugs-love",
"rotten-rivers-wonder",
"rotten-schools-march",
"rotten-wombats-pump",
Expand Down Expand Up @@ -175,6 +177,8 @@
"tricky-spoons-lay",
"twelve-dingos-fold",
"twenty-fishes-fix",
"twenty-hornets-push",
"wild-apes-play",
"wise-eggs-train",
"wise-wombats-invite",
"witty-hounds-invent",
Expand Down
16 changes: 16 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# xstate

## 5.0.0-beta.36

### Major Changes

- [#4372](https://github.com/statelyai/xstate/pull/4372) [`c19e6fb1e`](https://github.com/statelyai/xstate/commit/c19e6fb1e32ee84644d0029af0ac439b6137dd06) Thanks [@Andarist](https://github.com/Andarist)! - Removed `State['_internalQueue']`.

- [#4371](https://github.com/statelyai/xstate/pull/4371) [`8b3f6647c`](https://github.com/statelyai/xstate/commit/8b3f6647c70c7bf98c76284bf41c6fbad8e1a63d) Thanks [@Andarist](https://github.com/Andarist)! - Changed behavior of `always` transitions. Previously they were always selected after selecting any transition (including the `always` transitions). Because of that it was relatively easy to create an infinite loop using them.

Now they are no longer selected if the preceeding transition doesn't change the state of a machine.

- [#4377](https://github.com/statelyai/xstate/pull/4377) [`14cb2ed0c`](https://github.com/statelyai/xstate/commit/14cb2ed0c211b199b7bb119686df800f729677d5) Thanks [@Andarist](https://github.com/Andarist)! - `exit` actions of all states are no longer called when the machine gets stopped externally. Note that they are still called when the machine reaches its final state.

### Patch Changes

- [#4376](https://github.com/statelyai/xstate/pull/4376) [`078eaaddd`](https://github.com/statelyai/xstate/commit/078eaaddd5eb6a9258ad6adfad6e3778e7f74f96) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with exit actions being called twice when machine reached its final state.

## 5.0.0-beta.35

### 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.35",
"version": "5.0.0-beta.36",
"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.35"
"xstate": "^5.0.0-beta.36"
},
"devDependencies": {
"xstate": "5.0.0-beta.35"
"xstate": "5.0.0-beta.36"
},
"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.35"
"xstate": "^5.0.0-beta.36"
},
"devDependencies": {
"xstate": "5.0.0-beta.35"
"xstate": "5.0.0-beta.36"
},
"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.35"
"xstate": "^5.0.0-beta.36"
},
"devDependencies": {
"immer": "^10.0.2",
"xstate": "5.0.0-beta.35"
"xstate": "5.0.0-beta.36"
}
}
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.35"
"xstate": "5.0.0-beta.36"
},
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^5.0.0-beta.35"
"xstate": "^5.0.0-beta.36"
},
"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.35"
"xstate": "^5.0.0-beta.36"
},
"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.35"
"xstate": "5.0.0-beta.36"
}
}
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.35"
"xstate": "^5.0.0-beta.36"
},
"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.35"
"xstate": "5.0.0-beta.36"
}
}
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.35"
"xstate": "^5.0.0-beta.36"
},
"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.35"
"xstate": "5.0.0-beta.36"
}
}
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.35"
"xstate": "^5.0.0-beta.36"
},
"devDependencies": {
"strip-ansi": "^5.2.0",
"xstate": "5.0.0-beta.35"
"xstate": "5.0.0-beta.36"
},
"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.35"
"xstate": "^5.0.0-beta.36"
},
"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.35"
"xstate": "5.0.0-beta.36"
}
}

0 comments on commit 26542fc

Please sign in to comment.