From 3a19fbd6f8c3f01d7550099fd40355b9a30ccfd7 Mon Sep 17 00:00:00 2001 From: farwayer Date: Mon, 2 Sep 2019 16:07:48 +0300 Subject: [PATCH] changelog --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..79d7db2 --- /dev/null +++ b/CHANGELOG.md @@ -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