Releases: greguz/mutent
Releases · greguz/mutent
v6.0.1
v6.0.0
Breaking changes
- Rework type declarations (this doesn't break the core funcionality).
- Remove second generic from
Lazy
type. - Remove
OneOrMore
type. - Rename
Result
type toOne
. - Query hooks now accepts
undefined
queries (this is a fix).
- Remove second generic from
- Remove
options
field from thrown errors (waserror.info.options
).
Features
- Better arguments validation.
- Support Adapter's
findEntity
andfilterEntities
methods. - Add
skip(n)
mutator. - Add
limit(n)
mutator. - Add
mutable
flag toMutation
class (inherit fromStore
'smutable
option). - Make the
delete(predicate)
mutator conditional. - Add
raw
getter toStore
class (returns the Adapter'sraw
property).
v5.2.1
v5.2.0
v5.1.0
v5.0.1
v5.0.0
This is a Major Rework
- A lot of components were moved outside Mutent
- Source code moved from TypeScript to vanilla ES2018 JavaScript
- Full ESM support
- Removed some problematic features (like the conditional Mutator)
- A lot of new features and improvements
- Add a real documentation (this is still partial, but in the next future will be improved)
v2.0.0-0
Breaking changes
- Core: deprecate commit function
- Entities: deprecate streaming with promises
- Entities: change stream method behavior
- Entities: deprecate reduce method
Features
- Core: add type detection functions
- Core: skip null mutations
- Core: add autoCommit option
- Core: add safe option
- Core: add custom errors (with error code)
- Core: add default object to options
- Store: add store
Bug fixes
- Core: fix erroneous redo