A small update since 1.2.0 that mainly exposes a few new internals.
New:
graphqltags now supportnullliteral values (@nkohari e7962fb)- Refactored
RelayEnvironmentto use Observables instead of Promises to prepare for streaming and other advanced usages (@leebyron) - Expose
formatGeneratedModuleonrelay-compilerto allow more customization of the compiler (@robrichard 7b44013) - New CLI flag
--validatetorelay-compilerto validate without writing files (@ajhyndman af35c30) RelayConnectionInterfaceis 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#setValuenow accepts arrays of scalar values (@kassens 7a2b27e)- Removed
eslint-config-fbjsdependency fromrelay-compiler(@mwalkerwells 7b914f0)