Skip to content

Releases: mhgbrown/cached_resource

v9.0.0: [ISSUE-68] Improved Specs and Added Coverage Report (#70)

22 Jul 15:45
9c3a180
Compare
Choose a tag to compare
  • Removed support for Ruby < 3.0
  • Removed support for Rails < 6.1
  • Added Coverage Report to Github CI
  • Added Linter to Github CI
  • Updated RSpec to use latest syntax and updated specs
  • Updated to a breaking version, 9.0

v8.0.0

08 May 11:19
a2d1b33
Compare
Choose a tag to compare

What's Changed

  • [ISSUE-26] Async writes using concurrent-ruby by @jlurena in #61
  • Drop support for Ruby < 2.3; add support for Ruby 3.3, Rails 7.1 by @mhgbrown in #64

Full Changelog: v7.2.0...v8.0.0

v7.2.0

08 May 11:19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.1.0...v7.2.0

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

18 Jan 13:24
Compare
Choose a tag to compare

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.