Skip to content

Commit c50854f

Browse files
authored
update dependabot to preserve intended versions (#215)
### What changes are you making? Updates the Dependabot configuration to allow Kotlin compiler/plugin updates up to (but not including) 3.0.0, reflecting that the project now builds with a 2.x compiler. A separate ignore rule is added for `kotlin-stdlib` to cap it at 2.1.0, keeping the published stdlib dependency aligned with the Kotlin API/language consumer floor rather than the newer compiler version used to build the AAR. These rules are applied consistently across both the library and sample app Dependabot configurations. ### How to test Verify that Dependabot does not propose updates to `org.jetbrains.kotlin.*` at 3.0.0 or above, and does not propose updates to `org.jetbrains.kotlin:kotlin-stdlib` at 2.1.0 or above. --- ### Before you merge > [!IMPORTANT] > - [ ] I've added tests to support my implementation > - [x] I have read and agree with the [Contribution Guidelines](./CONTRIBUTING.md) > - [x] I have read and agree with the [Code of Conduct](./CODE_OF_CONDUCT.md) > - [ ] I've updated the relevant platform README (`platforms/swift/README.md` and/or `platforms/android/README.md`) --- <details> <summary>Releasing a new Swift version?</summary> - [ ] I have bumped the version in `ShopifyCheckoutKit.podspec` - [ ] I have bumped the version in `platforms/swift/Sources/ShopifyCheckoutKit/ShopifyCheckoutKit.swift` - [ ] I have updated `platforms/swift/CHANGELOG.md` - [ ] I have updated the SwiftPM/CocoaPods version snippets in `platforms/swift/README.md` (major version only) </details> <details> <summary>Releasing a new Android version?</summary> - [ ] I have bumped the `versionName` in `platforms/android/lib/build.gradle` - [ ] I have updated `platforms/android/CHANGELOG.md` - [ ] I have updated the Gradle/Maven version snippets in `platforms/android/README.md` </details> > [!TIP] > See the [Contributing documentation](./CONTRIBUTING.md) for the full release process per platform.
1 parent eb2d63f commit c50854f

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ updates:
2323
cooldown:
2424
default-days: 7
2525
ignore:
26-
# Keep Kotlin on 1.9.x for compatibility
26+
# Keep Kotlin compiler/plugin updates on 2.x unless the consumer floor is
27+
# deliberately re-evaluated.
2728
- dependency-name: "org.jetbrains.kotlin.*"
28-
versions: [">=2.0.0"]
29+
versions: [">=3.0.0"]
30+
# Keep the published stdlib dependency aligned with the Kotlin API/language
31+
# consumer floor, not the newer compiler used to build the AAR.
32+
- dependency-name: "org.jetbrains.kotlin:kotlin-stdlib"
33+
versions: [">=2.1.0"]
2934
# Keep kotlinx-serialization on 1.7.x while the library's Kotlin API/language
3035
# consumer floor is pinned to 2.0.
3136
- dependency-name: "org.jetbrains.kotlinx:kotlinx-serialization-json"
@@ -48,9 +53,14 @@ updates:
4853
ignore:
4954
# The sample includes the Android library as :lib, so library dependencies can
5055
# appear in this Dependabot scan too.
51-
# Keep Kotlin on 1.9.x for compatibility
56+
# Keep Kotlin compiler/plugin updates on 2.x unless the consumer floor is
57+
# deliberately re-evaluated.
5258
- dependency-name: "org.jetbrains.kotlin.*"
53-
versions: [">=2.0.0"]
59+
versions: [">=3.0.0"]
60+
# Keep the published stdlib dependency aligned with the Kotlin API/language
61+
# consumer floor, not the newer compiler used to build the AAR.
62+
- dependency-name: "org.jetbrains.kotlin:kotlin-stdlib"
63+
versions: [">=2.1.0"]
5464
# Keep kotlinx-serialization on 1.7.x while the library's Kotlin API/language
5565
# consumer floor is pinned to 2.0.
5666
- dependency-name: "org.jetbrains.kotlinx:kotlinx-serialization-json"

0 commit comments

Comments
 (0)