0.8.0
github-actions
released this
11 Nov 19:28
·
4 commits
to refs/heads/main
since this release
- Add support for transaction rollbacks (#178), special thanks to @jacek-marchwicki for the contribution!
Example (from #178 description):
assertFailsWith<SomeException> {
database.writeTransaction("users") {
objectStore("users").add(
jso {
id = "7740f7c4-f889-498a-bc6d-f88dabdcfb9a"
username = "Username"
},
)
// Abort transaction
throw SomeException()
}
}
// Because the transaction is aborted, no new values should be stored
val users = database.transaction("users") {
objectStore("users").getAll().toList()
}
assertEquals(listOf(), users)
🧰 Maintenance
- Add
.kotlin/
to.gitignore
(#159) - Remove superfluous
setup-gradle
option (#168) - Set Gradle
rootProject.name
(#162) - Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.9.0 (#147, #154, #174)
- Update plugin dokka to v1.9.20 (#149)
- Update release-drafter/release-drafter action to v6 (#145)
- Update plugin kotlinter to v4.4.1 (#151, #161, #164)
- Update plugin maven-publish to v0.30.0 (#150, #160, #177)
- Update dependency gradle to v8.10.2 (#146, #152, #158, #163, #167, #172)
- Update dependency org.jetbrains.kotlin.multiplatform to v2.0.21 (#148, #153, #156, #165, #169, #176)
- Update dependency ubuntu to v24 (#175)
- Update gradle/actions action to v4 (#166)
- Use
setup-gradle
GitHub action (#155)