Releases: cerebris/jsonapi-resources
Use related records for joined resources
Features:
Adds an option to merge in the related resource's records
when joining. This allows permission checks from the related resource to be applied for includes.
Bug fixes
Fixes issue where a relationship's data
is cached, resulting in the presence of the data
in a response where it's not expected.
Commits:
v0.10.5 - Fix polymorphic support for multiword resources
Fix polymorphic support for multiword resources
Also fixes some testing issues resulting in flappy tests
v0.10.4 - Rails 6.1 and Ruby 3.0 support
Brings in support for Rails 6.1 and Ruby 3.0
v0.9.12 - Rails 6.1 compatibility and bug fixes
Adds support for Rails 6.1. Performance improvement for polymorphic resources
Fixes:
- Fix link builder on root engine
- Fix URI.unescape is obsolete warnings
- fix filtering by included resource. When using of custom filter verifier - context is missing
v0.10.3 - Fixes Included resources being limited with pagination
This is primarily a bug fix release. Fixes:
- issue with included resources be limited when pagination is enabled
default_processor_klass
deprecated. Usedefault_processor_klass_name
to avoid warnings
v0.10.2 - Return 404 for show request when resource is not found
A 404 is now returned for a show request for a record that can not be found.
v0.9.11 - Memory improvements and bug fix
This release fixes an issue with trying to access a resource that may not be available due to permission issues.
Memory usage and execution times have been improved, especially on uncached resources.
v0.10.1 - Fix for PostgreSQL SQL generation error
This is a bug fix for this error in PostgreSQL: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
This is accomplished by ensuring fields used in sorting are also selected. This should be a transparent change.
v0.10.0 - Rework of internals
This large release contains a substantial re-architecture of the internals, especially the process of finding resources and their included resources, and caching.
Please see https://jsonapi-resources.com/v0.10/guide/whats_new.html for more details.
An upgrade guide has been added at https://jsonapi-resources.com/v0.10/guide/upgrade_guide.html
v0.10.0.beta9 - Rails 6 support
This release adds support for Rails 6.
In addition projects using the Rails.application.config.relative_url_root
will now generate the correct urls. A bug related to a nil request.protocol
was also fixed in the same code.