Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.27.3
What's Changed
- Do not throw if
ReplaceStringLiteralWithConstant
value not found by @timtebeek in #4224 - fix: Recognize bundle POM packaging type as jars when verifying recipe dependency downloads by @bryceatmoderne in #4219
- Added classifier support to DependencyUseStringNotation recipe by @Jenson3210 in #4226
- Strengthen override method determination for generic parameters by @jkschneider in #4227
Full Changelog: v8.27.2...v8.27.3
v8.27.2
What's Changed
- Parse troublesome Yaml with new workaround in workaround for underying parser bug by @timtebeek in #4208
- Add recipe to replace Annotation by @MBoegers in #4217
- refactor: Update Gradle wrapper by @shanman190 in #4221
Full Changelog: v8.27.1...v8.27.2
8.27.1
What's Changed
- Add HasBuildToolVersion by @timtebeek in #4206
- bug: yaml: DeleteProperty: do not remove unrelated empty sequences by @aleksandrserbin in #4205
- Allow for simple re-usable
AddPropertyVisitor
by @BoykoAlex in #4207
New Contributors
- @aleksandrserbin made their first contribution in #4205
Full Changelog: v8.27.0...v8.27.1
8.27.0
What's Changed
- org.openrewrite.java.ChangePackage precise package match by @Dinozavvvr in #4189
- Fix bug adding import to a list of imports containing duplicate imports. by @nguyenhoan in #4197
- Added gradle recipe to remove enableFeaturePreview method by @ryanwalker in #4191
- ChangeMethodTargetToStatic should also change instance usage by @timtebeek in #4201
- bug: Handle NoClassDefFoundError when loading YAML recipes with missing recipe dependencies by @bryceatmoderne in #4186
- RemoveRedundantDependencyVersions - adding
onlyIfManagedVersionIs
o… by @nmck257 in #4148 - Fix documentation discrepancy by @ryanwalker in #4202
New Contributors
- @Dinozavvvr made their first contribution in #4189
- @nguyenhoan made their first contribution in #4197
- @ryanwalker made their first contribution in #4191
- @bryceatmoderne made their first contribution in #4186
Full Changelog: v8.26.0...v8.27.0
v8.26.0
What's Changed
- Match maven's handling of obsolete poms by refusing resolve their dependencies by @sambsnyd in 7390cc1
- ChangePackage fails to migrate annotation argument enum in package-info by @pativa in #4174
- YAML: Support lists of lists by @pdulich in #4178
- Only allow Gradle
AddDependency
to add dependencies to the top-leveldependencies
block by @shanman190 in #4181 - YAML: Support other cases of lists of lists by @pdulich in #4187
- Don't modify package declaration of siblings in ChangeType by @kennytv in #4184
- Remove
J.ClassDeclaration.Annotations
wrapper by @knutwannheden in #4172
New Contributors
- @pativa made their first contribution in #4174
- @pdulich made their first contribution in #4178
- @kennytv made their first contribution in #4184
Full Changelog: v8.25.0...v8.26.0
8.25.0
What's Changed
- Restore adding missing prefix in MergeYaml by @timtebeek in #4150
- refactor: OpenRewrite best practices by @timtebeek in #4151
- fix: use aroundMethod for anonymous inner class in blankLines by @ckcd in #4155
- Modify default behaviour of
MavenVisitor::isPluginTag()
to search everywhere, not just build by @dawngerpony in #4156 - Refactor
TreeObserver
for performance by @knutwannheden in #4160 - Allow non-eager application of Gradle plugins by @shanman190 in #4162
- Cache mirrors in
MavenPomDownloader
by @knutwannheden in #4159 - Rename
J.InstanceOf.Padding#getExpr()
andJ.LambdaParameters.Padding#getParams()
by @knutwannheden in #4163 - Support
ExactVersion
selector prefixed with "=" by @jpraet in #4167 - Support
NewClass
inMethodMatcher
andChangeMethodName
by @timtebeek in #4168 - Add
fileContentsUrl
option forCreateYamlFile
by @PhilKes in #4098 - Suggest alternatives when active recipes are not found by @timtebeek in #4169
New Contributors
Full Changelog: v8.24.0...v8.25.0
8.24.0
What's Changed
- Correct UTF-8 BOM detection in
EncodingDetectingInputStream
by @knutwannheden in #4139 - preconditions are no longer cached by @motu55 in #4141
- ChangeParentPom's property-preservation now checks the resolved new p… by @nmck257 in #4143
- Adds support for merging plugins executions by @caesar-ralf in #4146
- Add providedCompile to the DependencyHandlerSpec for ChangeDependency gradle by @burghduffkc in #4130
- Add generic type variable bound to
JsonRightPadded<T>
by @knutwannheden in #4147
New Contributors
- @caesar-ralf made their first contribution in #4146
- @burghduffkc made their first contribution in #4130
Full Changelog: v8.23.3...v8.24.0
8.23.3
What's Changed
- Add missing
visit()
methods toXmlVisitor
by @knutwannheden in #4128 - Add missing
YamlVisitor#visitDocumentEnd()
by @knutwannheden in #4129 - fix invalid jarPattern in JavaParser by @ckcd in #4124
- Test case for XPath Matcher matches too many tags when using relative Paths and conditions by @SilasSchaprian in #4133
- Extract find committers method by @pstreef in #4136
New Contributors
Full Changelog: v8.23.2...v8.23.3
8.23.2
What's Changed
MavenVisitor
should not return incorrectResolutionResult
for multi module maven projects by @motu55 in #4074SpacesVisitor
: Add space between annotations by @knutwannheden in #4117- Add missing
@With
toXml.JspDirective#beforeTypePrefix
field by @knutwannheden in #4114 - XPathMatcher does not support paths containing "//" and conditions #4119 by @SilasSchaprian in #4120
New Contributors
- @SilasSchaprian made their first contribution in #4120
Full Changelog: v8.23.1...v8.23.2