Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump raamcostaVersion from 1.9.56 to 1.11.6 #1098

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Bumps raamcostaVersion from 1.9.56 to 1.11.6.
Updates io.github.raamcosta.compose-destinations:animations-core from 1.9.56 to 1.11.6

Release notes

Sourced from io.github.raamcosta.compose-destinations:animations-core's releases.

1.11.6

Changes

  • Update dependencies to Compose 1.7 and Compose Navigation 2.8. With this, we depend on stable versions only.

Full Changelog: raamcosta/compose-destinations@1.11.5-beta...1.11.6

1.11.5-beta

Changes

  • Dependency updates
  • Small issue fixes

Full Changelog: raamcosta/compose-destinations@1.11.4-alpha...1.11.5-beta

1.11.4-alpha

  • Fixes issue with not importing AnimatedVisibilityScope with new shared transition elements ways of providing it.

Full Changelog: raamcosta/compose-destinations@1.11.3-alpha...1.11.4-alpha

1.11.3-alpha - breaking changes and shared element transitions

Breaking Changes 😱

  • Most of our NavController extension functions were removed. Instead, if you want to use the type safe Compose Destinations friendly APIs, you'll need to use DestinationsNavigator. There are two new APIs to get this navigator from NavController: (you can also just receive DestinationsNavigator on your annotated Composables)

    • If you are inside a Composable, use navController.rememberDestinationsNavigator()
    • If not, use navController.toDestinationsNavigator()

Keep in mind you can still use NavController directly by adding .route. For example: navController.navigate(Destination(args).route).

We were forced to do this since new navigation versions introduced a new member function of NavController class that would shadow our extension functions (i.e, users of the lib would start calling it silently instead of our extension functions - the result would be a runtime crash). By removing the APIs on our side, it forces users of Compose Destinations to go handle this change and avoid runtime issues that way.

  • Parameter onlyIfResumed removed from navigate APIs. (including navigating back with result). Users should replace it with the new APIs dropUnlessResumed:
onClick = dropUnlessResumed {
    navigator.navigate(SomeDestination)
}
// BEFORE
onClick = {
navigator.navigate(SomeDestination, onlyIfResumed = true)
}

Here it was just a timing thing. Given that we were forced into other breaking changes, might as well do this too. It also made it easier to provide functions to get DestinationsNavigator (see above) since it no longer depends on the NavBackStackEntry.

... (truncated)

Commits
  • 52399eb Fixed issue with sample bottom bar
  • d03907c Updates libraries to the latest milestone
  • 38fded8 Some issue fixes cherry picked from v2
  • 7c8f45f dependencies update
  • 84f7558 Fixes issue with not importing AnimatedVisibilityScope
  • fbf36a2 Fix sample app VM issue
  • 28376e0 fix sample builds
  • b3e7064 Fix shadowed extension functions of NavController pt2
  • 6a595a1 Fix shadowed extension functions of NavController pt1
  • 75da4e0 Improve usability with SharedTransitionScope as a receiver of composable dest...
  • Additional commits viewable in compare view

Updates io.github.raamcosta.compose-destinations:ksp from 1.9.56 to 1.11.6

Release notes

Sourced from io.github.raamcosta.compose-destinations:ksp's releases.

1.11.6

Changes

  • Update dependencies to Compose 1.7 and Compose Navigation 2.8. With this, we depend on stable versions only.

Full Changelog: raamcosta/compose-destinations@1.11.5-beta...1.11.6

1.11.5-beta

Changes

  • Dependency updates
  • Small issue fixes

Full Changelog: raamcosta/compose-destinations@1.11.4-alpha...1.11.5-beta

1.11.4-alpha

  • Fixes issue with not importing AnimatedVisibilityScope with new shared transition elements ways of providing it.

Full Changelog: raamcosta/compose-destinations@1.11.3-alpha...1.11.4-alpha

1.11.3-alpha - breaking changes and shared element transitions

Breaking Changes 😱

  • Most of our NavController extension functions were removed. Instead, if you want to use the type safe Compose Destinations friendly APIs, you'll need to use DestinationsNavigator. There are two new APIs to get this navigator from NavController: (you can also just receive DestinationsNavigator on your annotated Composables)

    • If you are inside a Composable, use navController.rememberDestinationsNavigator()
    • If not, use navController.toDestinationsNavigator()

Keep in mind you can still use NavController directly by adding .route. For example: navController.navigate(Destination(args).route).

