Skip to content

Releases: openrewrite/rewrite

6.1.6

12 Dec 00:34
fcdd2bd
Compare
Choose a tag to compare

Improvements

Significant improvement to Java parsing speed, noticeable most when ran on large sets of Java source files.

6.1.5

09 Dec 23:29
Compare
Choose a tag to compare

Fixes

  • Parsing of whitespace in J.NewClass that is associated with an enum constructor invocation.
  • Fixing TreeBuilder to handle generic types and arrays
  • Ability to add static import on static field (not just method)

Improvements

  • Option to suppress failure of parsing of an individual source file.

6.1.4

07 Dec 19:00
Compare
Choose a tag to compare
  • Fixing TypeUtils.isString() #101
  • Relative path calculation for parsing of multiple POMs from one multi-module Maven project (fixes #102)

6.1.3

04 Dec 02:06
Compare
Choose a tag to compare
  • Parse repositories from settings.xml (Maven) #96

6.1.2

03 Dec 06:30
Compare
Choose a tag to compare
  • Handle snapshot version resolution (fixes #93)
  • Maven resolver substitutes versions recursively (fixes #95)

6.1.1

02 Dec 21:59
Compare
Choose a tag to compare

Fixed issue #92. Maven refactor visitors including AddDependency and RemoveDependency will now update the Maven model, not just the underling XML, so that subsequent visitors in the same pipeline are more likely to be able to successfully compose together.

6.1.0

29 Nov 18:12
Compare
Choose a tag to compare

Improvements

  • TreeBuilder build snippet usability improvements
  • ManageDependencies visitor for Maven (reinstate AddOrRemoveDependencyManagement removed in 6.0.x with the new model)
  • AddPlugin visitor for Maven
  • AddDependency should optionally use managed dependency version when available
  • AddToTag (XML refactoring) takes optional Comparator<Xml.Tag> to place new tags in an idiomatic order
  • Finalize parsing of license types in Pom.License.fromName(..)
  • Create maybeAddDependency shortcut to MavenRefactorVisitor
  • RemoveDependency visitor for Maven
  • ExcludeDependency visitor for Maven
  • AutoFormat implementation for XML

6.0.1

24 Nov 18:06
Compare
Choose a tag to compare

Revert change to SourceFile#getSourcePath which must be a String.

6.0.0

24 Nov 02:15
Compare
Choose a tag to compare

The major feature of this release is a total rewrite of the Maven POM parsing & refactoring.
The new implementation no longer relies on aether. It was created from the ground up to produce exactly the same dependency resolution results that Maven itself does, but much faster and without relying on a known-unsafe for parallelism local cache.

5.5.4

19 Nov 21:31
3913ffb
Compare
Choose a tag to compare
  • Fix AddImport to handle static method imports better (#73)
  • Fix OrderImports removing some static imports, fixed ChangeType not updating the type of changed J.MethodInvocations (#72)
  • AutoFormat better handles type parameters (#74)