1.1.0 / 2020-12-05
New and Noteworthy
-
At least ruby 2.7 is required.
-
Typeresolution is now supported by two new tags in the project-list.xml file:
build-command
andauxclasspath-command
. For details, see pull request #72. -
As part of #74 runner now returns a single hash
with the summarized values instead of multiple numbers:
summary = PmdTester::Runner.new(argv).run
puts summary
# {:errors=>{:new=>0, :removed=>0}, :violations=>{:new=>0, :removed=>0, :changed=>0}, :configerrors=>{:new=>0, :removed=>0}}
- As part of #73 and #78
a improved HTML report is now generated with the following features:- searchable table for violations with filters by rule/file/kind (added, removed, changed)
- summary of changes by rule
- code snippets for the violations
Fixed Issues
- #48: Support auxclasspath / typeresolution
- #67: Report contains errors having nil filename
- #68: Don't generate a dynamic ruleset if not needed
- #69: Detect single rules with auto-gen-config
- #70: Add link to PR on github in HTML report
- #73: Better HTML presentation for diff report
- #74: Merge violations that have just changed messages
- #75: Add new option "--error-recovery"
- #76: Speedup XML parsing
- #79: Add new configuration option "--baseline-download-url"
- #80: Cache and reuse pmd builds