Skip to content

Releases: mhgbrown/cached_resource

v7.1.0: No cache write when disabled, chain calls like active_resource

Add Official Ruby 3 Support

04 Feb 12:44
964895e
Compare
Choose a tag to compare
  • Move CI/CD to Github Actions
  • Establish official lower Ruby version support to 1.9.0
  • Remove Appraisal in favor of more manual, more multiple-ruby-friendly testing solution

Rails 6 and 7 Support

18 Sep 21:05
Compare
Choose a tag to compare

The release provides official Rails 6.0.x, 6.1.x, and 7.0.x for Ruby < 3.x.y.

No substantial changes were required, just updates to testing infrastructure.

Add configuration option to disable caching of collections

13 Nov 14:38
Compare
Choose a tag to compare

"Adds a configuration option to cache only individual records. Useful when Things are created often but not updated often/even." - @sudoaza

https://rubygems.org/gems/cached_resource/versions/5.3.0

Thing.clear_cache now only clears the Things cache

04 Nov 10:00
Compare
Choose a tag to compare

Introduces new behavior that limits cache clearing to only the relevant resources and not the whole cache.

https://rubygems.org/gems/cached_resource/versions/5.2.0

Use ActiveSupport::JSON.decode to parse from cache

24 Nov 12:57
Compare
Choose a tag to compare
  • if ActiveSupport.parse_json_times is enabled, ActiveSupport::JSON.decode will convert any strings it recognizes as dates/times into their corresponding objects. Ref.

v4.2.0

19 Nov 21:45
Compare
Choose a tag to compare

Added :race_condition_ttl when writing to cache.

Default :race_condition_ttl setting is a day.