0.10.0 #346
LouisCAD
started this conversation in
Show and tell
0.10.0
#346
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version 0.10.0 (2021-05-13)
New features
versionFor
function that takes a dependency notation, or a version key, and returns the corresponding version that is in theversions.properties
file. For example, if you use Jetpack Compose, you can leverage it to setkotlinCompilerExtensionVersion
withversionFor(AndroidX.compose.ui)
. Groovy DSL users can find it in theVersions
class.settings.gradle.kts
andsettings.gradle
files (including refreshVersions itself).Changes
settings.gradle.kts
orsettings.gradle
file. Note that if you want to apply it tobuildSrc
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.Testing
object, and forOrchid
.Potentially breaking changes
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.Fixes
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.New dependency notations
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.
This discussion was created from the release 0.10.0.
Beta Was this translation helpful? Give feedback.
All reactions