Skip to content

Commit

Permalink
[Fix toptal#795] Mark change as breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajiawang committed May 20, 2021
1 parent 5d3a3d1 commit acc080c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

### Changes

* [#795](https://github.com/toptal/chewy/issues/795): **(Breaking)** Change the Chewy::Search::Parameters::Order implementation to use Array ([@jiajiawang][]):
* To allow multiple sorting options that may have the same key name. For example script based sorting whose key will always be `_script`.
* Behaviour change of chained `order` calls.
* e.g. `.order(_script: {a: 1}).order(_script: {b: 2})`
* Before `{:sort=>[{"_script"=>{:b=>2}}]}`
* After `{:sort=>[{"_script"=>{:a=>1}},{"_script"=>{:b=>2}}]}`

* [#654](https://github.com/toptal/chewy/issues/654): Add helpers and matchers for testing ([@Vitalina-Vakulchyk][]):
* `mock_elasticsearch_response` helpers both Rspec and Minitest - to mock elasticsearch response
* `mock_elasticsearch_response_sources` helpers both Rspec and Minitest - to mock elasticsearch response sources
Expand All @@ -14,9 +21,6 @@

### Bugs Fixed

* [#795](https://github.com/toptal/chewy/issues/795): Change the Chewy::Search::Parameters::Order implementation to use Array ([@jiajiawang][]):
* To allow multiple sorting options that may have the same key name. For example script based sorting whose key will always be `_script`.

## 7.2.1 (2021-05-11)

### New Features
Expand Down

0 comments on commit acc080c

Please sign in to comment.