Skip to content

Releases: raamcosta/compose-destinations

1.10.0

26 Jan 01:33
ae6cce5
Compare
Choose a tag to compare

Changes

  • Update to Compose 1.6
  • Fixed an issue with having line comments after nav arguments with certain default values

Full Changelog: 1.9.63...1.10.0

1.9.63

26 Jan 01:32
d0dda36
Compare
Choose a tag to compare

Changes

  • Fixed an issue with having line comments after nav arguments with certain default values

Full Changelog: 1.9.62...1.9.63

1.9.62

17 Jan 15:01
6ea4ab7
Compare
Choose a tag to compare

Changes

  • Another fix related to default value parsing

Full Changelog: 1.9.61...1.9.62

1.9.61

17 Jan 11:56
c04eb38
Compare
Choose a tag to compare

Changes

  • Fixed regression caused by 1.9.60 changes

Full Changelog: 1.9.60...1.9.61

[regression found use 1.9.59 until fix] 1.9.60

14 Jan 17:58
917e381
Compare
Choose a tag to compare

1.9.59

11 Jan 09:03
b4ff210
Compare
Choose a tag to compare

Changes

Full Changelog: 1.9.58...1.9.59

1.9.58

10 Jan 16:04
e50b934
Compare
Choose a tag to compare

Changes

  • Fixed #524
  • Fixed an issue where ResultRecipients were not considering the correct Destination as sender when validating types, in some specific scenarios

Full Changelog: 1.9.57...1.9.58

1.9.57

03 Jan 14:39
46099dc
Compare
Choose a tag to compare

What changed

  • Fixes #541
  • We now allow a parameter on the annotated Composable of the same type of the navArgsDelegate even if (and this is the new bit) that type is also a navigation argument type.
    So, this:
@Serializable
data class SomeSerializable(...)

@Destination(
    navArgsDelegate = SomeSerializable:class
)
@Composable
fun SomeScreen(
    navArgs: SomeSerializable
)

Will now work, and navArgs parameter will be provided by the library.
Before, since navArgs is Serializable, Compose Destinations would treat it as a new nav argument, but since you were specifying a delegate to define the nav args, it didn't allow you to do that.

NOTE that the navArgsDelegate class doesn't need to be Serializable itself, each field will corresponde to one nav argument, so only the fields need to be considered a nav argument type. (list is on https://composedestinations.rafaelcosta.xyz/destination-arguments/navigation-arguments#basics).

Full Changelog: 1.9.56...1.9.57

1.9.56

28 Dec 01:53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.9.55...1.9.56

1.9.55

21 Nov 10:13
09f70d4
Compare
Choose a tag to compare

Versions update:

  • Compose navigation to 2.7.5