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

Update compose.destinations to v2.0.0-beta12 #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.raamcosta.compose-destinations:ksp 2.0.0-beta01 -> 2.0.0-beta12 age adoption passing confidence
io.github.raamcosta.compose-destinations:core 2.0.0-beta01 -> 2.0.0-beta12 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

raamcosta/compose-destinations (io.github.raamcosta.compose-destinations:ksp)

v2.0.0-beta12

Compare Source

Changes
  • Fixes #​678
  • Improve error message when using ResultBackNavigator with unsupported type.

Full Changelog: raamcosta/compose-destinations@2.0.0-beta11...2.0.0-beta12

v2.0.0-beta11

Compare Source

Changes

Full Changelog: raamcosta/compose-destinations@2.0.0-beta10...2.0.0-beta11

v2.0.0-beta10

Compare Source

Changes
  • Result back feature now supports all types that normal navigation supports! 🚀
  • New debug mode
  • Small improvements
Result back feature now supports all types that normal navigation supports! 🚀

Previously, only these result types were allowed:

  • String, Boolean, Float, Int, Long, Serializable, or Parcelable.
  • Type cannot have type arguments itself (f.e you can't use Array even though it is Serializable)

Now it allows all of these (same as normal navigation):

For Boolean, Int, Float, Long, you'll need to use BooleanArray, IntArray, FloatArray, LongArray instead of Array, Array, Array, Array.

⚠️ If you were manually calling a Composable Destination which receives either a ResultBackNavigator or a ResultRecipient you will need to update those calls to pass in a DestinationsNavType corresponding to your result type.
You can check the corresponding generated Destination and see how it calls your Composable, and do the same, or you can just start typing your result class type name (lower case) and IDE will help you.

For example, if your Destination receives a:

  • ResultBackNavigator<Boolean> you'll want to pass in resultBackNavigator(booleanNavType) (booleanNavType is a top level field you can import from core library)
  • ResultBackNavigator<MyParcelableClass> you'll pass resultBackNavigator(myParcelableClassNavType) (myParcelableClassNavType is a top level field you can import from generated code).

If not calling it manually, then generated code will do this for you, so no need to change anything in that case.

New debug mode

This is mainly to help me understand users' setup when there's a reported issue so that I can find the root cause and fix it quicker.
New ksp configuration added:

ksp {
    arg("compose-destinations.debugMode", "$rootDir")
}

When set, it will write some debug files to a folder on $rootDir/composeDestinationsDebug (taking above example).
Please make sure to:

  • add this configuration for all modules that use compose destinations ksp
  • do ./gradle clean and delete previous debug folder
  • run the app or build the project
  • share the files with me somehow (ex: through the github issue, DM on Kotlin slack, etc).
  • remove the configuration and delete the debug folder
    DO NOT leave the configuration ON as it may slow down builds for no reason, just remove it after sending me the files.

Full Changelog: raamcosta/compose-destinations@2.0.0-beta09...2.0.0-beta10

v2.0.0-beta09

Compare Source

Changes
  • Fixes #​648
  • Fixes issue with module name being prefixed on the NavGraphs module object fields.

Full Changelog: raamcosta/compose-destinations@2.0.0-beta08...2.0.0-beta09

v2.0.0-beta08

Compare Source

Changes
  • Fixes #​638
  • Module names will now prefix all routes when set
    • Should help avoid duplicate routes on bigger projects

Full Changelog: raamcosta/compose-destinations@2.0.0-beta07...2.0.0-beta08

v2.0.0-beta07

Compare Source

Changes
  • Fixes #​638
  • Fixes #​611
  • Improved wrong nav graph args configuration reporting
  • When generating docs to specific directories set with gradle ksp configs, it creates missing directories if any.
  • Added API for adding deep links at runtime (Fixes #​639)

Example:

DestinationsNavHost(
    //...
) {
    MyDestination addDeepLink { uriPattern = "schema://${MyDestination.route}" }
}

Full Changelog: raamcosta/compose-destinations@2.1.0-beta06...2.0.0-beta07

v2.0.0-beta06

Compare Source

Changes

Full Changelog: raamcosta/compose-destinations@2.0.0-beta05...2.0.0-beta06

v2.0.0-beta05

Compare Source

v2.0.0-beta04

Compare Source

v2.0.0-beta02

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/compose.destinations branch from 510fd58 to 756567b Compare May 6, 2024 01:24
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta02 Update compose.destinations to v2.0.0-beta04 May 6, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 756567b to b523118 Compare May 7, 2024 17:37
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta04 Update compose.destinations to v2.0.0-beta05 May 7, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from b523118 to 1c90816 Compare May 8, 2024 16:18
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 1c90816 to 3ba2e4d Compare May 16, 2024 21:57
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta05 Update compose.destinations to v2.0.0-beta06 May 16, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 3ba2e4d to d0df913 Compare May 18, 2024 18:37
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta06 Update compose.destinations to v2.0.0-beta07 May 18, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from d0df913 to 997a6b7 Compare May 30, 2024 00:03
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta07 Update compose.destinations to v2.0.0-beta08 May 30, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 997a6b7 to c21454c Compare May 31, 2024 13:48
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta08 Update compose.destinations to v2.0.0-beta09 May 31, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from c21454c to 8eccd9e Compare July 21, 2024 05:06
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta09 Update compose.destinations to v2.0.0-beta10 Jul 21, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 8eccd9e to bc5a319 Compare July 25, 2024 14:58
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta10 Update compose.destinations to v2.0.0-beta11 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from bc5a319 to 16735d2 Compare October 18, 2024 14:13
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta11 Update compose.destinations to v2.0.0-beta12 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 16735d2 to 9d2d4d1 Compare October 27, 2024 22:58
@renovate renovate bot force-pushed the renovate/compose.destinations branch from 9d2d4d1 to fde8a74 Compare November 3, 2024 18:39
@renovate renovate bot changed the title Update compose.destinations to v2.0.0-beta12 fix(deps): update compose.destinations to v2.0.0-beta12 Nov 24, 2024
@renovate renovate bot changed the title fix(deps): update compose.destinations to v2.0.0-beta12 Update compose.destinations to v2.0.0-beta12 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants