Here’s a small bugfix release with a big parser update!
Huge thanks as always to Ryan Davis for maintaining
Changes since 5.1.1:
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
- Fix sorting with
nil line numbers
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.
Jason Frey cleaned up the
Processing libs... updates so it doesn’t look like
Processing libs...ssed anymore.
Enums Without Symbols
enum where the first argument is not a symbol will be ignored for now.
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.
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.
The SHA256 sums for this release are:
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.
Follow @brakeman on Twitter and hang out on Gitter for questions and discussion.