Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a2c064d3a | ||
|
|
fe7a868b18 |
@@ -4,6 +4,10 @@ One line per change, grouped by the release that shipped it. Newest
|
|||||||
first. A release is a Cargo.toml bump plus a `v<version>` tag; the
|
first. A release is a Cargo.toml bump plus a `v<version>` tag; the
|
||||||
content repos pin the tag they run (see the end of this file).
|
content repos pin the tag they run (see the end of this file).
|
||||||
|
|
||||||
|
## 0.6.20 (2026-10-05)
|
||||||
|
|
||||||
|
- A releases card lets a platform's file carry an architecture: a Mac visitor is offered the `macos-arm64` file, not sent to TestFlight past it.
|
||||||
|
|
||||||
## 0.6.19 (2026-10-05)
|
## 0.6.19 (2026-10-05)
|
||||||
|
|
||||||
- A `kind: url` resource whose JSON is a releases manifest (`latest`, `versions` with per-platform `assets`, `channels` such as a package repo or TestFlight) renders as a download card: the file for the visitor's own platform first, decided in the browser, the rest and the channels folded. Written for redoal's public releases at dl.redoal.com (docs: content-reference, "A releases manifest").
|
- A `kind: url` resource whose JSON is a releases manifest (`latest`, `versions` with per-platform `assets`, `channels` such as a package repo or TestFlight) renders as a download card: the file for the visitor's own platform first, decided in the browser, the rest and the channels folded. Written for redoal's public releases at dl.redoal.com (docs: content-reference, "A releases manifest").
|
||||||
|
|||||||
Generated
+1
-1
@@ -3357,7 +3357,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "portal"
|
name = "portal"
|
||||||
version = "0.6.19"
|
version = "0.6.20"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "portal"
|
name = "portal"
|
||||||
version = "0.6.19"
|
version = "0.6.20"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|||||||
+2
-1
@@ -2226,7 +2226,8 @@ fn ReleasesCard(manifest: serde_json::Value) -> impl IntoView {
|
|||||||
let p = platform.get()?;
|
let p = platform.get()?;
|
||||||
let arch = arch_for_pick.clone();
|
let arch = arch_for_pick.clone();
|
||||||
let ios = ios_for_pick.clone();
|
let ios = ios_for_pick.clone();
|
||||||
let own = assets_for_pick.iter().find(|(pl, _, _)| pl == p).cloned();
|
// "macos" is satisfied by a "macos-arm64" file, and so on.
|
||||||
|
let own = assets_for_pick.iter().find(|(pl, _, _)| pl == p || pl.starts_with(&format!("{p}-"))).cloned();
|
||||||
let pick: Option<AnyView> = match (p, own) {
|
let pick: Option<AnyView> = match (p, own) {
|
||||||
(_, Some((pl, url, _))) => Some(view! {
|
(_, Some((pl, url, _))) => Some(view! {
|
||||||
<p><a class="pill" href=url download>{t(&lang().get(), "for_this_device")} ": " {label(&pl)}</a></p>
|
<p><a class="pill" href=url download>{t(&lang().get(), "for_this_device")} ": " {label(&pl)}</a></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user