Skip to content

Commit

Permalink
Version Packages (#3132)
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 Mar 11, 2022
1 parent 155539c commit 2ac0f68
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 68 deletions.
5 changes: 0 additions & 5 deletions .changeset/friendly-boxes-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/giant-suns-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-trees-occur.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-bulldogs-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-snakes-remember.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/tasty-bananas-clean.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-singers-lick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-singers-suck.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-timers-cheat.md

This file was deleted.

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

## 4.30.6

### Patch Changes

- [#3131](https://github.com/statelyai/xstate/pull/3131) [`d9a0bcfc9`](https://github.com/statelyai/xstate/commit/d9a0bcfc9be03e49726d6dc4a6bbce25239913a1) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with event type being inferred from too many places within `createMachine` call and possibly ending up as `any`/`AnyEventObject` for the entire machine.

* [#3133](https://github.com/statelyai/xstate/pull/3133) [`4feef9d47`](https://github.com/statelyai/xstate/commit/4feef9d47f81d1b28f2f898431eb4bd1c42d8368) Thanks [@fw6](https://github.com/fw6)! - Fixed compatibility with esoteric [Mini Program](https://developers.weixin.qq.com/miniprogram/en/dev/framework/app-service/) environment where `global` object was available but `global.console` wasn't.

- [#3140](https://github.com/statelyai/xstate/pull/3140) [`502ffe91a`](https://github.com/statelyai/xstate/commit/502ffe91a19579f5f747b76ce29d50de81e8b15c) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue with interpreters started using a persisted state not being "resolved" in full. This could cause some things, such as `after` transitions, not being executed correctly after starting an interpreter like this.

* [#3147](https://github.com/statelyai/xstate/pull/3147) [`155539c85`](https://github.com/statelyai/xstate/commit/155539c8597b2f2783e8419c782922545d7e6424) Thanks [@Andarist](https://github.com/Andarist)! - Fixed a TS inference issue causing some functions to infer the constraint type for the event type even though a `StateMachine` passed to the function was parametrized with a concrete type for the event. More information can be found [here](https://github.com/statelyai/xstate/issues/3141#issuecomment-1063995705).

- [#3146](https://github.com/statelyai/xstate/pull/3146) [`4cf89b5f9`](https://github.com/statelyai/xstate/commit/4cf89b5f9cf645f741164d23e3bc35dd7c5706f6) Thanks [@Andarist](https://github.com/Andarist)! - Fixed compatibility of `Interpreter` with older versions of TypeScript. This ensures that our interpreters can correctly be consumed by functions expecting `ActorRef` interface (like for example `useSelector`).

* [#3139](https://github.com/statelyai/xstate/pull/3139) [`7b45fda9e`](https://github.com/statelyai/xstate/commit/7b45fda9e1bd544b505c86ddcd6cf1f949007fef) Thanks [@Andarist](https://github.com/Andarist)! - `InterpreterFrom` and `ActorRefFrom` types used on machines with typegen data should now correctly return types with final/resolved typegen data. The "final" type here means a type that already encodes the information that all required implementations have been provided. Before this change this wouldn't typecheck correctly:

```ts
const machine = createMachine({
// this encodes that we still expect `myAction` to be provided
tsTypes: {} as Typegen0
});
const service: InterpreterFrom<typeof machine> = machine.withConfig({
actions: {
myAction: () => {}
}
});
```

- [#3097](https://github.com/statelyai/xstate/pull/3097) [`c881c8ca9`](https://github.com/statelyai/xstate/commit/c881c8ca9baaf4928064a04d7034cd775a702bc2) Thanks [@davidkpiano](https://github.com/davidkpiano)! - State that is persisted and restored from `machine.resolveState(state)` will now have the correct `state.machine` value, so that `state.can(...)` and other methods will work as expected. See [#3096](https://github.com/statelyai/xstate/issues/3096) for more details.

## 4.30.5

### 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": "4.30.5",
"version": "4.30.6",
"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.30.5"
"xstate": "^4.30.6"
},
"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.30.5"
"xstate": "^4.30.6"
},
"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.30.5"
"xstate": "^4.30.6"
},
"devDependencies": {
"immer": "^9.0.6",
Expand Down
8 changes: 8 additions & 0 deletions packages/xstate-inspect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @xstate/inspect

## 0.6.4

### Patch Changes

- [#3144](https://github.com/statelyai/xstate/pull/3144) [`e08030faf`](https://github.com/statelyai/xstate/commit/e08030faf00e2bcb192040b6ba04178ecf057509) Thanks [@lecepin](https://github.com/lecepin)! - Added UMD build for this package that is available in the `dist` directory in the published package.

* [#3144](https://github.com/statelyai/xstate/pull/3144) [`e08030faf`](https://github.com/statelyai/xstate/commit/e08030faf00e2bcb192040b6ba04178ecf057509) Thanks [@lecepin](https://github.com/lecepin)! - Added proper `peerDependency` on XState. It was incorrectly omitted from the `package.json` of this package.

## 0.6.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/xstate-inspect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xstate/inspect",
"version": "0.6.3",
"version": "0.6.4",
"description": "XState inspection utilities",
"keywords": [
"state",
Expand Down Expand Up @@ -53,7 +53,7 @@
"peerDependencies": {
"@types/ws": "^8.0.0",
"ws": "^8.0.0",
"xstate": "^4.30.5"
"xstate": "^4.30.6"
},
"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": "^1.6.5",
"react": "^16.8.0 || ^17.0.0",
"xstate": "^4.30.5"
"xstate": "^4.30.6"
},
"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.30.5"
"xstate": "^4.30.6"
},
"devDependencies": {
"@scion-scxml/test-framework": "^2.0.15",
Expand Down
2 changes: 1 addition & 1 deletion packages/xstate-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"peerDependencies": {
"@xstate/fsm": "^1.6.5",
"svelte": "^3.24.1",
"xstate": "^4.30.5"
"xstate": "^4.30.6"
},
"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 @@ -44,7 +44,7 @@
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"xstate": "^4.30.5"
"xstate": "^4.30.6"
},
"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": "^1.6.5",
"vue": "^3.0.0",
"xstate": "^4.30.5"
"xstate": "^4.30.6"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
Expand Down

0 comments on commit 2ac0f68

Please sign in to comment.