Skip to content

Commit

Permalink
Version Packages (#4840)
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] committed Apr 9, 2024
1 parent f7f1fbb commit 0ce95c2
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 51 deletions.
34 changes: 0 additions & 34 deletions .changeset/curly-papayas-travel.md

This file was deleted.

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

## 5.10.0

### Minor Changes

- [#4822](https://github.com/statelyai/xstate/pull/4822) [`f7f1fbbf3`](https://github.com/statelyai/xstate/commit/f7f1fbbf3d56af9fcffe6ef9a37ab5953a90ca72) Thanks [@davidkpiano](https://github.com/davidkpiano)! - The `clock` and `logger` specified in the `options` object of `createActor(logic, options)` will now propagate to all actors created within the same actor system.

```ts
import { setup, log, createActor } from 'xstate';

const childMachine = setup({
// ...
}).createMachine({
// ...
// Uses custom logger from root actor
entry: log('something')
});

const parentMachine = setup({
// ...
}).createMachine({
// ...
invoke: {
src: childMachine
}
});

const actor = createActor(parentMachine, {
logger: (...args) => {
// custom logger for args
}
});

actor.start();
```

## 5.9.1

### 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.9.1",
"version": "5.10.0",
"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-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.9.1"
"xstate": "^5.10.0"
},
"devDependencies": {
"xstate": "5.9.1"
"xstate": "5.10.0"
},
"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.9.1"
"xstate": "^5.10.0"
},
"devDependencies": {
"immer": "^10.0.2",
"xstate": "5.9.1"
"xstate": "5.10.0"
}
}
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.9.1"
"xstate": "5.10.0"
},
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^5.9.1"
"xstate": "^5.10.0"
},
"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.9.1"
"xstate": "^5.10.0"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -76,6 +76,6 @@
"jsdom-global": "^3.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"xstate": "5.9.1"
"xstate": "5.10.0"
}
}
4 changes: 2 additions & 2 deletions packages/xstate-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"peerDependencies": {
"solid-js": "^1.6.0",
"xstate": "^5.9.1"
"xstate": "^5.10.0"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -53,6 +53,6 @@
"devDependencies": {
"solid-js": "^1.7.6",
"solid-testing-library": "^0.3.0",
"xstate": "5.9.1"
"xstate": "5.10.0"
}
}
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.9.1"
"xstate": "^5.10.0"
},
"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.9.1"
"xstate": "5.10.0"
}
}
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.9.1"
"xstate": "^5.10.0"
},
"devDependencies": {
"strip-ansi": "^5.2.0",
"xstate": "5.9.1"
"xstate": "5.10.0"
},
"dependencies": {
"@xstate/graph": "2.0.0-beta.6"
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": {
"vue": "^3.0.0",
"xstate": "^5.9.1"
"xstate": "^5.10.0"
},
"peerDependenciesMeta": {
"xstate": {
Expand All @@ -66,6 +66,6 @@
"@testing-library/vue": "^6.6.1",
"@vue/compiler-sfc": "^3.0.11",
"vue": "^3.0.11",
"xstate": "5.9.1"
"xstate": "5.10.0"
}
}

0 comments on commit 0ce95c2

Please sign in to comment.