Skip to content

Releases: byte-fe/react-model

v2.5.3

18 Mar 07:16
7806980
Compare
Choose a tag to compare
  • 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

12 Mar 08:31
1f2c67d
Compare
Choose a tag to compare
  • 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

08 Mar 06:47
Compare
Choose a tag to compare
  • 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

18 Feb 13:17
Compare
Choose a tag to compare
  • 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

06 Feb 14:55
0a2a7eb
Compare
Choose a tag to compare
  • 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 🎉

14 Jan 06:55
2b49e2c
Compare
Choose a tag to compare
  • 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 🎉

31 Dec 14:22
20327a2
Compare
Choose a tag to compare
  • 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

26 Dec 08:02
c1a41fd
Compare
Choose a tag to compare
  • 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

06 Dec 07:49
740e34a
Compare
Choose a tag to compare
v0.0.1-alpha Pre-release
Pre-release
Merge pull request #3 from byte-fe/develop

v1.0.0-alpha