Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
6.1.0
Improvements
TreeBuilder
build snippet usability improvementsManageDependencies
visitor for Maven (reinstate AddOrRemoveDependencyManagement removed in 6.0.x with the new model)AddPlugin
visitor for MavenAddDependency
should optionally use managed dependency version when availableAddToTag
(XML refactoring) takes optionalComparator<Xml.Tag>
to place new tags in an idiomatic order- Finalize parsing of license types in
Pom.License.fromName(..)
- Create
maybeAddDependency
shortcut toMavenRefactorVisitor
RemoveDependency
visitor for MavenExcludeDependency
visitor for MavenAutoFormat
implementation for XML
6.0.1
Revert change to SourceFile#getSourcePath
which must be a String.
6.0.0
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
5.5.3
5.5.2
- Now compatible with the recently-released JDK 11.0.9
- Improved SemanticallyEquals ability to determine equality of annotations
- Thanks to @BoykoAlex for fixing an issue with
J.CompilationUnit.getSourceSet()
5.5.1
5.5.0
- Improve AutoFormat's ability to correctly place annotations and comments
- Thanks to @fabapp2 for contributing AddOrUpdateDependencyManagement, a maven visitor allowing for the creation and modification of dependencyManagement blocks inside of maven poms
- rewrite-test's loadRefactorPlan() helper function has been replaced by the similar but distinct loadVisitorsForTest()