Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.53 KB

RELEASE_NOTES.md

File metadata and controls

50 lines (32 loc) · 1.53 KB

Release Notes

Release notes for various versions of RSpec::GraphQLResponse

See the upgrade guide for details on changes between versions and how to upgrade.

v0.5.0 - Helper API change

  • Fully deprecates operation.
  • Renames have_operation to have_field to clarify its use.

v0.4.0 - Helper API change

Breaking Changes

The helper graphql_query was renamed to graphql_operation to better communicate the use of the helper. Naming the helper with _query lead to an association that its use was meant for GraphQL query operations and could not also be used for a mutation.

v0.2.0 - GraphQL Configuration DSL and Refactorings

Misc changes and corrections, some new features, and generally trying to create a more robust and usable experience, right out of the box.

New Features

  • Significantly improved documentation
  • have_operation matcher
  • GraphQL configuration DSL
    • graphql_query
    • graphql_variables
    • graphql_context
  • Describe/Context level RSpec helper methods via .add_context_helper DSL

Breaking Changes

This release changes the graphql query, variables and context configuration away from let vars and into a proper DSL.

Bug Fixes

Lots of misc bug fixes, including caching of values, ensuring things work in nested contexts, etc.

v0.1.0 - Initial Release

Early beta work to get this out the door and begin adoption

  • have_errors matcher
  • operation helper
  • response helper
  • execute_graphql helper
  • DSL for adding custom matchers, validators, and helpers