All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix handling require at the top of the file, nil nodes, and nodes that aren't of type AST::node (#15). Thanks @rohitpaulk and @libmartinito
- Drop support for Ruby 2.4, 2.5, and 2.6
- Autocorrection support for Sorbet signatures
- Fix NoMethodError and the "[Correctable]" label (#6). Thanks @jaredbeck.
- Drop Ruby 2.3 support
- Drop support for rubocop < 1.0
- Support for rubocop >= 1.0 (#5). Thanks @jaredbeck.
- Upgrade rake to avoid vulnerability https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8130
- rake is a development dependency for this gem, so shouldn't have been a risk for production
- Drop Ruby 2.2 support
- Nonadjacent qualifiers are now autocorrected (#4). Thanks @adamkiczula.
- Cache AST traversals for significant speed up on large files
- More robust autocorrection of a method and its surroundings (see
Corrector
in theREADME
).
0.3 - 2019-02-17
- Configuration defaults
0.2 - 2019-02-17
- Autocorrector
0.1 - 2019-02-17
Initial release.