7.35.0
What's Changed
- Patch JGit FS class to prevent classloader memory leak by @shanman190 in #2544
- Reintroduce FS patch and use shadowJar for tests by @shanman190 in #2545
- Improve performance of
EncodingDetectingInputStream
by @knutwannheden in #2535 - Remove
RecipeTest
and convert remaining Java tests toRewriteTest
by @jkschneider in #2554 - unit test for sealed interfaces by @sullis in #2573
- Add dependency support for gradle by @shanman190 in #2574
- new unit test: addDependencyWithClassifier by @sullis in #2578
- refactor: Minimal indentation for
SourceSpecs
text blocks by @jkschneider in #2581 - Issue 1698: adding additional check for nonstandard package names by @tclayton-newr in #2583
- Add guard to only apply to main build scripts by @shanman190 in #2587
- Normalize Maven Variables / fixes #2456 by @AlekSimpson in #2591
- Make
HiddenField
recipe predictable by @knutwannheden in #2596 - Add support for adding build and settings Gradle plugins by @shanman190 in #2597
- Null
MavenMetaData.Snapshot#timestamp
causes maven parser failures. by @pway99 in #2598 - Fix a couple of test failures and rename a few parameters found in the by @shanman190 in #2599
- Prevent settings.gradle files from being modified by @shanman190 in #2604
- Add recipe to enable build cache by @shanman190 in #2605
- Extend DeleteStatement support to handle Groovy script statements by @shanman190 in #2615
- Make
IsEmptyCallOnCollections
also support<
and>
operators by @knutwannheden in #2612 - Change plugin "flags" to Strings to support property placeholders by @tkvangorder in #2616
- Optimize and fix bug in
FindMissingTypes
recipe by @knutwannheden in #2609 - Refactor gradle support to enable parsing more Gradle files by @shanman190 in #2613
- Don't lose the license comment by @shanman190 in #2622
- Add plugin block after pluginManagement. by @shanman190 in #2623
- Allow empty property tags in UpdateMavenModel by @timtebeek in #2629
- Flesh out tests for
DeleteStatement
by @shanman190 in #2627 - Improve: Unify Representing J.Binary.Type printing by @JLLeitschuh in #2630
- Create RemoveRepository recipe by @smehta23 in #2617
- Add Pom model version and cache invalidation for version mismatch by @tkvangorder in #2632
- Fix issue with configuring rewrite-java-* Gradle projects by @shanman190 in #2633
- Slightly optimizes the
JavaTypeCache
by @knutwannheden in #2631 - Show GAV for null Maven repository by @timtebeek in #2637
- Fix
DeleteStatements
improperly deleting certain statements by @JLLeitschuh in #2639 - DRY: Unify empty J.Block creation to helper method by @JLLeitschuh in #2638
- Recipe to print out git provenance by @kmccarp in #2640
- Fix URL for ShowGitProvenanceTest by @kmccarp in #2641
- Rework default import handling slightly to ensure a consistent cursor… by @shanman190 in #2642
- Add Official Gradle Wrapper Validation Action by @yeikel in #2646
- build: update gradle wrapper to 7.6 by @yeikel in #2645
- Revert "Add Official Gradle Wrapper Validation Action (#2646)" by @yeikel in #2658
- Introduce tree visiting hierarchy printer by @kunli2 in #2657
- Adding visited-file details to unexpected exceptions by @nmck257 in #2664
- Fix MavenArtifactDownloader - Closed InputStream by @rpau in #2670
- Fix NameCaseConvention#matches(NameCaseConvention, String) by @knutwannheden in #2671
- Fix #2672 Variable names within variable declarations have the type of their parent declaration, which can differ from the variable name itself by @kunli2 in #2673
- Introduce finalize private field recipe by @kunli2 in #2663
- Change maven model flags to strings to support property placeholders by @tkvangorder in #2634
- Fix one positive case of
FinalizePrivateField
recipe and add more test cases by @kunli2 in #2677
New Contributors
- @tclayton-newr made their first contribution in #2583
- @AlekSimpson made their first contribution in #2591
- @timtebeek made their first contribution in #2629
- @yeikel made their first contribution in #2646
- @kunli2 made their first contribution in #2657
- @rpau made their first contribution in #2670
Full Changelog: v7.34.3...v7.35.0