v1.3.3
This release improves serializability checking in actions, and exports additional types.
Changes
Action Serializability Checks
The serializability check middleware checks the contents of all dispatched actions. When we added createAsyncThunk
in 1.3, we tried to exclude the meta.args
path from those checks, because users may want to pass non-serializable values to their thunks, and the args are automatically added to the actions without the user explicitly putting them there.
However, the field name was changed from meta.args
to meta.arg
late in development, and the middleware wasn't updated to match, leading to some false positive warnings. We've fixed that, and added additional middleware options for ignoring paths in actions.
Type Exports
Per request, we've exported ThunkDispatch
from Redux Thunk, and the rest of the internal typedefs related to entities.