graphql v1.0.0 Release Notes

Release Date: 2016-10-25 // over 7 years ago
  • ๐Ÿ’ฅ Breaking changes

    • ๐Ÿšš validate: false option removed from Schema.execute (it didn't work anyways) #338
    • ๐Ÿšš Some deprecated methods were removed: #349
      • BaseConnection#object was removed, use BaseConnection#nodes
      • BaseConnection.connection_for_items was removed, use BaseConnection#connection_for_nodes
      • Two-argument resolve functions for Relay::Mutations are not supported, use three arguments instead: (root_obj, input, ctx)
      • Schema.new no longer accepts initialization options, use Schema.define instead
      • GraphQL::ObjectType::UnresolvedTypeError was removed, use GraphQL::UnresolvedTypeError instead
    • โšก๏ธ Fragment type conditions should be parsed as TypeName nodes, not strings. (Users of graphql-libgraphqlparser should update to 1.0.0 of that gem.) #342

    ๐Ÿ†• New Features

    • Set ast_node and irep_node on query context before sending it to middleware #348
    • Enum values can be extended with .define #341

    ๐Ÿ› Bug Fixes

    • ๐Ÿš… Use RelationConnection for Rails 3 relations (which also extend Array) #343
    • ๐Ÿ›  Fix schema printout when arguments have comments #335