github facebook/relay v1.2.0

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

In addition to all of the changes in v1.2.0-rc1, v1.2.0 includes:

New:

  • Unmasked fragment spreads introduced in the RC have been renamed from @inline to @relay(mask: false) (c7235ab) and can be used in both Relay modern and Relay compat (20327fd)
  • Full queries are generated in development builds for easier debugging (9a81b3f)
  • Relay compiler now allows disabling watchman for typical builds (@robrichard 4f80e02)
  • No longer explicitly need to include pageInfo when using pagination controllers (9686119)
  • Experimental support for returning Observable from provided fetch and subscribe Network functions (bfc7f7f)

Fixed:

  • Ensure Relay compiler generates the right kinds (db6ef37)
  • Edge cases when Network cache returns synchronously (2ffb5c6)
  • Incorrect error handling in Networking (63ca3ae)
  • Ensure logging for each response from a GraphQL Subscription (777bcf6)
  • Ensure the same edge is not added twice during pagination (d0aff0f)

Improved:

  • Full support for React v16
  • Support root level types that aren't named "Query" in Relay Compat (@robrichard 1544f59)
  • Improved generated flow types (0d4cf95)
  • Support for customized logging (a82a417)
  • Included a peerDep between relay-runtime and relay-compiler to create early warnings if dependencies are misaligned (2582646)
  • Support for flow types for custom scalars (9488a51)

Don't miss a new relay release

NewReleases is sending notifications on new releases.