Kandra

Changelog

Current version: v0.5.2 (gradle.properties), matching the latest entry below. One file per version, newest first. Every fix here links to the docs/issues/ISS-NNN-*.md writeup with the actual root cause — this page summarizes, it doesn't replace those. See /battle-scars for the narrative version of the bugs below.

0.5.2

Released 2026-10-26. Mostly fixes reported while building the Circaso backend. It is a drop-in upgrade from 0.5.1 except for one behavior change to versioned update(). Full upstream entry: docs/changelog/0.5.2.md.

Fixed

  • @LookupIndex on a key column (#187). On a @ClusteringKey/@PartitionKey property it generated a lookup table declaring the column twice (Duplicate column … declaration). The lookup table now holds it once.

  • Reserved words as column names (#188). token, order, from, default, … are quoted in all generated CQL. The quoted set was measured against Cassandra 4.1 and ScyllaDB 2026.1, so DDL for every other entity is unchanged. Reserved table or keyspace names are rejected at registration.

  • Clearing columns in a batch or update (#189). New saveWithNullsInBatch / saveWithNullsInBatchAndGet and updateWithNulls / updateWithNullsAndGet.

  • kandra-test brings Testcontainers (#190). org.testcontainers:cassandra/testcontainers are api dependencies, so KandraTestcontainers.freshKeyspace() no longer fails with NoClassDefFoundError.

  • Migration checksums ignore source layout (#191). Kotlin's inline source map (from forEach/map/use in up()) no longer reaches the hash, so reformatting a migration file is safe. Checksums stored by 0.5.1 are accepted and upgraded automatically.

  • Soft delete with enum columns (#198). Values are encoded through KandraCodec, so delete() no longer fails with CodecNotFoundException.

  • Migration claims under clock skew (#203). Marking a migration APPLIED, releasing a failed one, and upgrading its checksum are now conditional writes. Before, a lagging application clock could make them silently lose to the claim's LWT, leaving a migration that ran stuck in CLAIMED.

  • LWT timeouts at startup (#205). Replicas starting together contend on the migration and DDL-lock rows; a timed-out CAS write used to crash the replica. Every such write now re-reads its row and continues or retries. The driver's connection-init query timeout also follows pool { requestTimeoutMillis } instead of staying at 5 s.

Changed

  • Versioned update() leaves null columns UNSET (#189). Through 0.5.1 it wrote a tombstone for every null column on every versioned update. If you relied on it to clear a column, call updateWithNulls().

Performance

  • Migration-runner startup (#194). One plain read instead of DDL plus an LWT when the keyspace is already bootstrapped, a single jar index instead of a full scan per migration, and one checksum per migration per run. Runtime findings from the same review are tracked in #199.

0.5.1

Released 2026-10-20. A cache-invalidation fix and kandra-test usability improvements; a drop-in upgrade from 0.5.0. Full upstream entry: docs/changelog/0.5.1.md.

Fixed

  • @CacheResult invalidation with microsecond Instant keys (#178). findById cached under the caller's untruncated Instant while save/update/delete invalidated under the millisecond value read back from the database, so the stale entity — with its old @Version — survived and the next optimistic-locked update() failed with a spurious KandraOptimisticLockException. KandraCache now normalizes keys on read, write and invalidate.

Changed — kandra-test

  • The DataStax driver is an api dependency of kandra-test, kandra-runtime and kandra-ktor (#179).
  • KandraTestUtils.reset() / KandraRuntime.closeAndReset() clear the schema registry without @OptIn(InternalKandraApi::class) (#180).
  • FakeKandraSession.capturedStatementViews() / capturedBatchViews() expose each statement's CQL and bound values, including unset-vs-null (#181).
  • KandraTestcontainers.newContainerSession(keyspace): a Docker-only session with 30 s timeouts, used by the multi-keyspace tests instead of a bare CqlSession.builder().

0.5.0

Released 2026-10-20. Multi-keyspace support, a move to Ktor 3 / Kotlin 2.3, and a new Maven group. Full upstream entry: docs/changelog/0.5.0.md.

Breaking or behavior-changing

  • Maven group moved from ke.co.coinx.kandra to com.kandraorm.kandra. Update your dependency declarations; Kotlin packages (io.kandra.*) and APIs are unchanged. Versions up to 0.4.7 stay on Maven Central under the old group.
  • Ktor 3.6 / Kotlin 2.3. Built and tested against Ktor 3.6.0, Kotlin 2.3.21, Koin 4.2.2 and Kodein 7.33.0. Ktor 2.x is no longer supported and consumers need Kotlin 2.3+. CI also runs the Ktor-facing modules against Ktor 3.5.2 and the latest 3.x (#160). Ktor 4.x is not covered.

Added

  • Multiple keyspaces. @ScyllaTable(keyspace = "") puts an entity in a keyspace; keyspace("name") { } in install(Kandra) declares extra keyspaces on the same session. DDL, permission checks, locks and migrations run per keyspace, and runtime CQL is keyspace-qualified. See /recipes/multiple-keyspaces.
  • KandraMigrationRunner(session, staleClaimThreshold, keyspace) and KandraMigration.up(session, keyspace).
  • ReplicationStrategy.SimpleStrategy(replicationFactor, disableTablets = false): opt-in AND tablets = {'enabled': false} so SimpleStrategy works on tablets-enabled ScyllaDB.
  • kandra-test: KandraTestBackend (KANDRA_TEST_BACKEND=docker|cloud) and KandraCloud, an env-driven live-cluster harness. Cloud tests skip when unconfigured.
  • The Koin/Kodein same-simple-name collision error lists each class with its [keyspace: X].

0.4.8

Released 2026-10-15. Five fixes (#152–#156), all found by verifying the freshly published 0.4.7 artifacts against this site's quickstart. Full upstream entry: docs/changelog/0.4.8.md.

Fixed

  • Integration modules exposed kandra-core/kandra-runtime at runtime scope, so depending on kandra-ktor alone couldn't compile against io.kandra.core.annotations.*. They are now api dependencies (#152).
  • @SoftDelete's marker write left a permanent key+marker husk row; added markerTtlSeconds and wrote the marker as an INSERT under that TTL (#154).
  • @SoftDelete reads threw once a deleted row's TTL expired when a property was non-nullable; registration now rejects such an entity up front (#153).
  • kandra-codegen emitted an invalid empty package line for entities in the default package (#156).
  • Documented the supported Ktor range (#155); superseded by the Ktor 3 move in 0.5.0.

0.4.7

Released 2026-10-12. No version was cut between 0.4.6 (2026-07-23) and this release, so it consolidates 66 PRs (#5–#151) from three adversarial review rounds — several "fixed" items are fixes to regressions an earlier fix in the same release introduced. Full upstream entry: docs/changelog/0.4.7.md.

Breaking or behavior-changing

  • findActive(allowFullScan = false) throws KandraQueryException when the soft-delete marker column has no @SecondaryIndex, instead of silently running ALLOW FILTERING (#12). See /recipes/soft-delete.
  • batch { } and batchBlocking { } take distinct scope types (KandraBatchScope / KandraBlockingBatchScope); a blocking repository inside a suspend batch is a compile error (#99). See /recipes/multi-table-writes.
  • Versioned update() no longer blindly retries on transient errors — the conditional statement runs exactly once (#15). See /recipes/optimistic-locking.
  • EACH_QUORUM as a read consistency and SERIAL/LOCAL_SERIAL as a write consistency throw KandraQueryException instead of reaching the driver unvalidated (#140).
  • AUTO_MIGRATE refuses to ALTER TABLE ADD a missing partition/clustering-key column, throwing KandraSchemaException instead of silently corrupting row identity (#92).

Added

  • saveAndGet(), saveIfNotExistsAndGet(), updateAndGet() return the entity as persisted (#132, #138, #136); update()/updateAndGet() accept serialConsistency (#134).
  • Opt-in throttle { } admission control, surfacing rejections as KandraThrottledException (#81, #103); local/remote connection-pool sizes in PoolConfig (#80).
  • Consistency Strict Mode for multi-DC deployments (#5).
  • kandra-codegen generates typed Koin/Kodein accessors (#17).
  • debug { rawQueryStrictMode = true } makes the raw()/rawQuery() injection guard throw instead of warn.

Notable fixes

  • Counter columns threw on decode when any counter cell was NULL (#93); @Transient columns broke full-row decodes (#130).
  • Predicate values skipped codec encoding, breaking eq/gt/lt/in on non-primitive columns (#144); append()/remove() broke every Set<T> column (#145); IN on a @SecondaryIndex column queried the partition key instead (#146).
  • findById() cache hits, lookup-index reads, and versioned-update lookup writes ignored configured consistency (#95, #96); a cache invalidate-after-write race could pin a stale value (#100).
  • The raw()/existsQuery injection guard missed semicolon/comment payloads (#142); SSL settings are actually enforced and the TLS floor fails closed (#78, #105).
  • Migration claim, checksum, and DDL-bootstrap fixes (#90, #91, #101, #102).
  • Unbounded findActive() and unpaged reads are capped instead of risking OOM (#94).

Multi-DC support is now explicitly documented as experimental — not yet validated against a genuine multi-region topology (#149).

0.4.6

@GeneratedUuid(strategy: UuidStrategy = TIME_ORDERED) auto-populates a UUID field on every INSERT, the same way @CreatedAt is auto-populated. Unlike every fix above, this isn't a bug writeup — it's a proactive design decision closing off a real, silent-data-loss-shaped risk before it produced one: Cassandra/ScyllaDB writes are upserts on partition key + clustering key, so a clustering key derived from Instant.now() collides silently if two rows in the same partition land in the same millisecond — the second save() just overwrites the first, no exception, no warning.

  • TIME_ORDERED (the default) generates a UUIDv7 via the new KandraUuid.timeOrdered(). UUIDv7's 48-bit millisecond timestamp sits in the leading bytes, so plain lexicographic comparison — exactly how Cassandra's UUIDType comparator orders a generic uuid column — already sorts chronologically, with no dependency on Cassandra's separate timeuuid CQL type, which Kandra doesn't map to at all.
  • RANDOM generates a UUIDv4 instead, for ids that must not leak their creation time.
  • Validated at schema-registration time, like @Version: applying it to a non-UUID field throws KandraSchemaException immediately, not at first insert. Never touches update()/updateForce() — primary key components are immutable in Cassandra.

KandraUuid (kandra-core) is the UUIDv7/v4 generator backing the annotation, also usable directly wherever application code needs a time-ordered or random id outside the entity insert lifecycle. Full writeup: PR #9. See /modules/kandra-core for the full annotation reference, /battle-scars/time-ordered-clustering-keys for the collision this exists to avoid, and /recipes/time-series for using it as a clustering key in practice.

Verification: confirmed at the unit level (version/variant bits, cross-call chronological sort order, uniqueness; strategy collection and wrong-type validation at schema registration) and live against a real 3-node ScyllaDB cluster — a @GeneratedUuid @ClusteringKey column populates correctly on save, ignoring any caller-supplied placeholder, and two rows written to the same partition back-to-back land as two distinct, chronologically-ordered rows rather than one overwriting the other.

Also changed: testcontainers bumped 1.19.8 → 1.21.4 — 1.19.8 hardcodes its Docker API-version probe at 1.32, and current Docker Engine releases (MinAPIVersion 1.40+) reject that probe outright, failing every kandra-test integration test at container startup, before any code under test even runs. Dev/test dependency only — no runtime impact for consumers.

0.4.5

Breaking change

The query DSL's + unary-plus predicate registration is gone. repo.find { +UserTable.email.eq("x") } becomes repo.find { UserTable.email eq "x" } — drop the leading +, everything else about the call is unchanged (same operator names, same infix-call shape).

eq/gt/gte/lt/lte/isIn are now QueryContext member extensions instead of KandraColumnRef methods, so the comparison itself performs the predicate registration — there's no intermediate KandraPredicate value left over for a caller to forget to prefix with +.

This wasn't a style cleanup. The old +-prefixed form had a real, silent failure mode: forgetting + on one predicate among several compiled cleanly and silently dropped that predicate from the query, with no way to detect it at runtime — the discarded KandraPredicate never reached QueryContext. Two independent rounds of external code review flagged this as the DSL's biggest footgun before it was fixed. Full writeup: GitHub issue #4.

Verification: confirmed against a real 3-node ScyllaDB cluster, including a dedicated multi-predicate test (eq on a partition key + gt on a clustering key in the same query) proving the silent-predicate-drop failure mode is now structurally impossible, not just less likely.

Also fixed: README.md's "LIMIT and ALLOW FILTERING" example called allowFiltering(), a method that has never existed on QueryContext — Kandra deliberately does not support ALLOW FILTERING (see ISS-021). Replaced with the real @SecondaryIndex-based example, verified live against a real cluster.

0.4.4

Follow-up fixes discovered while re-verifying 0.4.3's fixes end-to-end against a real cluster, per the docs/test-plan:1.1/ resume plan. Two of the 0.4.3 fixes (ISS-025 in particular) had scope gaps that surfaced as new regressions once re-tested beyond the original direct-repository unit tests; one further pre-existing bug (ISS-030) became reachable for the first time once ISS-029 was fixed. Each of the three fixes below was confirmed individually — build, permanent Testcontainers regression test, and a live run against a real 3-node ScyllaDB cluster — rather than as part of a complete, formally recorded plan execution (that report was still outstanding at release time).

Fixed:

  • ISS-028 — cache invalidation on save/update/updateForce/etc. used a partition-key-only key that silently never matched findById's real (full-key) cache key for any clustering-keyed @CacheResult entity, so writes never actually invalidated the stale cached row.
  • ISS-029 — @LookupIndex resolution (find/findAll/findPage/exists/deleteBy via a lookup predicate) reconstructed only the primary table's partition key from the lookup row, never its clustering key, so it broke entirely (or, for findPage, silently scattered across the whole partition) for any entity combining @LookupIndex with a clustering key.
  • ISS-030 — BatchEngine's soft-delete unconditionally deleted @LookupIndex rows, contradicting the documented "soft delete does not remove lookup rows" behavior — a soft-deleted row still "exists" until its TTL expires, so it should remain resolvable via its lookup index too.

0.4.3

All 5 Critical/High bugs found during the first real-cluster test plan execution (docs/report:1.0/) are fixed in this release, plus one closely-related bug discovered while fixing them. Every fix is verified against a real 3-node ScyllaDB cluster, not just unit tests.

Breaking change

KandraBatchScope's save/delete/saveIfNotExists are renamed to saveInBatch/ deleteInBatch/saveIfNotExistsInBatch. This is @ExperimentalKandraApi, and the rename is the fix, not a cosmetic change — the old names could never have worked correctly under the documented calling convention. Kotlin always resolves a same-named repository member function over an extension function, even one added by the batch scope itself, so a batch-scoped save() compiled, looked correct, and silently never executed inside the batch. See /battle-scars/batch-scope-shadowing for the full story.

Fixed:

  • ISS-022 — kandra-codegen generated invalid Kotlin (raw generic types) for any Set/Map column, failing compilation of the entire consuming module.
  • ISS-023 — KandraCache crashed with IllegalAccessException on every real-Caffeine cache operation, making @CacheResult unusable with a real cache dependency present.
  • ISS-024 — non-nullable Set/Map columns left at their natural emptySet()/emptyMap() default became permanently unreadable the moment they were saved.
  • ISS-025 — findById, deleteById, append, remove, put, increment, decrement, update (@Version), updateForce, and the soft-delete rewrite all omitted clustering keys from their WHERE clause — deleteById could delete an entire partition instead of one row, and the mutation methods hard-crashed on any clustering-keyed entity.
  • ISS-026 — KandraBatchScope's save/delete were structurally unreachable through any documented calling convention, so batch { }/batchBlocking { } silently provided zero cross-table atomicity.
  • ISS-027 — KandraBatchScope's saveIfNotExists LWT guard had the identical unreachability bug and never actually threw.

Also changed:

  • StatementBuilder.appendToCollection/removeFromCollection now require the full primary key (partition + clustering columns) in their internal keyValues list, not partition keys alone. This only affects direct StatementBuilder callers (@InternalKandraApi) — the public KandraRepository/KandraSuspendRepository API is unaffected, since append/remove/put derive the full key from the entity automatically.
  • findById/deleteById now throw KandraSchemaException if fewer key values are supplied than the entity's full primary key requires, instead of silently truncating to the partition key — on a clustering-keyed entity, findById(id) (partition key only) now fails loudly instead of silently returning an arbitrary row from the partition; use findById(id, clusteringKeyValue).

0.4.2

Supersedes the v0.4.1 tag, which built and published under the wrong version string (gradle.properties — the actual project.version source — hadn't been updated, only the unused kandra key in gradle/libs.versions.toml had). No functional changes from what would have been 0.4.1.

Added — critical:

  • True async driver usage — executeSuspend/executeSuspendAll/prepareSuspend extensions on CqlSession; all suspend write paths in BatchEngine and all suspend read paths in QueryExecutor (findByIdSuspend, findAllSuspend, findPageSuspend, existsSuspend, rawSuspend, rawQuerySuspend) use true async via executeAsync().await() — no coroutine dispatcher thread is ever blocked on a network round-trip (ISS-014).
  • UNSET vs NULL — KandraUnset sentinel; encode() returns KandraUnset for null nullable fields → stmt.unset(idx) in insertPrimary (no tombstone); saveWithNulls() for intentional tombstone writes.
  • Optimistic locking — @Version on Long/Instant fields; save() sets version to 1L/Instant.now(); update() uses LWT IF version = ?, throws KandraOptimisticLockException on conflict; updateForce() bypasses the check.
  • Tombstone awareness — @SoftDelete(ttlSeconds) → delete() sets TTL instead of DELETE; @SoftDelete(markerProperty = "...") adds an opt-in permanent marker column enabling findActive(); @ScyllaTable(gcGraceSeconds=N) → DDL includes WITH gc_grace_seconds = N.
  • Batch size guard — batchWarnThresholdKb, batchMaxChunkSize, batchAutoChunk config; saveAll() auto-chunks large batches.
  • @Sensitive log masking — ColumnSchema.isSensitive; KandraEntityLogger.safeToString() masks sensitive fields with ***.

Added — should-have:

  • Health check — GET /kandra/health route; enabled via KandraConfig.healthCheck = true.
  • Graceful shutdown — ShutdownConfig(drainTimeoutMs, graceful); KandraRuntime.isShuttingDown
    • inFlightCount; ApplicationStopping event drains in-flight queries before close.
  • Validation hook — KandraValidator<T>, KandraValidationError, KandraValidationException; validate<User> {} in plugin config; runs before every save/update.
  • SchemaMode.AUTO_MIGRATE — CREATE TABLE IF NOT EXISTS + diff against system_schema.columns + ALTER TABLE ADD for new columns; logs WARN for unmapped Scylla columns.
  • Micrometer metrics — MetricsConfig in KandraConfig (disabled by default).
  • CQL injection guard — raw() logs WARN when called with no params but CQL contains string literals; KandraRawQuery builder for safe parameterised queries; rawQuery() on both repos.
  • Schema migration runner — kandra-migrate module: KandraMigration, KandraMigrationRunner (versioned, checksum-validated, claim-locked), MigrationHistory.
  • Query caching — @CacheResult(ttlSeconds, maxSize) → Caffeine-backed findById cache, invalidated on save/update/delete.

Added — publishing & ecosystem:

  • gradle/libs.versions.toml version catalog wired into all module build files.
  • .github/workflows/ci.yml docs job runs dokkaHtmlMultiModule on tag push, deploys to GitHub Pages.
  • kandra-jakarta module — JakartaKandraValidator<T> adapts jakarta.validation.Validator into KandraValidator<T>.
  • Real-cluster integration tests — kandra-test/src/test/.../KandraIntegrationTest.kt and re-enabled kandra-ktor plugin tests, run via KandraTestcontainers against real Cassandra.

Fixed (found during a pre-real-database-testing audit):

  • ISS-014 — QueryExecutor blocked the calling coroutine dispatcher on every suspend read.
  • ISS-015 — KandraRepository.deleteById bypassed @SoftDelete, unlike every other delete path.
  • ISS-017 — migration checksum didn't actually hash the migration body.
  • ISS-018 — concurrent migration runners could double-apply a migration.
  • ISS-019 — collection/counter statements ignored configured consistency levels.
  • ISS-021 — an error message referenced a non-existent allowFiltering() DSL method.

Changed:

  • StatementBuilder.appendToCollection, removeFromCollection, counterUpdate gained an optional consistency: KandraConsistency? parameter, threaded through KandraRepository/KandraSuspendRepository's append/remove/put/increment/decrement.

0.3.0

Added — gap fixes:

  • Retry policy — configurable linear backoff (retry { maxAttempts = 3; backoffMillis = 100 }); retries on WriteTimeoutException, ReadTimeoutException, NoNodeAvailableException by default; suspend variant uses delay() not Thread.sleep().
  • Idempotency tokens — all statements now carry correct setIdempotent() flags: SELECT + DELETE + LWT INSERT = idempotent; plain INSERT + collection mutations + counter updates = non-idempotent.
  • IN clause on partition keys — isIn(listOf(id1, id2, id3)) generates WHERE pk IN ?; empty list short-circuits to empty result; non-PK IN without a secondary index throws KandraQueryException.
  • Nullable codec contract — decode() checks row.isNull() before any typed getter; non-nullable Kotlin type on a null column throws KandraQueryException with a clear message instead of an NPE.
  • Caller-controlled batch (KandraBatchScope) — the original (pre-rename, later found unreachable — see 0.4.3 above) application.kandra.batch { userRepo.save(user); ... }.
  • @SecondaryIndex annotation — CREATE INDEX IF NOT EXISTS DDL; queries on @SecondaryIndex columns work without ALLOW FILTERING; WARN logged on every use.
  • Prepared statement LRU cache — replaces unbounded ConcurrentHashMap; configurable via preparedStatementCacheSize.
  • USING TIMESTAMP — save(entity, timestampMicros = ...) for idempotent event replay.
  • Query debug logging — debug { logQueries = true; logSlowQueriesMs = 500; logBatches = true }.
  • Test keyspace isolation — KandraTestcontainers.freshKeyspace(User::class).
  • API stability markers — @InternalKandraApi (ERROR-level opt-in) on BatchEngine, StatementBuilder, SchemaRegistry, DdlGenerator; @ExperimentalKandraApi (WARNING-level opt-in) on KandraCodec custom registration, KandraEventListener, KandraBatchScope, KandraAuth.

Added — multi-datacenter support:

  • New kandra-multidc module.
  • Load balancing config — loadBalancing { tokenAware = true; dcAwareFailover = true; allowedRemoteDcs = listOf("eu-west") }.
  • Consistency level per operation — KandraConsistency enum in kandra-core; @ReadConsistency/@WriteConsistency class annotations; resolution order: per-op > annotation

    ConsistencyConfig default.

  • LWT serial consistency — saveIfNotExists(entity, serialConsistency = KandraConsistency.SERIAL).
  • DC failover policy — failover { onLocalDcUnavailable = FailoverPolicy.RETRY_REMOTE_DC }.
  • Speculative execution — speculativeExecution { enabled = true; delayMillis = 100; maxAttempts = 2 }; only fires for idempotent statements.

Added — authentication & security:

  • KandraAuthProvider abstraction — KandraAuth.fromEnv() (recommended default), fromFile() (k8s secrets), static() (dev only), custom { } (Vault/AWS SM); replaces hardcoded username/password in config.
  • Credential rotation — auth { refreshIntervalSeconds = 3600 }.
  • SSL/TLS — ssl { enabled = true; trustStorePath = "..."; hostnameVerification = true }; mutual TLS support.
  • Keyspace permission validation — queries system_auth.role_permissions at startup; throws KandraAuthException if SELECT/MODIFY missing; disable with validatePermissions = false.

Changed:

  • KandraEventListener changed from fun interface to interface — existing single-method implementations remain compatible.
  • auth.provider default changed from plaintext username/password to KandraAuth.fromEnv().
  • StatementBuilder and BatchEngine now require @OptIn(InternalKandraApi::class).

0.2.0

Added:

  • Composite partition keys (@PartitionKey(index)).
  • @Ttl(seconds) + per-save TTL override (save(entity, ttlSeconds = 120)).
  • Keyspace auto-creation with SimpleStrategy/NetworkTopologyStrategy.
  • Local datacenter config (required for DataStax Java driver 4.x).
  • Lightweight transactions — saveIfNotExists() with [applied] check.
  • Cursor pagination — findPage(pageSize, pageToken) using DataStax ByteBuffer paging state.
  • EVENTUAL write failure listener (KandraEventListener).
  • Schema validation mode (SchemaMode enum: AUTO_CREATE, VALIDATE, NONE).
  • LIMIT and ALLOW FILTERING in query context (with WARN log on ALLOW FILTERING — later removed entirely as a DSL capability; see /why for why).
  • deleteById() and deleteBy { } on repositories.
  • Collection mutations (append, remove, put).
  • Counter table support (@Counter, increment(), decrement()).
  • Extensible codec + BigDecimal → CQL DECIMAL support.
  • @CreatedAt/@UpdatedAt auto-fill via data class copy() reflection.
  • saveAll(entities, useBatch) batch insert.
  • exists { } check via SELECT pk LIMIT 1.
  • Connection pool configuration (PoolConfig).
  • Bill of Materials (kandra-bom).

0.1.0

Initial release.

Added:

  • @ScyllaTable, @PartitionKey, @ClusteringKey, @LookupIndex, @Column, @Transient annotations.
  • SchemaRegistry with DDL generation.
  • BATCH and EVENTUAL lookup consistency modes.
  • KandraRepository (blocking) and KandraSuspendRepository (coroutine).
  • Type-safe query DSL (KandraColumnRef, KandraPredicate, QueryContext) — this is the original +-prefixed DSL later replaced in 0.4.5; see that entry above for why.
  • Ktor ApplicationPlugin integration.
  • Kodein-DI auto-binding (kandra-kodein) and Koin auto-binding (kandra-koin).
  • KSP codegen generating type-safe *Table objects.
  • FakeKandraSession for unit tests.

For the reasoning behind individual fixes, see /battle-scars and the linked ISS-NNN writeups above. For today's feature surface rather than its history, see /foundations, /modules, and /reference.