Releases: openrewrite/rewrite-kotlin
Releases · openrewrite/rewrite-kotlin
v1.7.3
What's Changed
- No doubling of trailing whitespace for function type in parens by @knutwannheden in #424
- Fix parsing of named spread arguments by @knutwannheden in #425
- Update K.DestructuringDeclaration model to support restructuring declaration with types by @kunli2 in #426
- Fixed IndexOutOfBounds exception and method types for named arguments in invocations. by @traceyyoshima in #427
- Fix type parameter with variant modifiers like
in
out
andreified
and leading annotations by @kunli2 in #429 - Provide more info on ClassCastExceptions. by @traceyyoshima in #430
- support use site annotation with multiple annotation included by @kunli2 in #431
Full Changelog: v1.7.2...v1.7.3
v1.7.2
What's Changed
- Revised FunctionType#getType() to cover JRightPadded being added. by @traceyyoshima in #389
- Convert parameters to expressions. by @traceyyoshima in #391
- Convert j to expression in visitPostfixExpression by @traceyyoshima in #393
- Use convert to expression in visitQualifiedExpression. by @traceyyoshima in #395
- Fix CRLF in the stringTemplate by @kunli2 in #411
- Fix test
kdocBeforeValueParameter
by @kunli2 in #414 - Fix enumClassWithParameters by @kunli2 in #419
- Fix suspend modifier in a value parameters list by @kunli2 in #421
- fix test
annotatedFunction
annotation before a KtFunctionType by @kunli2 in #422
Full Changelog: v1.7.1...v1.7.2
1.7.1
What's Changed
- Added support for protected_static visibility in KotlinTypeMapping. by @traceyyoshima in #384
Full Changelog: v1.7.0...v1.7.1
1.7.0
What's Changed
- Update with rewrite 8.9.0
- Updated
KotlinTypeMapping#methodInvocationType
to use symbol to set paramNames list instead of function. by @traceyyoshima in #367 - Optimize PsiElementAssociations filtering, to filter FirUserTypeRef since it produce no type by @kunli2 in #368
- Print syntax errors for visibility in tests, and polish test. by @traceyyoshima in #369
- Disable folding imports by @kunli2 in #371
- Fix trailing comment of K.FunctionType by @kunli2 in #372
- Updated KotlinTypeMapping to support
private_to_this
visibility. by @traceyyoshima in #378 - Fixed type on import aliases. by @traceyyoshima in #379
- Fixed import type resolution and super type references. by @traceyyoshima in #382
- Catch exceptions and create a J.Unknown in visitKtFile. by @traceyyoshima in #383
Full Changelog: v1.6.0...v1.7.0
1.6.0
What's Changed
- Switch to PSI-based-parser
- various type attribution fixes. by @traceyyoshima in #352
- Add
K.Unary
to presentPOSTFIX_EXPRESSION
like!!
by @kunli2 in #353 - Type mapping revisions. by @traceyyoshima in #354
- Switched to PSI-parser by @traceyyoshima in #355
- Fix ChangeType and FindFieldAccess tests. by @traceyyoshima in #356
- Detect static imports. by @traceyyoshima in #357
- Replaced TODO() with UOE. by @traceyyoshima in #359
- Fix null JavaClassifierType case by @kunli2 in #361
- Fix more trailing comment handling by @knutwannheden in #362
- Updated function call type and signature when value parameters are not generic types. by @traceyyoshima in #363
- New assertion to verify that parser parses whitespace in all locations by @knutwannheden in #364
Full Changelog: v1.5.1...v1.6.0
1.5.1
What's Changed
- Added starting point for PSI to IR mapping. by @traceyyoshima in #348
- IR type mapping. by @traceyyoshima in #349
- refactor: Update Gradle wrapper to 8.4 by @timtebeek in #351
Full Changelog: v1.5.0...v1.5.1
1.5.0
What's Changed
- PSI based parser by @knutwannheden in #309
- Present bit operators to J.Binary instead of method invocation by @kunli2 in #346
- IR type mapping and signature building by @traceyyoshima in #347
Full Changelog: v1.4.15...v1.5.0
1.4.15
What's Changed
- Various type mapping fixes. by @traceyyoshima in #333
- Type attribution fixes by @knutwannheden in #334
- Fixed ConeTypeProjection error by @traceyyoshima in #335
- File owner types by @traceyyoshima in #336
- Fixed various type issues by @traceyyoshima in #337
- Fixed type attribution for cone captured types. by @traceyyoshima in #338
- top-level function declaration type fixes. by @traceyyoshima in #339
- Type mapping fixes. by @traceyyoshima in #340
- Fix generic type name of ConeIntersectionTypes. by @traceyyoshima in #341
- Fixed variable type owner of fields declared in methods. by @traceyyoshima in #342
- Fixed clazz type on ParameterizedTypes created through UserTypeRefs. by @traceyyoshima in #343
- Fix the formatting of chained function calls with parameters by @knutwannheden in #345
Full Changelog: v1.4.14...v1.4.15