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

0.5.0-beta

Compare
Choose a tag to compare
@SalomonBrys SalomonBrys released this 08 Jan 12:35
· 78 commits to master since this release
  • 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.