Skip to content

Conversation

@greenkeeperio-bot
Copy link
Contributor

Hello 👋

🚀🚀🚀

graphql just published its new version 0.5.0, which is not covered by your current version range.

If this pull request passes your tests you can publish your software with the latest version of graphql – otherwise use this branch to work on adaptions and fixes.

Happy fixing and merging 🌴


GitHub Release

This version is the first reference implementation fully compatible with GraphQL — April 2016. In addition to any relevant breaking changes from the spec, it also has made some breaking changes to its API.

Thanks so much to those who contributed issues and pull requests for your help in improving GraphQL!

Breaking:

  • The graphql and execute functions now accept a context parameter which is distinct from rootValue and available as the third argument to all resolve functions. The additional information is now the fourth argument to resolve functions. Any resolve function which currently uses the third argument will need to be updated in order to use this version of graphql-js. (#326)
  • Types can now be explicitly provided to new GraphQLSchema({ types: [...] }). Types which implement an interface but are otherwise not referenced as a field return type are no longer automatically added to the Schema! Provide types like this directly to new GraphQLSchema to ensure they are included in order to use this version of graphql-js. This fixes a long-standing bug which made it difficult to build multiple related Schema with the same type instances. (#327)
  • Spec compliance: Directives are now defined and introspected with an array of locations they can be legally placed, rather than a set of booleans. (#317)

New:

  • Spec compliance: Overlapping fields must have compatible response shapes (c034de9)
  • More support for the experimental schema IDL: (#325) (#323) (fdafe32)

Fixes:

  • Spec compliance: @skip and @include are now commutative. (#335) (47f87fa)
  • Experimental schema IDL no longer allows duplicate query types. (ffe76c5)
  • No longer sends incorrect error messages when a response name is not provided (#319)
  • Visitor now correctly encounters both enter and leave when editing the root node in an AST (#298)
  • Visitor helpers are now directly exported (5ea2ff1)

The new version differs by 94 commits .

  • 86db734 0.5.0
  • 0da0267 Update to latest version of flow
  • 3b46751 import type for this flow type
  • c151315 Update dev dependencies
  • c034de9 RFC: Return type overlap validation
  • ffe76c5 Add sanity checks for schema to allow only a single query, mutation, subscription in schema
  • a981043 Minor tweak to readme for bleeding edge
  • 6e5da50 fix encrypted key
  • 6a9ff3f correct repo, doi
  • e77f34b Amend travis npm deploy script
  • 5347e26 Add an automatically updating git branch which mirrors npm deployment.
  • 3201ebb Add tests for type comparators
  • c7e6a75 0.5.0-beta.1
  • 07e627a remove non spec compliant test
  • cf5b234 Fix tests on abstract type invariant

There are 94 commits in total. See the full diff.


This pull request was created by greenkeeper.io.
It keeps your software, up to date, all the time.

Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡

@mickhansen
Copy link
Owner

Waiting on graphql-relay package to update its peerDependencies

@mickhansen mickhansen merged commit 9a68e09 into master Apr 18, 2016
@mickhansen mickhansen deleted the greenkeeper-graphql-0.5.0 branch April 18, 2016 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants