Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

58 lines (35 loc) · 1.99 KB

Require ruby 2.7. Support ruby 3.1

  • Appraisal: remove rails 5.0, 5.1, and 5.2
  • Appraisal: add rails 7.0
  • Dev: .ruby-version 3.1.2

Merged a few PRs. Shouldn't break anything.

  • Appraisal: add rails 5.1 and 5.2
  • Appraisal: bundle update
  • Fix: alias_method_chain was deprecated a long time ago
  • Fix: clearing the cache will also clear the reverse lookup cache
  • Dev: .ruby-version 2.6.1
  • Doc: docs for :scope and :inverse_scope options on lookup_for method
  • Doc: add changelog

Fix .all on lookup models

Version 0.11.0 breaks Model.where(field: 'value').first_or_create! when Model is configured with lookup_by :field, cache: true.

Rails 5.0.0 support

Update .count signature to support Rails 5.

  • Require ruby 2.2.2+
  • PostgreSQL 9.2+
  • Drop support for JRuby

Default to a threadsafe cache