We were forced to do this since new navigation versions introduced a new member function of NavController class that would shadow our extension functions (i.e, users of the lib would start calling it silently instead of our extension functions - the result would be a runtime crash). By removing the APIs on our side, it forces users of Compose Destinations to go handle this change and avoid runtime issues that way.

  • Parameter onlyIfResumed removed from navigate APIs. (including navigating back with result). Users should replace it with the new APIs dropUnlessResumed:
onClick = dropUnlessResumed {
    navigator.navigate(SomeDestination)
}
// BEFORE
onClick = {
navigator.navigate(SomeDestination, onlyIfResumed = true)
}

Here it was just a timing thing. Given that we were forced into other breaking changes, might as well do this too. It also made it easier to provide functions to get DestinationsNavigator (see above) since it no longer depends on the NavBackStackEntry.

... (truncated)

Commits
  • 52399eb Fixed issue with sample bottom bar
  • d03907c Updates libraries to the latest milestone
  • 38fded8 Some issue fixes cherry picked from v2
  • 7c8f45f dependencies update
  • 84f7558 Fixes issue with not importing AnimatedVisibilityScope
  • fbf36a2 Fix sample app VM issue
  • 28376e0 fix sample builds
  • b3e7064 Fix shadowed extension functions of NavController pt2
  • 6a595a1 Fix shadowed extension functions of NavController pt1
  • 75da4e0 Improve usability with SharedTransitionScope as a receiver of composable dest...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @niyajali.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `raamcostaVersion` from 1.9.56 to 1.11.6.

Updates `io.github.raamcosta.compose-destinations:animations-core` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

Updates `io.github.raamcosta.compose-destinations:ksp` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

---
updated-dependencies:
- dependency-name: io.github.raamcosta.compose-destinations:animations-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.raamcosta.compose-destinations:ksp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Member

@niyajali niyajali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@niyajali niyajali merged commit adc9381 into main Sep 20, 2024
7 of 10 checks passed
@niyajali niyajali deleted the dependabot/gradle/raamcostaVersion-1.11.6 branch September 20, 2024 05:44
niyajali pushed a commit that referenced this pull request Sep 20, 2024
Bumps `raamcostaVersion` from 1.9.56 to 1.11.6.

Updates `io.github.raamcosta.compose-destinations:animations-core` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

Updates `io.github.raamcosta.compose-destinations:ksp` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

---
updated-dependencies:
- dependency-name: io.github.raamcosta.compose-destinations:animations-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.raamcosta.compose-destinations:ksp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit adc9381)
niyajali added a commit that referenced this pull request Sep 20, 2024
* Test: Added unit tests for MeasureUnit modules

This commit introduces unit tests for the following modules:

- MeasureUnitViewModelTest
- AddEditMeasureUnit
ViewModelTest
- MeasureUnitSettingsViewModelTest

These tests cover various aspects of the modules' functionality, including:

- Initial state of view models
- Data loading and updates
- Search functionality
- Item deletion
- Error handling
- Saving and updating items

The tests ensure that the modules behave as expected
 and provide comprehensive coverage of their functionality.

* Test: Added unit tests for MarketType screen

This commit introduces unit tests for the following components of the MarketType screen:

- MarketTypeViewModel
-
 AddEditMarketTypeViewModel
- MarketTypeSettingsViewModel

These tests cover various scenarios, including initial states, data population, search functionality, item selection, deletion, and data import/export.

* Test: Added UI tests for MarketItem & MarketList

This commit introduces UI tests for the MarketItem and MarketList screens.

- Added tests for `
MarketItemViewModel`, `MarketItemSettingsViewModel`, `AddEditMarketItemViewModel`, and `MarketListViewModel`.
- Added screenshot tests for `MarketItemScreen` and `MarketListScreen`.
- Updated `TestMarketItemRepository` to include `updateMarketTypeAndIdData` function.
- Updated
 `TestMarketListRepository` to include functions for managing market lists and types.
- Refactored `MarketTypeIdAndName` to include `searchItems` function.
- Updated `AddEditMarketItemViewModel` to use `SavedStateHandle` for managing item ID.
- Updated `MarketItemViewModel` to log analytics events for item deletion.
- Renamed `MarketItemScreenScreenshotTest` and `MarketListScreenScreenshotTest` to include the `marketItem` and `marketList` package names.

* Fixed package structure

* Build(deps): Bump org.jetbrains.kotlinx:kotlinx-collections-immutable (#1102)

Bumps [org.jetbrains.kotlinx:kotlinx-collections-immutable](https://github.com/Kotlin/kotlinx.collections.immutable) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/Kotlin/kotlinx.collections.immutable/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.collections.immutable/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.collections.immutable@v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-collections-immutable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit fb30bb8)

* Build(deps): Bump com.google.truth:truth from 1.4.2 to 1.4.4 (#1100)

Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.4.2 to 1.4.4.
- [Release notes](https://github.com/google/truth/releases)
- [Commits](google/truth@v1.4.2...v1.4.4)

---
updated-dependencies:
- dependency-name: com.google.truth:truth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit bb484de)

* Build(deps): Bump com.guardsquare.appsweep from 1.5.8 to 1.5.9 (#1099)

Bumps com.guardsquare.appsweep from 1.5.8 to 1.5.9.

---
updated-dependencies:
- dependency-name: com.guardsquare.appsweep
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 498e361)

* Build(deps): Bump raamcostaVersion from 1.9.56 to 1.11.6 (#1098)

Bumps `raamcostaVersion` from 1.9.56 to 1.11.6.

Updates `io.github.raamcosta.compose-destinations:animations-core` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

Updates `io.github.raamcosta.compose-destinations:ksp` from 1.9.56 to 1.11.6
- [Release notes](https://github.com/raamcosta/compose-destinations/releases)
- [Commits](raamcosta/compose-destinations@1.9.56...1.11.6)

---
updated-dependencies:
- dependency-name: io.github.raamcosta.compose-destinations:animations-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.raamcosta.compose-destinations:ksp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit adc9381)

* Build(deps): Bump detekt from 1.23.6 to 1.23.7 (#1097)

Bumps `detekt` from 1.23.6 to 1.23.7.

Updates `io.gitlab.arturbosch.detekt:detekt-gradle-plugin` from 1.23.6 to 1.23.7
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](detekt/detekt@v1.23.6...v1.23.7)

Updates `io.gitlab.arturbosch.detekt:detekt-formatting` from 1.23.6 to 1.23.7
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](detekt/detekt@v1.23.6...v1.23.7)

Updates `io.gitlab.arturbosch.detekt` from 1.23.6 to 1.23.7

Updates `io.github.detekt.gradle.compiler-plugin` from 1.23.6 to 1.23.7

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.gitlab.arturbosch.detekt:detekt-formatting
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.gitlab.arturbosch.detekt
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.github.detekt.gradle.compiler-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7ee8e64)

* Build(deps): Bump protobuf from 4.26.1 to 4.28.1 (#1096)

Bumps `protobuf` from 4.26.1 to 4.28.1.

Updates `com.google.protobuf:protobuf-kotlin-lite` from 4.26.1 to 4.28.1

Updates `com.google.protobuf:protoc` from 4.26.1 to 4.28.1
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-kotlin-lite
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e01138f)

* Build(deps): Bump spotlessVersion from 6.23.3 to 6.25.0 (#1095)

Bumps `spotlessVersion` from 6.23.3 to 6.25.0.

Updates `com.diffplug.spotless:spotless-plugin-gradle` from 6.23.3 to 6.25.0
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](diffplug/spotless@gradle/6.23.3...gradle/6.25.0)

Updates `com.diffplug.spotless` from 6.23.3 to 6.25.0

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7938e5c)

* Build(deps): Bump kotlinxCoroutines from 1.8.1 to 1.9.0 (#1094)

Bumps `kotlinxCoroutines` from 1.8.1 to 1.9.0.

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.8.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.8.1...1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.8.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.8.1...1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-guava` from 1.8.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.8.1...1.9.0)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.8.1 to 1.9.0
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](Kotlin/kotlinx.coroutines@1.8.1...1.9.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a15d10d)

* Build(deps): Bump the kotlin-ksp-compose group with 2 updates (#1093)

Bumps the kotlin-ksp-compose group with 2 updates: [com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin](https://github.com/google/ksp) and [com.google.devtools.ksp](https://github.com/google/ksp).

Updates `com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin` from 2.0.20-1.0.24 to 2.0.20-1.0.25
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](google/ksp@2.0.20-1.0.24...2.0.20-1.0.25)

Updates `com.google.devtools.ksp` from 2.0.20-1.0.24 to 2.0.20-1.0.25
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](google/ksp@2.0.20-1.0.24...2.0.20-1.0.25)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: kotlin-ksp-compose
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: kotlin-ksp-compose
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6087fb5)

* Updated Dependencies

* 🤖 Updates baselines for Dependency Guard

* Fixed Build Error

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: niyajali <niyajali@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant