Releases: ASSERT-KTH/sorald
Releases · ASSERT-KTH/sorald
sorald-0.6.0
What's Changed
- chore: release sorald 0.5.0 by @algomaster99 in #824
- fix(deps): update dependency org.sonarsource.sonarlint.core:sonarlint-core to v8.6.0.47852 by @renovate in #806
- chore: create combined PR using GitHub app by @algomaster99 in #803
- Combined PR by @combine-pr in #829
- chore: combine renovate upgrades by @combine-pr in #831
- chore: fix failing tests by @algomaster99 in #837
- chore: combine renovate upgrades by @combine-pr in #839
- chore: rename combine prs workflow by @algomaster99 in #846
- chore: combine renovate upgrades by @combine-pr in #845
- feat: add option to specify rules to mine for (sorald-api) by @algomaster99 in #849
- chore: release sorald-api
0.0.2
by @algomaster99 in #850 - feat: add option to mine for specific rules only (sorald) by @algomaster99 in #848
- doc: Update docs/usage by @github-actions in #852
- chore: release sorald 0.6.0 by @algomaster99 in #853
New Contributors
- @combine-pr made their first contribution in #829
Full Changelog: sorald-0.5.0...sorald-0.6.0
sorald-0.5.0
This release is equivalent to
0.4.1
What's Changed
- feat: use SPI for analyzer loading by @MartinWitt in #758
- feat: abstract ruletype enum with IRuleType by @MartinWitt in #759
- feat: Add processor repository api and sonar implementation by @MartinWitt in #760
- feat: add rule repository by @MartinWitt in #763
- refactor: create parent pom by @MartinWitt in #776
- Review: move sorald to subfolder by @MartinWitt in #779
- refactor: create sorald-api by @MartinWitt in #783
- chore: release sorald 0.4.0 by @algomaster99 in #786
- fix: fix
test_prrecorder::test_make_full_record
by @algomaster99 in #794 - doc: update bibliographic info by @monperrus in #793
- chore: update dependencies using
combined-prs
workflow by @github-actions in #795 - chore: fix
test_prrecorder::test_make_full_record
by @algomaster99 in #801 - fix(deps): update dependency org.sonarsource.sonarlint.core:sonarlint-core to v8.5.0.46449 by @renovate in #791
- chore(deps): update codecov/codecov-action action to v3.1.0 by @renovate in #800
- tests: be aware of what rules Sorald can report by @algomaster99 in #804
- chore(deps): update actions/setup-java action to v3.3.0 by @renovate in #777
- chore: let Sonar to scan all modules by @algomaster99 in #811
- docs: update instructions for building JAR by @algomaster99 in #810
- chore: fix
MineCommand
cli documentation by @algomaster99 in #809 - refactor: reuse APIs defined in RuleRepository in RuleProvider by @algomaster99 in #812
- refactor: restructure project to load Sorald as a service using Java SPI by @algomaster99 in #808
- refactor: pass CLI context rather than individual parameter by @algomaster99 in #815
- feat: add parameters for individual rules while mining by @algomaster99 in #816
- chore: fix path to processors by @algomaster99 in #818
- doc: Update docs/usage by @github-actions in #820
- chore: fix release script by @algomaster99 in #822
Full Changelog: sorald-0.4.0...sorald-0.5.0
sorald-0.4.0
What's Changed
- fix(1854): Handle dead stores in expression position by @slarse in #545
- feat(2095): Handle multiple unclosed closeables in same try by @slarse in #550
- experimentation: Add full record for Spoon pr 3972 by @slarse in #552
- doc: Update docs/ACHIEVEMENTS.md by @github-actions in #553
- fix(3984): Retain simply qualified name of throwable type by @slarse in #555
- fix(1854): Fix handling of unary operators in statement position by @slarse in #556
- chore: Do not fail build if Codecov fails by @slarse in #558
- refactor(2095): Refactor UnclosedResourcesProcessor by @slarse in #557
- fix(2095): Retain finally-block from try when converting to try-with-resources by @slarse in #559
- feat: Add StringLiteralInsideEqualsProcessor (SonarSource rule 1132) by @fermadeiral in #562
- fix: Clean up out-of-scope references to auto-managed resource by @slarse in #564
- Update README.md by @fermadeiral in #567
- test: Verify that processor test resources compile by @slarse in #566
- test: Verify that compilable Java files still compile after repair by @slarse in #569
- feat: Add CollectionIsEmptyProcessor (SonarSource rule 1155) by @fermadeiral in #571
- fix: Fix test errors caused by compile output in test resources by @slarse in #575
- feat: Add CollectionsEmptyConstantsProcessor (SonarSource rule 1596) by @fermadeiral in #574
- refactor: Replace use of ImmutableList with List.copyOf by @slarse in #577
- refactor: Use full string key for Sonar rules by @slarse in #581
- refactor: Extract not method into Transformations utility class by @slarse in #576
- refactor: Encapsulate SonarJava in sorald.sonar subpackage by @slarse in #582
- feat: Add processor for deleting unused private fields (S1068) by @algomaster99 in #584
- fix: modify hyperlink in HANDLED_RULES.md to correctly link list item to its description by @algomaster99 in #585
- doc: adds SoraldBot merged PRs by @khaes-kth in #586
- doc: Update docs/ACHIEVEMENTS.md by @github-actions in #587
- doc: Add badge and text on platform support by @slarse in #590
- chore: Add script for generating HANDLED_RULES.md by @algomaster99 in #588
- feat: Add Windows support by @slarse in #591
- fix: Fix linking of
handled_rules.py
by @algomaster99 in #593 - chore: Integrate generation of HANDLED_RULES.md with CI by @algomaster99 in #595
- docs: Fix typographical and grammatical errors in few processors' README by @algomaster99 in #596
- doc: Update docs/HANDLED_RULES.md by @github-actions in #597
- fix: Check for flow breaks before patching with the repair for S2142 by @algomaster99 in #610
- doc: add Sorald paper by @monperrus in #609
- fix: disable custom security manager for tests which indirectly look up the path of
mvn
executable by @algomaster99 in #617 - refactor: store excluded references in a set which wraps
IdentityHashMap
by @algomaster99 in #611 - chore: configure renovate by @algomaster99 in #619
- chore: prevent renovate from updating digests by @algomaster99 in #644
- chore(deps): update dependency org.jacoco:jacoco-maven-plugin to v0.8.7 by @renovate in #633
- chore(deps): update dependency org.json:json to v20210307 by @renovate in #651
- chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plugin to v3 by @renovate in #650
- chore(deps): update picocli.version to v4.6.2 by @renovate in #648
- chore(deps): update dependency ch.qos.logback:logback-classic to v1.2.7 by @renovate in #629
- chore(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v2.8.2 by @renovate in #631
- chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.17.4 by @renovate in #634
- chore(deps): update dependency commons-io:commons-io to v2.11.0 by @renovate in #635
- chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.1 by @renovate in #636
- chore(deps): update dependency org.apache.maven.scm:maven-scm-provider-gitexe to v1.12.0 by @renovate in #638
- chore(deps): update junit5 monorepo by @renovate in #647
- chore(deps): update dependency org.apache.maven.plugins:maven-release-plugin to v2.5.3 by @renovate in #632
- chore(deps): update dependency org.apache.maven.plugins:maven-source-plugin to v3.2.1 by @renovate in #637
- chore(deps): update dependency org.eclipse.jgit:org.eclipse.jgit to v5.13.0.202109080827-r by @renovate in #657
- chore(deps): update dependency org.sonarsource.java:java-checks-testkit to v7 by @renovate in #655
- chore(deps): update dependency org.eclipse.jgit:org.eclipse.jgit to v6 by @renovate in #660
- chore: remove org.reflections:reflections by @algomaster99 in #654
- chore: activate renovate for suggesting version updates of actions by @algomaster99 in #661
- chore(deps): update codecov/codecov-action action to v1.5.2 by @renovate in #663
- chore(deps): update actions/cache action to v2.1.7 by @renovate in #662
- chore(deps): update actions/setup-java action to v2.4.0 by @renovate in #665
- chore(deps): update actions/setup-python action to v2.3.1 by @renovate in #666
- docs: update tests' status badge by @algomaster99 in #668
- chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.17.5 by @renovate in #669
- chore(deps): update codecov/codecov-action action to v2 by @renovate in #667
- chore(deps): update actions/checkout action to v2.4.0 by @renovate in #664
- docs: update tests files and description for S2111 by @algomaster99 in #670
- doc: Update docs/HANDLED_RULES.md by @github-actions in #671
- chore: upgrade Spoon to
10.0.1-beta-2
by @algomaster99 in #676 - fix(SynchronizationOnStringOrBoxedProcessor): enables Sorald to generate multiple similar fields in separate classes for synchronization by @khaes-kth in #680
- chore: add profile for using spoon SNAPSHOT by @algomaster99 in #682
- docs: update usage of
repair
command by @algomaster99 in #683 - chore: automate generation of subcommand usage with picoli by @algomaster99 in #686
- chore: configure
env.JAVA_DISTRIBUTION
in support.yml by @algomaster99 in #687 - doc: Update docs/usage by @github-actions in #688
- docs: explain incomplete rules after listing the rules by @algomaster99 in #689
- doc: Update docs/usage by @github-actions in #690
- docs: remove detailed description of subcommand from README by @algomaster99 in #685
- chore(deps): update actions/setup-java action to v2.5.0 by @renovate in #691
- chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.19.2 by @renovate in #674
- chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.20.0 by @renovate in #694
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.9.0 by @renovate in #693
- chore(dep...
sorald-0.3.0
Release sorald-0.3.0
sorald-0.2.0
Release sorald-0.2.0
sorald-0.1.0
This is the first release of Sorald (after the name change from SonarQube-Repair).
The CLI is currently unstable and may change with any minor version increment.
Release 1.0
Handled rules
- Bug
- Resources should be closed (Sonar Rule 2095)
- "BigDecimal(double)" should not be used (Sonar Rule 2111)
- "hashCode" and "toString" should not be called on array instances (Sonar Rule 2116)
- "Iterator.next()" methods should throw "NoSuchElementException" (Sonar Rule 2272)
- Strings and Boxed types should be compared using "equals()" (Sonar Rule 4973)
- Code Smell
- Unused assignments should be removed (Sonar Rule 1854)
- Fields in a "Serializable" class should either be transient or serializable (Sonar Rule 1948)