github openrewrite/rewrite v7.13.0
7.13.0

latest releases: v8.47.1, v8.47.0, v8.46.1...
3 years ago

Enhancements:

  • Added initial Javadoc parsing support #921
  • New recipe: Find deprecated uses of methods, fields, and types. #955
  • New recipe: Find deprecated fields #953
  • New recipe: Find deprecated types #952
  • Enhancements to JavaType.Variable to include owner and annotations #954
  • JavaTypeVisitor and with methods on JavaType classes #970
  • RemoveTrailingWhitespaceVisitor supports stopAfter ed42532
  • Introduce Maven Pom flyweights #923
  • Add DirectScheduler for tests #917
  • Support Executions in AddPlugin #916

Fixes:

  • Remove imports does not remove import for referenced inner classes #969
  • Unused method appears in typesInUse cache. #959
  • java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree #956
  • FindDeprecatedMethods can ignore deprecated scopes #951
  • ChangeType has been rewritten to address several issues #949 #972 #925 #932 #934, #947
  • ChangePackage has been rewritten to leverage postVisit
  • TabsAndIndentsVisitor misaligns IDENTIFIER_PREFIX on new line that follows an EXTENDS #883
  • J.CompilationUnit type cache to SoftReference #936
  • Extract AddDependencyVisitor as public outer class #943
  • Close uses of JGit to not leak resources #935
  • Minimal changes when AddImport creates a new block #933
  • Wrap Git repository in a try with resource #935
  • Do not replace valid spaces or asterisks in NormalizeTabsOrSpacesVisitor #929
  • Update BlockStatementTemplateGenerator to handle templated NewClass arguments for NewClass constructors #901
  • Maven flyweight fix for variant deep equality #930
  • Prevent valid methods from being removed by RemovedUnusedPrivateMethods #924
  • Parse and print intentionally bad unicode characters #922
  • Added conditions in RemoveImport to check for used types in static imports #918
  • Fixed ImportLayoutStyle counts referenced in RemoveImport #919

Don't miss a new rewrite release

NewReleases is sending notifications on new releases.