All Versions
Latest Version
Avg Release Cycle
49 days
Latest Release
111 days ago

Changelog History
Page 1

  • v0.23.0 Changes

    September 28, 2021

    πŸ› Bug fix

    πŸ›  Fix a bug that broke standalone buildSrc builds.

  • v0.22.0 Changes

    September 27, 2021

    πŸ› Bug fix

    πŸ›  Fix a regression that brought a KotlinNullPointerException in the build. We apologize for the issue. Thanks to Marcin and Craig for the report.

    πŸ†• New dependency notations:

    • πŸ’» AndroidX.compose.ui.toolingPreview
    • Chucker
    • KotlinX.cli
    • KotlinX.datetime

    Thanks to Filip Czaplicki, who contributed to the new dependency notations!

  • v0.21.0 Changes

    September 07, 2021

    πŸ†• New feature

    πŸ‘ We now support npm dependencies for Kotlin/JS!

    Just put the version placeholder (_) in place of the version, and you're good to go.

    πŸ›  The version keys follow a simple naming scheme where their id is prefixed with npm, here are two examples:

    Special thanks to NikkyAI who authored the feature, and pair-programmed with us to refine it!

    πŸ‘Œ Improvements

    πŸš€ Before this release, when we added new dependency notations and shorter version keys, it could lead to an unwanted upgrade of the dependency in the project upgrading refreshVersions. With this release, we make sure to copy the same version if we add or change the version key, and it will also work if we decide to remove one. This ensures that upgrading refreshVersions will not be able to affect your application or library.

    Thanks to Brady Aiello from Touchlab for helping out via pair-programming!

    πŸ†• New dependency notations:

    • Koin (new group with several dependencies)
    • Touchlab.stately (new group with several dependencies)
    • RussHWolf.multiplatformSettings (new group with several dependencies)

    Thanks to Brady Aiello again, who contributed to these new dependency notations!

  • v0.20.0 Changes

    August 23, 2021


    We are now ready to accept dependency notation contributions for high-quality and popular dependencies from the Kotlin ecosystem!

    ⚑️ Look for issues with the Dependency notations and up-for-grabs tags to find one you can directly contribute to, or submit a new issue to ask for a new one to be added. We updated the contributing guide on the website, it now has [a guide dedicated to it here](docs/contributing/submitting-prs/

    πŸ†• New features

    • 🚚 refreshVersions will now add ## unused comments on top of unused entries in the file after you run the refreshVersions task, so you know which ones are obsolete and can be removed.
    • The new rejectVersionsIf { … } predicate available in the refreshVersions { … } extension in your settings.gradle[.kts] file will allow you to filter any kind of versions you don't want to know about. It can be handy to filter snapshots out for example.
    • Most of our dependency notations now provide more flexibility with 3 new extension functions: withVersionPlaceholder(), withVersion(…), and withoutVersion().

    πŸ”„ Change (potentially breaking)

    • πŸ— If you use a BoM from the built-in dependency notations, it must always appear before dependencies from the group it controls, or you'll see an error message that will fail the Gradle build. We do this because we can't switch on usage of the BoM for linked dependencies that have already been evaluated by Gradle.

    πŸ‘Œ Improvements

    The refreshVersionsMigrate will now use the built-in dependency notations if they match existing dependencies.

    πŸ†• New dependency notations:

    • AndroidX:
      • benchmark.macroJunit4
      • core.splashscreen
      • games:
        • activity
        • controller
        • framePacing
        • performanceTuner
        • textInput
      • navigation.testing
      • wear.compose:
        • foundation
        • material
      • window
        • java
        • rxJava2
        • rxJava3
        • testing
    • COIL:
      • compose
      • composeBase
    • Firebase:
      • cloudMessagingDirectBoot
      • Firebase.mlModelDownloaderKtx
      • Firebase.mlModelDownloader
    • Kodein.di (new group with many dependencies)
    • βœ… Kotlin.test (which is compatible with multiplatform projects since Kotlin 1.5)
    • KotlinX.html (compatible with multiplatform projects)
    • Ktor.features.serialization
    • Http4k (new group with many dependencies)
    • Splitties.alertdialogMaterial
    • Square
      • okHttp3 (shortcut to existing okHttp3.okHttp)
      • retrofit2.converter.wire
      • retrofit2 (shortcut to existing retrofit2.retrofit)
    • Spring (new group with many dependencies)
  • v0.11.0 Changes

    August 03, 2021

    πŸ†• New feature

    Add task refreshVersionsMigrate that adds all missing entries in and try to migrate the build.gradle(.kts) and other known files like libraries.gradle so that the version placeholder _ is used everywhere. Please try it out and give us your feedback for refreshVersionsMigrate

    πŸ›  Fixes

    • πŸ”Œ Plugins org.jetbrains.kotlinx.benchmark should not use key version.kotlin

    πŸ†• New dependency notations

    • Ktor.features.serialization
    • βœ… AndroidX.navigation.testing
    • βœ… Testing.kotestExtensions who replaces Testing.kotest.extensions in Kotest >= 4.5.0
  • v0.10.1 Changes

    June 10, 2021

    πŸ†• New features

    • πŸ‘• In Android projects, if you used the version placeholder (_) directly in build.gradle(.kts) files, Android lint would trigger an unwanted warning, or error in the case of the Android build tools (aka. AGP, the Android Gradle Plugin). To avoid this inconvenience, running the refreshVersions task will now automatically check if it's running on an Android project, and in such cases, will edit (safely) the lint.xml file, creating it if needed, and add the needed rules to have these specific warnings and errors ignored.

    πŸ›  Fixes

    • βž• Add missing version placeholder (_) for the dependency notation.
    • πŸ›  Fix a bug that prevented from using the correct version of org.jetbrains.kotlinx.benchmark and any other Gradle plugin with an id starting with org.jetbrains.kotlinx because it matched over org.jetbrains.kotlin as well. We are now matching on org.jetbrains.kotlin. to avoid this issue.

    πŸ†• New dependency notations:

    • AndroidX:
      • emoji2
        • views-helper
        • views
      • health.servicesClient
      • security.appAuthenticatorTesting
    • πŸ’» Google.accompanist.insets.ui
  • v0.10.0 Changes

    May 13, 2021

    πŸ†• New features

    • πŸ’» There's a new versionFor function that takes a dependency notation, or a version key, and returns the corresponding version that is in the file. For example, if you use Jetpack Compose, you can leverage it to set kotlinCompilerExtensionVersion with versionFor(AndroidX.compose.ui). Groovy DSL users can find it in the Versions class.
    • πŸ‘Œ Support updates of settings plugins in settings.gradle.kts and settings.gradle files (including refreshVersions itself).
    • πŸ‘Œ Support getting versions from Google Cloud Storage backed repositories. This can be helpful if you need to update private artifacts hosted there. Thanks to NikkyAI for the contribution!

    πŸ”„ Changes

    • πŸ— Setting up refreshVersions has been significantly simplified: Now, it's simply a plugin that must be applied in the settings.gradle.kts or settings.gradle file. Note that if you want to apply it to buildSrc as well, there's a gotcha regarding defining the version. The best thing is that on upgrade, refreshVersions will automatically replace the old & verbose bootstrap with the new plugin setup, and that works for buildSrc special case as well. We made many tests to ensure that this logic is reliable, doesn't break any code, doesn't remove important comments, and doesn't affect custom configuration in any way.
    • 🚚 Bintray sunset resiliency: If refreshVersions encounters an HTTP 403 response on a bintray repository or on jcenter, it will consider the artifact to not be in this repository instead of crashing (but you can/should still remove bintray repo declarations anyway since it has been sunset).
    • βœ… Missing short version key rules have been added for many dependency notations groups in the Testing object, and for Orchid.

    Potentially breaking changes

    • ⬆️ The fix of the Square.sqlDelight.coroutinesExtensions dependency notation can lead to such an error: Failed to resolve: coroutines-extensions-1.4.4-_. If you get a similar error on upgrade, it's because you applied a fix like that one: Square.sqlDelight.coroutinesExtensions + ":_". You now can (must) remove it.
    • ⬆️ A bunch of new version key rules have been added, which means you might have changes of version keys, and because we currently don't have a migration facility for those, it might cause unwanted upgrades. Consequently, especially for Android projects, we recommend checking/verifying the changes made by refreshVersions after the first Gradle sync/reload/build that follows the upgrade.

    πŸ›  Fixes

    • Authentication for maven repositories should now work correctly. Should, because it can only work using internal Gradle APIs for the time being (though there's a safeguard to not crash if the API changes). Thanks to Mayank Kharbanda for the PR!
    • πŸ›  Custom extraArtifactVersionKeyRules could not be taken into account if there was an overlapping rule already present in refreshVersions, even if it was more specific. That ordering issue has now been fixed, the most specific rule will now always be the one applied.
    • βœ… If you had issues with some recent AndroidX artifacts, and their version key, they should all be fixed now, and there's all the latest dependency notations.

    πŸ†• New dependency notations

    • AndroidX:
      • activity.ktx
      • activity.compose
      • appSearch
      • appSearch.compiler
      • appSearch.localStorage
      • biometricKtx
      • carApp
      • carApp.testing
      • compose:
        • material.ripple
        • runtime.rxJava3
        • runtime.saveable
        • ui:
          • test
          • testJunit4
          • testManifest
          • tooling
          • toolingData
          • viewBinding
      • constraintLayoutCompose
      • core.googleShortcuts
      • dataStore:
        • core
        • rxJava2
        • rxJava3
        • preferences:
          • core
          • rxJava2
          • rxJava3
      • hilt.navigationCompose
      • hilt.navigationFragment
      • leanback.paging
      • leanback.preference
      • lifecycle.viewModelCompose
      • navigation.compose
      • navigation.dynamicFeaturesFragment
      • paging.compose
      • paging.rxJava3
      • savedStateKtx
      • security.appAuthenticator
      • transitionKtx
      • wear:
        • complications.provider
        • input
        • inputTesting
        • ongoing
        • phoneInteractions
        • remoteInteractions
        • watchFace
        • watchFace.guava
        • watchFace.client
        • watchFace.clientGuava
        • watchFace.complicationsRendering
        • watchFace.editor
        • watchFace.editorGuava
        • tiles:
          • proto
          • renderer
      • work.multiprocess
      • work.rxJava3
    • Firebase:
      • analyticsKtx
      • authenticationKtx
      • cloudMessagingKtx
      • crashlyticsKtx
      • dynamicLinksKtx
      • performanceMonitoringKtx
    • Google:
      • accompanist:
        • appcompatTheme
        • coil
        • flowlayout
        • glide
        • imageloadingCore
        • insets
        • pager.indicators
        • pager
        • swiperefresh
        • systemuicontroller
      • android.material.composeThemeAdapter
      • dagger.hilt.compiler
    • βœ… Testing.kotest.assertions.kotlinxDateTime

    Special mentions

    Thanks to all the folks that joined Louis CAD in pair-programming sessions:

    πŸš‘ These were critical to ensure thorough testing, and great quality, all while keeping motivation to keep going.

    We're very grateful for your time and help, and we think our users will be as well. πŸ™

    Also, thanks to all the folks that reported issues. It was very helpful to prioritize on our side.

  • v0.9.7 Changes

    October 15, 2020

    πŸ”– Version 0.9.7 (2020-10-16)

    πŸ›  Fixes

    • πŸ›  Running the refreshVersions task twice or more would fail with "executor rejected" as an error message, until the Gradle daemon is killed. This has now been fixed. (Issue #263)
    • πŸš€ The refreshVersions task was failing after the latest Gradle release candidate was superseded by the stable release because the API would return an empty JSON object after this, which we didn't expect.
    • πŸ›  (Minor) We fixed a typo in a diagnostic task name (refreshVersionsDependenciesMapping)
  • v0.9.6 Changes

    October 12, 2020

    πŸ”– Version 0.9.6 (2020-10-12)

    πŸ›  Fixes

    • πŸ›  This release fixes a major memory leak that would make Gradle Daemons unusable after several builds (or Gradle syncs/imports). We are very sorry for that issue, and the annoyance it might have caused. We experienced it too as users, and that's why we are bringing the fix now. We took the necessary measures to avoid future recurrence of such memory leaks.
    • πŸ›  Fix of a bug that'd make the first Gradle sync after adding a dependency fail.

    πŸ’₯ Breaking change

    • ⚑️ If you were using Jetpack Compose, the compiler dependency had its maven coordinates changed in version 1.0.0-alpha04. We updated the AndroidX.compose.compiler dependency constant, which means it now works only for Compose 1.0.0-alpha04 and more future versions.

    πŸ†• New dependency constants

    • Google.mlKit
    • KotlinX.serialization.json

    πŸ—„ Deprecated

    πŸš€ Firebase ML Kit has been rebranded to Google ML Kit along with API and feature changes since 2020-08-14 update, so we deprecated the Firebase.mlKit dependencies and introduced new ones in and Google.mlKit.

    πŸ†• New features

    • πŸš€ refreshVersions will now warn you when Gradle is not up to date, and will give you the commands to run to update it for you to copy/paste and run. It works if you're using a release candidate, and also if you're using a nightly version!
  • v0.9.5 Changes

    August 21, 2020

    πŸ”– Version 0.9.5 (2020-08-21)

    πŸš€ This is a major release that brings surface-level and internal changes, paving the way for the upcoming 1.0 release.

    πŸ”Œ The plugin setup/bootstrap has changed , so check out the updated documentation in Setting-up.adoc.

    πŸ†• New features

    • ⚑️ Self update discovery. RefreshVersions will check for its own updates , and add available comments in the settings.gradle[.kts] file if needed for easy upgrade. This allows you to get future improvements conveniently.
    • πŸ‘Œ Support for buildscript dependencies. It now works just like regular dependencies.
    • πŸ— First class support for buildSrc
    • πŸ‘Œ Support maven repositories with basic authentication (aka. credentials with username and password)
    • Going forward, refreshVersions will be able to auto-migrate any breaking changes a new version would introduce in your, build.gradle and build.gradle.kts files in. This version of refreshVersions integrates the facility to
      ⚑️ let future versions of refreshVersions that migration is needed, and from which version. This is a very important change that ensures you can keep your projects updated with the least effort possible.

    πŸ†• New dependency constants

    • Kotlin.stdlib (for the base version of the stdlib)
    • KotlinX:
      • html
      • Coroutines:
      • reactive
      • reactor
      • rx2
      • rx3
      • Serialization:
      • core (replaces runtime artifacts since 1.0.0-RC)
      • protobuf
      • cbor
      • properties
      • io
      • reflect.lite
      • nodeJs
    • COIL, a Co routine I mage L oader for Android.
    • Square:
      • LeakCanary
      • KotlinPoet
      • Wire
      • SqlDelight
      • Moshi
      • Picasso
      • okio
      • Retrofit2:
      • Adapter:
        • java8 (renamed from retrofitJava8)
        • rxJava1 (renamed from retrofitRxJava1)
        • rxJava2 (renamed from retrofitRxJava2)
        • rxJava3
    • βœ… KoTest (in the Testing object)
    • CashApp:
      • sqlDelight (alias to Square.sqlDelight)
      • turbine
      • Copper
    • Google:
      • Dagger (including hilt for Android)
      • Android:
      • browserHelper
    • JakeWharton:
      • picnic
      • wormholeGradlePlugin
      • confundusGradlePlugin
      • moshi.shimo
    • AndroidX:
      • Gaming
      • Hilt
      • startup
      • tracing
      • vectorDrawableSeekable
      • Window
      • Core:
      • animation
      • animationTesting
      • Security:
      • cryptoKtx
      • identityCredential
      • Compose:
      • Runtime:
        • dispatch
        • savedInstance
        • liveData
        • rxJava2
      • Animation
      • Ui
      • Foundation
      • Material
      • Media2:
      • lifecycle
      • Concurrent:
      • futuresKtx

    Dependency constants renamed

    πŸš€ Several dependencies constants have been renamed in this release (compared to version 0.9.4).

    If you were using one of the following, you'll need to migrate these usages.

    πŸ‘‰ We recommend to use "Replace in Path" in IntelliJ or Android Studio, filtering for the *.gradle.kts or *.gradle file extensions to do these replacements with ease.

    Note that for future versions, refreshVersions will be able to do this automatically.

    Here's the list of renamed dependency constants:

    • AndroidX.coreKtx -> AndroidX.core.ktx
    • AndroidX.coreRole -> AndroidX.core.role
    • Square.retrofit2.adapter.retrofitJava8 -> Square.retrofit2.adapter.java8
    • Square.retrofit2.adapter.retrofitRxJava1 -> Square.retrofit2.adapter.rxJava1
    • Square.retrofit2.adapter.retrofitRxJava2 -> Square.retrofit2.adapter.rxJava2
    • βœ… Testing.junit.junitJupiter -> Testing.junit
    • βœ… Testing.mockK.mockK -> Testing.mockK

    πŸ”„ Changes

    • πŸ‘‰ Make the refreshVersions task cancellable during network requests.
    • Now, only http 404 and 401 responses from repositories will be silent.
    • Server errors (i.e. all but http 404 and 401 responses) are now reported.
    • Network failures are now reported.
    • ⏱ There is now a connection timeout (10 seconds per request for now)
    • πŸ”§ An error is reported if a dependency wasn't found in any of the configured repositories.
    • All the searched repositories are now listed if a dependency wasn't found in any of them.
    • πŸ— Only declared repositories are now looked up. (Before, refreshVersions would search all dependencies in all repositories of all modules and their buildscript, regardless of which module was declaring them.)
    • πŸ›  Dependency constants in Ktor no longer uses the native suffixed artifacts (because Kotlin 1.4 drops them, as the main ones become multiplatform)

    πŸ›  Fixes

    • πŸ”– Version sorting would crash if a version had a long number in it. This has now been fixed, any length of digit sequence is now supported in versions.
    • πŸ›  Fix maven coordinates of several dependency constants
    • Don't crash on repositories that are not https or file or have non password credentials.
    • βœ… The AndroidX.test.ext.jankTestHelper constant and few other ones in Firebase.mlKit had wrong maven coordinates. This has been fixed, and tests have been added to prevent it from happening again on any dependency constant we provide.