From 75a773d783af63d732380f47c56012d768dc75b9 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Sat, 9 Jan 2021 20:21:06 +0800 Subject: [PATCH] v4.0.1 --- CHANGELOG.md | 56 ++++++++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 31 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b3114b..6872236e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,41 +1,45 @@ # Changelog +### 4.0.1 + +- Upgrade `fbemitter` dependency to 3.x + ### 4.0.0 -* Upgrade fbjs dependency to ^3.x -* Upgrade for Babel 7 compatibility (#495) (thanks to @koba04) -* Added React 17 as a peer dependency +- Upgrade `fbjs` dependency to ^3.x +- Upgrade for Babel 7 compatibility (#495) (thanks to @koba04) +- Added React 17 as a peer dependency ### 3.1.3 -* Added support for React 16 +- Added support for React 16 ### 3.1.2 -* No meaningful changes. +- No meaningful changes. ### 3.1.1 -* No meaningful changes. +- No meaningful changes. ### 3.1.0 -* `Dispatcher`: Methods `register` and `unregister` can once again be called in - the middle of a dispatch. +- `Dispatcher`: Methods `register` and `unregister` can once again be called in + the middle of a dispatch. ### 3.0.0 -* `FluxMapStore`: Removed. It added very little value over `FluxReduceStore`. -* `FluxContainer`: Subscriptions are setup in constructor rather than - `componentDidMount` -* `FluxContainer`: Can create containers using stateless functional components -* `FluxContainer`: Uses functional version of `setState` -* `FluxMixin`: Subscriptions are setup in `componentWillMount` rather than - `componentDidMount` -* `Dispatcher`: Methods `register` and `unregister` can not be called in the - middle of a dispatch -* `React` added as peer dependency to `flux/utils` -* Package `dist/FluxUtils.js` alongside `dist/Flux.js` +- `FluxMapStore`: Removed. It added very little value over `FluxReduceStore`. +- `FluxContainer`: Subscriptions are setup in constructor rather than + `componentDidMount` +- `FluxContainer`: Can create containers using stateless functional components +- `FluxContainer`: Uses functional version of `setState` +- `FluxMixin`: Subscriptions are setup in `componentWillMount` rather than + `componentDidMount` +- `Dispatcher`: Methods `register` and `unregister` can not be called in the + middle of a dispatch +- `React` added as peer dependency to `flux/utils` +- Package `dist/FluxUtils.js` alongside `dist/Flux.js` _**Note**: This is marked as a breaking change due to the large number of small changes in `FluxContainer`. Depending on how coupled code is to the timing of @@ -44,13 +48,13 @@ possible that there may be some breakages. Generally it should not be an issue._ ### 2.1.1 -* Publish `dist/` on npm +- Publish `dist/` on npm ### 2.1.0 -* Add flux-utils which include four main base classes: `Store`, `ReduceStore`, - `MapStore`, `Container` -* Add flux-utils example and documentation -* Upgrade build script -* Publish a minified version of `Flux` in `dist/` -* Add flow types to `Dispatcher` +- Add flux-utils which include four main base classes: `Store`, `ReduceStore`, + `MapStore`, `Container` +- Add flux-utils example and documentation +- Upgrade build script +- Publish a minified version of `Flux` in `dist/` +- Add flow types to `Dispatcher` diff --git a/package.json b/package.json index c99340a5..e8f1ae9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flux", - "version": "4.0.0", + "version": "4.0.1", "description": "An application architecture based on a unidirectional data flow", "keywords": [ "flux",