Skip to content

Commit

Permalink
Version Packages (beta) (#4051)
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 Jun 13, 2023
1 parent e1f633a commit 69dc9c1
Show file tree
Hide file tree
Showing 15 changed files with 75 additions and 23 deletions.
10 changes: 9 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@
"good-comics-collect",
"great-kangaroos-confess",
"green-brooms-laugh",
"happy-kings-destroy",
"heavy-apes-tie",
"heavy-jeans-arrive",
"heavy-ties-search",
"hip-melons-clean",
"hip-ways-rush",
"hot-zoos-destroy",
"hungry-rice-dream",
"itchy-owls-swim",
"large-cooks-taste",
"lemon-dancers-repeat",
"lemon-mails-smoke",
Expand All @@ -67,7 +69,9 @@
"metal-ties-prove",
"modern-ducks-agree",
"nervous-bananas-cover",
"new-gorillas-visit",
"odd-pigs-brush",
"odd-zoos-heal",
"olive-geese-punch",
"olive-zebras-tap",
"orange-gorillas-share",
Expand All @@ -76,6 +80,7 @@
"plenty-countries-divide",
"plenty-dragons-lie",
"poor-badgers-explain",
"poor-bottles-sort",
"popular-months-confess",
"pretty-beans-pretend",
"proud-glasses-develop",
Expand All @@ -100,10 +105,12 @@
"slow-apples-dance",
"slow-carrots-confess",
"slow-lizards-sleep",
"slow-peas-repair",
"small-papayas-wait",
"smart-laws-perform",
"smooth-rocks-hang",
"soft-jeans-join",
"stale-chairs-rush",
"strange-mirrors-leave",
"tall-nails-drive",
"tasty-terms-remain",
Expand All @@ -115,6 +122,7 @@
"twenty-fishes-fix",
"wise-wombats-invite",
"witty-hounds-invent",
"young-chefs-prove"
"young-chefs-prove",
"young-laws-hope"
]
}
32 changes: 32 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# xstate

## 5.0.0-beta.14

### Major Changes

