Skip to content

Commit 4cd08d1

Browse files
[ci] release (#261)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7edc985 commit 4cd08d1

7 files changed

Lines changed: 36 additions & 32 deletions

File tree

.changeset/curvy-vans-cheat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nine-balloons-join.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.changeset/violet-cameras-lick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# robot3
22

3+
## 1.3.0
4+
5+
### Minor Changes
6+
7+
- bcc2995: Improve the type definition for state and invoke functions
8+
39
## 1.2.0
410

511
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "robot3",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "A functional, immutable Finite State Machine library",
55
"main": "dist/machine.js",
66
"types": "./index.d.ts",

packages/lit-robot/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# lit-robot
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- 7edc985: Change the signature of the `Robot` mixin to accomodate TypeScript's type system, remove the machine field from the class and add an `onChange` callback that is called in `interpret`;
8+
9+
To migrate, convert the following code:
10+
11+
```js
12+
class Foo extends Robot(Bar) {
13+
static machine = /* machine */;
14+
// ...
15+
}
16+
```
17+
18+
to
19+
20+
```js
21+
class Foo extends Robot(Bar /* machine */) {
22+
// ...
23+
}
24+
```
25+
26+
### Patch Changes
27+
28+
- 7edc985: Add Typescript support in the form of types
29+
330
## 1.0.0
431

532
### Patch Changes

packages/lit-robot/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lit-robot",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "LitElement hooks for Robot finite state machines",
55
"main": "machine.js",
66
"module": "machine.js",
@@ -33,7 +33,7 @@
3333
},
3434
"devDependencies": {
3535
"lit": "^3.1.3",
36-
"robot3": "1.2.0"
36+
"robot3": "1.3.0"
3737
},
3838
"wireit": {
3939
"test": {

0 commit comments

Comments
 (0)