Releases: mhgbrown/cached_resource
Releases · mhgbrown/cached_resource
v9.0.0: [ISSUE-68] Improved Specs and Added Coverage Report (#70)
- 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
v7.2.0
What's Changed
- [ISSUE-62]: Avoid cache nil or empty array responses by @italijancic-th in #63
New Contributors
- @italijancic-th made their first contribution in #63
Full Changelog: v7.1.0...v7.2.0
v7.1.0: No cache write when disabled, chain calls like active_resource
Add Official Ruby 3 Support
- 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
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
"Adds a configuration option to cache only individual records. Useful when Things are created often but not updated often/even." - @sudoaza
Thing.clear_cache now only clears the Things cache
Introduces new behavior that limits cache clearing to only the relevant resources and not the whole cache.
Use ActiveSupport::JSON.decode to parse from cache
- 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
Added :race_condition_ttl when writing to cache.
Default :race_condition_ttl setting is a day.