Skip to content

Latest commit

 

History

History
637 lines (421 loc) · 24.3 KB

CHANGELOG.md

File metadata and controls

637 lines (421 loc) · 24.3 KB

Changelog

Unreleased

1.39.2

  • Ensure a URI scheme on file paths from the built-in LSP #642.

1.39.1

1.39.0

  • Add support for LSP Code Actions / Quick Fix under Ruby LSP #636

1.38.0

1.37.0

1.36.0

  • Updates rubocop to 1.63.5
  • Updates standard-performance to 1.4.0

1.35.1

  • Corrects rubocop constraint to the patch version, not minor version.

1.35.0

  • Updates rubocop to 1.62

1.34.0

1.33.0

  • Updates rubocop to 1.59.0
  • Updates standard-performance to 1.3.0

1.32.1

  • Fixes regeneration of TODO files ot avoid missing already-ignored rules #587

1.32.0

1.31.2

  • Updates rubocop to 1.52.4
  • Updates standard-performance to v1.2.1

1.31.1

1.31.0

  • Updates standard-performance to v1.2.0
  • Updates rubocop to 1.56.0

1.30.1

  • Just kidding about about Standard::PluginSupport. Moving it to LintRoller::Support to avoid circular dependencies between Standard Ruby and its plugins

1.30.0

  • Add Standard::PluginSupport module of classes designed to make it a little easier to author plugins. MergesUpstreamMetadata#merge will allow a minimal YAML config (say, standard-sorbet's, which only contains Enabled values for each rule) to merge in any other defaults from a source YAML (e.g. rubocop-sorbet's which includes Description, VersionAdded, and so on). This way that metadata is neither absent at runtime nor duplicated in a standard plugin that mirrors a rubocop extension

1.29.0

  • Updates standard-performance to 1.1.0
  • Updates rubocop to 1.52.0
    • Enables Style/ExactRegexpMatch, Style/RedundantArrayConstructor, Style/RedundantFilterChain, Style/RedundantRegexpConstructor

1.28.5

  • Make LSP behave more nicely with nvim-lspconfig #564

1.28.4

1.28.3

1.28.2

  • Attempts to fix the not-actually fixed plugin behavior in 1.28.1

1.28.1

  • Fixes plugin behavior caused by setting DisabledByDefault: true in AllCops Effectively, a single lint_roller plugin whose rules were of type :object would inadvertently mark all previously-defined rules as invalid. #557

1.28.0

  • Refactor Standard into 3 gems and convert all built-in configuration into lint_roller plugins. See:
  • Standard's behavior when merging multiple extend_config that change the same set of rules has been fixed to be first-in-wins, as opposed to last-in-wins. This ensures a consistent behavior across plugins and extended configurations, namely that the first thing to configure a given rule effectively locks it from subsequent changes
  • Enable DisabledByDefault: true. This shouldn't impact anyone, but might change the behavior of some extend_config users. Because Standard specifies every rule in rubocop and rubocop-performance, this configuration's absence wasn't felt until we went to the plugin system, where it makes much more sense for plugins to opt-in to the cops they want to configure, as opposed to just running every single one that they happen to load/require

1.27.0

1.26.0

  • Introduce --fix-unsafely and rake standard:fix_unsafely for running unsafe corrections. Improve output about fix suggestions, as well #545

1.25.5

  • Temporarily disable registration of executeCommand to prevent conflict with the VS Code extension's client-side registration of the same name #544

1.25.4

  • Bring the LSP Server's executeCommand capabilities in line with the spec #543

1.25.3

  • Relax the version specifier on rubocop and rubocop-performance to allow patch-level updates

1.25.2

  • Disable Style/RedundantFetchBlock due to concerns the performance benefit isn't worth the inconsistency it causes and the fact it is incompatible with ActiveSupport #527

1.25.1

  • When in stdin mode, don't invoke the RuboCop runner with parallel: true to avoid an interaction that breaks auto-fixing #530, #536

1.25.0

1.24.3

  • Further further further improve --lsp server to ignore files correctly

1.24.2

  • Further further improve --lsp server to always respond to requests

