Skip to content

Releases: JavierSegoviaCordoba/kotlin-compiler-extensions

0.4.3+2.0.20

08 Sep 17:05
Compare
Choose a tag to compare

Fixed

  • compilerClasspath configuration not working properly on Windows

0.4.2+2.0.20

03 Sep 09:57
Compare
Choose a tag to compare

Fixed

  • : separator not supported in compilerClasspath

Updated

  • com.javiersc.hubdle:hubdle-version-catalog -> 0.3.8
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.10

0.4.1+2.0.20

02 Sep 17:50
Compare
Choose a tag to compare

Fixed

  • compilerClasspath does not support String

0.4.0+2.0.20

02 Sep 17:16
Compare
Choose a tag to compare

Changed

  • remove all functions that use context receivers
  • all functions to be inline

Updated

  • com.javiersc.hubdle:hubdle-version-catalog -> 0.3.7
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.8

Added

  • kotlin-compiler-gradle-extensions project

0.3.0+2.0.20

22 Aug 19:43
Compare
Choose a tag to compare

Updated

  • com.javiersc.hubdle:hubdle-version-catalog -> 0.3.6
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.7

0.2.0+2.0.10

16 Aug 01:16
Compare
Choose a tag to compare

Added

  • allow disabling logging in MetaRuntimeClasspathProvider

Updated

  • gradle -> 8.10
  • com.javiersc.hubdle:hubdle-version-catalog -> 0.3.2
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.7.5

0.1.1+2.0.0-RC1

16 Apr 11:59
Compare
Choose a tag to compare

Added

  • FULL_JDK and Context Receivers to test configuration
  • IrPluginContext.declarationIrBuilder: DeclarationIrBuilder
  • IrVariable.toIrGetValue(): IrGetValue
  • FirBasedSymbol<*>.valueParameters
  • nothingFirAnonymousFunctionExpression
  • multiple safe FIR functions based on getting nullable types

Changed

  • FirConstExpression to FirLiteralExpression

Deprecated

Fixed

  • avoid throwing exceptions in some FIR functions

Removed

Updated

  • com.javiersc.hubdle:hubdle-version-catalog -> 0.2.6+2.0.0-RC1
  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.6.6+2.0.0-RC1
  • gradle -> 8.7

0.1.1-alpha.5

29 Sep 20:41
Compare
Choose a tag to compare
0.1.1-alpha.5 Pre-release
Pre-release

Changed

  • FirBasedSymbol<*>.packageFqName() -> FirBasedSymbol<*>.packageFqName
  • buildVariable to createIrVariable
  • Kotlin version to 1.9.255-SNAPSHOT
  • irCall extensions

Added

  • IrValueParameter.createIrField(): IrField
  • IrPluginContext.createIrField(): IrField
  • IrDeclaration.toIrExpression(): IrExpression
  • IrPluginContext.createIrBlockBody(): IrBlockBody
  • isSubtypeOf(): Boolean
  • IrPluginContext.irType(): IrType
  • KFunction<*>.toName(): Name
  • FirBasedSymbol<*>.contextReceivers: List<FirContextReceiver>
  • FirBasedSymbol<*>.name: Name
  • IrElement.contextReceivers: List<IrValueParameter>
  • IrDeclaration.toIrCall(): IrCall
  • Sequence<IrTreeNode>.filterIrIsInstance(): Sequence<T>
  • IrElement.irType: IrType
  • IrType.buildVariable(): IrVariable
  • buildVariable(): IrVariable
  • ConeKotlinType.toValueParameter(): FirValueParameter
  • FirSession.coneKotlinType: ConeKotlinType
  • FirBasedSymbol<*>.coneKotlinType: ConeKotlinType?
  • FirClassSymbol<*>.toPrimaryConstructor(): FirConstructor
  • ConeTypeProjection.toFirTypeParameter(): FirTypeParameterRef
  • FirTypeRef.toValueParameter(): FirValueParameter
  • ClassId.toFirTypeRef(): FirTypeRef
  • FirClassLikeSymbol<*>.toFirTypeRef(): FirTypeRef
  • FirFunctionSymbol<*>.contextReceiversToValueParameters(): List<FirValueParameter>
  • ClassId.toConeType(): ConeClassLikeType
  • and many more...

Fixed

  • Box tests don't check IR

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0+1.9.30-dev-2548-SNAPSHOT
  • gradle -> 8.3

0.1.1-alpha.4

13 Jun 22:35
Compare
Choose a tag to compare
0.1.1-alpha.4 Pre-release
Pre-release

Changed

  • String.toName(): Name package to com.javiersc.kotlin.compiler.extensions.common
  • String.toFqName(): FqName package to com.javiersc.kotlin.compiler.extensions.common
  • fqName(): FqName package to com.javiersc.kotlin.compiler.extensions.common
  • packageFqName(): FqName package to com.javiersc.kotlin.compiler.extensions.common
  • KClass<*>.toFqName(): FqName package to com.javiersc.kotlin.compiler.extensions.common
  • String.toCallableId(): CallableId package to com.javiersc.kotlin.compiler.extensions.common
  • FqName.toCallableId(): CallableId package to com.javiersc.kotlin.compiler.extensions.common

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.31

Added

  • FirBasedSymbol<*>.isProperty(): Boolean
  • FirBasedSymbol<*>.isFunction(): Boolean
  • FirBasedSymbol<*>.isTopLevel: Boolean
  • FirBasedSymbol<*>.isNested: Boolean
  • FirBasedSymbol<*>.hasOwner: Boolean
  • <reified T> classId(): ClassId
  • ClassId.toCallableId(): CallableId
  • FirContextReceiver.typeRefName: Name?
  • FirSession.nothingFirFunction(): FirFunction
  • FirSession.nothingFirFunctionCall: FirFunctionCall
  • FirContextReceiver.toValueParameter(): FirValueParameter
  • <reified T : Annotation> IrElement.hasAnnotation(): Boolean
  • List<FirElement?>.render(): String
  • FirBasedSymbol<*>.packageFqName(): FqName?
  • asFirSymbol
  • FirMemberDeclaration.name: Name
  • FirTreeNode
  • IrFunction.contextReceivers: List<IrValueParameter>

0.1.1-alpha.3

08 Jun 15:46
Compare
Choose a tag to compare
0.1.1-alpha.3 Pre-release
Pre-release

Added

  • IrClassExhaustiveKind
  • IrClass.exhaustiveKind: IrClassExhaustiveKind
  • IrTreeNode.irFile: IrFile?
  • IrTreeNode.parentIrClass: IrClass?
  • IrTreeNode.parentIrDeclaration: IrDeclaration?
  • IrTreeNode.parentIrDeclarationWithName: IrDeclarationWithName?
  • IrTreeNode.parentIrFunction: IrFunction?

Removed

  • IrTreeNode.fileName: String
  • IrTreeNode.className: String
  • IrTreeNode.functionName: String

Updated

  • com.javiersc.hubdle:com.javiersc.hubdle.gradle.plugin -> 0.5.0-alpha.29