Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2024

This PR contains the following updates:

Package Type Update Change Age Confidence
actions/checkout action major v4 -> v5 age confidence
actions/setup-java action major v4 -> v5 age confidence
gradle (source) major 8.12.1 -> 9.0.0 age confidence
com.zaxxer:HikariCP dependencies major 5.1.0 -> 7.0.2 age confidence
xyz.jpenilla:run-task dependencies major 2.3.1 -> 3.0.0 age confidence
org.jetbrains:annotations dependencies major 24.1.0 -> 26.0.2-1 age confidence
com.gradleup.shadow:shadow-gradle-plugin dependencies major 8.3.6 -> 9.1.0 age confidence
checkstyle (source) dependencies major 10.21.2 -> 11.0.1 age confidence

Release Notes

actions/checkout (actions/checkout)

v5

Compare Source

actions/setup-java (actions/setup-java)

v5

Compare Source

gradle/gradle (gradle)

v9.0.0

Compare Source

v8.14.3: 8.14.3

Compare Source

The Gradle team is excited to announce Gradle 8.14.3.

This is a patch release for 8.14. We recommend using 8.14.3 instead of 8.14.

Here are the highlights of this release:

  • Java 24 support
  • GraalVM Native Image toolchain selection
  • Enhancements to test reporting
  • Build Authoring improvements

Read the Release Notes

We would like to thank the following community members for their contributions to this release of Gradle:
Aurimas,
Ben Bader,
Björn Kautler,
chandre92,
Daniel Hammer,
Danish Nawab,
Florian Dreier,
Ivy Chen,
Jendrik Johannes,
jimmy1995-gu,
Madalin Valceleanu,
Na Minhyeok.

Upgrade instructions

Switch your build to use Gradle 8.14.3 by updating your wrapper:

./gradlew wrapper --gradle-version=8.14.3 && ./gradlew wrapper

See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.

For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.

Reporting problems

If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.

We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.

v8.14.2

Compare Source

v8.14.1

Compare Source

v8.14

Compare Source

v8.13

Compare Source

jpenilla/run-task (xyz.jpenilla:run-task)

v3.0.0

What's Changed

  • chore(deps): update actions/setup-java action to v5 by @​renovate[bot] in #​123
  • chore(deps): update actions/checkout action to v5 by @​renovate[bot] in #​122
  • chore(deps): update plugin gradle-plugin-publish to v2 by @​renovate[bot] in #​126
  • fix(deps): update dependency com.fasterxml.jackson.module:jackson-module-kotlin to v2.20.0 - autoclosed by @​renovate[bot] in #​124

Full Changelog: jpenilla/run-task@v3.0.0-beta.1...v3.0.0

JetBrains/java-annotations (org.jetbrains:annotations)

v26.0.2-1

Compare Source

v26.0.2

Compare Source

v26.0.1

Compare Source

  • Fixed sources.jar build (regression after 25.0.0)

v26.0.0

Compare Source

  • Added new experimental annotation: @NotNullByDefault

v25.0.0

Compare Source

  • Added Kotlin Multiplatform artifact (multiplatform-annotations).
  • Removed Java 5 artifact.
GradleUp/shadow (com.gradleup.shadow:shadow-gradle-plugin)

v9.1.0

Compare Source

