Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
farwayer committed Sep 2, 2019
1 parent 8906683 commit 3a19fbd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Changelog

### 2.0.0

- `@flow` and `@action` decorators removed. All simple functions
(except `@view`'ed) will be considered as actions. All generators will become
flow's. getters will become views. Use `@view` for parametrized views.
- field with model type will not be automatically initialized with empty objects
any more. So this code will throw error in new version:
```js
@model class Base {}

@model class Container {
@Base base
}
```

Use default value
```js
@model class Container {
@Base base = {}
}
```
or `auto: true` option instead:
```js
@model({auto: true}) class Base {}

@model class Container {
@Base base
}
```
- basic typescript definitions

### 1.0.0

- initial version

0 comments on commit 3a19fbd

Please sign in to comment.