Skip to content

Commit

Permalink
compose 3.4.0 update
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgiuliani committed Dec 14, 2022
1 parent 3d5227f commit 169217c
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 1,260 deletions.
59 changes: 58 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,41 @@

Badges: `[UPDATED]`, `[FIXED]`, `[NEW]`, `[DEPRECATED]`, `[REMOVED]`, `[BREAKING]`

# [3.4]()

## [android-3.4.0]() - 2022-12-14

`[koin-androidx-compose]`
* `[UPDATED]` - lib update - Kotlin `1.7.20`
* `[UPDATED]` - `koin-android` 3.3.1
* `[UPDATED]` - compose compiler 1.3.2
* `[UPDATED]` - compose runtime 1.3.2

# [3.3]()

## [android-3.3.0]() -
## [android-3.3.1]() - 2022-12-14

`[koin-android]`
* `[FIXED]` - `SavedStateHandle` injection is now fixed to allow R8/Proguard obfuscation
* `[FIXED]` - #1406 - better use `verify()` fucntion `Module` to verify all Koin configuration

## [core-3.3.0]() - 2022-12-14

`[koin-core]`
* `[UPDATED]` - lib update - Kotlin `1.7.21`
* `[FIXED]` - #1306 #1016 - Add native Module extensions to allow add defintions without inlined type
* `[FIXED]` - #834 - ensure `onClose` is called when unloading module or closing Koin
* `[FIXED]` - #1353 - parameters stack is now secured with call synchronization
* `[UPDATED]` - #1359 - constructor DSL udpate to take until 22 parameters into account
* `[FIXED]` - #1463 - Fix to allow binding of same type in the current module
* `[UPDATED]` - Documentation update - #1469 #1438
* `[UPDATED]` - Logger API inlined and cleand out - #1271
* `[FIXED]` - Engine resolution race condition #1465

`[koin-test]`
* `[NEW]` - `verify()` on a `Module` to verify all constructors injection with current Koin configuration (static verification). This comes as a replacement proposal for `checkModules`, as a more convenient way to verify a configuration with static verification, more than sandbox running with mocks

## [android-3.3.0]() - 2022-10-19

`[koin-android]`
* `[UPDATED]` - lib update - `androidx.appcompat:appcompat:1.5.1`
Expand All @@ -28,9 +60,34 @@ Badges: `[UPDATED]`, `[FIXED]`, `[NEW]`, `[DEPRECATED]`, `[REMOVED]`, `[BREAKIN
`[koin-androidx-navigation]`
* `[UPDATED]` - Updated with new ViewModel API internals. Added `ownerProducer: () -> ViewModelStoreOwner`, and `extrasProducer: (() -> CreationExtras)?` parameters

`[koin-androidx-compose]`
* `[UPDATED]` - library update `androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1`
* `[UPDATED]` - library update `androidx.navigation:navigation-compose:2.5.2`
* `[UPDATED]` - Compile SDK level to 32
* `[UPDATED]` - Update with `koin-android:3.3.0` to realign internal APIs with [ViewModel 2.5.1](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.5.1)
* `[UPDATED]` - Updated `koinViewModel()` and `getViewModel()` functions to present all needed parameters. Added `key: String` and `extras: CreationExtras`parameters.
* `[DEPRECATED]` - `getStateViewModel()` function is now deprecated. `SavedStateHandle` can be injected directly with `koinViewModel()` and `getViewModel()` functions
* `[UPDATED]` Compose compiler is at "1.2.0"
* `[UPDATED]` Compose libraries at "1.2.1"

# [3.2]()

## [ktor-3.2.2]() - 2022-09-23

* `[UPDATED]` - update with Koin 3.2.2 + Fix back compat with Java 8 compilation

## [ktor-3.2.1]() - 2022-09-12

* `[UPDATED]` - ktor update - 2.0.3

## [ktor-3.2.0]()

* `[NEW]` - Koin Ktor extracted project
* `[UPDATED]` - slf4j update - org.slf4j:slf4j-api:1.7.36
* `[UPDATED]` - ktor update - 2.0.1
* `[BREAKING]` - moved Koin ktor plugin to org.koin.ktor.plugin


## [android-3.2.3](https://github.com/InsertKoinIO/koin/milestone/38) - 2022-10-18

* `[FIXED]` - Fix Broken Scope API and revert back `AndroidScopeComponent` with related API in `Activity` & `Fragment`. Reworked `activityScope()`, `activityRetainedScope()` and `fragmentScope()`. Removed Deprecations. #1443 #1448
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ You can find the following page to help setup your project: [Koin Gradle Setup](
Here are the current available versions:

```groovy
koin_version= "3.2.2"
koin_android_version= "3.3.0"
koin_android_compose_version= "3.3.0"
koin_ktor= "3.2.2"
koin_version= "3.3.0"
koin_android_version= "3.3.1"
koin_android_compose_version= "3.4.0"
koin_ktor= "3.3.0"
```

## Latest News
Expand Down
1,182 changes: 0 additions & 1,182 deletions compose/CHANGELOG.md

This file was deleted.

28 changes: 0 additions & 28 deletions compose/examples/build.gradle

This file was deleted.

28 changes: 0 additions & 28 deletions compose/examples/gradle.properties

This file was deleted.

Binary file removed compose/examples/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions compose/examples/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

4 changes: 0 additions & 4 deletions compose/examples/settings.gradle

This file was deleted.

12 changes: 6 additions & 6 deletions compose/gradle/versions.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ext {

// Koin
koin_version = '3.2.2'
koin_android_version = '3.3.0'
koin_version = '3.3.0'
koin_android_version = '3.3.1'
// koin project versions
koin_androidx_compose_version = '3.3.0'
koin_androidx_compose_version = '3.4.0'

// androix-compose
compose_compiler = "1.2.0"
androidx_compose_version = "1.2.1"
compose_compiler = "1.3.2"
androidx_compose_version = "1.3.2"

// Kotlin
kotlin_version = '1.7.0'
kotlin_version = '1.7.20'

// Dokka
dokka_version = '1.4.32'
Expand Down
4 changes: 2 additions & 2 deletions compose/sample-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ dependencies {
// Compose
implementation "androidx.compose.runtime:runtime:$androidx_compose_version"
implementation "androidx.compose.ui:ui:$androidx_compose_version"
implementation "androidx.compose.foundation:foundation-layout:$androidx_compose_version"
implementation "androidx.compose.material:material:$androidx_compose_version"
implementation "androidx.compose.foundation:foundation-layout:1.3.1"
implementation "androidx.compose.material:material:1.3.1"
// implementation "androidx.compose.foundation:foundation:$androidx_compose_version"

implementation 'androidx.appcompat:appcompat:1.4.1'
Expand Down

0 comments on commit 169217c

Please sign in to comment.