Skip to content

v0.6.0

Choose a tag to compare

@wincent wincent released this 04 Mar 18:27
· 11441 commits to main since this release
  • Bump the babel-relay-plugin version to v0.6.0 (now Babel 6 compatible).
  • The keys in rangeBehaviors are now compared against the sorted filter arguments of a field. For the field foo(first: 10, b:true, a:false) the matching range behavior key will be 'a(false).b(true)'.
  • Relay will now throw an invariant if range behavior keys are unsorted.
  • Fragments are now supported in mutation fat queries.
  • Added Relay.Store#applyUpdate method to create a transaction optimistically without committing it. Returns a transaction object that you can use to commit() or rollback().
  • Added RelayStoreData#clearCacheManager method.
  • Renamed RelayQuery#getHash to RelayQuery#getConcreteFragmentHash
  • Removed RelayQueryPath#toJSON and RelayQueryPath#fromJSON