Skip to content

v1.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ryanbrainard ryanbrainard released this 28 Mar 06:41
· 238 commits to master since this release
  • 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(). [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.

The features above were delivered in #76 by the amazing @passcod!