Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Releases: kosi-libs/Kodein-DB

0.9.0-beta

20 Jul 13:51
Compare
Choose a tag to compare
  • API

    • Better event bus API with Kotlinx Coroutines Flow support.
  • CORE

    • The Model Cache now checks for mutations between insertion & retrieval (with hashcode).
      This is far from foolproof, but it's something!

0.8.1-beta

02 Jun 15:39
Compare
Choose a tag to compare

Updated Kodein-Memory to fix JVM 1.8

0.8.0-beta

19 May 13:20
Compare
Choose a tag to compare
  • API

    • Support encryption (see documentation).
    • org.kodein.db.model.*Primitive types are deprecated (you should create your won model).
    • Support for multiple value in the same index (which is different from composite value - see documentation).
    • Support for associatedModel in IndexCursor (see documentation).
    • Operation options are now specialized for each operation (Options.Read and Options.Write are deprecated).
  • CORE

    • Kotlin 1.5
    • Kodein Memory 0.10.0
    • Kodein Log 0.11.0
    • KotlinX Atomic Fu 0.16.1
    • KotlinX Serialization 1.2.0
    • Windows JNI DLL is now built with Visual Studio.
  • INTERNALS

    • New version of Index value & ref value storage. This is backward compatible, and previous version is handled correctly.

0.6.1-beta

15 Mar 20:31
Compare
Choose a tag to compare
  • Use KotlinX.DateTime from Maven Central

0.6.0-beta

01 Mar 06:24
Compare
Choose a tag to compare
  • Kotlin 1.4.31
  • Maven Central publication

0.5.0-beta

08 Jan 12:35
Compare
Choose a tag to compare
  • BREAKING CHANGES

    • Value.ofAny and Value.ofAll are removed in favour of ModelDB.valueOf and ModelDB.valueOfAll (to allow the use of ValueConverters). This change should only affect middlewares as regular users should use models instead of values.
    • Removed the Index type as Set<Index> is less correct than Map<String, Any> since there can be no two indexes with the same name.
    • Because of the transient dependency to KotlinX-DateTime by the new version of Kodein-Log, the KotlinX maven repositories is temporarily needed (https://kotlin.bintray.com/kotlinx).
  • API

    • DBListener now receives Key<M> instead of Key<*>.
    • Added DB.getById & DB.deleteById.
    • Introducing ValueConverter, which allows to add to the database new types that can be used as values (i.e used in IDs or indexes). See documentation.
  • ANDROID

    • Fixed native compilation.
  • CORE

    • Kotlin 1.4.21.
    • KotlinX Serialization 1.0.1.
    • kodein-Log 0.8.0.
    • Kodein-Memory 0.5.0.

0.4.1-beta

25 Nov 08:29
Compare
Choose a tag to compare
  • CORE

    • Kotlin 1.4.20.
    • KotlinX Serialization 1.0.0.
    • Kodein-Log 0.7.0.
    • Kodein-Memory 0.4.1.

0.4.0-beta

02 Nov 19:50
Compare
Choose a tag to compare
  • BREAKING CHANGES

    • JNI for desktop JVM artifacts renamed to kodein-db-jni-jvm, kodein-db-jni-jvm-linux, kodein-db-jni-jvm-macos & kodein-db-jni-jvm-windows (added -jvm-).
    • DB.factory renamed to DB.default. Not a breaking change if you are using DB.open & DB.destroy utilities.
  • MODULES

    • new kodein-leveldb-inmemory and kodein-db-inmemory modules that contain in-memory only backend. DO NOT USE IN PRODUCTION! This is for tests only!
  • CORE

    • Kotlin 1.4.10.
  • BUILD

    • Restored Windows build.

0.3.0-beta

27 Sep 16:23
Compare
Choose a tag to compare
  • Fixed outdated documentation.
  • Added Cursor<M>.as*Sequence.
  • Added OpenPolicy utility.

0.2.0-beta

18 Sep 14:02
Compare
Choose a tag to compare
  • beta release