Skip to content

Commit

Permalink
Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed May 6, 2022
1 parent 1b6bda4 commit e6a5a94
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 14 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,29 @@

## master (unreleased)

### New features

* [#10570](https://github.com/rubocop/rubocop/issues/10570): Add new `Gemspec/DependencyVersion` cop. ([@nobuyo][])
* [#10542](https://github.com/rubocop/rubocop/pull/10542): Add markdown formatter. ([@joe-sharp][])
* [#10539](https://github.com/rubocop/rubocop/issues/10539): Add `AllowedPatterns` configuration option to `Naming/VariableNumber` and `Naming/VariableName`. ([@henrahmagix][])
* [#10568](https://github.com/rubocop/rubocop/issues/10568): Add new `Style/EnvHome` cop. ([@koic][])

### Bug fixes

* [#10586](https://github.com/rubocop/rubocop/issues/10586): Fix a false positive for `Style/DoubleNegation` when using `define_method` or `define_singleton_method`. ([@ydah][])
* [#10579](https://github.com/rubocop/rubocop/issues/10579): Fix a false positive for `Style/FetchEnvVar` when calling a method with safe navigation`. ([@koic][])
* [#10581](https://github.com/rubocop/rubocop/issues/10581): Fix a false positive for `Style/FetchEnvVar` when comparing with `ENV['TERM']`. ([@koic][])
* [#10589](https://github.com/rubocop/rubocop/issues/10589): Fix autocorrect for `Style/RaiseArgs` with `EnforcedStyle: compact` and exception object is assigned to a local variable. ([@nobuyo][])
* [#10325](https://github.com/rubocop/rubocop/issues/10325): Enhance `Style/RedundantCondition` by considering the case that variable assignments in each branch. ([@nobuyo][])
* [#10592](https://github.com/rubocop/rubocop/issues/10592): Fix infinite loop on `Style/MultilineTernaryOperator` if using assignment method and condition/branch is multiline. ([@nobuyo][])
* [#10536](https://github.com/rubocop/rubocop/issues/10536): Fix validation for command-line options combination of `--display-only-fail-level-offenses` and `--auto-correct`. ([@nobuyo][])

### Changes

* [#10577](https://github.com/rubocop/rubocop/pull/10577): **(Breaking)** Drop support for Ruby 2.5 and JRuby 9.2 (CRuby 2.5 compatible). ([@koic][])
* [#10585](https://github.com/rubocop/rubocop/pull/10585): Enhance the autocorrect for `Style/FetchEnvVar`. ([@johnny-miyake][])
* [#10577](https://github.com/rubocop/rubocop/pull/10577): **(Breaking)** Retire `Lint/UselessElseWithoutRescue` cop. ([@koic][])

## 1.28.2 (2022-04-25)

### Bug fixes
Expand Down Expand Up @@ -6185,3 +6208,5 @@
[@chrisseaton]: https://github.com/chrisseaton
[@nobuyo]: https://github.com/nobuyo
[@johnny-miyake]: https://github.com/johnny-miyake
[@joe-sharp]: https://github.com/joe-sharp
[@henrahmagix]: https://github.com/henrahmagix
1 change: 0 additions & 1 deletion changelog/change_drop_ruby_25.md

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_a_false_positive_double_negation.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_a_false_positive_for_style_fetch_env_var.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_autocorrect_for_styleraiseargs.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_enhance_style_redundantcondition.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_validation_for_commandline_options.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_gemspec_dependency_version_cop.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_markdown_formatter.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_new_option_to_namingvariablenumber.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_new_style_env_home_cop.md

This file was deleted.

0 comments on commit e6a5a94

Please sign in to comment.