Skip to content

Commit ee17be5

Browse files
committed
Update Changelog
1 parent d29357c commit ee17be5

20 files changed

+29
-20
lines changed

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
## master (unreleased)
44

5+
### New features
6+
7+
* [#9112](https://github.com/rubocop-hq/rubocop/pull/9112): Add new cop `Lint/UnexpectedBlockArity`. ([@dvandersluis][])
8+
* [#9010](https://github.com/rubocop-hq/rubocop/pull/9010): `Metrics/ParameterLists` supports `MaxOptionalParameters` config parameter. ([@fatkodima][])
9+
* [#9114](https://github.com/rubocop-hq/rubocop/pull/9114): Support auto-correction for `Style/SoleNestedConditional`. ([@koic][])
10+
* [#8564](https://github.com/rubocop-hq/rubocop/issues/8564): `Metrics/AbcSize`: Add optional discount for repeated "attributes". ([@marcandre][])
11+
12+
### Bug fixes
13+
14+
* [#8820](https://github.com/rubocop-hq/rubocop/issues/8820): Fixes `IfWithSemicolon` autocorrection when `elsif` is present. ([@adrian-rivera][], [@dvandersluis][])
15+
* [#9113](https://github.com/rubocop-hq/rubocop/pull/9113): Fix a false positive for `Style/MethodCallWithoutArgsParentheses` when assigning to a default argument with the same name. ([@koic][])
16+
* [#9115](https://github.com/rubocop-hq/rubocop/issues/9115): Fix a false positive for `Style/FirstArgumentIndentation` when argument has expected indent width and the method is preceded by splat for `EnforcedStyle: consistent_relative_to_receiver`. ([@koic][])
17+
* [#9128](https://github.com/rubocop-hq/rubocop/issues/9128): Fix an incorrect auto-correct for `Style/ClassAndModuleChildren` when namespace is defined as a class in the same file. ([@koic][])
18+
* [#9105](https://github.com/rubocop-hq/rubocop/issues/9105): Fix an incorrect auto-correct for `Style/RedundantCondition` when using operator method in `else`. ([@koic][])
19+
* [#9096](https://github.com/rubocop-hq/rubocop/pull/9096): Fix #9095 use merged_config instead of config for pending new cop check. ([@ThomasKoppensteiner][https://github.com/ThomasKoppensteiner])
20+
* [#8053](https://github.com/rubocop-hq/rubocop/issues/8053): Fix an incorrect auto-correct for `Style/AndOr` when `or` precedes `and`. ([@koic][])
21+
* [#9097](https://github.com/rubocop-hq/rubocop/issues/9097): Fix a false positive for `Layout/EmptyLinesAroundArguments` when blank line is inserted between method with arguments and receiver. ([@koic][])
22+
23+
### Changes
24+
25+
* [#9122](https://github.com/rubocop-hq/rubocop/issues/9122): Added tip message if any gems are loaded that have RuboCop extensions. ([@dvandersluis][])
26+
* [#9104](https://github.com/rubocop-hq/rubocop/issues/9104): Preset some stdlib method names for `Naming/VariableNumber`. ([@koic][])
27+
* [#9127](https://github.com/rubocop-hq/rubocop/pull/9127): Update `Style/SymbolProc` to be aware of numblocks. ([@dvandersluis][])
28+
* [#9102](https://github.com/rubocop-hq/rubocop/pull/9102): Upgrade regexp_parser to 2.0. ([@knu][])
29+
* [#9100](https://github.com/rubocop-hq/rubocop/pull/9100): Update `ConfigObsoletion` so that parameters can be deprecated but still accepted. ([@dvandersluis][])
30+
* [#9108](https://github.com/rubocop-hq/rubocop/pull/9108): Update `Lint/UnmodifiedReduceAccumulator` to handle numblocks and more than 2 arguments. ([@dvandersluis][])
31+
* [#9098](https://github.com/rubocop-hq/rubocop/pull/9098): Update `Metrics/BlockLength` and `Metrics/MethodLength` to use `IgnoredMethods` instead of `ExcludedMethods` in configuration. The previous key is retained for backwards compatibility. ([@dvandersluis][])
32+
* [#9098](https://github.com/rubocop-hq/rubocop/pull/9098): Update `IgnoredMethods` so that every cop that uses it will accept both strings and regexes in the configuration. ([@dvandersluis][])
33+
534
## 1.4.2 (2020-11-25)
635

736
### Bug fixes

changelog/change_added_notification_if_any_gems_are.md

-1
This file was deleted.

changelog/change_preset_ruby_stdlib_api_for_variable_number.md

-1
This file was deleted.

changelog/change_update_configobsoletion_so_that.md

-1
This file was deleted.

changelog/change_update_lintunmodifiedreduceaccumulator.md

-1
This file was deleted.

changelog/change_update_metricsblocklength_and.md

-2
This file was deleted.

changelog/change_update_stylesymbolproc_to_be_aware_of.md

-1
This file was deleted.

changelog/change_upgrade_regexp_parser_to_20.md

-1
This file was deleted.

changelog/fix_an_incorrect_autocorrect_for_style_and_or.md

-1
This file was deleted.

changelog/fix_an_incorrect_autocorrect_for_style_redundant_condition.md

-1
This file was deleted.

changelog/fix_false_positive_for_empty_lines_around_arguments.md

-1
This file was deleted.

changelog/fix_false_positive_for_method_call_without_args_parentheses.md

-1
This file was deleted.

changelog/fix_false_positive_for_style_first_argument_indentation.md

-1
This file was deleted.

changelog/fix_fix_9095_use_merged_config_instead_of.md

-1
This file was deleted.

changelog/fix_if_with_semicolon_correction.md

-1
This file was deleted.

changelog/fix_incorrect_autocorrect_for_class_and_module_children.md

-1
This file was deleted.

changelog/new_add_max_optional_parameters_to_parameter_lists_cop.md

-1
This file was deleted.

changelog/new_add_new_cop_lintunexpectedblockarity.md

-1
This file was deleted.

changelog/new_metricsabcsize_add_optional_discount_for.md

-1
This file was deleted.

changelog/new_support_autocorrect_for_sole_nested_conditional.md

-1
This file was deleted.

0 commit comments

Comments
 (0)