Kodein v4.0.0-beta2 Release Notes
Release Date: 2017-04-24 // almost 7 years ago-
FEATURES
- Kotlin 1.1.0.
- Javascript modules (
kodein-js
&kodein-js-conf
). Uses the erased methods as JS does not support generic type reflection. - The Kodein binding DSL is now protected with
@DslMarker
to prevent weird things from happenning. - New binding factory:
sequence
which uses coroutines to bind a sequence. - 💥 BREAKING CHANGES
- Removed all
erased*
andgeneric*
methods. Each core method now takes type parameters that are obtained with eithergeneric()
orerased()
. - Functions and classes that were part of the internal system, but declared public (because inline function references) are now truly internal.
- Removed all deprecated API: new major version means clean slate.
- STRUCTURE CHANGES
- Every type is now represented with a
TypeToken<T>
instead of aType
. - 🐛 BUG FIX
- issue #61: FullTypeStringer failed on a type with no package.