Merge pull request #1292 from activerecord-hackery/release-3.0.0

Get ready for 3.0.0 release
This commit is contained in:
Sean 2022-03-31 00:17:23 +02:00 committed by GitHub
commit d428d7724b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -2,7 +2,19 @@
## Unreleased
## 3.0.0 - 2022-03-30
* Move documentation into Docusaurus.
PR [1291](https://github.com/activerecord-hackery/ransack/pull/1291)
* [BREAKING CHANGE] Remove deprecated `#search` method.
PR [1147](https://github.com/activerecord-hackery/ransack/pull/1147)
* Allow scopes that define string SQL joins.
PR [1225](https://github.com/activerecord-hackery/ransack/pull/1225)
* Improve `sort_link` documentation.
PR [1290](https://github.com/activerecord-hackery/ransack/pull/1290)
* Deprecate passing two trailing hashes to `sort_link`, for example:
@ -11,6 +23,7 @@
```
Pass a single hash with all options instead.
PR [1289](https://github.com/activerecord-hackery/ransack/pull/1289)
* Fix `:class` option to `sort_link` not being passed to the generated link
correctly when no additional options are passed. For example:
@ -19,6 +32,11 @@
sort_link(@q, :bussiness_name, class: "foo")
```
PR [1288](https://github.com/activerecord-hackery/ransack/pull/1288)
* Evaluate `ransackable_scopes` before attributes when building the query.
PR [759](https://github.com/activerecord-hackery/ransack/pull/759)
## 2.6.0 - 2022-03-08
* Fix regression when joining a table with itself.

View File

@ -1,3 +1,3 @@
module Ransack
VERSION = '2.6.0'
VERSION = '3.0.0'
end