none
Changes
- Test against Rails 8.0
- Drop support for Rails 6.1
- Revert change to
have_graphql_data
RSpec matcher
- Add support for Rails 7.1
- Improve
have_graphql_data
RSpec matcher- Match array values in any order
Changes
- Remove the
schema_generation_context?
attribute to the GraphQLcontext
when generating the schema. Use the already availableGraphQL::Schema::AlwaysVisible
plugin instead.- (Breaking) Remove the
NulogyGraphqlApi::Schema::BaseMutation
class which introduced a new API for thevisible?
method that took a block. This introduced a deviation from the ruby graphql gem's API only for Mutations and so it was removed. Please ensure that any invocations ofvisible?
do not take a block and useGraphQL::Schema::Mutation
instead. - (Breaking) Change the
NulogyGraphqlApi::Tasks::SchemaGenerator#generate_schema
method to output the stringified version of the schema instead of checking it for changes and writing it to a file. - Expose the
#check_changes
and#write_schema_to_file
methods on theNulogyGraphqlApi::Tasks::SchemaGenerator
to give the user more control over how to build their tooling.
- (Breaking) Remove the
- Allow the user to be specified for the
request_graphql
test helper.
- Add
include_graphql_error
RSpec matcher
Changes
- (Breaking) Drop support for Rails 6.0
- (Breaking) Drop support for Ruby 2.7
Changes
- Pin graphql to major version 2. Permit minor version upgrades of graphql without forcing the project to release a new version.
Changes
- Support appraisal 2.5.x
- Support rake 13.1.x
- Support rspec 3.12.x
Changes
- Support graphql 2.1.x
- Support graphql-schema_comparator 1.2.x
Changes
- Support Rails 7
Changes
- Support graphql 2.0.x
Changes
- Relax graphql-schema-comparator dependency to minor release
Changes
- (Breaking) Bump graphql version from 1.12.5 to 1.13
Changes
- Bug Fix: Schema generator always errored when generating new schema file
Changes
- Support Rails 6.1
- (Breaking) Drop support for Rails 5
Changes
- (Breaking) Change argument to
SchemaGenerator
The SchemaGenerator
now takes the path to the schema.graphql
and the schema class as required arguments.
See the update in the README.
Changes
- (Potentially Breaking) Bump graphql gem version to 1.12.5
- Add
BaseMutation
.
- Add the
schema_generation_context?
attribute to the GraphQLcontext
when generating the schema.
Changes
- (Breaking) Add
context
to the Rake task that generates the schema file. This changes the way the schema is parsed. Please refer to the README file to see an example of how to usecontext
.
Changes
- (Breaking) Remove the GraphqlApiController
- (Breaking) Add the ErrorHandling controller concern
- Support Rails 6
Changes
- (Breaking) Remove spec helpers related to subscriptions
Changes
- (Breaking) Rename
GraphqlExecutor.call
toexecute
- (Breaking) Change
schema
parameter onexecute_graphql
test helper to positional
Changes
- RSpec custom matchers
- RSpec helpers
- Initial release