Skip to content

Commit

Permalink
Version Packages (beta) (#4215)
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 Aug 30, 2023
1 parent 243d36f commit 26d566a
Show file tree
Hide file tree
Showing 12 changed files with 50 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"itchy-owls-swim",
"large-cooks-taste",
"late-mugs-film",
"lemon-cycles-cross",
"lemon-dancers-repeat",
"lemon-mails-smoke",
"lemon-pans-lay",
Expand All @@ -91,6 +92,7 @@
"orange-pillows-deny",
"perfect-ants-count",
"perfect-jokes-lie",
"pink-pandas-promise",
"plenty-countries-divide",
"plenty-dragons-lie",
"poor-badgers-explain",
Expand Down Expand Up @@ -139,6 +141,7 @@
"thin-ads-obey",
"thin-dryers-argue",
"tidy-pots-double",
"tricky-clouds-clap",
"tricky-spoons-lay",
"twelve-dingos-fold",
"twenty-fishes-fix",
Expand Down
28 changes: 28 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# xstate

## 5.0.0-beta.25

### Minor Changes

- [#4213](https://github.com/statelyai/xstate/pull/4213) [`243d36fa8`](https://github.com/statelyai/xstate/commit/243d36fa81444dedda41885b284b87433bdd3b80) Thanks [@Andarist](https://github.com/Andarist)! - You can now define strict tags for machines:

```ts
createMachine({
types: {} as {
tags: 'pending' | 'success' | 'error';
}
// ...
});
```

- [#4209](https://github.com/statelyai/xstate/pull/4209) [`e658a37f4`](https://github.com/statelyai/xstate/commit/e658a37f49f2e30309ca34761e3bd82bf9c89cfd) Thanks [@Andarist](https://github.com/Andarist)! - Allow the `TGuard` type to flow into actions. Thanks to that `choose` can benefit from strongly-typed guards.

- [#4182](https://github.com/statelyai/xstate/pull/4182) [`d34f8b102`](https://github.com/statelyai/xstate/commit/d34f8b1024dbdfa98c86c57f461cc2fceba08d39) Thanks [@davidkpiano](https://github.com/davidkpiano)! - You can now specify delay types for machines:

```ts
createMachine({
types: {} as {
delays: 'one second' | 'one minute';
}
// ...
});
```

## 5.0.0-beta.24

### Minor 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.24",
"version": "5.0.0-beta.25",
"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.24"
"xstate": "^5.0.0-beta.25"
},
"devDependencies": {
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
},
"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.24"
"xstate": "^5.0.0-beta.25"
},
"devDependencies": {
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
},
"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.24"
"xstate": "^5.0.0-beta.25"
},
"devDependencies": {
"immer": "^10.0.2",
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
}
}
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.24"
"xstate": "5.0.0-beta.25"
},
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^5.0.0-beta.24"
"xstate": "^5.0.0-beta.25"
},
"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 @@ -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.24"
"xstate": "^5.0.0-beta.25"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -96,7 +96,7 @@
"jsdom-global": "^3.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
},
"preconstruct": {
"entrypoints": [
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"peerDependencies": {
"@xstate/fsm": "^3.0.0-beta.3",
"solid-js": "^1.6.0",
"xstate": "^5.0.0-beta.24"
"xstate": "^5.0.0-beta.25"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -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.24"
"xstate": "5.0.0-beta.25"
},
"preconstruct": {
"entrypoints": [
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"peerDependencies": {
"@xstate/fsm": "^3.0.0-beta.3",
"svelte": "^3.24.1 || ^4",
"xstate": "^5.0.0-beta.24"
"xstate": "^5.0.0-beta.25"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -75,7 +75,7 @@
"svelte-check": "^3.2.0",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^5.0.0",
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
},
"preconstruct": {
"entrypoints": [
Expand Down
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.24"
"xstate": "^5.0.0-beta.25"
},
"devDependencies": {
"strip-ansi": "^5.2.0",
"xstate": "5.0.0-beta.24"
"xstate": "5.0.0-beta.25"
},
"dependencies": {
"@xstate/graph": "^2.0.0-alpha.1"
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 @@ -54,7 +54,7 @@
"peerDependencies": {
"@xstate/fsm": "^3.0.0-beta.3",
"vue": "^3.0.0",
"xstate": "^5.0.0-beta.24"
"xstate": "^5.0.0-beta.25"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -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.24"
"xstate": "5.0.0-beta.25"
},
"preconstruct": {
"entrypoints": [
Expand Down

0 comments on commit 26d566a

Please sign in to comment.