Skip to content

1.2.0 Release

Latest
Compare
Choose a tag to compare
@minajevs minajevs released this 29 Jun 08:14
· 11 commits to master since this release

Store metadata release

New features

Store metadata. Now it is possible to provide some static data to store, which will be available both for actions and middleware. It can be used to provide API url/token to store, set some flags for dev/prod builds or handle some internal settings. Read more about it here.

Breaking API Changes

New middleware API. actionKey parameter moved to new meta object

Before:

const middleware: Middleware = (next, actionKey, args) => {
    ...
    next(args)
}

Now:

const middleware: Middleware = (next, args, meta) => {
    ...
    next(args)
}
  • Updated readme with meta data feature info d435606
  • Added store and middleware meta 85d57d4
  • Added middleware example 938d7c5
  • Update docs and examples to 1.1.0 750fd2a

v1.1.0...v1.2.0