Releases: virtualshield/rails-graphql
Releases · virtualshield/rails-graphql
Fix for compatibility with Rails initializers
Several fixes and tests for alternatives
- New tests to ensure the alternatives functionality
- Fixes to make sure alternatives work properly
Small fixes
The gem has been pretty stable so far. A minor weird bug with the initialization of operation was found, so this version threat that more carefully.
v1.0.0
v1.0.0 RC2
Release Candidate 2
- Fixes for inputs
- Fixes for callbacks and field ownership
- Fixes for the inline type creator and sources
- Fixes to folder structure and constant management
- Provide a better URL for ISO 8601 specification
- Make some constants private
v1.0.0 RC1
Release Candidate 1
- Added the
@specifiedBy
directive - Added request extensions
- Base controller and base channel
- An easy-to-use GraphiQL View
- A brand new inline-type creator
- Organized several method names to follow one single patter
- Several fixes to events and callbacks
- Fixes for source hooks
- Fixes for scoped arguments
- Docs now available on the website
Beta release
Getting ready for Beta!
- Brand new parser, way faster than the previous one and 16x faster than the original gem
- Subscriptions are now available using ActionCable
- Sources are now built on demand
- A nice backtrace display for when things go wrong
- Methods to validate and compile queries for tests and in preparation for a strict mode feature
- Simple way to provide data to requests for both testing and reusage
- Alternatives are now available: fields can be defined in a standalone class, or in groups, apart from where they will actually live
- Support for persisted queries and several caching features
- Support to ActiveRecord running MySQL
- Fields description can now be defined on I18n
- Way better integration with Zeitwrek. Now the
graphql
folder is 100% compliant with reloader, even though it has its particular structure - Everything now is compliant with GlobalID, which means that GraphQL objects like fields and directives can be sent to ActiveJob and other places in a serializable way
- TypeMap versioning, so that the application can be updated without tearing down GraphQL
- Lots of performance improvements
Fields authorization and other improvements
New features
- Fields can now be authorized through events or a
authorize!
method defined on the schema or nested owners.
Improvements
- Callbacks can now be called with extra arguments
- Improved how the callback by symbol finds its callable object
- Fixed issue with event
last_result
- Improved chain calling after defining a
field
- Fixed a problem with
query_field?
and similar and addedquery_field(name)
- Set the initial scope of ActiveRecord sources as the
default_scope
- Fixed an issue with inspection of types defined on
TypeMap#each_from
First version
This is the first version the implements the following:
- Queries and Mutations
- Most of the spec requirements (excluding nested array and subscription)
- Proxy fields
- Active Record Sources (For PostgreSQL and SQLite)
- Some custom scalar types