Skip to content

Commit

Permalink
Merge pull request #1292 from activerecord-hackery/release-3.0.0
Browse files Browse the repository at this point in the history
Get ready for 3.0.0 release
  • Loading branch information
scarroll32 authored Mar 30, 2022
2 parents 8af5162 + 7d871d7 commit d428d77
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ransack/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ransack
VERSION = '2.6.0'
VERSION = '3.0.0'
end

0 comments on commit d428d77

Please sign in to comment.