You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,36 @@
1
1
# Changelog
2
2
3
+
## 9.1.0
4
+
5
+
### Internal changes
6
+
7
+
- Updates to the way transactions are created and rolled forward to improve
8
+
efficiency and support dev tool development
9
+
3
10
## 9.0.0
4
11
5
-
## Noticeable changes
12
+
###Noticeable changes
6
13
7
14
- Microcosm now uses transactions to process state. When an action is pushed,
8
15
an associated transaction will be created. Transactions are processed in the
9
16
order in which `app.push` is called.
10
17
- Added a mechanism for optimistic updates using generators in actions.
11
18
-`app.push` accepts a callback as the third argument which will be invoked when an action is completely resolved (More in breaking changes)
12
19
13
-
## Breaking Changes
20
+
###Breaking Changes
14
21
15
22
- Removed Foliage. Microcosm no longer extends from Foliage and its API is no longer available.
16
23
- Instead of `app.get` or `app.toObject()` to retrieve state, use `app.state`.
17
24
- The signature for `app.push` is now `app.push(action, [...arguments], callback)`.
18
25
- The signature for `app.prepare` is now `app.prepare(action, [...arguments])`.
19
26
20
-
## Upgrading
27
+
###Upgrading
21
28
22
-
### Foliage
29
+
####Foliage
23
30
24
31
For those using the Foliage API, consider using Foliage within Stores themselves.
25
32
26
-
### app.push
33
+
####app.push
27
34
28
35
`app.push` should continue to work as expected when only one parameter is pushed to an action, however those pushing multiple parameters should make the following change:
All instances of `app.get('key')` should be replaced with `app.state.key`, sort of like
51
58
if it were a React Component
52
59
53
60
## 8.3.0
54
61
55
-
## Breaking changes
62
+
###Breaking changes
56
63
57
64
- Microcosm will emit events synchronously.
58
65
59
-
## Upgrading
66
+
###Upgrading
60
67
61
68
In the past, Microcosm would use requestAnimationFrame to batch together changes. However this can cause unexpected consequences when sequentially performing otherwise synchronous operations. For those who wish to preserve this behavior, consider using debounce to "choke" high frequency changes.
62
69
63
70
## 8.2.0
64
71
65
-
## Internal Changes
72
+
###Internal Changes
66
73
67
74
- Upgrade Foliage to `0.24.0`.
68
75
- Moved `Store.prototype.send` to `Store.send`. This has always been
@@ -72,12 +79,12 @@ In the past, Microcosm would use requestAnimationFrame to batch together changes
72
79
- We now use `babel-plugin-object-assign` for extension
73
80
- Microcosm is compiled in normal babel mode (not loose)
74
81
75
-
## Fixes
82
+
###Fixes
76
83
77
84
- Store responses to actions will always be called within the scope of the store.
78
85
- Addressed classical inheritance issue not caught from `loose` babel compilation
79
86
80
-
## Upgrading
87
+
###Upgrading
81
88
82
89
For those using `Store.prototype.send`, the following change is
0 commit comments