1.24.1

  • Further improve --lsp server to better support commands used by VS Code

1.24.0

  • Improve --lsp server to better support the commands used by VS Code

1.23.0

  • Update rubocop from 1.42.0 to 1.44.1

1.22.1

  • Improve the behavior of extend_config to more accurately reflect how Rubocop extensions would behave when loaded via the rubocop CLI (by capturing any mutations to RuboCop's default configuration) #512

1.22.0

  • Add extend_config option #506

1.21.1

  • Fix standard comment directives #498

1.21.0

  • Update rubocop-performance from 1.15.1 to 1.15.2
  • Update rubocop from 1.40.0 to 1.42.0

1.20.0

  • Update rubocop from 1.39.0 to 1.40.0

1.19.1

  • Loosen dependency on language_server-protocol

1.19.0

  • Add a language server protocol (LSP) server via the new standardrb --lsp command line mode. All credit to @will! #475

1.18.1

  • Update rubocop-performance from 1.15.0 to 1.15.1

1.18.0

  • Update rubocop from 1.38.0 to 1.39.0

1.17.0

  • Update rubocop-performance from 1.14.3 to 1.15.0
  • Update rubocop from 1.35.1 to 1.38.0
  • Require parentheses around complex ternary conditions 3b0b499a

1.16.1

  • Update rubocop from 1.35.0 to 1.35.1

1.16.0

  • Update rubocop from 1.33.0 to 1.35.0

1.15.0

  • Update rubocop from 1.32.0 to 1.33.0

1.14.0

  • Update rubocop from 1.31.2 to 1.32.0

1.13.0

  • Update rubocop-performance from 1.13.3 to 1.14.3
  • Update rubocop from 1.29.1 to 1.31.2

1.12.1

  • Update rubocop from 1.29.0 to 1.29.1, fixing #413

1.12.0

  • Update rubocop from 1.28.2 to 1.29.0

1.11.0

  • Update rubocop from 1.27.0 to 1.28.2

1.10.0

  • Update rubocop from 1.26.1 to 1.27.0

1.9.1

  • Update rubocop from 1.26.0 to 1.26.1

1.9.0

  • Rule change to Layout/CaseIndentation to have the when and ins inside a case statement aligned with the end of the case. The end will be aligned with a variable instead of the case keyword if applicable.

1.8.0

  • Update rubocop from 1.25.1 to 1.26.0

1.7.3

  • Update rubocop-performance from 1.13.2 to 1.13.3

1.7.2

  • Removes Style/RedundantBegin from Ruby versions <= 2.4

1.7.1

  • Update rubocop from 1.25.0 to 1.25.1

1.7.0

  • Update rubocop-performance from 1.13.1 to 1.13.2
  • Update rubocop from 1.24.1 to 1.25.0

1.6.0

  • Update rubocop-performance from 1.12.0 to 1.13.1
  • Update rubocop from 1.23.0 to 1.24.1

1.5.0

  • Update rubocop-performance from 1.11.5 to 1.12.0
  • Update rubocop from 1.22.3 to 1.23.0

1.4.0

1.3.0

  • Update rubocop from 1.19.1 to 1.20.0

1.2.0

  • Update rubocop from 1.18.4 to 1.19.1
  • Update rubocop-performance from 1.11.4 to 1.11.5

1.1.7

  • Fix an issue with nested generated todos being ignored #311

1.1.6

  • Update rubocop from 1.18.3 to 1.18.4

1.1.5

  • Update rubocop from 1.18.2 to 1.18.3
  • Update rubocop-performance from 1.11.3 to 1.11.4
  • Disabled Performance/DeletePrefix because it was marked as unsafe.

1.1.4

  • Update rubocop from 1.18.1 to 1.18.2
  • Update rubocop-performance from 1.11.2 to 1.11.3

1.1.3

  • Update rubocop from 1.17.0 to 1.18.1

1.1.2

  • Update rubocop from 1.14.0 to 1.17.0

1.1.1

  • Update rubocop from 1.13.0 to 1.14.0
  • Update rubocop-performance from 1.11.1 to 1.11.2

1.1.0

1.0.5

  • Update rubocop from 1.11.0 to 1.12.1

1.0.4

  • Workaround RuboCop's CLI from erroring when it detects a cop named BlockDelimiters by renaming it to BlockSingleLineBraces (#271)

1.0.3

  • Fix an exit code bug introduced in 1.0.2 (#272

1.0.2

1.0.1

  • Update rubocop from 1.10.0 to 1.11.0
  • Update rubocop-performance from 1.9.2 to 1.10.1

1.0.0

  • Relax multi-line block rules, moving away from enforcing semantic blocks to instead allowing code to adhere to whatever multi-line format the author deems best #263
  • Allow a standard:disable comment directive in addition to rubocop:disable #186
  • Remove the banner text that standard outputs after failure #264

0.13.0

0.12.0

0.11.0

  • Update rubocop-performance from 1.9.1 to 1.9.2
  • Update rubocop from 1.4.2 to 1.7.0
  • Changed Style/NegatedIf to postfix

0.10.2

0.10.1

0.10.0

0.9.0

0.8.1

  • Make it match semver

0.8

  • Update rubocop from 0.93.1 to 1.0.0
  • Update rubocop from 0.92 to 0.93 to 0.93.1 enabling:
  • Disable Performance/Sum because #208 and the lack of actual auto-correcting is also causing more trouble

0.7

  • Update rubocop from 0.91.1 to 0.92

0.6.2

  • Update rubocop from 0.91 to 0.91.1
  • Update rubocop-performance from 1.8.0 to 1.8.1:
    • Enable Performance/Sum

0.6.1

0.6.0

0.5.2

  • Turned off Lint/MissingSuper, because it effectively bans a common idiom in Sorbet (#195) and might be a bit too heavy-handed/opinionated for cases where a class is designed intentionally to not run its parent's initializer (like abstract superclasses more generally)

0.5.1

  • Enabled Style/MultilineWhenThen

0.5.0

  • Update Rubocop from 0.85.0 to 0.89.1, enabling:
    • Lint/BinaryOperatorWithIdenticalOperands
    • Lint/DuplicateElsifCondition
    • Lint/DuplicateRescueException
    • Lint/FloatComparison
    • Lint/MissingSuper
    • Lint/OutOfRangeRegexpRef
    • Lint/RedundantRequireStatement
    • Lint/RedundantSplatExpansion
    • Lint/SafeNavigationWithEmpty
    • Lint/SelfAssignment
    • Lint/TopLevelReturnWithArgument
    • Style/GlobalStdStream
    • Style/RedundantAssignment
    • Style/RedundantFetchBlock
    • Style/RedundantFileExtensionInRequire
  • Update rubocop-performance from 1.6.0 to 1.7.1, enabling:
    • Performance/BigDecimalWithNumericArgument
    • Performance/RedundantSortBlock
    • Performance/RedundantStringChars
    • Performance/ReverseFirst
    • Performance/SortReverse
    • Performance/Squeeze

0.4.7

0.4.6

  • Disable Naming/BinaryOperatorParameterName because (when non-ascii method names are used), it incorrectly identifies them as being +() operator overrides (overly aggressive)

0.4.5

  • Disable Naming/AsciiIdentifiers for the same reason as mentioned below in 0.4.4 (specifically to allow programs written in non-Latin languages to define identifiers)

0.4.4

  • Disable Naming/MethodName cop. While snake_case is the conventional way to name a Ruby method, the cop is too restrictive in that it also prevents non-ASCII characters from being included in method names

0.4.3

  • Improve output of the todo feature

0.4.2

  • Track Rubocop 0.83.0
    • Update our default to allow trailing whitespace in heredocs
    • Disable auto-correct for a cop that changed :true to true, as that's not safe
    • Allow comments in empty when blocks

0.4.1

  • add given/given! as {} friendly blocks #172

0.4.0

  • Add --todo mode for incremental adoption of Standard to a project (PR by @mrbiggred)

0.3.0

  • Update Standard to track Rubocop 0.82.0 (commit)