Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
v8.48.1
What's Changed
- Support usage of Unicode strings in JavaDocs by @jevanlingen in #5154
TypeTable
: Correctly map parameter names by @knutwannheden in #5161- Find type field references in JavaDoc in interfaces and superclasses by @jevanlingen in #5163
- Adding a missing return, without which a supposed optimization does nothing by @mkosmul in #5160
- Find method type references in JavaDoc in interfaces and superclasses by @jevanlingen in #5164
- Fix nullability warnings around ExecutionContext.getMessages() by @sambsnyd in #5159
- Ignore Case statements for
ReplaceStringLiteralWithConstant
by @timtebeek in #5165 - Retry searching for proper parent by @SiBorea in #5166
- Support this-constructor-links in JavaDoc by @jevanlingen in #5167
- Fix handling of maven compiler plugin configuration for java version upgrade by @Laurens-W in #5168
- Add new test validation that ScanningRecipe.getScanner() does not attempt edits. by @sambsnyd in #5171
- Include scan-only changes when a recipe times out by @kmccarp in #5172
- Removing obsolete ANTLR generated code by @greg-at-moderne in #5176
- Re-add some of the ANTLR files in rewrite-java by @greg-at-moderne in #5178
- fix: ReplaceConstantWithAnotherConstant not work when use static constant within method by @ckcd in #5175
- Assign response from
withTypeParameters
inSpacesVisitor
by @timtebeek in #5173 AdaptiveRadixTree
: Faster reads by using a bitmap indexNode64
by @knutwannheden in #5181JavaTemplate
: Add support for match arrays by @fmodesto in #5170- Update
HttpSender.Request.Builder
to support multipart/form-data request bodies with multiple parts by @bryceatmoderne in #5044 - Fixes parsing of switch expression with combined null and default by @froque in #5140
- Fix java version update by @Laurens-W in #5183
- Flip mkdirs and Files.exists check for TypeTable parallelism by @timtebeek in #5189
- Fixing parsing of empty enums with no semicolon by @greg-at-moderne in #5190
- Speed-up of
MavenDependencyFailuresTest#unresolvableParent
by declaring central maven repo first by @greg-at-moderne in #5193 LatestPatch#isValid()
should allow pre-releases by @knutwannheden in #5192- When no version is present, skip resolving by @Laurens-W in #5185
New Contributors
Full Changelog: v8.48.0...v8.48.1
8.48.0
What's Changed
- Validation for recipe options that
MethodMatcher
s are constructed from. by @jkschneider in #5126 - Merge
rewrite-kotlin
by @knutwannheden in #5125 - Groovy Parser supports unassigned closure with GString as return value by @jevanlingen in #5132
- Fix rewrite-kotlin tests by @Laurens-W in #5137
- MergeYaml recipe should not do anything when key does not match by @jevanlingen in #5120
- Adding latest and release fields to MavenMetadata, using them in AddDependency by @greg-at-moderne in #5082
- Fix groovy parser parsing package definition by @Laurens-W in #5142
- Gradle Kotlin DSL by @shanman190 in #5122
YamlValue
trait by @jkschneider in #5145- Use GZIP rather than raw zlib by @knutwannheden in #5141
- Pin AssertJ for
rewrite-java-8
to 3.x by @knutwannheden in #5148 - Handling null source in MergeYaml by @greg-at-moderne in #5149
- Handling enums with no values as J.EnumValueSet by @greg-at-moderne in #5147
- Add validation for 'key' in MergeYaml by @greg-at-moderne in #5151
- Fixing MergeYaml not to duplicate a comment by @greg-at-moderne in #5150
- MergeYaml - fixing indentation when merging sequences by @greg-at-moderne in #5152
- Class files from type tables should not include all nested types by @knutwannheden in #5153
TypeTable
: Add method bodies by @knutwannheden in #5156- Handle double quotes in addition of simple quote in XPathMatcher by @xLitil in #5155
New Contributors
Full Changelog: v8.47.4...v8.48.0
8.47.4
What's Changed
ChangeType
: Use unqualified name if possible by @knutwannheden in #5080- Prove once more maven config properties are resolved by @Laurens-W in #5098
DependencyVersionSelector
: Upgrade from milestone tolatest.patch
by @knutwannheden in #5103- Adds support for Plugin Repositories in Maven Pom by @froque in #5101
- MergeYaml recipe: Handle ParseError LSTs by @jevanlingen in #5097
- Make sure
YamlParser#unwrapPrefixedMappings()
visits entire tree by @knutwannheden in #5108 - Guard against null repos in
MavenPomDownloader#distinctNormalizedRepositories
by @jkschneider in #5111 - Apply & update OpenRewrite best practices by @timtebeek in #5113
- Update suppressions by @bryceatmoderne in #5115
- Detect shell command timeouts and throw an appropriate exception by @bryceatmoderne in #5116
- Allow overriding of the cycles that data-tables are allowed to write in. by @pstreef in #5102
- fix: ResolvedPom with type=zip by @ckcd in #5118
- #5099 | Fix issue 5099 - YAML parsing crashes with IndexOutOfBoundsEx… by @mkosmul in #5100
- Configure TCCL in
InMemoryLargeSourceSet
to enableServiceLoader
by @MBoegers in #5034 - Store MavenSession.userProperties in MavenResolutionResult by @timtebeek in #5114
- find-dependency-with-versions by @MBoegers in #5121
New Contributors
Full Changelog: v8.47.3...v8.47.4
v8.47.3
What's Changed
- Fix parsing of multi-line comments "containing" single-line comments by @rlsanders4 in #5090
- Performance improvement for
TypeTable.Reader
by @knutwannheden in #5093 - Fix caching issues in rewrite build by @gabrielfeo in #5095
- Rewrite RPC by @jkschneider in #5050
Full Changelog: v8.47.2...v8.47.3
8.47.2
What's Changed
- Correct handling of boolean literals in
JsonPath
grammar and matcher by @knutwannheden in #5073 - Java parsing fix for empty comment as last line by @greg-at-moderne in #5076
- Parser failures with unnecessary semicolons by @timtebeek in #5063
- Fixing handling of trailing empty single-line comment by @greg-at-moderne in #5077
- Reformat the method pattern description to be more readable by @mike-solomon in #5084
- Put the
getCommentTree
reflection code back in the Java 17 parser by @jevanlingen in #5089 - Fix YAML
JsonPathMatcher
for filter expressions on child mappings by @knutwannheden in #5088 - Parse properties from
maven.config
file by @Laurens-W in #5070 - Fix POM download by @BoykoAlex in #5086
- More compact
AdaptiveRadixTree
by @knutwannheden in #5091 - Remove Snappy dependency by @knutwannheden in #5092
Full Changelog: v8.47.1...v8.47.2
8.47.1
Full Changelog: v8.46.1...v8.47.1
8.47.0
Full Changelog: v8.46.1...v8.47.0
8.46.1
What's Changed
- Accept after with
DeserializationError
marker inResult
constructor by @knutwannheden in #5069
Full Changelog: v8.46.0...v8.46.1
v8.46.0
What's Changed
- Support modifiers for Groovy method declaration parameters by @jevanlingen in #5045
- Groovy - fix support for import statements following multiline comments by @greg-at-moderne in #5041
- fix: handle comment at the end of a method declaration by @auke- in #4996
- Groovy Parser - Improve retrieval of modifiers by @jevanlingen in #5048
- Groovy: Support property expression in annotation values by @knutwannheden in #5004
- Upgrading Antlr to 4.13.2 by @greg-at-moderne in #5007
- Add dependencies in JVMTestSuite dependency block by @MBoegers in #5000
- Improve MergeYaml recipe by @jevanlingen in #5036
- ANTLR 4.13.2 - continued by @greg-at-moderne in #5057
- Annotate
Hcl.Literal#value
as@Nullable
by @knutwannheden in #5056 - Declare root project name by @gabrielfeo in #5061
- Remove obsolete test code by @greg-at-moderne in #5060
- Re-enable disabled test case by @greg-at-moderne in #5059
- JavaTemplate don't use type params on matching method invocations by @greg-at-moderne in #5058
- Record a SourcesFileResults.Row for generated sources by @timtebeek in #5064
- MergeYaml: prevent keys to be appended to the last commit tests by @BelmoMusta in #5037
- Restore Yaml.* constructors without Tag for gradual adoption by @timtebeek in #5068
New Contributors
- @auke- made their first contribution in #4996
- @gabrielfeo made their first contribution in #5061
Full Changelog: v8.45.5...v8.46.0
v8.45.5
What's Changed
- Applying code suggestions by @greg-at-moderne in #5042
- Read all TypeTable
classpath.tsv.zip
files by @timtebeek in #5043
Full Changelog: v8.45.4...v8.45.5