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.
- #76 Support in HTML display rules as links, when help Uri provided
- #82
trendandcsvoutput csv files have\r\nline terminators when generated on Linux machine - #97 sarif blame crashes with UnicodeDecodeError when it encounters invalid UTF-8
- #73 Crash when using
--check.
- #43 Support getting level from
ruleConfigurationOverridesanddefaultConfiguration. - #68 Fixed regression where reversing diff direction gave different results.
- #55 part 2: Add
executionSuccessfultocopyoperation output for SARIF schema compliance.
- #58 Fixed regression that broke
sarif diffcommand in v3.0.0.
3.0.0 - 2024-09-10
- Changed Python API to use new IssueReport type for issue grouping and sorting:
SarifFileSetnow has aget_report()methods.get_result_count_by_severity()replaced bys.get_report().get_issue_type_histogram_for_severity(severity)s.get_result_count_by_severity()replaced bys.get_report().get_issue_count_for_severity(severity)s.get_records_grouped_by_severity()replaced bys.get_report().get_issues_for_severity(severity)
- Support "none" severity level. It's only included in the output if present in the input.
- #39 Truncate long summaries.
- Made issue sorting and grouping more consistent across the various reports.
- Multiple occurrences of a single issue are now sorted by location in the Word report.
- Improved debug and version reporting for when multiple versions are installed.
- For the copy operation, "invocation" in the resulting sarif is changed to an object to match the spec.
- #53 Fix the
blamecommand forfile:///URL locations.
- Python 3.8+
2.0.0 - 2022-11-07
- "Code" and "Description" are now separate columns in the CSV output, whereas before they were combined in the "Code" column. They are also separate keys in the "record" format if calling sarif-tools from Python.
--blame-filterargument has been replaced with--filter, using a new YAML-based format for more general filtering to replace the previous ad hoc text format which only supported blame.- There is a new
upgrade-filtercommand to upgrade your old blame filter files to the new format. - Thanks to @abyss638 for contributing this enhancement!
- There is a new
- New
codeclimatecommand to generate output for GitLab use.- Thanks to @abyss638 for contributing this enhancement!
- New
emacscommand to generate output for the popular Linux text editor.- Thanks to @dkloper for contributing this enhancement!
- #14 Support recursive glob
- Thanks to @bushelofsilicon for contributing this enhancement!
- When an input SARIF file contains blame information, the
csvcommand output now has a column forAuthor. - #18 The
diffcommand now prints up to three locations of new occurrences of issues (all are listed in the file output mode).
- #4 and #19 docs improvements.
- #12 allow zero locations for record.
- #15 allow
textto be absent inmessageobject. - #20 allow UTF8 with BOM (`utf-8-sig`` encoding)
- Thanks to @ManuelBerrueta for contributing this fix!
- Python 3.8+
1.0.0 - 2022-05-09
- Development, build and release is now based on python-poetry.
- No change to functionality since v0.3.0.
- Python 3.8+
0.3.0 - 2022-01-14
- Support for globs in Windows, e.g.
sarif summary android*.sarif infoandcopycommands
- Python 3.8+
0.2.0 - 2022-01-07
--blame-filterargument.
- Compatible with Python v3.8. Previously, Python v3.9 was required.
- Python 3.8+
0.1.0 - 2021-11-11
- Initial versions of commands
blame,csv,diff,html,ls,summary,trend,usageandwordcreated in Microsoft Global Hackathon 2021.
- Python 3.9+