Skip to content

Commit d739344

Browse files
committed
chore: bump Datastar to v1.0.0-RC.8
1 parent 454a18b commit d739344

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ interactions. Follows the
937937
[SDK ADR](https://github.com/starfederation/datastar/blob/develop/sdk/ADR.md).
938938

939939
Use `--datastar` to serve the embedded JS bundle at `$DATASTAR_JS_PATH`
940-
(`/[email protected].7.js`) with immutable cache headers:
940+
(`/[email protected].8.js`) with immutable cache headers:
941941

942942
```bash
943943
$ http-nu --datastar :3001 ./serve.nu

src/handler.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ use crate::worker::{spawn_eval_thread, PipelineResult};
2121
type BoxError = Box<dyn std::error::Error + Send + Sync>;
2222
type HTTPResult = Result<hyper::Response<BoxBody<Bytes, BoxError>>, BoxError>;
2323

24-
const DATASTAR_JS_PATH: &str = "/[email protected].7.js";
25-
const DATASTAR_JS: &[u8] = include_bytes!("stdlib/datastar/[email protected].7.js");
26-
const DATASTAR_JS_BROTLI: &[u8] = include_bytes!("stdlib/datastar/[email protected].7.js.br");
24+
const DATASTAR_JS_PATH: &str = "/[email protected].8.js";
25+
const DATASTAR_JS: &[u8] = include_bytes!("stdlib/datastar/[email protected].8.js");
26+
const DATASTAR_JS_BROTLI: &[u8] = include_bytes!("stdlib/datastar/[email protected].8.js.br");
2727

2828
pub struct AppConfig {
2929
pub trusted_proxies: Vec<ipnet::IpNet>,

src/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::request::Request;
1717
type BoxError = Box<dyn std::error::Error + Send + Sync>;
1818

1919
/// Datastar SDK version (matches CDN URL in stdlib)
20-
pub const DATASTAR_VERSION: &str = "1.0-RC.7";
20+
pub const DATASTAR_VERSION: &str = "1.0-RC.8";
2121

2222
/// Startup options to display in preamble
2323
#[derive(Clone, Default)]

src/stdlib/datastar/[email protected]

Lines changed: 0 additions & 8 deletions
This file was deleted.
-10.8 KB
Binary file not shown.

src/stdlib/datastar/[email protected]

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
11.3 KB
Binary file not shown.

src/stdlib/datastar/mod.nu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Pipe output to `to sse` for streaming.
55
# Follows https://github.com/starfederation/datastar/blob/develop/sdk/ADR.md
66

7-
export const DATASTAR_CDN_URL = "https://cdn.jsdelivr.net/gh/starfederation/[email protected].7/bundles/datastar.js"
8-
export const DATASTAR_JS_PATH = "/[email protected].7.js"
7+
export const DATASTAR_CDN_URL = "https://cdn.jsdelivr.net/gh/starfederation/[email protected].8/bundles/datastar.js"
8+
export const DATASTAR_JS_PATH = "/[email protected].8.js"
99

1010
# Patch HTML elements via SSE
1111
#

0 commit comments

Comments
 (0)