github openrewrite/rewrite v7.14.0
7.14.0

latest releases: v8.62.0, v8.61.3, v8.61.2...
3 years ago

Enhancements:

  • Added UsesJavaVersion visitor (#983)
  • Added CommonStaticAnalysis declarative recipe (#988)
  • Recipes can optionally provide an estimated time to manually fix (#993)
  • Estimate time savings in Result (issue #993)
  • Explicitly declare types on lambda arguments (#994)
  • Add OrderPomElements for ordering POM elements per the recommended order (#992)
  • Added recipe NoEmptyCollectionWithRawTypes for RSPEC-1596 (#998)
  • FindFields (e09243a)
    - MethodMatcher signatures use for matching on J.NewClass constuctors must have <constructor> in the pattern.
    e.g. new MethodMatcher(SomeClass <constructor>(String), false)
  • Support matching on overrides on all ChangeMethod* recipes (fixes #1002)
    - ChangeMethodName has a new boolean constructor arg matchOverrides
  • Expand availability of getMethods() to all JavaType.FullyQualified (#1003)
  • FindMethods supports finding constructors (fixes #1004)
  • InJavaSourceSet applicable test (#1006)
  • Implement npm module loading using GraalVM polyglot SDK (#989)
  • Adding ExternalizableHasNoArgsConstructorRecipe for RSPEC-2060 (#1007)
  • HasTypeOnClasspathSourceSet (#1009)

Fixes:

  • Rename confusing term "Pointcut expression" to "Method pattern" (#981)
  • Unnecessary space instance creation (#986)
  • HiddenFieldStyle should ignore constructors/setters by default (#990)
  • HiddenFieldStyle should ignore constructors/setters by default (5c74a55)
  • Make JavaSourceSet continue in the presence of ClassGraph errors when extracting classpath metadata (#995)
  • ExplicitLambdaArgumentTypes. Handle array types when adding explicit lambda arguments (#994)
  • Only add static import of method invocation when necessary in ChangeType (#978)
  • Move checkstyle styles to style package for classloading considerations (ff49782)
  • Move FallThroughStyle.RELIEF_PATTERN to visitor (15c2013)
  • Allow '-' in json path expressions (bba578d)
  • YAML FindKey by JsonPath (#1000)
  • Move java security recipes to rewrite-java-security (bf1df43)
  • AnnotationMatcher support for matching enums and static final fields (#1001)
  • Simplify NoEmptyCollectionWithRawType (aab8719)
  • JavaTemplate fails to replace statements when inner enum contains static methods (#1005)
  • Secure the use of SnakeYAML's constructor (94331ea)
  • Simplify and flatten access between guest and host in polyglot recipes (#1010)

Don't miss a new rewrite release

NewReleases is sending notifications on new releases.