Permalink
Fetching contributors…
Cannot retrieve contributors at this time
208 lines (134 sloc) 10.5 KB

Changelog

This is the changelog for SpotBugs. This follows Keep a Changelog v1.0.0.

Currently the versioning policy of this project follows Semantic Versioning v2.0.0.

Unreleased - 2018-??-??

  • Start migrating STDOUT/STDERR usage to a logging framework

3.1.3 - 2018-04-18

Added

  • Support for errorprone @CheckReturnValue annotation (#592)

Fixed

  • Handle annotation on package-info.class properly (#592)
  • Update asm to 6.1.1 to support Java 10
  • Update Apache BCEL to 6.2 to support Java 9 package & module reference

3.1.2 - 2018-02-24

Added

  • Support for errorprone @CanIgnoreReturnValue annotation (#463)
  • Added support for Checker Framework's Nullable annotations.

Fixed

  • Error on lambda analysis: "Constant pool at index 0 is null." (#547)
  • Lambda methods reported as missing classes (#527)
  • Unused variable reported with wrong name (#516)
  • Require gradle 4.2.1 to fix gradle build failures on Java 9.0.1
  • Do not print exceptions for unsupported classpath files (#497)
  • Update dom4j to 2.1.0 to fix Illegal reflective access on Java 9

3.1.1 - 2017-11-29

Fixed

  • NP_NONNULL_PARAM_VIOLATION false positive (#484)
  • Add missing package exports to plugin manifest (#478)

3.1.0 - 2017-10-25

Fixed

  • Do not try to parse module-info.class (#408)

3.1.0-RC7 - 2017-10-14

Changed

  • SpotBugs annotation is recommended instead of JSR305 annotation (#130)
  • Improve color in HTML output (#433)

Fixed

  • Wrong Class-Path in MANIFEST.MF (#407)
  • Avoid ArithmeticExceptions while interpreting ldiv/lrem values (#413)
  • Parse @CheckReturnValue even in package-info from aux classpath (#429)

3.1.0-RC6 - 2017-09-25

Removed

  • Delete needless bundled libraries from Eclipse plugin (#330)

Changed

  • Upgrade BCEL from 6.1 SNAPSHOT to 6.1 STABLE (#388)
  • Upgrade ASM from 6.0 BETA to 6.0 STABLE (#373)

Added

  • Add plugin/README into the distribution (#331)

Fixed

  • Fix broken command line script (#323)
  • Fix broken Eclipse classpath variables (#379)
  • Fix errors on processing INVOKEDYNAMIC instructions (#371)
  • Fix errors on processing i2f, i2d and i2l instructions if the lhs is a character (#389)

3.1.0-RC5 - 2017-08-16

Removed

  • The YourKitProfiler class has been removed and the findbugs.yourkit.enabled system property is no longer supported (#289)

Changed

  • SpotBugs now consumes ASM 6.0 beta rather than alpha (#268)

3.1.0-RC4 - 2017-07-21

Added

  • The Eclipse SpotBugs plugin is eligible as an update for FindBugs 3.0.2 and earlier (#209)
  • <EarlierSubtypes> and <LaterSubtypes> can now refer to supertypes from custom plug-ins (#215)

Removed

  • The AbstractIntegrationTest.containsExactly and SpotBugsRule.containsExactly methods have been replaced by CountMatcher.containsExactly (#269)

Changed

  • jdepend:jdepend:2.9.1 is no longer a compile-scoped dependency but only test-scoped. (#242)
  • ICodeBase, IClassPath, and URLClassPath now implement AutoCloseable (#258)

Deprecated

  • In future versions of SpotBugs, classes currently implementing the deprecated org.apache.bcel.Constants interface may no longer do so. Subclasses should either implement this interface themselves or, preferably, use the constants defined in the (non-deprecated) org.apache.bcel.Const class instead. (#262)

3.1.0-RC3 - 2017-06-10

Added

  • Make TypeQualifierResolver recognize android.support.annotation.NonNull and Nullable (#182)

Fixed

  • Fix wrong version in Eclipse Plugin (#173)
  • When AnalysisRunner has findbugs.xml in jar, don't create temp jar (#183)

3.1.0-RC2 - 2017-05-16

Added

  • First release for SpotBugs Gradle Plugin (#142)
  • Support plugin development by test harness (#140)

Changed

  • Change Eclipse Plugin ID to avoid conflict with FindBugs Eclipse Plugin (#157)

Fixed

  • Enhance performance of Eclipse Plugin (#159)
  • Fix HTML format in messages.xml and others (#166)
  • Fix Japanese message in messages_ja.xml (#164)

3.1.0-RC1 - 2017-02-21

Added

  • Make TypeQualifierResolver recognize JetBrains NotNull annotations (Patch #248)
  • excludePath and includePath in AntTask (6668a9)
  • Cancellation of queueing FindBugsJob in Eclipse plugin (bceec81)
  • Artifact which contains only SpotBugs annotations (Bug#1341)
  • Warn if excludeFilter is empty (4b7e93f)
  • Partial Java9 support (FindBugs#105)
  • spotbugs.home is available like findbugs.home (#33)

Changed

  • Support user preferences exported by the Export->Preferences wizard in Eclipse (01b7df7)
  • No more dependency in annotations on BugRanker and Priorities (2f9d672, 725be6e)
  • Several classes are now not Serializable (#85)

Deprecated

  • OpcodeStack.Item.defineNewSpecialKind(String) (#27)
  • Version.RELEASE (#125)
  • DescriptorFactory.canonicalizeString(String) (#128)

Removed

  • Java7 Support (Issue #19)
  • WebCloud and other plugins
  • BlueJ Support
  • Artifact which packages not only SpotBugs annotations but also JSR305 annotations

Fixed

  • Typos in description, documentation and so on
  • StackOverflowError in ValueRangeAnalysisFactory (Bug#1369)
  • Command line "@" feature (Bug#1375)
  • SOAPMessage.getSOAPHeader() can and does return null (Bug#1368)
  • False positive in UC_USELESS_OBJECT (Bug#1373)
  • False positive in NP_LOAD_OF_KNOWN_NULL_VALUE (Bug#1372)
  • Missing java.nio.file.Files support in OS_OPEN_STREAM (Bugs#1399])
  • False negative in GC_UNRELATED_TYPES (Bug#1387)
  • Not reliable BIT_SIGNED_CHECK (Bug#1408)
  • Annotation of SIC_INNER_SHOULD_BE_STATIC_ANON (Bug#1418)
  • Bug in ClassName.isAnonymous (dcfb934)
  • long/double arguments handling in BuildStringPassthruGraph (370808a)
  • long/double arguments handling in FindSqlInjection (32a20db)
  • getEntryValueForParameter in ValueNumberAnalysis (fb11839)
  • Do not generate non-constant SQL warnings for passthru methods (Bug#1416)
  • Too eager "may expose internal representation by storing an externally mutable object" (Bug#1397)
  • Do not report WrongMapIterator for EnumMap (Bug#1422)
  • Default Case is Missing With Alias Enum Constants (Bug#1392)
  • NPE when launched using IBM JDK on Linux (Bug#1383)
  • Serializable should be out of target for RI_REDUNDANT_INTERFACES (FindBugs#49)
  • nonnull annotations database for java.util.concurrent.ForkJoinPool ((fb8a953)[https://github.com/spotbugs/spotbugs/commit/fb8a953])
  • Better handling for JDT illegal signatures(#55)
  • StaticCalendarDetector is constantly throwing ClassNotFoundExceptions (#76)
  • ClassFormatException when analyze class with lambda (INVOKEDYNAMIC) (#60)

FindBugs 3.0.1 or older

Check changelog at SourceForge.