github facebook/relay v1.4.0

latest releases: v16.2.0, v16.1.0, v16.0.0...
6 years ago

New:

  • Full support for returning Observable from Relay Network implementations. Use const {Observable} = require('relay-runtime') to use Relay's lightweight Observable implementation which seeks to follow the Observable specification.
  • Support for the new Relay DevTools beta (install with yarn add relay-devtools) (86b63d4)
  • Support for latest version of Flow
  • Deprecated graphql.experimental All features now supported directly in graphql literal tags. (9afd764)
  • Pagination container now accepts an Observer when loading more data (ef7aa5b)

Potentially Breaking:

  • Relay Network and Environment internal APIs renamed to execute() and executeMutation() (0202673)
  • Removed legacy flow type generation (8cf10b9)

Fixed:

  • Case where callback might not be called after mutation (980de6d)
  • Improved printing of queries with @include in classic/compat mode (d652911)
  • Improved error messages (d8eb6d4)
  • Fix case where compiler might not place __typename and id in the correct order (95319d1)
  • Fix deferred queries when root arguments are not of type ‘ID’ (5ac9271)
  • Fixed remaining issues for compatibility with React v16.
  • Fix passing default arguments to @arguments in compat mode (1ce348a)
  • Fix issues in QueryRenderer when queries resolve synchronously and immediately (87bfc91)
  • Fix case where @argumentDefinitions would not be validated first (50803a5)
  • Change readyState to getDefaultState value after retry (beaf5c2)

Don't miss a new relay release

NewReleases is sending notifications on new releases.