Skip to content

Commit 655b3a0

Browse files
committed
[release/v1.6.0]: Merge remote-tracking branch 'origin/centril/js-is-beta' into release/v1.6.0
2 parents b874a22 + f16a1aa commit 655b3a0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

crates/cli/src/subcommands/publish.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ pub async fn exec(mut config: Config, args: &ArgMatches) -> Result<(), anyhow::E
212212
// Set the host type.
213213
builder = builder.query(&[("host_type", host_type)]);
214214

215+
// JS/TS is beta quality atm.
216+
if host_type == "Js" {
217+
println!("JavaScript / TypeScript support is currently in BETA.");
218+
println!("There may be bugs. Please file issues if you encounter any.");
219+
println!("<https://github.com/clockworklabs/SpacetimeDB/issues/new>");
220+
}
221+
215222
let res = builder.body(program_bytes).send().await?;
216223
if res.status() == StatusCode::UNAUTHORIZED && !anon_identity {
217224
// If we're not in the `anon_identity` case, then we have already forced the user to log in above (using `get_auth_header`), so this should be safe to unwrap.

0 commit comments

Comments
 (0)