Skip to content

Releases: hfhbd/routing-compose

Fix: Match route when available after update

30 Jan 00:52
bc5f68d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.6...v0.1.7

BrowserRouter: Add missing query parameter support

24 Jan 18:39
2ef2570
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.5...v0.1.6

v0.1.5 HashRouter: Support empty path

23 Dec 00:37
916503b
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: v0.1.4...v0.1.5

Relax slash usage in NavBuilder and Compose 1.0.1-rc2

14 Dec 17:31
147edc9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

Compose 1.0

02 Dec 00:35
b5702a3
Compare
Choose a tag to compare
Compose 1.0 Pre-release
Pre-release

What's Changed

Full Changelog: v0.1.2...v0.1.3

Add query parameters

22 Nov 20:54
d2cd5ca
Compare
Choose a tag to compare
Add query parameters Pre-release
Pre-release

What's Changed

route("users") {
    val param: Map<String, List<String>>? = this.parameters?.map // null, if no parameters were send
}
  • Bump org.jetbrains.compose from 1.0.0-beta6-dev464 to 1.0.0-beta6-dev474 by @dependabot in #107

Full Changelog: v0.1.1...v0.1.2

Return of `route`

21 Nov 09:01
7f27c79
Compare
Choose a tag to compare
Return of `route` Pre-release
Pre-release

What's Changed

Full Changelog: v0.1.0...v0.1.1

Support Dynamic Routing

09 Nov 01:23
73ca5e6
Compare
Choose a tag to compare
Pre-release

This version allows you to use dynamic routing:

route("foo") {
    if(something) {
        int {
            Text("something $it")
        }
    } 
    noMatch {
        Text("Enable something first")
    }
}

This feature is provided by native @Compose support.
What does it mean? You can now use normal @Compose functions right in your routing code, no more Lazy<Int> and .value usages.
And of course, a header or a footer is now simpler to use as before: directly in the route body.

Also, the function names did change: there is no confusing intRoute and int (parameter), just int.

There is no need for noMatch either, if it is not provided, you don't get an error anymore!

At always, you can try out the sample at: https://routing.softwork.app

Bump Compose to 362

28 Sep 08:45
16a8162
Compare
Choose a tag to compare
Bump Compose to 362 Pre-release
Pre-release
v0.0.31

Bump org.jetbrains.compose from 1.0.0-alpha4-build348 to 1.0.0-alpha4…

Bumps Compose to 1.0.0-alpha4-build348

14 Sep 20:58
d0f155f
Compare
Choose a tag to compare
Pre-release
Bump org.jetbrains.compose (#75)

Bumps org.jetbrains.compose from 1.0.0-alpha4-build344 to 1.0.0-alpha4-build348.

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>