v4.1.0
版本发布时间: 2024-07-17 11:24:13
kotlin-orm/ktorm最新发布版本:v4.1.1(2024-09-03 11:39:09)
What's Changed
- Upgrade Kotlin version to 1.9.23, support JDK 21.
- Add
EntityExtensionsApi.isAttached()
function to check if an entity is attached to the database. - Track and provide access to entity changed properties by @HC-224 in https://github.com/kotlin-orm/ktorm/pull/525
- Make
BaseTable.asExpression()
function open by @qumn in https://github.com/kotlin-orm/ktorm/pull/560 - Reduce memory allocation on
Column.label
used for accessing in query by @AlexRiedler in https://github.com/kotlin-orm/ktorm/pull/564 - Bugfix: fix binary compatibility error when using a higher version of
KotlinModule
by @k163377 in https://github.com/kotlin-orm/ktorm/pull/527 - Bugfix:
Entity.flushChanges()
andEntity.delete()
throwSQLException
instead ofUndeclaredThrowableException
when SQL execution fails. - Update documentation for
insertOrUpdate
andbulkInsertOrUpdate
by @ipalo in https://github.com/kotlin-orm/ktorm/pull/501
New Contributors
- @k163377 made their first contribution in https://github.com/kotlin-orm/ktorm/pull/527
- @qumn made their first contribution in https://github.com/kotlin-orm/ktorm/pull/560
- @ipalo made their first contribution in https://github.com/kotlin-orm/ktorm/pull/501
- @HC-224 made their first contribution in https://github.com/kotlin-orm/ktorm/pull/525
- @AlexRiedler made their first contribution in https://github.com/kotlin-orm/ktorm/pull/564
Full Changelog: https://github.com/kotlin-orm/ktorm/compare/v4.0.0...v4.1.0