Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
2.0.0-rc.8
- Profiles implicitly extend from
default
. - Visitors are configured before tested for acceptance now so their validation logic can check for required properties.
2.0.0-rc.7
- Refactored
Environment
toRefactorPlan
. RefactorPlan
can now canMETA-INF/rewrite-profiles
for YML files containing profile definitions- Separated declarative rules into their own YML definition.
RefactorPlan
can now scan declarative rules inMETA-INF/rewrite-definitions
.
2.0.0-rc.6
- Introduced Profiles/Environment.
- Visitors can be defined declaratively now in profile files.
- Added declarative variants for all Java refactoring operations that make sense.
2.0.0-rc.5
- Add support for configuring rules via microprofile-config config sources.
- Add support for classpath scanning for rules annotated with
@AutoConfigured
.
2.0.0-rc.4
- Remove
RefactorModule
and addGenerate
. - Remove scoped visitors, moved scope testing to
Cursor
. - Added name/tags constructor to
SourceVisitor
so that every visitor is named, and to separate tag key/values from the name for better telemetry. - Removed public
isCursored()
from visitors and added protectedsetCursoringOn()
intended to be called in visitor constructors that require cursoring. - Beginning of support for Maven POM manipulation.
2.0.0-rc.3
- Fixed formatting of class extends/implements
- Add convenience method for building parameterized types
- Add
J.Ident
builder for simple class name references - Add
ImplementInterface
refactoring operation for Java.
2.0.0-rc.2
Initial publishing of reworked Rewrite API.
2.0.0-rc.1
Initial publishing of reworked Rewrite API.