Releases: hfhbd/routing-compose
Compose 1.1.0 Support
What's Changed
- Test: Match route when available after update by @hfhbd in #126
- Create FUNDING.yml by @hfhbd in #134
- Bump org.jetbrains.compose from 1.0.1 to 1.1.0 by @dependabot in #135
Full Changelog: v0.1.7...v0.1.8
Fix: Match route when available after update
What's Changed
Full Changelog: v0.1.6...v0.1.7
BrowserRouter: Add missing query parameter support
v0.1.5 HashRouter: Support empty path
What's Changed
Full Changelog: v0.1.4...v0.1.5
Relax slash usage in NavBuilder and Compose 1.0.1-rc2
What's Changed
- Bump multiplatform from 1.5.31 to 1.6.10 by @dependabot in #102
- Relax slash requirement in routes by @hfhbd in #115
Full Changelog: v0.1.3...v0.1.4
Compose 1.0
What's Changed
- Bump org.jetbrains.compose 1.0.0 by @dependabot in #114
Full Changelog: v0.1.2...v0.1.3
Add query parameters
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`
What's Changed
- Rename const back to route by @hfhbd in #105
- Bump org.jetbrains.compose to 1.0.0-beta6-dev464 by @dependabot in #103
Full Changelog: v0.1.0...v0.1.1
Support Dynamic Routing
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
v0.0.31 Bump org.jetbrains.compose from 1.0.0-alpha4-build348 to 1.0.0-alpha4…