This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
0.5.0-beta
-
BREAKING CHANGES
Value.ofAny
andValue.ofAll
are removed in favour ofModelDB.valueOf
andModelDB.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 asSet<Index>
is less correct thanMap<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 ofKodein-Log
, the KotlinX maven repositories is temporarily needed (https://kotlin.bintray.com/kotlinx).
-
API
DBListener
now receivesKey<M>
instead ofKey<*>
.- 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
.
- Kotlin