github kotlin-orm/ktorm v4.2.0

3 hours ago

What's Changed

  • Upgrade Kotlin version to 2.0.21.
  • Support KSP2.

Break Changes for Maven Plugin

Since Kotlin deprecated a lot of compiler APIs in 2.0, we had to rewrite our maven plugin to support KSP2. If you are using ktorm-ksp-compiler-maven-plugin, you need to adjust your plugin configuration in pom.xml as follows:

<plugin>
	<groupId>org.ktorm</groupId>
	<artifactId>ktorm-ksp-compiler-maven-plugin</artifactId>
	<version>${ktorm.version}</version>
	<executions>
		<execution>
			<id>generate-sources</id>
			<goals>
				<goal>generate-sources</goal>
			</goals>
		</execution>
	</executions>
	<configuration>
		<processorOptions>
			<ktorm.catalog>my_catalog</ktorm.catalog>
			<ktorm.schema>my_schema</ktorm.schema>
			<ktorm.dbNamingStrategy>lower-snake-case</ktorm.dbNamingStrategy>
		</processorOptions>
	</configuration>
</plugin>

Don't miss a new ktorm release

NewReleases is sending notifications on new releases.