Skip to content

Commit f0d7d01

Browse files
committed
chore: crux_core v0.16.1
1 parent ea6a204 commit f0d7d01

File tree

5 files changed

+65
-4
lines changed

5 files changed

+65
-4
lines changed

Cargo.lock

Lines changed: 40 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crux_core/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
## [0.16.1](https://github.com/redbadger/crux/compare/crux_core-v0.16.0...crux_core-v0.16.1) - 2025-09-01
12+
13+
### 🚀 Features
14+
15+
- adds support for generating foreign types in Kotlin. The generated code is idiomatic and clean (and passes `ktlint` checks). Using Kotlin instead of Java can be more ergonomic with, for example, exhaustive `when` statements for enums.
16+
- crux_core/command: Keep Command pending if a context is alive [#423](https://github.com/redbadger/crux/pull/423)
17+
- impl Clone for RequestHandle to allow streaming responses from middleware [#424](https://github.com/redbadger/crux/pull/424)
18+
- crux_core/command: Clear spawn_queue when a command is aborted [#425](https://github.com/redbadger/crux/pull/425)
19+
- Updated Android projects in examples. Includes newer dependencies and updating gradle files in `counter-next` to Kotlin.
20+
1121
## [0.16.0](https://github.com/redbadger/crux/compare/crux_core-v0.15.0...crux_core-v0.16.0) - 2025-07-31
1222

1323
### 🚀 Features

crux_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "crux_core"
3-
version = "0.16.0"
3+
version = "0.16.1"
44
authors.workspace = true
55
edition.workspace = true
66
rust-version.workspace = true

xtask/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ rust-version.workspace = true
1313
anyhow.workspace = true
1414
cargo_metadata = "0.22.0"
1515
clap = { version = "4.5.45", features = ["derive"] }
16+
dialoguer = "0.12.0"
1617
human-repr = "1.1.0"
1718
ignore = "0.4.23"
1819
xshell = "0.2.7"

xtask/src/publish.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::collections::HashMap;
33
use anyhow::{Result, bail};
44
use cargo_metadata::{Metadata, MetadataCommand};
55
use clap::Args;
6+
use dialoguer::Confirm;
67
use xshell::cmd;
78

89
use crate::Context;
@@ -11,7 +12,7 @@ const CARGO: &str = crate::CARGO;
1112

1213
// in order for publishing
1314
const PACKAGES: &[&str] = &[
14-
// "crux_cli",
15+
"crux_cli",
1516
"crux_macros",
1617
"crux_core",
1718
"crux_http",
@@ -49,6 +50,17 @@ impl Publish {
4950
for pkg in packages {
5051
let version = &versions[pkg];
5152
let tag = format!("{pkg}-v{version}");
53+
54+
let confirmation = Confirm::new()
55+
.with_prompt(format!("Publish {tag}?"))
56+
.interact()?;
57+
58+
if !confirmation {
59+
println!("{pkg} aborted");
60+
println!();
61+
continue;
62+
}
63+
5264
let _dir = ctx.push_dir(pkg);
5365
if self.tag_only {
5466
println!("Creating tag {tag}...");

0 commit comments

Comments
 (0)