- Fix sourcemaps again
- Move from Travis to GitHub Actions for CI
- Move from tslint to eslint for linting
- Upgrade packages
- Breaking: Stacking the
@task
decorator with MobX@action
no longer works in MobX v6. Instead, the task itself was made an action by default. This was done to escape the MobX auto-action behavior. - Breaking: TypeScript target updated to
es6
. - Add MobX v6 support.
- Upgrade all dependencies.
- Fix sourcemaps content.
- TypeScript definitions for public API based on the DefinitelyTyped ones.
- Ported codebase to basic TypeScript. A lot of exotic things going on, so definitely not idiomatic.
- Added
TaskGroup
for combining task result reactions into a single state.
- Add name argument for
setState
action (#18 by @cyclops26) - Update packages
- Add support for fields using arrow functions (#12 by @JulianWielga)
- Update packages
- Update packages, attempt to fix CI build
- Remove babel runtime dependency, this was a mistake.
- Breaking: upgrade to MobX v5. No changes made to the code, should work with MobX v4 as well, but marking as breaking just in case.
args
field on state containing an array of arguments for the last task call. These are passed as arguments to thepending
matcher.- converted tests to Jest.
- Breaking: upgrade to MobX v4, breaks compatibility with MobX <= 3
- Legit fixed the
@autobind
issue that was supposed to be fixed in 0.2.2. My bad!
- Fixed issue with
@autobind
method decorator being applied first didn't work as promised.
- Fixed issue with not being able to reassign a decorated method.
- Fixed issue with state being shared between instances when using
task
as a decorator (#3). This breaks compatibility withautobind-decorator
.
- Added
reset()
function. - Added table of contents to readme.
- Added gotcha to docs about using with React Hot Loader/HMR.
- Fixed issue with state not updating when sync errors were thrown.
- Moved mobx to peerDependencies.
- First official release.