github facebook/relay v1.3.0

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

A small update since 1.2.0 that mainly exposes a few new internals.

New:

  • graphql tags now support null literal values (@nkohari e7962fb)
  • Refactored RelayEnvironment to use Observables instead of Promises to prepare for streaming and other advanced usages (@leebyron)
  • Expose formatGeneratedModule on relay-compiler to allow more customization of the compiler (@robrichard 7b44013)
  • New CLI flag --validate to relay-compiler to validate without writing files (@ajhyndman af35c30)
  • RelayConnectionInterface is now injectable for legacy clients (@kassens d9c1eb0)

Fixed:

  • Various documentation fixes (@mattleff)
  • Some exceptions in the compiler were only printing to console, but not causing an error code (@kassens 14e28dd)
  • RelayRecordProxy#setValue now accepts arrays of scalar values (@kassens 7a2b27e)
  • Removed eslint-config-fbjs dependency from relay-compiler (@mwalkerwells 7b914f0)

Don't miss a new relay release

NewReleases is sending notifications on new releases.