Added
  • Allow opting out of shadowRuntimeElements variant. (#​1662)
    shadow {
      // Disable publishing `shadowRuntimeElements` as an optional variant of the `java` component.
      addShadowVariantIntoJavaComponent = false
    }
    
    // configuration must be done in the `afterEvaluate` phase, you cannot access `shadowRuntimeElements` before that.
    val javaComponent = components["java"] as AdhocComponentWithVariants
    javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) {
      // See more details in https://github.com/GradleUp/shadow/pull/1662.
      skip()
    }
  • Allow opting out of TARGET_JVM_VERSION_ATTRIBUTE. (#​1674)
    shadow {
      // Disable adding `TargetJvmVersion` attribute into the Gradle Module Metadata of the shadowed jar.
      addTargetJvmVersionAttribute = false
    }
  • Allow opting out of Multi-Release attribute. (#​1675)
    tasks.shadowJar {
      // Disable adding `Multi-Release` attribute into the manifest of the shadowed jar.
      addMultiReleaseAttribute = false
    }
Changed
  • Don't inject TargetJvmVersion attribute when automatic JVM targeting is disabled. (#​1666)
  • Do not write modified class files for no-op relocations. (#​1694)
  • BREAKING CHANGE: The introduction of some afterEvaluate usages may cause configuration issues in rare cases.

v9.0.2

Compare Source

Fixed
  • Fix missing space in ApacheNoticeResourceTransformer preamble causing malformed NOTICE header. (#​1623)
  • Fix using ApacheNoticeResourceTransformer without projectName. (#​1627)
  • Fix extra indents of ApacheNoticeResourceTransformer output. (#​1628)
  • Fix resolving BOM dependencies when minimize is enabled. (#​1637)

v9.0.1

Compare Source

[!NOTE]
If you are upgrading from 8.x versions, please read 9.0.0 release notes first.

[!TIP]
You can diff the shadowed JARs when upgrading from 8.x to 9.x by using Diffuse.
If there are any things missing in the changelog or the doc site, please report them to us.

Changed
  • Improve the error message for empty mainClassName. (#​1601)
  • Default duplicatesStrategy back to EXCLUDE. (#​1617)
    • This strategy is consistent with 8.x series behavior, which is more compatible for most users upgrading.
    • For most ResourceTransformer users, you need to override the strategy to INCLUDE to make them work.
    • Strongly suggest declaring the duplicatesStrategy explicitly in your ShadowJar configuration to avoid confusion.
    • See more details about the strategies at Handling Duplicates Strategy.
Fixed
  • Fix the regression of can't shadow directory inputs. (#​1606)
  • Fix the regression of MinimizeDependencyFilter. (#​1611)

v9.0.0

Compare Source

[!WARNING]
This release is a major update from the 8.x series. The plugin has been fully rewritten in Kotlin, bringing
significant improvements to maintainability, performance, and future extensibility. It introduces many new features,
enhancements, and bug fixes, and includes several breaking changes. Please review the changelog carefully and consult
the new doc site before upgrading.

If you really don't want to upgrade, you can still use the 8.3.x, which is also Gradle 9 compatible. But no additional features or crucial bug fixes will be included in the 8.x line.

[!TIP]
You can diff the shadowed JARs when upgrading from 8.x to 9.x by using Diffuse.
If there are any things missing in the changelog or the doc site, please report them to us.

Added
  • Add .md support to the Apache License and Notice transformers. (#​1041)
  • Sync SimpleRelocator changes from maven-shade-plugin. (#​1076)
  • Support configuring separator in AppendingTransformer. (#​1169)
    This is useful for handling files like resources/application.yml.
  • Exclude module-info.class in Multi-Release folders by default. (#​1177)
  • Inject TargetJvmVersion attribute for Gradle Module Metadata. (#​1199)
  • Sync ShadowApplicationPlugin with ApplicationPlugin. (#​1224)
  • Inject Multi-Release manifest attribute if any dependency contains it. (#​1239)
  • Mark Transformer as throwing IOException. (#​1248)
  • Reduce duplicate SimpleRelocator to improve performance. (#​1271)
  • Compat Kotlin Multiplatform plugin. (#​1280)
  • Add Kotlin DSL examples in docs. (#​1306)
  • Support using type-safe dependency accessors in ShadowJar.dependencies. (#​1322)
  • Support command line options for ShadowJar. (#​1365)
    --enable-auto-relocation          Enables auto relocation of packages in the dependencies.
    --no-enable-auto-relocation       Disables option --enable-auto-relocation.
    --fail-on-duplicate-entries       Fails build if the ZIP entries in the shadowed JAR are duplicate.
    --no-fail-on-duplicate-entries    Disables option --fail-on-duplicate-entries.
    --minimize-jar                    Minimizes the jar by removing unused classes.
    --no-minimize-jar                 Disables option --minimize-jar.
    --relocation-prefix               Prefix used for auto relocation of packages in the dependencies.
    --rerun                           Causes the task to be re-run even if up-to-date.
    
  • Support skipping string constant remapping. (#​1401)
  • Let assemble depend on shadowJar. (#​1524)
  • Fail build when inputting AAR files or using Shadow with AGP. (#​1530)
  • Add PreserveFirstFoundResourceTransformer. (#​1548)
    This is useful when you set shadowJar.duplicatesStrategy = DuplicatesStrategy.INCLUDE and
    want to ensure that only the first found resource is included in the final JAR.
  • Fail build if the ZIP entries in the shadowed JAR are duplicate. (#​1552)
    This feature is controlled by the shadowJar.failOnDuplicateEntries property, which is false by default.
    Related to setting duplicatesStrategy = DuplicatesStrategy.FAIL but there are some differences:
    • It only checks the entries in the shadowed jar, not the input files.
    • It works with setting duplicatesStrategy to any value.
    • It provides a stricter fallback check before the JAR is created.
Changed
  • BREAKING CHANGE: Rewrite this plugin in Kotlin. (#​1012)
  • BREAKING CHANGE: Migrate Transformers to using lazy properties. (#​1036)
  • BREAKING CHANGE: Migrate ShadowJar to using lazy properties. (#​1044)
  • BREAKING CHANGE: Resolve Configuration directly in DependencyFilter. (#​1045)
  • BREAKING CHANGE: Migrate SimpleRelocator to using lazy properties. (#​1047)
  • BREAKING CHANGE: Some public getters have been updated in SimpleRelocator. (#​1079)
  • BREAKING CHANGE: Migrate all ListProperty usages to SetProperty. (#​1103)
    Some public List parameters are also changed to Set.
  • BREAKING CHANGE: Mark RelocatorRemapper as internal. (#​1227)
  • BREAKING CHANGE: Bump min Java requirement to 11. (#​1242)
  • BREAKING CHANGE: Move tracking unused classes logic out of ShadowCopyAction. (#​1257)
  • BREAKING CHANGE: Move DependencyFilter into tasks package. (#​1272)
  • BREAKING CHANGE: Change the default duplicatesStrategy from EXCLUDE to INCLUDE. (#​1233)
    • ShadowJar recognized EXCLUDE as the default, but the other strategies didn't work properly.
    • Now ShadowJar honors INCLUDE as the default, and aligns all the strategy behaviors with the Gradle side.
    • Some ResourceTransformers (e.g. ServiceFileTransformer) do not work with EXCLUDE, as it will exclude duplicate resources to be merged.
    • Duplicate entries might be bundled due to this change, but you can reduce them by using the newly added PreserveFirstFoundResourceTransformer.
    • Use filesMatching to override the default strategy for specific files.
    • Set failOnDuplicateEntries = true to fail the build to check for duplicate entries.
    • See more details at Handling Duplicates Strategy.
    • Note: The default duplicatesStrategy is changed back to EXCLUDE in 9.0.1 release.
  • BREAKING CHANGE: Align the behavior of ShadowTask.from with Gradle's AbstractCopyTask.from. (#​1233)
    In the previous versions, ShadowTask.from would always unzip the files before processing them, which caused serial
    issues that are hard to fix. Now it behaves like Gradle's AbstractCopyTask.from, which means it will not unzip
    the files, only copy the files as-is. If you still want to shadow the unzipped files, try out something like:
      tasks.shadowJar {
        // Unzip the files before pass them to `from` by using `zipTree`.
        from(zipTree(files('path/to/your/file.zip')))
      }
    or
      dependencies {
        // Add the files to `implementation` configuration, Shadow will unzip them automatically.
        implementation(files('path/to/your/file.zip'))
      }
  • BREAKING CHANGE: Rename Transformer to ResourceTransformer. (#​1288)
    Aims to better align with the name org.apache.maven.plugins.shade.resource.ResourceTransformer.java
    and to distinguish itself from org.gradle.api.Transformer.java.
  • BREAKING CHANGE: Mark DefaultInheritManifest as internal. (#​1303)
  • BREAKING CHANGE: Polish ShadowSpec. (#​1307)
    • Return values of ShadowSpec functions are changed to Unit to avoid confusion.
    • ShadowSpec no longer extends CopySpec.
    • Overload relocate, transform and things for better usability in Kotlin.
  • BREAKING CHANGE: Remove redundant types from function returning. (#​1308)
  • BREAKING CHANGE: Rename ShadowJar's isEnableRelocation to enableAutoRelocation. (#​1541)
  • BREAKING CHANGE: Some const values in ShadowBasePlugin and ShadowJavaPlugin are moved. (#​1589)
    You can find them in ShadowJar, ShadowApplicationPlugin, and ShadowJavaPlugin.
  • Replace deprecated SelfResolvingDependency with FileCollectionDependency. (#​1114)
  • Update start script templates. (#​1183)
  • Mark more Transformers cacheable. (#​1210)
  • Mark ShadowJar.dependencyFilter as @Input. (#​1206)
  • Polish startShadowScripts task registering. (#​1216)
  • Refactor file visiting logic in StreamAction, handle file unzipping via Project.zipTree. (#​1233)
  • Migrate doc sites to MkDocs. (#​1302)
  • runShadow no longer depends on installShadowDist. (#​1353)
  • Move the group of ShadowJar from shadow to build. (#​1355)
  • In-development snapshots are now published to the Central Portal Snapshots repository. (#​1414)
  • Expose AbstractDependencyFilter from internal to public. (#​1538)
    You can access it via com.github.jengelman.gradle.plugins.shadow.tasks.DependencyFilter.AbstractDependencyFilter.
  • Mark Action parameters as non-null. (#​1555)
  • Use BufferedOutputStream when writing the Zip file to improve performance. (#​1580)
Fixed
  • Fix single Log4j2Plugins.dat isn't included into fat jar. (#​1039)
  • Fail builds if processing bad jars. (#​1146)
  • Fix Log4j2PluginsCacheFileTransformer not working for merging Log4j2Plugins.dat files. (#​1175)
  • Support overriding mainClass provided by JavaApplication. (#​1182)
  • Fix ShadowJar not being successful after includes or excludes are changed. (#​1200)
  • Honor DuplicatesStrategy. (#​1233)
  • Honor unzipped jars via from. (#​1233)
  • Fix the last modified time of shadowed directories. (#​1277)
  • Fix relocation exclusion for file patterns like kotlin/kotlin.kotlin_builtins. (#​1313)
  • Allow using file trees of JARs together with the configuration cache. (#​1441)
Removed
  • BREAKING CHANGE: Some public getters and setters have been removed in SimpleRelocator. (#​1079)
  • BREAKING CHANGE: Remove JavaJarExec, now use JavaExec directly for runShadow task. (#​1197)
  • BREAKING CHANGE: ServiceFileTransformer.ServiceStream has been removed. (#​1218)
  • BREAKING CHANGE: Remove KnowsTask as it's useless. (#​1236)
  • BREAKING CHANGE: Remove BaseStreamAction. (#​1258)
  • BREAKING CHANGE: Remove ShadowStats. (#​1264)
  • BREAKING CHANGE: Remove ShadowCopyAction.ArchiveFileTreeElement and RelativeArchivePath. (#​1233)
  • BREAKING CHANGE: Remove TransformerContext.getEntryTimestamp. (#​1245)
  • BREAKING CHANGE: Reduce dependency and project overloads in DependencyFilter. (#​1328)
  • BREAKING CHANGE: Remove ShadowSpec. (#​1560)
  • BREAKING CHANGE: Remove Relocator.ROLE. (#​1563)
  • BREAKING CHANGE: Remove deprecated ShadowExtension.component. (#​1586)
Migration Example

8.x

tasks.shadowJar {
  isEnableRelocation = true
  duplicatesStrategy = DuplicatesStrategy.EXCLUDE
  mergeServiceFiles()
  from("foo.jar")
}

9.x

tasks.shadowJar {
  // `isEnableRelocation` has been renamed to `enableAutoRelocation`.
  enableAutoRelocation = true

  // If you want to make `mergeServiceFiles` work, should set the `duplicatesStrategy` as `INCLUDE`.
  // `EXCLUDE` will exclude extra service files to be merged.
  duplicatesStrategy = DuplicatesStrategy.INCLUDE
  mergeServiceFiles()
  // If you leave `duplicatesStrategy` as `INCLUDE`, you can use the new `PreserveFirstFoundResourceTransformer`
  // to ensure that only the first found resource is included in the final JAR. Or duplicate entries will be bundled.
  transform<PreserveFirstFoundResourceTransformer>() {
    resources.add("META-INF/some-resource.txt")
  }
  // Optionally, you can enable the new `failOnDuplicateEntries` property to fail the build if there are duplicate entries.
  failOnDuplicateEntries = true

  // If you want to keep the `foo.jar` as-is (zipped), you can use the `from` method directly. This is different from the previous.
  from("foo.jar")
  // If you want to unzip the `foo.jar` before processing, you can use `zipTree` to unzip it.
  from(zipTree("foo.jar"))
}

If you used Shadow for merging service files, the following steps are recommended:

  1. Make sure to leave duplicatesStrategy as INCLUDE or WARN.
  2. Apply mergeServiceFiles or ServiceFileTransformer stuff as you did in your previous setup.
  3. Diff the JARs from upgrading or not.
  4. Remove the extra entries that are added by INCLUDE by filesMatching or PreserveFirstFoundResourceTransformer.
  5. Diff the JARs again, and check that only the entries you want to preserve remain.
  6. Optionally, if you want a stricter check for the shadowed JAR entries, enable failOnDuplicateEntries.
New Contributors

Full Changelog: GradleUp/shadow@8.3.9...9.0.0

v8.3.9

Compare Source

[!WARNING]
Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.

Changed

  • Use BufferedOutputStream when writing the Zip file to improve performance. (#​1579)

v8.3.8

Compare Source

[!WARNING]
Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.

Fixed

  • Fix the regression of PropertiesFileTransformer in 8.3.7. (#​1493)

Changed

  • Expose Ant as compile scope. (#​1488)

v8.3.7

Compare Source

[!WARNING]
Only Gradle 9 support is being backported to this version. No additional features or crucial bug fixes will be included in the 8.x line. Please migrate to Shadow 9 as soon as possible.

Fixed

  • Fix compatibility for Gradle 9.0.0 RC1. (#​1470)
checkstyle/checkstyle (checkstyle)

v11.0.1

Compare Source

Checkstyle 11.0.1 - https://checkstyle.org/releasenotes.html#Release_11.0.1

Bug fixes:

#​3110 - some messages are still hardcoded in english
#​17563 - Google style: No proper way to check if the reason for swallowing the exception is actually appropriate
#​17551 - Missing violations on Unicode and Octal values of \s
#​17501 - Google style: Word TODO of Todo comment must be in all caps

Other Changes:
fix cirrus-ci failure to install jdk21
Preparation for Migration of Checkstyle Codebase to Java 21
Enable assorted Error Prone Support checks
Conversion to Enhance Switch for SuppressionWarningCheck Causing Deeply Nesting Issues
Convert eligible classes to records
dependecies: update caciocavallo to latest
Convert switch statements to enhanced switch expressions
Add anchored links for each property
site log has a lot of warnings 'Anchor name "Description" used more than once'
Resolve CheckerFramework violations
Add filters table validation in xdoc folder
Wiki page on how to make test methods from issue description
improve position of tag `yamllint`
Use TypeName check to validate Examples classes
AnnotationLocation does not enforce annotation placement after Javadoc as documented
IT regression area Folder structure for suppressionxpathfilter

v11.0.0

Compare Source

Checkstyle 11.0.0 - https://checkstyle.org/releasenotes.html#Release_11.0.0

Breaking backward compatibility:

#​13209 - Migrate project to JDK 17
#​17321 - Use jdk17 as minimial required

New:

#​17366 - FinalParameters - missing several tokens to check

Bug fixes:

#​17332 - False positive from JavadocType: Unused @param tag
#​8205 - fix all false-negatives about there is no single space between a type annotation and [] or .... for Google Style
#​17158 - InvalidJavadocPosition false-positive for record compact constructor with package-private accessibility
#​14291 - Escape sequences in TextBlock, IllegalTokenText module should violate them for Google style
#​17193 - Google-style: Improper enforcement of horizontal whitespace for double slash //

Other Changes:
Upgrade all scripts to groovy 3.0.17 or 4.x
IT regression area Folder structure for suppressionxpathfilter
release is failing with "deploy failed: 403 - Forbidden"
config.html page does not allow linking to Examples
doc: add jetbrains logo by their request
Fix compareTo method for testInputViolations
xsd for the checkstyle configuration xml file
create XSD definition for XML report
Resolve invisiable problems after bump of maven site plugin 3.21.0
website: in CLI help ouput, mark config parameter as optional
test to check indentation trailing comments are vertically aligned
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
SiteUtil.getPropertiesJavadocs does not reflect all the constituents of what it does
refactor methods in SiteUtil.java
Links to modules should be without anchor
Javadoc website mistakenly showing HTML entities meant for other characters.
regression-report.yml does not post error message if failing at handle_xxx phase
Convert concatenated strings to text blocks
website: fix links in google_style.html
suppressionxpathfilter.xml.template should use example macros
Inconsistent or Missing Whitespaces in 'Beginning Development' Page Code Blocks
Google-style: add '4.8.4.4 Switch expressions' to coverage table
Updating properties in Input files to mention all default properties,
Replace collect(toUnmodifiableList()) with toList()
Refactor instanceof checks to pattern variables
doc: Finished implementation of example separators in SuppressionXpathFilter website page
doc: Implemented example separators on SuppressionXpathFilter website page
Validate that all properties are used in examples
update google-java-format.sh to validate that all Input that are excluded have file InputFormatted
Resolve Pitest Suppression in Pitest-Javadoc Profile
add trino to no-error testing in CI
importcontrol.xml.template should use example macroses
Cover pitest survivals with tests
suppressionfilter.xml.template should use example macroses
Add `@`Serial annotation to serialVersionUID fields
Move the same class members from macroses to new common utility class
semaphore CI is failing with FAILED DOWNLOADS for junit-platform-commons-1.10.1.jar
update JavadocTokenTypes.java to new format of AST print
Make all notes sections be displayed under the Description section
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Set up RegexpSingleline to check for presence of newly added Description macro in every module xdoc
Add new Description Macro
Add new Notes Macro
`<`table`>` tags miss `<`div class"wrapper"`>` wrapping in module javadocs
XdocsJavaDocsTest expected vs actual inconsistency when dealing with new javadoc module data marking
Preparation for Migration of Checkstyle Codebase to Java 17
wesite: not wrappable property now it is causing horizontal scrolling
Remove from Travis CI snapshot deploy and stop using of Travis CI
Google-style: Add resources-noncompilable inputs to the google-java-format.sh
Google-style: Add resources-noncompilable inputs to the compilation by latest jdk
Replace `<`source`>``<`/source`>` tag in Checkstyle javadoc content
JavadocMetadataScraper doesn't scrap text from javadoc inline tag for description section in meta data

v10.26.1

Compare Source

Checkstyle 10.26.1 - https://checkstyle.org/releasenotes.html#Release_10.26.1

Bug fixes:

#​17250 - NewlineAtEndOfFileCheck and empty files (size 0)

Other Changes:
Preparation for Migration of Checkstyle Codebase to Java 17
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class

v10.26.0

Compare Source

Checkstyle 10.26.0 - https://checkstyle.org/releasenotes.html#Release_10.26.0

New:

#​14949 - Add Check Support for Java 21 Record Pattern : New Check PatternVariableAssignment

Bug fixes:

#​8965 - Indentation check doesn't give violation when google formatter does
#​17122 - False positive on indentation for Annotation Arrays

Other Changes:
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class
Preparation for Migration of Checkstyle Codebase to Java 17
PropertyCacheFileTest.testPathToCacheContainsOnlyFileName is failing
update JavadocTokenTypes.java to new format of AST print

v10.25.1

Compare Source

Checkstyle 10.25.1 - https://checkstyle.org/releasenotes.html#Release_10.25.1

Bug fixes:

#​17167 - checkstyle expects different indentation for switch cases.

Other Changes:
Fix the problem when property of module has older version than the module's
Preparation for Migration of Checkstyle Codebase to Java 17
Updating properties in Input files to mention all default properties,
use new nio jdk api instead of all api
Validattion of xdoc files to have separtor between examples
Review latest changes at Google style guide
CI is failing on 'validation.sh no-violation-test-josm'
Typo in check name in 10.25.0 release notes

v10.25.0

Compare Source

Checkstyle 10.25.0 - https://checkstyle.org/releasenotes.html#Release_10.25.0

New:

#​14945 - Add Check Support for Java 21 Record Pattern : New Check UnnecessaryNullCheckWithInstanceOf

Bug fixes:

#​17120 - False positives for google_checks when using switch expression in lambda

Other Changes:
infra: allow cirrus to run on PR from its own repository
CI Failure in Check no broken links
cirrus CI is faililng with java.exe is not recognized
Add hazelcast project to no-error CI job
Add JUnit Validation to Ensure New Checks Are Listed in `index.xml` Categories
Missing MultiFileRegexpHeader into Header index.html
Fix code blocks formatting in cmdline.html#Download_and_Run
update JavadocTokenTypes.java to new format of AST print
Fix existing cases of `getFileContents()` usage

v10.24.0

Compare Source

Checkstyle 10.24.0 - https://checkstyle.org/releasenotes.html#Release_10.24.0

New:

#​5983 - CLI: generate suppresion xml content (SuppressionFilter) for certain Checks but whole file with violation
#​16174 - New Check: MultiFileRegexpHeader to allow specify few header file to validate

Bug fixes:

#​16786 - private enums being treated as public in JavadocVariableCheck
#​16564 - EmptyLineSeparator check does not validate newlines before comments in Interfaces
#​8807 - SuppressWithPlainTextCommentFilter is slow on files with multiple errors
#​14654 - incompatibility with google-java-format: CatchFormalParameter is indented by 4 spaces instead of 2
#​15098 - Indentation of the Block child of switch rule is not validated when no braces

Other Changes:
fix log typo
Resolve Pitest Suppression in Pitest-Javadoc Profile
update JavadocTokenTypes.java to new format of AST print
doc: Add GSoC guide tip on learning beyond code, link article on code review sentiment
Validate that all Inputs mentioned all default properties in config
Fix indentation of generated content cli for mode '-g'
Adopt Maven Wrapper and Update CI to Fully Use It
doc: update AuditListener image format and dimensions
include PMD `UnusedPrivateMethod`
include PMD `GuardLogStatement`
Add example to MatchXpatch on how to validate Constructor Count in classes
Resolve CheckerFramework violations
Infra: Replace REPOSITORY_OWNER CI ENV var with built-in GITHUB_REPOSITORY_OWNER
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Update vim plugin details
doc: Add UML diagram for Filter and update image reference in documentation
Rename all 'ex' varaibles to 'exc' and forrbit by cheksttyle check 'ex'
migrate pgjdbc no-error execution to jdk21
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Enforce formatting of `// violation` and `// ok` comments
inconsistent linkcheck errors
Incorrect language class assigned to code blocks in documentation (e.g., logs getting language-xml, Java code getting language-xml)
update documentation: VariableDeclarationUsageDistance on block of initialization methods
Update IndentationCheckTest to use verifyWarns
Remove config_ conditions from xdocs tests
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
use new nio jdk api instead of all api
Cover pitest survivals with tests

v10.23.1

Compare Source

Checkstyle 10.23.1 - https://checkstyle.org/releasenotes.html#Release_10.23.1

Bug fixes:

#​16630 - JavadocParagraph false violation when <p> is inside of <div>``</div>
#​15769 - google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes
#​15792 - Fix false-negatives regarding LITERAL_CATCH to detect K&R Blocks in google_checks.xml
#​11641 - SuppressWarningsHolder should allow usage of simple name of Checks in aliasList

Other Changes:
doc: remove outdated note about ANTLR versions in Javadoc vs Java grammar explanation
Define violation messages for all violations
Missing test for InputIndentationInvalidArrayInitIndent.java with forceStrictCondition=false
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Cover pitest survivals with tests
disallow import of `java.util.concurrent.atomic.AtomicInteger` yet, it is still used in `api\SeverityLevelCounter.java` and `checks\UniquePropertiesCheck.java`
Update CLI help to mention that folder also can be used
Extend documentation on no lombok support
separate examples by horizontal line
Configuration website does not allow linking to Examples
Remove usage of AtomicInteger from NPathComplexityCheck
update JavadocTokenTypes.java to new format of AST print
chore: use span classes for layout
Website layout breaks at viewport width `>`= 1999px
fix `OSX build` when `.DS_Store` is present
doc: remove SonarCloud badge from README.md
use new nio jdk api instead of all api
Enforce file size on Java inputs
infra: verify-no-exception-configs is in semaphore ci
align ubuntu image version `ubuntu-22.04` -`>` `ubuntu-24.04`
doc: improve variableDeclarationUsage...Check's docs to avoid confusion on calculation of distance
Resolve CheckerFramework violations
fix whitespace typo in `Note : ` -`>` `Note: `
Bad links on Sponsoring page
add Content section to config.xml and writinglisteners.xml.vm
Broken Backport Links on Website
Fix existing cases of `getFileContents()` usage
Broken Flattr Link and Image on Sponsoring Page
Resolve Pitest Suppression in Pitest-Javadoc Profile
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger

v10.23.0

Compare Source

Checkstyle 10.23.0 - https://checkstyle.org/releasenotes.html#Release_10.23.0

New:

#​9745 - JavadocMethod: new property 'allowInlineReturn' to support for Javadoc return tag as inline

Bug fixes:

#​14697 - False negative in UnusedImportCheck

Other Changes:
SuppressionSingleFilterExamplesTest methods should use: `verifyFilterWithInlineConfigParser`
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
update JavadocTokenTypes.java to new format of AST print
use new nio jdk api instead of all api
CircleCI is failing on xwiki validation.

v10.22.0

Compare Source

Checkstyle 10.22.0 - https://checkstyle.org/releasenotes.html#Release_10.22.0

Breaking backward compatibility:

#​9280 - JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope'
#​15499 - Change default or IllegalIdentifierName

Bug fixes:

#​16641 - FileContents.getJavadocBefore(): Comments should not be skipped if it is not alone in line
#​16385 - JavadocTagContinuationIndentation Ignore indentation check when HTML tag break line
#​16628 - use SLL prediction mode for fast javadoc parsing to improve performance
#​43 - JavadocMethod: Javadoc Not Detected Above Multiline Comments
#​12817 - Incorrect Indentation errors for expression switches with google_checks.xml
#​6637 - SuppressWarningsHolder aliasList members don't act like aliases
#​13043 - Make references optional for link and linkplain tags
#​16005 - Parse errors if ``@see spans multiple lines
#​14446 - Parse error when Javadoc contains @snippet with code example that uses Java annotation

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Broken Link - Javadoc OpenJDK 8 Report in website, 404 Error
Github generate site fails to generate links with anchors.
Enforce file size on Java inputs
Badges in the README are missing
Fix existing cases of `getFileContents()` usage
Cover pitest survivals with tests
doc: Clarified the description of SummaryJavadoc check
align xmx args
There is nothing in few column in Active tool
Resolve Pitest Suppression in Pitest-Javadoc Profile
Define violation messages for all violations
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Create integration tests in CI to alarm on breaking compatibility
improve logging
Reminder bot for issues
check-performance-regression workflow does not check Javadoc grammar performance
Update RegexpHeaderCheckTest to use verifyWithInlineConfigParser method
Links for examples of CLI page
Copy to clipboard image button for all sources
Static html for syntax highlight in web site
Update all non java Inputs of SuppressWithNearbyTextFilter to have txt extension
test execution is failing on non EN locales
Update HeaderCheckTest to use verifyWithInlineConfigParser method
Nothing in remark table in additional checks
Use bom artifact for junit version management

v10.21.4

Compare Source

Checkstyle 10.21.4 - https://checkstyle.org/releasenotes.html#Release_10.21.4

Bug fixes:

#​15161 - AnnotationOnSameLine: FalseNegative when the annotation is on the same line of the modifer of the target class
#​16081 - PARAMETER_DEF in FinalLocalVariable doesn't seem to work in interfaces
#​16165 - Regression: CyclomaticComplexity.switchBlockAsSingleDecisionPoint does not work properly anymore (10.21.1)

Other Changes:
update JavadocTokenTypes.java to new format of AST print <

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-all-major branch from 2d197e3 to 8942f61 Compare January 8, 2025 15:23
@renovate renovate bot force-pushed the renovate/major-all-major branch from 8942f61 to 5b48ebb Compare January 22, 2025 18:50
Copy link
Contributor

coderabbitai bot commented Jan 22, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/major-all-major branch from 5b48ebb to 6ce815c Compare February 5, 2025 20:46
@renovate renovate bot force-pushed the renovate/major-all-major branch from 6ce815c to a0542e5 Compare March 24, 2025 22:58
@renovate renovate bot force-pushed the renovate/major-all-major branch from a0542e5 to 842c53d Compare June 11, 2025 21:41
@renovate renovate bot force-pushed the renovate/major-all-major branch 2 times, most recently from 29a1196 to d370dd3 Compare July 23, 2025 21:06
@renovate renovate bot force-pushed the renovate/major-all-major branch 2 times, most recently from a823c1a to 2928f05 Compare July 31, 2025 22:02
@renovate renovate bot force-pushed the renovate/major-all-major branch 5 times, most recently from 24a068b to 6875b94 Compare August 11, 2025 14:51
@renovate renovate bot force-pushed the renovate/major-all-major branch 3 times, most recently from 4c9a254 to 577da9d Compare August 21, 2025 05:24
@renovate renovate bot force-pushed the renovate/major-all-major branch 3 times, most recently from 6daf991 to 6bd8bad Compare September 1, 2025 22:37
@renovate renovate bot force-pushed the renovate/major-all-major branch from 6bd8bad to c102cc5 Compare September 7, 2025 21:06
@renovate renovate bot changed the title dependency: Update all-major (major) dependency: Update all-major (major) - abandoned Sep 12, 2025
Copy link
Contributor Author

renovate bot commented Sep 12, 2025

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant