koin v0.9.0 Release Notes
-
DSL
- ๐
[DEPRECATED]
-provide
- can be directly replace withbean
- โก๏ธ
[UPDATED]
-bean
andfactory
can now usebind
[ADDED]
- defintion function insidebean
orfactory
can now have parameters
Core
- ๐
[FIXED]
Context resolution and modulePath isolation reworked - now fully functionnal - ๐
[FIXED]
Stack resolution [ADDED]
StandAloneContext
functionloadKoinModules
to load Koin modules whether Koin is already started[ADDED]
StandAloneContext
functionloadProperties
to load Koin properties whether Koin is already started[ADDED]
by inject()
function handle parameters to definition (#59)- ๐
[FIXED]
Logging with class name need introspection - ๐
[ADDED]
Context lifecycle notification callback - to allow a callback whenreleaseContext()
is called on a context. You can register withStandAloneContext.registerContextCallBack()
(#58)
Android
- 0๏ธโฃ
[FIXED]
StartKoin have alogger
parameter, with default as AndroidLogger(), to allow specify logging implementation to use with Koin (#50) - allow no logging at startKoin of logger is set toEmptyLogger()
[ADDED]
by inject()
function handle parameters to definition (#49)
Android Architecture
- ๐
[FIXED]
fix viewModel extensions rewritten fromLifecycleOwner
interface - ๐
[FIXED]
fixby viewModel()
API to allow use KClass object argument instead of type inference - offers nowgetViewModelByclass()
andviewModelByClass()
(#56) [ADDED]
by viewModel()
function handle parameters to definition (#49)[ADDED]
by viewModel()
function handle key instance for Android ViewModelFactory (#49)
- ๐