Releases: byte-fe/react-model
Releases · byte-fe/react-model
v2.5.3
- fix(compatible): remove module field to compatible with lower broswer
- feat(middleware): add subscribe middleware
- fix(logger): only log the state of model
v2.4.2
- fix(debugger): add console.group polyfill
- feat(debugger): Add console log debugger.
- docs(badge): update the badge
- chore(commitizen): commitizen-friendly
- style: 💄 prettier
- build(microbundle): Add module and umd field.
v2.4.0
- feat(action): Allow action return void.
- feat(getActions): Add actions getter standalone.
- fix(connect): Feed the missed props.
- fix(connect): Resolve the conflict issue when use multi connects.
- feat(class): Add Class components' middleware support.
- fix(compatiable): React > 16.3.0.
- fix(type): Fix TSLint error in helper.ts.
- feat(robot): Greenkeeper enabled.
- style(comment,type): Improve the source code's readability.
- ci(Travis): Improve Code Coverage and Add codecov.
- test(init): Add ts-jest for testing.
v2.2.0
- feat(useStore): Add depAction argument.
- chore(npm): delete lock file.
- docs(Demo): Add CodeSandbox demo.
- build(npm): Upgrade dependencies.
- feat(NODE_ENV): Use different middlewares in development/production.
v2.1.0
- fix(useStore): the state return by useStore should be the syntax sugar of getState.
- build(module): Remove the moudle field in package.json.
- feat(getInitialState): Syntax suger for getInitialState.
- fix(actions): Fix the issue that can't wait async action, make action thenable.
- feat(getInitialState): Add Generic params.
- chore(name): react-modelx => react-model
- docs(ModelsProps): Update ModelsProps usage.
- feat(cache): Add Cache middleware. Improve the usage.
version 2.0.0 🎉
- fix(SSR): Fix the crash issue when switch route on client side.
- feat(types): Add types for SSR props and update docs.
- feat(SSR): Add asyncState API to support Next/SSR
- feat(types): Improve type safety of getState.
- build(microbundle): use microbundle to generate and compress the bundle.
- refactor(Global): move the global variable to a seperate module.
- docs(middleware): Add document for new API.
- feat(devTools): Add the reduxDevTools middleware.
- refactor(middleware): Use middleware to complete the hooks feature.
version 1.1.0 🎉
- refactor(TS): Improve the readability of type definition
- fix(type): Fix the type definition of useStore that Model({...}) return
- docs(1.0.5): Update docs for immutable actions Support.
- feat(immer): Add immutable lib Support.
- feat(Model): Fully TypeScript Support for Model(), useStore 🎄
Extra: Happy New Year 😄.
v1.0.1
- feat(TypeScript): Add TypeScript Support for useStore api.
- fix(Setter.classSetter): Fix the issue that Setter.classSetter undefined.
- feat(getState): Provider api to get GlobalState (recommand readonly).
- feat(connect): allow the second params to be null.
v0.0.1-alpha
Merge pull request #3 from byte-fe/develop v1.0.0-alpha