You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for any compatible fetch implementation. Auto-detects default fetch including client and server side implementations.
Removes whatwg-fetch as a peer dependency.
Adds connect.defaults() function to set options and default values for request mappings. Includes type checking of defaults. [docs]
Adds ability to set buildRequest, fetch, and handle Response implementations in connect.defaults() or in mapping definitions. [docs]
Deprecated options argument in connect. Applications that use withRef as an option (i.e. connect(props, { withRef: true })) should change to using connect.defaults (i.e. connect.defaults({ withRef: true })(props)).
Documented required polyfills.
Improved type checking
Optimize to shallow compare props and context during componentWillReceiveProps and only recalculate mappings and refetch if props and context actually changed.
Moved connect-only level options from defaults() to options(). All request attributes can now be supplied in defaults() or individual requests.
Fixed PromiseState.resolve to return value as-is if it is already PromiseState