Skip to content

Releases: cerebris/jsonapi-resources

Use related records for joined resources

09 Feb 20:01
Compare
Choose a tag to compare

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

19 May 21:08
Compare
Choose a tag to compare

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

05 Feb 19:33
Compare
Choose a tag to compare

Brings in support for Rails 6.1 and Ruby 3.0

v0.9.12 - Rails 6.1 compatibility and bug fixes

04 Feb 21:47
Compare
Choose a tag to compare

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

04 Feb 21:37
Compare
Choose a tag to compare

This is primarily a bug fix release. Fixes:

  • issue with included resources be limited when pagination is enabled
  • default_processor_klass deprecated. Use default_processor_klass_name to avoid warnings

v0.10.2 - Return 404 for show request when resource is not found

11 Dec 13:12
Compare
Choose a tag to compare

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

11 Dec 13:08
Compare
Choose a tag to compare

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

30 Oct 23:58
Compare
Choose a tag to compare

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

01 Oct 14:39
Compare
Choose a tag to compare

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

18 Sep 11:07
Compare
Choose a tag to compare
Pre-release

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.