Releases: khamusa/rspec-graphql_matchers
Releases · khamusa/rspec-graphql_matchers
Version 2.0.0-rc.0
Support graphql-ruby 2.0+. See CHANGELOG for more details. Please submit feedback or report issues.
Version 1.4.0
See CHANGELOG for details.
Version 1.3.1
See Changelog for details
Version 1.3.0
See CHANGELOG for details.
Version 1.2.1
Merge pull request #31 from khamusa/bugfix/bring-snake-case-names-back Bugfix/bring snake case names back
Version 1.2
v1.2 Version 1.2
Version 1.1
Adds support to graphql-ruby v1.9.x, thanks to @severin
Version 1.0 - GraphQL 1.8.x support
1.0 (June, 2019)
Breaking changes
- Support to property and hash_key matchers will be dropped on upcoming releases.
Deprecations
.with_metadata
and.with_property
matchers for fields will be removed on the next release;.accept_arguments
(plural form) will be removed on the next release;.accept_argument
(singular form) receiving a hash with a single or multiple arguments will no longer be supported, useaccept_argument(name).of_type('MyType')
instead.
New features
- Add support for Class-based type definition api (adds support for graphql-ruby v1.8.x). Please note that
.with_metadata
and.with_property
support has been kept but will only work on fields defined using the legacy api. - Implemented `accept_argument(arg_name).of_type('MyType')´ matcher, which returns much clearer error messages when the arguments are not found on the target type.
Version 0.7.0 & 0.7.1
0.7.0 && 0.7.1 (July 27, 2017)
New features
- (#3, #8) New chainable matchers
with_property
,with_hash_key
andwith_metadata
(Thanks to @marcgreenstock).
Improvements
- Default Raketask runs rubocop specs as well (Thanks to @marcgreenstock).
- Travis-ci integration
Version 0.6.0 - interface matchers
0.6.0 (July 25, 2017)
New features
- (PR #6) New matchers for interfaces:
expect(...).to implement(interface)
(Thanks to @marcgreenstock).