Skip to content

v1.3.0

Compare
Choose a tag to compare
@kassens kassens released this 28 Aug 23:41
· 7759 commits to main since this release

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)