Releases: virtualshield/rails-graphql
Releases · virtualshield/rails-graphql
Fix for non-prepared data
Rails 8 support and improvements
- Add Rails 8.0 support
- Drop tests for Rails 6
- Fix problem with default arguments and validation
- Add a better way to define type methods on sources
Fix for compatibility with Rails initializers
v1.0.3 Fix for proper 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
@specifiedBydirective - 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
graphqlfolder 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