v0.6.0
This release includes a couple improvements to our serializable-state-invariant-middleware to enable more flexibility in defining what values are and are not serializable, as well as some additional typing tweaks to improve inference of PayloadAction types and ensure that action creators generated by createSlice() are recognized as PayloadActionCreators that have a type field.
Changes
- Fix: SerializableStateInvariantMiddleware: Use
isSerializablewhen checking state (@ali-rantakari - #139) - Allow consumer to augment middleware to tolerate certain structures (e.g. Immutable) (@kgregory - #141)
- Fix PayloadAction inference (@kroogs - #138)
- infer action creators from
createSliceasPayloadActionCreator(@phryneas - #158)