- [#4018](https://github.com/statelyai/xstate/pull/4018) [`c59bb6a72`](https://github.com/statelyai/xstate/commit/c59bb6a7231c8adff552e76fc1ca4af5b36de927) Thanks [@Andarist](https://github.com/Andarist)! - `machine.initialState` has been removed, you can use `machine.getInitialState(...)` instead

- [#4018](https://github.com/statelyai/xstate/pull/4018) [`c59bb6a72`](https://github.com/statelyai/xstate/commit/c59bb6a7231c8adff552e76fc1ca4af5b36de927) Thanks [@Andarist](https://github.com/Andarist)! - `machine.transition(...)` and `machine.getInitialState(...)` require now an `actorContext` argument

- [#4063](https://github.com/statelyai/xstate/pull/4063) [`e1f633ac9`](https://github.com/statelyai/xstate/commit/e1f633ac9f9998f5f2f07382eecd7defd6f6eba5) Thanks [@Andarist](https://github.com/Andarist)! - Removed `State['transitions']`.

- [#4018](https://github.com/statelyai/xstate/pull/4018) [`c59bb6a72`](https://github.com/statelyai/xstate/commit/c59bb6a7231c8adff552e76fc1ca4af5b36de927) Thanks [@Andarist](https://github.com/Andarist)! - `machine.transition` no longer accepts state values. You have to resolve the state value to a `State` before passing it to `machine.transition`

- [#4041](https://github.com/statelyai/xstate/pull/4041) [`50fe8cdd4`](https://github.com/statelyai/xstate/commit/50fe8cdd4114e77c104520f9c89d471cf2173dfb) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Instances of "behavior" in the codebase have been replaced with "actor logic".

- [#4055](https://github.com/statelyai/xstate/pull/4055) [`eb7c8b387`](https://github.com/statelyai/xstate/commit/eb7c8b387930644bffadb2fa2fb8546aee09eb88) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `system` can now be accessed in all available actor logic creator functions:

```ts
fromPromise(({ system }) => { ... });

fromTransition((state, event, { system }) => { ... });

fromObservable(({ system }) => { ... });

fromEventObservable(({ system }) => { ... });

fromCallback((sendBack, receive, { system }) => { ... });
```

- [#4062](https://github.com/statelyai/xstate/pull/4062) [`28603a07f`](https://github.com/statelyai/xstate/commit/28603a07ff8d8d8550927bebf5a0a0a9870bf172) Thanks [@Andarist](https://github.com/Andarist)! - Removed `State['event']`.

- [#4059](https://github.com/statelyai/xstate/pull/4059) [`bbea3bc4d`](https://github.com/statelyai/xstate/commit/bbea3bc4d39c36b642d15fe4116635d592a2c5a9) Thanks [@Andarist](https://github.com/Andarist)! - Removed `State['actions']`. Actions are considered to be a side-effect of a transition, things that happen in the moment and are not meant to be persisted beyond that.

## 5.0.0-beta.13

### Patch 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.13",
"version": "5.0.0-beta.14",
"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.13"
"xstate": "^5.0.0-beta.14"
},
"devDependencies": {
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
},
"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.13"
"xstate": "^5.0.0-beta.14"
},
"devDependencies": {
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
},
"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",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"devDependencies": {
"immer": "^9.0.6",
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
}
}
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.13"
"xstate": "5.0.0-beta.14"
},
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"peerDependenciesMeta": {
"@types/ws": {
Expand Down
6 changes: 6 additions & 0 deletions packages/xstate-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 4.0.0-beta.6

### Major Changes

- [#4041](https://github.com/statelyai/xstate/pull/4041) [`50fe8cdd4`](https://github.com/statelyai/xstate/commit/50fe8cdd4114e77c104520f9c89d471cf2173dfb) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Instances of "behavior" in the codebase have been replaced with "actor logic".

## 4.0.0-beta.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/xstate-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/react",
"version": "4.0.0-beta.5",
"version": "4.0.0-beta.6",
"description": "XState tools for React",
"keywords": [
"state",
Expand Down Expand Up @@ -71,7 +71,7 @@
"peerDependencies": {
"@xstate/fsm": "^3.0.0-beta.2",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"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.13"
"xstate": "5.0.0-beta.14"
},
"preconstruct": {
"entrypoints": [
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-scxml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"dependencies": {
"xml-js": "^1.6.11",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"devDependencies": {
"@scion-scxml/test-framework": "^2.0.15"
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.2",
"solid-js": "^1.6.0",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -74,7 +74,7 @@
"@xstate/fsm": "3.0.0-beta.2",
"solid-js": "^1.6.0",
"solid-testing-library": "^0.3.0",
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
},
"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.2",
"svelte": "^3.55.1",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"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.13"
"xstate": "5.0.0-beta.14"
},
"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.13"
"xstate": "^5.0.0-beta.14"
},
"devDependencies": {
"strip-ansi": "^5.2.0",
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
},
"dependencies": {
"@xstate/graph": "^2.0.0-alpha.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/xstate-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @xstate/vue

## 3.0.0-beta.3

### Major Changes

- [#4041](https://github.com/statelyai/xstate/pull/4041) [`50fe8cdd4`](https://github.com/statelyai/xstate/commit/50fe8cdd4114e77c104520f9c89d471cf2173dfb) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Instances of "behavior" in the codebase have been replaced with "actor logic".

## 3.0.0-beta.2

## 3.0.0-alpha.1
Expand Down
6 changes: 3 additions & 3 deletions packages/xstate-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/vue",
"version": "3.0.0-beta.2",
"version": "3.0.0-beta.3",
"description": "XState tools for Vue",
"keywords": [
"state",
Expand Down Expand Up @@ -54,7 +54,7 @@
"peerDependencies": {
"@xstate/fsm": "^3.0.0-beta.2",
"vue": "^3.0.0",
"xstate": "^5.0.0-beta.13"
"xstate": "^5.0.0-beta.14"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand All @@ -70,7 +70,7 @@
"@vue/compiler-sfc": "^3.0.11",
"@xstate/fsm": "3.0.0-beta.2",
"vue": "^3.0.11",
"xstate": "5.0.0-beta.13"
"xstate": "5.0.0-beta.14"
},
"preconstruct": {
"entrypoints": [
Expand Down

0 comments on commit 69dc9c1

Please sign in to comment.