Skip to content

Commit d389875

Browse files
Release 1.22.0
1 parent 00c65ea commit d389875

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

ChangeLog

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
1-
CHANGELOG
1+
# CHANGELOG
2+
3+
## [1.22.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.22.0) (2019-03-21)
4+
5+
🚨 The documentation for our Rails integration was refreshed 🎉
6+
https://www.algolia.com/doc/framework-integration/rails/getting-started/setup/
7+
8+
**Added**
9+
10+
* Introduce `algolia_dirty?` on models to decide if a model should be reindex.
11+
12+
This feature already exists via _changed? methods but might requires to implements many
13+
methods if you have multiple dynamic attributes. Dynamic attributes are attributes not mapping
14+
to a DB column. This feature allows you to group avoid all the _changed? method calls and
15+
group all the logic inside one unique method.
16+
17+
**Fixed**
18+
19+
* Fix _changed? method call for Rails 5.2+ with dynamic attribute - PR [#338](https://github.com/algolia/algoliasearch-rails/pull/338)
20+
21+
Related issue: https://github.com/algolia/algoliasearch-rails/issues/140
22+
Documentation: https://www.algolia.com/doc/framework-integration/rails/indexing/indexing/#automatic-updates
23+
224

325
## [1.21.0](https://github.com/algolia/algoliasearch-rails/releases/tag/1.21.0) (2019-02-12)
426

lib/algoliasearch/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module AlgoliaSearch
2-
VERSION = '1.21.0'
2+
VERSION = '1.22.0'
33
end

0 commit comments

Comments
 (0)