Skip to content

v0.5.0

Choose a tag to compare

@wincent wincent released this 04 Mar 18:27
· 11502 commits to main since this release
  • Bump the babel-relay-plugin version to v0.4.1.
    • Added validation of arguments for connections with edges or pageInfo.
      • Connections without arguments in fat queries can add the new fragment directive @relay(pattern: true).
    • Fixed validation of fields within inline fragments in connections.
    • Print queries using a plain-object representation (instead of GraphQL objects).
  • RelayQueryField#getStorageKey will now produce the same key regardless of the order of a field's arguments.
  • Range behavior keys in mutation configs are now guaranteed to be sorted.
  • Added the Relay.createQuery() function which returns a RelayQuery.Root (that can be used with Relay.Store methods).
  • Optimistic response keys now use GraphQL OSS syntax. (Usage of old, call-like syntax is now deprecated and will warn.)
  • Fix a bug where optimistic queries could cause the error "Could not find a type name for record ...".