{"action":"published","release":{"url":"https://api.github.com/repos/heroku/react-refetch/releases/4926971","assets_url":"https://api.github.com/repos/heroku/react-refetch/releases/4926971/assets","upload_url":"https://uploads.github.com/repos/heroku/react-refetch/releases/4926971/assets{?name,label}","html_url":"https://github.com/heroku/react-refetch/releases/tag/v1.0.0","id":4926971,"tag_name":"v1.0.0","target_commitish":"master","name":"","draft":false,"author":{"login":"ryanbrainard","id":966764,"avatar_url":"https://avatars.githubusercontent.com/u/966764?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanbrainard","html_url":"https://github.com/ryanbrainard","followers_url":"https://api.github.com/users/ryanbrainard/followers","following_url":"https://api.github.com/users/ryanbrainard/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrainard/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrainard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrainard/subscriptions","organizations_url":"https://api.github.com/users/ryanbrainard/orgs","repos_url":"https://api.github.com/users/ryanbrainard/repos","events_url":"https://api.github.com/users/ryanbrainard/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrainard/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-12-15T07:38:00Z","published_at":"2016-12-15T08:29:00Z","assets":[],"tarball_url":"https://api.github.com/repos/heroku/react-refetch/tarball/v1.0.0","zipball_url":"https://api.github.com/repos/heroku/react-refetch/zipball/v1.0.0","body":" - Adds support for any compatible `fetch` implementation. Auto-detects default `fetch` including client and server side implementations.\r\n - Removes `whatwg-fetch` as a peer dependency.\r\n - Adds `connect.defaults()` function to set options and default values for request mappings. Includes type checking of defaults. [[docs](https://github.com/heroku/react-refetch#setting-defaults-and-hooking-into-internal-processing)]\r\n - Adds ability to set `buildRequest`, `fetch`, and `handle Response` implementations in `connect.defaults()` or in mapping definitions. [[docs](https://github.com/heroku/react-refetch#on-changing-the-fetch-and-request-implementations)]\r\n - 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)`).\r\n - Documented required polyfills.\r\n- Improved type checking\r\n - Optimize to shallow compare `props` and `context` during `componentWillReceiveProps` and only recalculate mappings and refetch if `props` and `context` actually changed. \r\n - Moved `connect`-only level options from `defaults()` to `options()`. All request attributes can now be supplied in `defaults()` or individual requests.\r\n - Fixed `PromiseState.resolve` to return `value` as-is if it is already `PromiseState`\r\n - Fixes handling of rejected fetches (https://github.com/heroku/react-refetch/pull/107)\r\n - Only re-render component if props or requests shallowly changed\r\n - Omit `children` in `willReceiveProps` comparison\r\n - Add `pure` option allow apps to control always updating on prop changes\r\n - Allow `then` and `catch` to return `undefined` for side effects\r\n - Allow `refreshing` to take a function to change `value` before request\r\n - Update development dependencies to React v15\r\n- [Allow then, andThen, catch, andCatch to be undefined](https://github.com/heroku/react-refetch/pull/128)\r\n- [Allow identity requests to return promises](https://github.com/heroku/react-refetch/pull/93)\r\n - Added `wrappedInstance` to the `meta` object https://github.com/heroku/react-refetch/pull/139\r\n - Fixes: Requested keys of a value that is not an object https://github.com/heroku/react-refetch/pull/143\r\n - Migrates to use files directive in package.json instead of .npmignore. https://github.com/heroku/react-refetch/pull/133\r\n - Returns a new object from `PromiseState.refreshing` https://github.com/heroku/react-refetch/pull/150"}}
{"actor":{"display_login":"ryanbrainard"}}