2 min read

Koin 3.1.6 Release & Long Term Support

We are happy to share a new release of Koin: 3.1.6. This is the last version of 3.1 branch versions and our first Long Term Support (LTS) version with Kotzilla.
Koin 3.1.6 Release & Long Term Support
Photo by Kelli McClintock / Unsplash

Hello Koin users 👋

We are happy to share a new release of Koin: 3.1.6. This is the last version of 3.1 branch versions and our first Long Term Support (LTS) version with Kotzilla.

As usual, you can find the setup for your Kotlin projects page.

What's inside 3.1.6?

You can find all the changes in the Koin changelog file: https://github.com/InsertKoinIO/koin/blob/main/CHANGELOG.md#316

Some important fixes have been done. Below the main points:

  • One important deep fix is about realigning ViewModel API to Google's API. Some of you were getting an error while registering shared ViewModels: SavedStateProvider with the given key is already registered . With this new patch, we are now closer to the current Google ViewModel API which is ordering ViewModel creation among the UI thread.
  • Another point is our need to retrograde Ktor to 1.6.5, in order to keep our code compatible with Kotlin 1.5.32. In the latest versions of Ktor 1.6.x, the project was forcing some Kotlin 1.6 language updates, breaking some API with us.  

Long Term Support

The 3.1.6 release is the last patch for 3.1 branch. We drive our developments with release cycles of 6 months to follow Kotlin language and library updates in a consistent manner:

  • 3.1.6 last Koin 3.1 version
  • 3.2.0 to be deployed in the next weeks, around May

Koin 3.2 brings all fixes from 3.1 and new features. For those who need to stay on Koin 3.1 and Kotlin 1.5, Kotzilla provides commercial support for the next 9 months, (end of commercial support for 3.1 on January 2023).

Check our article on Koin Roadmap and long-term support plans. Don't hesitate to contact us if you need more information.

Next Step - Koin 3.2

We are currently working on the new minor branch of Koin. We are preparing some new features and improving existing ones.

In parallel, we are extracting koin-ktor  and koin-androidx-compose, into more independent projects.  We need to follow 1.6.7 and 2.x versions in a more peaceful way. We will do the same for Compose projects.

Stay tuned! 😉