Skip to content

v0.6.0

Compare
Choose a tag to compare
@markerikson markerikson released this 17 Jul 01:30
· 4001 commits to master since this release

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 isSerializable when 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 createSlice as PayloadActionCreator (@phryneas - #158)