aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 4e264f5f2a..beead181f3 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,12 @@
+* Add ActiveRecord::Base#cache_version to support recyclable cache keys via the new versioned entries
+ in ActiveSupport::Cache. This also means that ActiveRecord::Base#cache_key will now return a stable key
+ that does not include a timestamp any more.
+
+ NOTE: This feature is turned off by default, and #cache_key will still return cache keys with timestamps
+ until you set ActiveRecord::Base.cache_versioning = true. That's the setting for all new apps on Rails 5.2+
+
+ *DHH*
+
* Respect 'SchemaDumper.ignore_tables' in rake tasks for databases structure dump
*Rusty Geldmacher*, *Guillermo Iguaran*