Commit c5b71d8f5cab8fc376e6f28c12ae7b4a67919057

Authored by Andrew
1 parent bb47d061

Added breaking changes to readme [skip ci]

Showing 2 changed files with 13 additions and 0 deletions   Show diff stats
CHANGELOG.md
... ... @@ -6,6 +6,7 @@
6 6 - Types are no longer supported. To upgrade models that use inheritance, upgrade your gem to `2.5.0`. Added `inheritance: true` to your `searchkick` method, and do a full reindex before upgrading.
7 7 - Bumped default `limit` to 10,000
8 8 - The `_all` field is disabled by default in Elasticsearch 5. Use `searchkick _all: true` if you need it.
  9 +- An `ArgumentError` is raised instead of a warning when options are incompatible with the `body` option
9 10  
10 11 ## 2.5.1 [unreleased]
11 12  
... ...
README.md
... ... @@ -1854,6 +1854,18 @@ View the [changelog](https://github.com/ankane/searchkick/blob/master/CHANGELOG.
1854 1854  
1855 1855 Important notes are listed below.
1856 1856  
  1857 +### 3.0.0
  1858 +
  1859 +#### Breaking Changes
  1860 +
  1861 +- Removed support for Elasticsearch 2
  1862 +- Removed support for ActiveRecord < 4.2 and Mongoid < 5
  1863 +- Removed `reindex_async` method. `reindex` now defaults to mode specified by model. Use `reindex(mode: :async)` to force async reindex.
  1864 +- Types are no longer supported. To upgrade models that use inheritance, upgrade your gem to `2.5.0`. Added `inheritance: true` to your `searchkick` method, and do a full reindex before upgrading.
  1865 +- Bumped default `limit` to 10,000
  1866 +- The `_all` field is disabled by default in Elasticsearch 5. Use `searchkick _all: true` if you need it.
  1867 +- An `ArgumentError` is raised instead of a warning when options are incompatible with the `body` option
  1868 +
1857 1869 ### 2.0.0
1858 1870  
1859 1871 - Added support for `reindex` on associations
... ...