Download Latest Version v4.2.1 source code.zip (3.1 MB)
Email in envelope

Get an email when there's a new version of Ktorm

Home / v4.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-05-16 1.0 kB
v4.2.0 source code.tar.gz 2026-05-16 2.9 MB
v4.2.0 source code.zip 2026-05-16 3.1 MB
Totals: 3 Items   6.0 MB 0

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:

:::xml
<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>
Source: README.md, updated 2026-05-16