Skip to content

Commit

Permalink
Merge pull request #2441 from statelyai/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
davidkpiano authored Jul 24, 2021
2 parents c897800 + 728879b commit 0d6bd74
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .changeset/warm-spies-cry.md

This file was deleted.

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

## 4.23.1

### Patch Changes

- [`141c91cf`](https://github.com/statelyai/xstate/commit/141c91cffd1d7c1ec2e82186834cb977b72fb4d4) [#2436](https://github.com/statelyai/xstate/pull/2436) Thanks [@Andarist](https://github.com/Andarist)! - Fixed an issue where, when using `model.createMachine`, state's context was incorrectly inferred as `any` after refinement with `.matches(...)`, e.g.

```ts
// `state.context` became `any` erroneously
if (state.matches('inactive')) {
console.log(state.context.count);
}
```

## 4.23.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.23.0",
"version": "4.23.1",
"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-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.23.0"
"xstate": "^4.23.1"
},
"devDependencies": {
"@scion-scxml/test-framework": "^2.0.15",
Expand Down

0 comments on commit 0d6bd74

Please sign in to comment.