Skip to content

Commit

Permalink
Version Packages (#3668)
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 Dec 5, 2022
1 parent f951805 commit 3ee04b9
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 65 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-kids-happen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/large-snails-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mighty-phones-press.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-monkeys-relate.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/seven-ducks-look.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-kangaroos-battle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-mayflies-speak.md

This file was deleted.

34 changes: 34 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# xstate

## 4.35.0

### Minor Changes

- [#3607](https://github.com/statelyai/xstate/pull/3607) [`f95180510`](https://github.com/statelyai/xstate/commit/f951805103937205992f52ba7ae84a1b8d6b11c1) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `createModel(...)` function is now marked as deprecated, as it will be removed in XState version 5. It is recommended to use [Typegen](https://stately.ai/blog/introducing-typescript-typegen-for-xstate) instead.

### Patch Changes

- [#3677](https://github.com/statelyai/xstate/pull/3677) [`a2ecf97ca`](https://github.com/statelyai/xstate/commit/a2ecf97cab7587946e947146c8bc3138393a55bf) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with targeted ancestors not being correctly exited when reented during external transitions.

- [#3623](https://github.com/statelyai/xstate/pull/3623) [`163c25562`](https://github.com/statelyai/xstate/commit/163c25562db20b335540d1342a38a4a12343a299) Thanks [@arromeo](https://github.com/arromeo)! - Fixed an issue with external transitions targeting ancestor states. In such a case, `entry` actions were incorrectly called on the states between the source state and the target state for states that were not reentered within this transition.

- [#3677](https://github.com/statelyai/xstate/pull/3677) [`a2ecf97ca`](https://github.com/statelyai/xstate/commit/a2ecf97cab7587946e947146c8bc3138393a55bf) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with the _active_ descendants of the targeted ancestor not being correctly reentered during external transitions.

- [#3545](https://github.com/statelyai/xstate/pull/3545) [`b9995f0`](https://github.com/statelyai/xstate/commit/b9995f0844bbbff0c813fee020935dfd7562184b) Thanks [@with-heart](https://github.com/with-heart)! - Updated `pure` action types to allow action `type` strings to be returned in the array.

```ts
const machine = createMachine(
{
entry: ['doStuff']
},
{
actions: {
doStuff: pure(() => ['someAction']),
someAction: () => console.log('executed by doStuff')
}
}
);
```

Returning action `type` strings were already handled by `xstate` and the types now correctly reflect that.

- [#3666](https://github.com/statelyai/xstate/pull/3666) [`5e0808eb4`](https://github.com/statelyai/xstate/commit/5e0808eb440f77b8404db6676401849053cfcfd8) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The warning for the `predictableActionArguments` setting has been improved to only warn if it is absent. You can disable the warning by setting `predictableActionArguments: false`. It's still recommended to set it to `true` though.

## 4.34.0

### 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": "4.34.0",
"version": "4.35.0",
"description": "Finite State Machines and Statecharts for the Modern Web.",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"devDependencies": {
"jest": "^26.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"devDependencies": {
"jest": "^26.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-immer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {},
"peerDependencies": {
"immer": "^9.0.6",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"devDependencies": {
"immer": "^9.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-inspect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"peerDependenciesMeta": {
"@types/ws": {
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"peerDependencies": {
"@xstate/fsm": "^2.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
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 @@ -35,7 +35,7 @@
},
"dependencies": {
"xml-js": "^1.6.11",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"devDependencies": {
"@scion-scxml/test-framework": "^2.0.15",
Expand Down
6 changes: 6 additions & 0 deletions packages/xstate-svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @xstate/svelte

## 2.0.1

### Patch Changes

- [#3603](https://github.com/statelyai/xstate/pull/3603) [`44719c294`](https://github.com/statelyai/xstate/commit/44719c294d121e491eab19bf9dff19cf12225a1e) Thanks [@mittinatten](https://github.com/mittinatten)! - Improve performance of the `useSelector` by avoiding `get`

## 2.0.0

### Major Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/svelte",
"version": "2.0.0",
"version": "2.0.1",
"description": "XState tools for Svelte",
"keywords": [
"state",
Expand Down Expand Up @@ -47,7 +47,7 @@
"peerDependencies": {
"@xstate/fsm": "^2.0.0",
"svelte": "^3.24.1",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"devDependencies": {
"jest": "^26.6.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"peerDependencies": {
"@xstate/fsm": "^2.0.0",
"vue": "^3.0.0",
"xstate": "^4.34.0"
"xstate": "^4.35.0"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand Down

0 comments on commit 3ee04b9

Please sign in to comment.