Skip to content

Releases: mori-atsushi/koject

v1.3.0

24 Mar 05:06
2455976
Compare
Choose a tag to compare

New Features

Behavior changes

Improvement

Other Changes

v1.3.0-beta02

22 Mar 05:12
012f367
Compare
Choose a tag to compare

New Features

Behavior changes

Improvement

Other Changes

v1.3.0-beta01

21 Mar 10:22
80fed9b
Compare
Choose a tag to compare

New Features

Behavior changes

Improvement

Other Changes

v1.3.0-alpha03

20 Mar 12:23
ab41526
Compare
Choose a tag to compare
v1.3.0-alpha03 Pre-release
Pre-release

What’s Changed

v1.2.0

17 Mar 12:16
3289b78
Compare
Choose a tag to compare

Migrations

  • [core] The inject() API for Named has changed (#148)
// Until v1.1.0
val db1 = inject<DB>("db1")
val db2 = inject<DB>("db2")

// Since v1.2.0
val db1 = inject<DB>(Named("db1"))
val db2 = inject<DB>(Named("db2"))
  • [core] The ComponentExtras API has changed. (#157)
// Until v1.1.0
@ExperimentalKojectApi
@ComponentExtras(CustomComponent::class)
class CustomComponentExtras(
    val extra: ExtraClass
)

// Since v1.2.0
@ExperimentalKojectApi
class CustomComponentExtras(
    val extra: ExtraClass
): ComponentExtras<CustomComponent>
  • [android] injectViewModels() has been renamed to lazyViewModels() (#149)
// Until v1.1.0
private val viewModel: TopViewModel by injectViewModels()

// Since v1.2.0
private val viewModel: TopViewModel by lazyViewModels()

New Features

Behavior changes

Improvement

Other Changes

v1.2.0-beta01

14 Mar 03:35
8d0cfe0
Compare
Choose a tag to compare

Migrations

  • [core] The inject() API for Named has changed (#148)
// Until v1.1.0
val db1 = inject<DB>("db1")
val db2 = inject<DB>("db2")

// Since v1.2.0
val db1 = inject<DB>(Named("db1"))
val db2 = inject<DB>(Named("db2"))
  • [core] The ComponentExtras API has changed. (#157)
// Until v1.1.0
@ExperimentalKojectApi
@ComponentExtras(CustomComponent::class)
class CustomComponentExtras(
    val extra: ExtraClass
)

// Since v1.2.0
@ExperimentalKojectApi
class CustomComponentExtras(
    val extra: ExtraClass
): ComponentExtras<CustomComponent>
  • [android] injectViewModels() has been renamed to lazyViewModels() (#149)
// Until v1.1.0
private val viewModel: TopViewModel by injectViewModels()

// Since v1.2.0
private val viewModel: TopViewModel by lazyViewModels()

New Features

Behavior changes

Other Changes

v1.2.0-alpha04

14 Mar 02:18
96913e4
Compare
Choose a tag to compare
v1.2.0-alpha04 Pre-release
Pre-release

What’s Changed

v1.2.0-alpha03

13 Mar 02:00
9001974
Compare
Choose a tag to compare
v1.2.0-alpha03 Pre-release
Pre-release

What’s Changed

v1.2.0-alpha02

12 Mar 11:11
db42488
Compare
Choose a tag to compare
v1.2.0-alpha02 Pre-release
Pre-release

What’s Changed

v1.2.0-alpha01

12 Mar 00:39
f97bc85
Compare
Choose a tag to compare
v1.2.0-alpha01 Pre-release
Pre-release

What’s Changed