Skip to content

Commit cfb63cc

Browse files
committed
Update changelog, package
1 parent a0a3803 commit cfb63cc

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
11
# Changelog
22

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+
310
## 9.0.0
411

5-
## Noticeable changes
12+
### Noticeable changes
613

714
- Microcosm now uses transactions to process state. When an action is pushed,
815
an associated transaction will be created. Transactions are processed in the
916
order in which `app.push` is called.
1017
- Added a mechanism for optimistic updates using generators in actions.
1118
- `app.push` accepts a callback as the third argument which will be invoked when an action is completely resolved (More in breaking changes)
1219

13-
## Breaking Changes
20+
### Breaking Changes
1421

1522
- Removed Foliage. Microcosm no longer extends from Foliage and its API is no longer available.
1623
- Instead of `app.get` or `app.toObject()` to retrieve state, use `app.state`.
1724
- The signature for `app.push` is now `app.push(action, [...arguments], callback)`.
1825
- The signature for `app.prepare` is now `app.prepare(action, [...arguments])`.
1926

20-
## Upgrading
27+
### Upgrading
2128

22-
### Foliage
29+
#### Foliage
2330

2431
For those using the Foliage API, consider using Foliage within Stores themselves.
2532

26-
### app.push
33+
#### app.push
2734

2835
`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:
2936

@@ -45,24 +52,24 @@ app.push(action, params, function(error, body) {
4552
})
4653
```
4754

48-
### Getting app state
55+
#### Getting app state
4956

5057
All instances of `app.get('key')` should be replaced with `app.state.key`, sort of like
5158
if it were a React Component
5259

5360
## 8.3.0
5461

55-
## Breaking changes
62+
### Breaking changes
5663

5764
- Microcosm will emit events synchronously.
5865

59-
## Upgrading
66+
### Upgrading
6067

6168
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.
6269

6370
## 8.2.0
6471

65-
## Internal Changes
72+
### Internal Changes
6673

6774
- Upgrade Foliage to `0.24.0`.
6875
- 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
7279
- We now use `babel-plugin-object-assign` for extension
7380
- Microcosm is compiled in normal babel mode (not loose)
7481

75-
## Fixes
82+
### Fixes
7683

7784
- Store responses to actions will always be called within the scope of the store.
7885
- Addressed classical inheritance issue not caught from `loose` babel compilation
7986

80-
## Upgrading
87+
### Upgrading
8188

8289
For those using `Store.prototype.send`, the following change is
8390
necessary:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "microcosm",
3-
"version": "9.1.0-beta",
3+
"version": "9.1.0",
44
"private": true,
55
"description": "A variant of Facebook's Flux with centralized, isolated state",
66
"main": "src/Microcosm.js",

0 commit comments

Comments
 (0)