RelayQueryField#getStorageKeywill 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.
- Bump the
babel-relay-pluginversion to v0.3.0.- Fixed the metadata for fields on abstract types.
- Directives are now validated against the schema.
- Mutations field arguments are now validated.
- Non-root
node(id: ...)fields are now invalid. - Added support for
RelayQLtemplate tag. - Improvements to validation and error messages.
- The
__typenameof abstract types are now fetched and stored locally. - Fixed
hasOptimisticUpdatereturning true after mutation succeeds (#86). - Fixed printing mutations with generated
idfields (#414). - Fixed updating views when removing the last element in a plural field (#401).
- Fixed sending mutations via classes without invalid GraphQL characters (#448).
- Added a
__DEV__-only warning when data is passed down via the wrong prop.
- Bump the
babel-relay-pluginversion to v0.2.5.- Queries now preserve directives.
- Output is now generated by babel.
- Fix refragmenting diff queries (#305).
- Directives are now printed.
- Rebuild to replace faulty NPM package (no code changes).
- Fix query variable printing for non-null and list types (#203).
- Bumped React dependency to v0.14.0-rc.
- Switched to using
ReactDOMrather thanReactfor performing batched updates (viaunstable_batchedUpdates). - Updated the babel-relay-plugin to v0.2.3:
- Added support for compiling queries containing introspection fields such as
__schema,__typenameand such. - Use of
field(before: ..., first: ...)orfield(after: ..., last: ...)is now an error.
- Added support for compiling queries containing introspection fields such as
- Various improvements to documentation, warnings and error messages.
- Support simplified route query definitions (previous API still supported).
- Upgraded jest to 0.5 and switched Relay to use iojs v2+ only.
- Changed
Relay.DefaultNetworkLayerconstructor to take aninitobject instead offetchTimeoutandretryDelays. - Scalars other than strings are now allowed as cursors, so long as they serialize to strings.
- Added
npm run update-schemato update the test schema.
- The 'main' entrypoint can now be used in non-ES6 projects (now built w/ Babel).
- Instance methods of
Relay.DefaultNetworkLayerare bound to the instance, facilitating reuse. - Renamed
GraphQL_EXPERIMENTALtoGraphQL(internal change). - Update copyright headers.
- Remove invariant in
RelayQueryField.getCallType()when argument is unknown. GraphQLRangereturns diff calls with numeric values instead of strings.- Example apps now include an ES6 polyfill.
- Moved React to peer dependencies; projects should depend on React directly.
- Variables in the default network layer are no longer double-JSON encoded.
- The default network layer now passed cookies along to the server.
- Initial public release.