Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 2.94 KB

CHANGELOG.md

File metadata and controls

74 lines (58 loc) · 2.94 KB

master

0.4.0 (October 13, 2015)

  • Bump the babel-relay-plugin version 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 RelayQL template tag.
    • Improvements to validation and error messages.
  • The __typename of abstract types are now fetched and stored locally.
  • Fixed hasOptimisticUpdate returning true after mutation succeeds (#86).
  • Fixed printing mutations with generated id fields (#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.

0.3.2 (September 18, 2015)

  • Bump the babel-relay-plugin version to v0.2.5.
    • Queries now preserve directives.
    • Output is now generated by babel.
  • Fix refragmenting diff queries (#305).
  • Directives are now printed.

0.3.1 (September 11, 2015)

  • Rebuild to replace faulty NPM package (no code changes).

0.3.0 (September 11, 2015)

  • Fix query variable printing for non-null and list types (#203).
  • Bumped React dependency to v0.14.0-rc.
  • Switched to using ReactDOM rather than React for performing batched updates (via unstable_batchedUpdates).
  • Updated the babel-relay-plugin to v0.2.3:
    • Added support for compiling queries containing introspection fields such as __schema, __typename and such.
    • Use of field(before: ..., first: ...) or field(after: ..., last: ...) is now an error.
  • Various improvements to documentation, warnings and error messages.

0.2.1 (September 1, 2015)

  • Support simplified route query definitions (previous API still supported).

0.2.0 (August 28, 2015)

  • Upgraded jest to 0.5 and switched Relay to use iojs v2+ only.
  • Changed Relay.DefaultNetworkLayer constructor to take an init object instead of fetchTimeout and retryDelays.
  • Scalars other than strings are now allowed as cursors, so long as they serialize to strings.
  • Added npm run update-schema to update the test schema.

0.1.1 (August 14, 2015)

  • The 'main' entrypoint can now be used in non-ES6 projects (now built w/ Babel).
  • Instance methods of Relay.DefaultNetworkLayer are bound to the instance, facilitating reuse.
  • Renamed GraphQL_EXPERIMENTAL to GraphQL (internal change).
  • Update copyright headers.
  • Remove invariant in RelayQueryField.getCallType() when argument is unknown.
  • GraphQLRange returns 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.

0.1.0 (August 11, 2015)

  • Initial public release.