Changes since 5.1.1:
- Updated
ruby_parser
(Ryan Davis) - Fix issue where the previous output is still visible (Jason Frey)
- Handle cases where enums are not symbols (#1627)
- Support newer Haml with
::Haml::AttributeBuilder.build
- Fix sorting with
nil
line numbers
Here’s a small bugfix release with a big parser update!
Huge thanks as always to Ryan Davis for maintaining ruby_parser
.
Updated RubyParser
Once again, Ryan Davis comes through with a great update of ruby_parser including support for newer Ruby 2.7 and 3.0 syntaxes as well as many other fixes and improvements.
(changes)
Output Cleanup
Jason Frey cleaned up the Processing libs...
updates so it doesn’t look like Processing libs...ssed
anymore.
(changes)
Enums Without Symbols
Calls to enum
where the first argument is not a symbol will be ignored for now.
(changes)
Newer Haml
In Haml 5.2.2 the ::Haml::AttributeBuilder.build
method started popping up and Brakeman was treating it as suspicious.
For now, ignoring it because it seems pretty safe.
(changes)
Sorting with Missing Line Numbers
In some, apparently rare cases, if two warnings have the same confidence, warning type, and are in the same file, but have nil
line numbers,
then it could (but doesn’t always) cause a sorting error.
(changes)
Checksums
The SHA256 sums for this release are:
Reporting Issues
Thank you to everyone who reported bugs and contributed to this release!
Please report any issues with this release. Take a look at this guide to reporting Brakeman problems.
Hang out on GitHub for questions and discussion.