Releases: openrewrite/rewrite-kotlin
Releases · openrewrite/rewrite-kotlin
1.11.0
Full Changelog: v1.10.1...v1.11.0
1.10.1
What's Changed
- Let
Autodetect
handle unqualified function imports by @knutwannheden in #589
Full Changelog: v1.10.0...v1.10.1
1.10.0
Full Changelog: v1.9.0...v1.10.0
1.9.1
What's Changed
- Fix parsing of
FirCallableReferenceAccess
in visitCallableReferenceExpression. by @traceyyoshima in #566 - Preserve whitespace in escaped name of import. by @traceyyoshima in #573
- Fixed NPE from while loop with no body. by @traceyyoshima in #572
- Added K.TypeAlias. by @traceyyoshima in #551
- Fixed unexpected type mappings based on comparing results from FindTypeMappings. by @traceyyoshima in #578
- Add test for change type of annotation with use site target by @rogerpeckham-toast in #577
- Fix issue of semi-colon is lost on property accessor with no surroundings by @kunli2 in #579
- Support mod-assign operator
%=
by @kunli2 in #581 - Fix an issue of select missing by @kunli2 in #582
- Support shebang parsing by @kunli2 in #584
- fix Idempotent print issue on annotated type in function type parens by @kunli2 in #588
- Fix print idempotent issue of useSite multi annotations after annotation by @kunli2 in #587
- Bump Kotlin to 1.9.22 by @radoslaw-panuszewski in #586
- Fix Semi-colon on inline methods after property declaration disappears by @kunli2 in #585
- Fix issue of whitespace lost on empty while-loop body before trailing semi-colon by @kunli2 in #583
New Contributors
- @radoslaw-panuszewski made their first contribution in #586
Full Changelog: v1.8.4...v1.9.1
1.9.0
What's Changed
- Fix parsing of
FirCallableReferenceAccess
in visitCallableReferenceExpression. by @traceyyoshima in #566 - Preserve whitespace in escaped name of import. by @traceyyoshima in #573
- Fixed NPE from while loop with no body. by @traceyyoshima in #572
- Added K.TypeAlias. by @traceyyoshima in #551
- Fixed unexpected type mappings based on comparing results from FindTypeMappings. by @traceyyoshima in #578
- Add test for change type of annotation with use site target by @rogerpeckham-toast in #577
- Fix issue of semi-colon is lost on property accessor with no surroundings by @kunli2 in #579
- Support mod-assign operator
%=
by @kunli2 in #581 - Fix an issue of select missing by @kunli2 in #582
- Support shebang parsing by @kunli2 in #584
- fix Idempotent print issue on annotated type in function type parens by @kunli2 in #588
- Fix print idempotent issue of useSite multi annotations after annotation by @kunli2 in #587
- Bump Kotlin to 1.9.22 by @radoslaw-panuszewski in #586
- Fix Semi-colon on inline methods after property declaration disappears by @kunli2 in #585
- Fix issue of whitespace lost on empty while-loop body before trailing semi-colon by @kunli2 in #583
New Contributors
- @radoslaw-panuszewski made their first contribution in #586
Full Changelog: v1.8.4...v1.9.0
1.8.4
What's Changed
- Fixed some annotation parsing. by @traceyyoshima in #554
Full Changelog: v1.8.3...v1.8.4
1.8.3
What's Changed
- Associate the inner classes to the PSI. by @traceyyoshima in #547
- Update
K.Constructor
model by @kunli2 in #522 - Update
K.Property
model, addaccessors
as a replacement ofsetter
/getter
/isSetterFirst
by @kunli2 in #523 - Improve condition of nested inner class type fetching by @kunli2 in #548
- Deprecate
IsNullable
marker and useJ.NullableType
instead by @kunli2 in #497 - New LST models to support use-site annotation and deprecate
AnnotationUseSite
marker by @kunli2 in #549
Full Changelog: v1.8.2...v1.8.3
1.8.2
What's Changed
- Add missing @EqualsAndHashCode.Include by @kunli2 in #512
- Fixed types on applicable dot qualified expressions. by @traceyyoshima in #515
- Set JavaPrimitiveType Void as PrimitiveType.Void. by @traceyyoshima in #516
- More type mapping fixes. by @traceyyoshima in #519
- Update
K.Constructor
model by @kunli2 in #521 - Set constructor type on enum values. by @traceyyoshima in #534
- Set the type on identifiers of function type parameters. by @traceyyoshima in #538
- function calls from Kotlin Library.kt will contain the correct declaration type. by @traceyyoshima in #528
- Various fixes for SAM constructors. by @traceyyoshima in #530
- Set methodType for ConstructorSymbols of member references. by @traceyyoshima in #541
- Added type validation to Assertions. by @traceyyoshima in #543
Full Changelog: v1.8.1...v1.8.2
1.8.1
What's Changed
- Added support for imports with escaped names. by @traceyyoshima in #501
- Fixed type on J.MemberReference created in KotlinTreeParserVisitor#visitCallableReferenceExpression. by @traceyyoshima in #503
- Fixed type attribution on annotation on ConeKotlinType(s). by @traceyyoshima in #504
- Fixed various types on J.Identifier. Use mapType to fix types based on the tree. by @traceyyoshima in #471
- Get rid of
TypeReferencePrefix
marker fromJ.VariableDeclarations
by @kunli2 in #505 - Set the correct MethodType on names of method invocation and declarations. by @traceyyoshima in #507
Full Changelog: v1.8.0...v1.8.1
1.8.0
What's Changed
- Add reproducibility tests for issue by @zacscoding in #476
- Minor cleanups by @knutwannheden in #486
- Set the type on
J.Identifier
to null if it resolves toJ.Unknown
. by @traceyyoshima in #490 - Added detection of annotation constructors to create J.Annotation in visitCallExpression. by @traceyyoshima in #478
- Map types in
PsiElementAssociations
by @knutwannheden in #487 - Deprecate the
prefix
field ofIsNullSafe
marker since it's uncessery by @kunli2 in #491 - Fix quoted identifier name. by @traceyyoshima in #492
- Match type of unused variable name. by @traceyyoshima in #495
- Fix the method name on method types of property access accessors. by @traceyyoshima in #496
- Reduce STDERR in AutoDetectTest by @timtebeek in #499
- Fixed missing static flag in type mapping. e4d16f2
New Contributors
- @zacscoding made their first contribution in #476
Full Changelog: v1.7.6...v1.8.0