github openrewrite/rewrite v7.38.0
7.38.0

latest releases: v8.47.1, v8.47.0, v8.46.1...
23 months ago

What's Changed

  • Add BuildToolFailure marker by @timtebeek in #2918
  • Recipe for changing method parameter modifiers type to final by @itsiftzis in #2909
  • Fix substitution for anonymous class by @knutwannheden in #2921
  • report NoWhitespaceAfter bug by @XenoAmess in #2910
  • Load Gradle API from classpath resources when it is unavailable in th… by @shanman190 in #2923
  • Fix string to map notation conversion. Fixes gh-2805 by @shanman190 in #2925
  • Control Flow: Add support for case switch blocks by @JLLeitschuh in #2906
  • Properly type-attribute #{any()} template parameters by @knutwannheden in #2926
  • Build tool failures datatable by @timtebeek in #2928
  • fix: fix a bug when replacing StringBuilder to strings if the constructor has parameters by @kunli2 in #2931
  • Support instanceof pattern variables in JavaTemplate by @knutwannheden in #2863
  • Run rewrite-java-security with core changes immediately by @JLLeitschuh in #2929
  • Add log output to BuildToolFailures for analysis by @timtebeek in #2934
  • Added ReplaceStringLiteralWithConstant recipe by @srmalkan in #2894
  • Guard against empty strings by @shanman190 in #2941
  • fix: fix a template error for an edge case of recipe PrimitiveWrapperClassConstructorToValueOf by @kunli2 in #2946
  • Allow matching an LST subtree against a JavaTemplate by @knutwannheden in #2943
  • refactor: JUnit Jupiter best practices by @yeikel in #2948
  • fix: do not replace constructors to method reference if it's a method call argument and the class has multiple constructors by @kunli2 in #2957
  • Add a new @Primitive annotation for JavaTemplate#compile() by @knutwannheden in #2959
  • Added Maven/DoesNotIncludeDependency generic applicability test by @nmck257 in #2952
  • fix: a bug of nested single source applicability tests by @kunli2 in #2962
  • Added acceptTransitive flag to AddDependency, default false. Also f… by @nmck257 in #2944
  • Add types so JavaTemplate#compile() can be used for expressions by @knutwannheden in #2971
  • Add estimated time saving to the sourcesFileResult data table by @kunli2 in #2975
  • fix, Fix two problems of results data table by @kunli2 in #2981
  • Updated ChangeType to change types in java island grammars. by @traceyyoshima in #2963
  • Allow tests to configure default Java version for sources by @knutwannheden in #2969
  • Revise ChangePackage to work on J island grammars. by @traceyyoshima in #2988

New Contributors

Full Changelog: v7.37.3...v7.38.0

Don't miss a new rewrite release

NewReleases is sending notifications on new releases.