Releases: relay-tools/react-relay-network-layer
1.2.0 (June 21, 2016)
fix: remove whatwg-fetch
polyfill, due problem in React Native (issue #8).
If your client does not have fetch
global method, you should include polyfill explicitly in you code:
import 'whatwg-fetch'; // for old browsers
// or
import 'node-fetch'; // for old node versions
// or
import 'fetch-everywhere'; // fresh isomorphic fetch polyfill, that supports all clients (not tested ;)
Thanks to @roman01la and @edvinerikson.
1.1.4 (June 15, 2016)
feat: add allowEmptyToken
option for authMiddleware
to allow made a request without Authorization header if token is empty
1.1.3 (June 13, 2016)
fix: files upload with auth middleware (thanks to @alexanderlamb)
1.1.2 (May 27, 2016)
feat: improve performance of graphqlBatchHTTPWrapper
, by removing JSON.parse
1.1.1 (May 27, 2016)
Add support for [email protected].
New version of express-graphql
has some internal changes. So graphqlBatchHTTPWrapper
was adopted to fit this changes.
1.1.0 (May 17, 2016)
- New
gqErrors
middleware, with server stack-trace.
1.0.3 (May 4, 2016)
feat: improved retryMiddleware
with thunk retries delays and force fetch
1.0.2 (May 4, 2016)
feat: New retryMiddleware
for request retry if the initial request fails (thanks to @mario-jerkovic)
fix: authMiddleware
which pass lowercased header Authorization