Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
v8.43.4
What's Changed
- Fixed missing version on multiple dependency management sections in m… by @t-huebner-id in #4888
- Fix issue parsing string with Java8ReloadableParser by @rlsanders4 in #4914
- Groovy parser fail with single line comment by @jonesbusy in #4887
- YAML Parser not to take
@variables@
in the middle of scalar by @greg-at-moderne in #4917 - Support JEP-441: Pattern Matching for switch for Java 21+ by @nielsdebruin in #4661
- Pull up recipes from rewrite-migrate-java by @timtebeek in #4918
- Autodetect formatting style of JSON code by @greg-at-moderne in #4916
- based on the significant contribution by @dpozinen
New Contributors
- @t-huebner-id made their first contribution in #4888
Full Changelog: v8.43.3...v8.43.4
8.43.3
What's Changed
- Refactoring, extract normalizeNewLines() by @greg-at-moderne in #4904
- Correct TOML table parsing by @knutwannheden in #4910
- Add a test validation that execution context is not mutated during recipe execution by @sambsnyd in #4879
- Optionally update maven plugin version in ChangePluginGroupIdAndArtifactId by @JesseEstum in #4905
- Fix AddOrUpdateAnnotationAttribute unable to handle FieldAccess by @SiBorea in #4898
New Contributors
- @JesseEstum made their first contribution in #4905
Full Changelog: v8.43.2...v8.43.3
8.43.2
What's Changed
- Lombok's generated @with method misses type information; fix for Java 17+ by @jevanlingen in #4882
- Add
slf4j-nop
transitively through rewrite-test by @timtebeek in #4895 LatestRelease
should replacemetadataPattern
as regex, as documented by @ZhyliaievD in #4894- chore: update suppressions by @zieka in #4903
- HCL - support for legacy syntax for attribute expressions by @greg-at-moderne in #4901
- Add new parameter
oldAttributeValue
toAddOrUpdateAnnotationAttribute
recipe by @MBoegers in #4881 - TOML model cleanups by @knutwannheden in #4907
- When resolving maven pom properties give system properties precedence. by @sambsnyd in 2586748
Full Changelog: v8.43.1...v8.43.2
8.43.1
What's Changed
- Add test for inner annotations and fix for 'AddOrUpdateAnnotationAttribute' by @danielshamis in #4885
- Enable
AnnotationMatcher
to match values inJ.NewArray
by @MBoegers in #4889 - Print cursor when tests fail to run a recipe by @timtebeek in #4891
- Add TomlVisitorTest after seeing ClassCastException in arrays by @timtebeek in #4892
New Contributors
- @danielshamis made their first contribution in #4885
Full Changelog: v8.43.0...v8.43.1
8.43.0
What's Changed
- Fix parsing string literal with line breaks and spaces by @jevanlingen in #4843
- Add TOML language parser by @shanman190 in #4845
- Adding option cutOffDate to RemoveOwaspSuppressions by @lkerford in #4846
- Support pattern operator for groovy by @jevanlingen in #4847
- Skip parsing groovy generated transform methods by @jevanlingen in #4848
- Support semicolon for groovy packages by @jevanlingen in #4850
- Add recipe to enable Develocity build cache in xml configuration by @nielsdebruin in #4856
- HCL - comments in multilines
for
by @greg-at-moderne in #4858 - Lombok support for java 21 by @jevanlingen in #4860
- HCL - comments as the final lines by @greg-at-moderne in #4861
- Replacing dependency on commons-compress with commons-lang3 by @greg-at-moderne in #4863
- HCL - Fixing handling of # or // within multiline comments by @greg-at-moderne in #4864
- fixing comment nesting in positionOfNext() by @greg-at-moderne in #4866
- fix: create dependencyResourceLoaders in 2 passes by @natedanner in #4870
- HCL - Fixing empty comment handling by @greg-at-moderne in #4871
- Map trailing commas as
TrailingComma
Marker
, to fixJ.Erroneous
issues seen by @timtebeek in #4869 - Partial support Lombok for java 8 (mostly done) by @jevanlingen in #4855
- Add recipe to enable Develocity build cache for Gradle by @nielsdebruin in #4859
Full Changelog: v8.42.5...v8.43.0
v8.42.5
What's Changed
- Add missing override annotation by @timtebeek in #4828
- Don't skip type attribution on compilation error by @amishra-u in #4826
- HCL - UT for slash signs in string literals by @greg-at-moderne in #4829
- Support inner classes for groovy by @jevanlingen in #4825
- Support nested annotations with properties and annotations with empty arguments by @jevanlingen in #4832
- HCL - allow for expression on LHS in objectelem by @greg-at-moderne in #4831
- Prevent class cast exception on Unknown annotation type by @timtebeek in #4833
- Improve discovery of parentheses level for MethodCallExpression by @jevanlingen in #4834
- Allow to add Maven test scoped dependency by @timtebeek in #4837
- HCL - UT for expressionOnLeftHandSideOfAMapLiteral by @greg-at-moderne in #4841
- HCL - Fixing handling of multi-line empty maps by @greg-at-moderne in #4839
- Cleanup groovy parser by @jevanlingen in #4838
New Contributors
- @greg-at-moderne made their first contribution in #4829
Full Changelog: v8.42.4...v8.42.5
v8.42.4
What's Changed
- Add Docker Image reference, to be used for gitlab, docker, etc by @jevanlingen in #4793
- Add support for lombok @Builder.Default Annotation by @amishra-u in #4823
- Put parenthesis changes back by @jevanlingen in #4819
- Groovy parsers should be able to support
.class
by @jevanlingen in #4824 AddAnnotationProcessor
should compare and update versions using a property by @nielsdebruin in #4822- Add lombok support for java-11 by @amishra-u in #4769
- Fix regression in SimplifyBooleanExpressionVisitor by @timtebeek in 9cfddab
- Fix StringIndexOutOfBoundsException for YamlReferences that end in a dot by @timtebeek in 2375e31
Full Changelog: v8.42.3...v8.42.4
v8.42.3
What's Changed
- Revert parenthesis changes by @timtebeek in #4818
- JavaTemplate bug when inserting
final var
into for-each by @timtebeek in #4806
Full Changelog: v8.42.2...v8.42.3
8.42.2
What's Changed
- Add a
isClassAvailable
method to the ReflectionUtils by @jevanlingen in #4810 - Correctly map generic return and parameter types in
JavaReflectionTypeMapping
by @jkschneider in #4812 - Support mapping of generic thrown exception types by @jkschneider in #4813
- refactor: Enum values should be compared with "==" by @timtebeek in #4811
- Keep the names of generic type variables defined by methods. by @jkschneider in #4814
- Fix Java reflection mapping of generic typed fields. by @jkschneider in #4815
Full Changelog: v8.42.1...v8.42.2
v8.42.1
What's Changed
- fix[maven]: update plugin dependencies by @jonblack in #4798
- Handle erroneous nodes in open rewrite by @vudayani in #4412
- Make Groovy Parser correctly handle nested parenthesis by @Laurens-W in #4801
- suppress javax.json by @pstreef in #4804
- Refactor SpringReference by @Laurens-W in #4805
- refactor: Update Gradle wrapper by @shanman190 in #4808
- Add recipe to remove Gradle Enterprise and Develocity by @timtebeek in #4809
- Allow file scheme in
RemoteArchive
to simplify testing by @pstreef in #4791 - Add fallback for determining parenthesis level for
BinaryExpression
by @Laurens-W in #4807
New Contributors
Full Changelog: v8.42.0...v8.42.1