diff --git a/CHANGELOG.md b/CHANGELOG.md index dd9b028422..b6a3f70672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,22 @@ ## master (unreleased) +### New features + +* [#1183](https://github.com/rubocop/rubocop-rails/pull/1183): Support PostGIS adapter for PostgreSQL. ([@Dania02525][]) + +### Bug fixes + +* [#1206](https://github.com/rubocop/rubocop-rails/issues/1206): Fix an error for `Rails/WhereMissing` where join method is called without arguments. ([@fatkodima][]) +* [#1189](https://github.com/rubocop/rubocop-rails/issues/1189): Fix false negatives for `Rails/Pluck` when using safe navigation method calls. ([@koic][]) +* [#1204](https://github.com/rubocop/rubocop-rails/pull/1204): Make `Rails/ActiveSupportAliases`, `Rails/FindBy`, `Rails/FindById`, `Rails/Inquiry`, `Rails/Pick` `Rails/PluckId`, `Rails/PluckInWhere`, `Rails/WhereEquals`, `Rails/WhereExists`, and `Rails/WhereNot` cops aware of safe navigation operator. ([@koic][]) + +### Changes + +* [#1213](https://github.com/rubocop/rubocop-rails/issues/1213): Update `Rails/PluckInWhere` to check for `.ids` call. ([@fatkodima][]) +* [#1181](https://github.com/rubocop/rubocop-rails/pull/1181): Support `Nokogiri::HTML.parse` and `Nokogiri::HTML5.parse` on `Rails/ResponseParsedBody`. ([@r7kamura][]) +* [#1198](https://github.com/rubocop/rubocop-rails/issues/1198): Support `where.not` for `Rails/PluckInWhere`. ([@fatkodima][]) + ## 2.22.2 (2023-11-19) ### Bug fixes @@ -995,3 +1011,4 @@ [@marocchino]: https://github.com/marocchino [@jamiemccarthy]: https://github.com/jamiemccarthy [@sambostock]: https://github.com/sambostock +[@Dania02525]: https://github.com/Dania02525 diff --git a/changelog/change_support_ids_for_pluck_in_where.md b/changelog/change_support_ids_for_pluck_in_where.md deleted file mode 100644 index 91b7641e88..0000000000 --- a/changelog/change_support_ids_for_pluck_in_where.md +++ /dev/null @@ -1 +0,0 @@ -* [#1213](https://github.com/rubocop/rubocop-rails/issues/1213): Update `Rails/PluckInWhere` to check for `.ids` call. ([@fatkodima][]) diff --git a/changelog/change_support_nokogiri_html_parse.md b/changelog/change_support_nokogiri_html_parse.md deleted file mode 100644 index 3e153e7248..0000000000 --- a/changelog/change_support_nokogiri_html_parse.md +++ /dev/null @@ -1 +0,0 @@ -* [#1181](https://github.com/rubocop/rubocop-rails/pull/1181): Support `Nokogiri::HTML.parse` and `Nokogiri::HTML5.parse` on `Rails/ResponseParsedBody`. ([@r7kamura][]) diff --git a/changelog/change_support_where_not_for_pluck_in_where.md b/changelog/change_support_where_not_for_pluck_in_where.md deleted file mode 100644 index 17f2dac508..0000000000 --- a/changelog/change_support_where_not_for_pluck_in_where.md +++ /dev/null @@ -1 +0,0 @@ -* [#1198](https://github.com/rubocop/rubocop-rails/issues/1198): Support `where.not` for `Rails/PluckInWhere`. ([@fatkodima][]) diff --git a/changelog/fix_error_for_where_missing_where_joins_called_without_args.md b/changelog/fix_error_for_where_missing_where_joins_called_without_args.md deleted file mode 100644 index c03877f7d8..0000000000 --- a/changelog/fix_error_for_where_missing_where_joins_called_without_args.md +++ /dev/null @@ -1 +0,0 @@ -* [#1206](https://github.com/rubocop/rubocop-rails/issues/1206): Fix an error for `Rails/WhereMissing` where join method is called without arguments. ([@fatkodima][]) diff --git a/changelog/fix_false_negatives_for_rails_pluck.md b/changelog/fix_false_negatives_for_rails_pluck.md deleted file mode 100644 index 901d60c40a..0000000000 --- a/changelog/fix_false_negatives_for_rails_pluck.md +++ /dev/null @@ -1 +0,0 @@ -* [#1189](https://github.com/rubocop/rubocop-rails/issues/1189): Fix false negatives for `Rails/Pluck` when using safe navigation method calls. ([@koic][]) diff --git a/changelog/fix_make_some_cops_aware_of_safe_navigation_operator.md b/changelog/fix_make_some_cops_aware_of_safe_navigation_operator.md deleted file mode 100644 index 31fffba920..0000000000 --- a/changelog/fix_make_some_cops_aware_of_safe_navigation_operator.md +++ /dev/null @@ -1 +0,0 @@ -* [#1204](https://github.com/rubocop/rubocop-rails/pull/1204): Make `Rails/ActiveSupportAliases`, `Rails/FindBy`, `Rails/FindById`, `Rails/Inquiry`, `Rails/Pick` `Rails/PluckId`, `Rails/PluckInWhere`, `Rails/WhereEquals`, `Rails/WhereExists`, and `Rails/WhereNot` cops aware of safe navigation operator. ([@koic][]) diff --git a/changelog/new_support_postgis_adapter_for_postgresql.md b/changelog/new_support_postgis_adapter_for_postgresql.md deleted file mode 100644 index f03580602b..0000000000 --- a/changelog/new_support_postgis_adapter_for_postgresql.md +++ /dev/null @@ -1 +0,0 @@ -* [#1183](https://github.com/rubocop/rubocop-rails/pull/1183): Support PostGIS adapter for PostgreSQL. ([@Dania02525][])