Skip to content

Releases: relay-tools/react-relay-network-layer

1.2.0 (June 21, 2016)

21 Jun 15:01
Compare
Choose a tag to compare

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)

15 Jun 03:44
Compare
Choose a tag to compare

feat: add allowEmptyToken option for authMiddleware to allow made a request without Authorization header if token is empty

1.1.3 (June 13, 2016)

13 Jun 06:14
Compare
Choose a tag to compare

fix: files upload with auth middleware (thanks to @alexanderlamb)

1.1.2 (May 27, 2016)

27 May 10:11
Compare
Choose a tag to compare

feat: improve performance of graphqlBatchHTTPWrapper, by removing JSON.parse

1.1.1 (May 27, 2016)

27 May 09:31
Compare
Choose a tag to compare

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)

17 May 14:17
Compare
Choose a tag to compare
  • New gqErrors middleware, with server stack-trace.

gqError

- feat: Add `json` param to `response`. Now it's available for middleware in bubbling phase (res.json). - experimental: deferMiddleware, right now it's only inform Relay that NetworkLayer support this feature. See discussion about `defer` here [relay/issues/288](https://github.com/facebook/relay/issues/288)

1.0.3 (May 4, 2016)

04 May 11:12
Compare
Choose a tag to compare

feat: improved retryMiddleware with thunk retries delays and force fetch

1.0.2 (May 4, 2016)

04 May 06:25
Compare
Choose a tag to compare

feat: New retryMiddleware for request retry if the initial request fails (thanks to @mario-jerkovic)
fix: authMiddleware which pass lowercased header Authorization