Skip to content

Commit a2c96ee

Browse files
authored
Merge pull request #11 from OneNoted/release-0-6-0-prep
chore: prepare 0.6.0 release
2 parents c2beb62 + 849fed0 commit a2c96ee

24 files changed

Lines changed: 4521 additions & 707 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ resolver = "2"
1717
[workspace.package]
1818
edition = "2024"
1919
homepage = "https://github.com/OneNoted/taskers"
20-
license = "MIT OR Apache-2.0"
20+
license = "MIT"
2121
repository = "https://github.com/OneNoted/taskers"
22-
version = "0.5.0"
22+
version = "0.6.0"
2323

2424
[workspace.dependencies]
2525
adw = { package = "libadwaita", version = "0.9.1" }
@@ -46,13 +46,13 @@ ureq = "2.12.1"
4646
uuid = { version = "1.22.0", features = ["serde", "v7"] }
4747
webkit6 = { version = "0.6.1", features = ["v2_50"] }
4848
xz2 = "0.1"
49-
taskers-core = { version = "0.5.0", path = "crates/taskers-core" }
50-
taskers-cli = { version = "0.5.0", path = "crates/taskers-cli" }
51-
taskers-control = { version = "0.5.0", path = "crates/taskers-control" }
52-
taskers-domain = { version = "0.5.0", path = "crates/taskers-domain" }
53-
taskers-ghostty = { version = "0.5.0", path = "crates/taskers-ghostty" }
54-
taskers-host = { version = "0.5.0", path = "crates/taskers-host" }
55-
taskers-paths = { version = "0.5.0", path = "crates/taskers-paths" }
56-
taskers-runtime = { version = "0.5.0", path = "crates/taskers-runtime" }
57-
taskers-shell = { version = "0.5.0", path = "crates/taskers-shell" }
58-
taskers-shell-core = { version = "0.5.0", path = "crates/taskers-shell-core" }
49+
taskers-core = { version = "0.6.0", path = "crates/taskers-core" }
50+
taskers-cli = { version = "0.6.0", path = "crates/taskers-cli" }
51+
taskers-control = { version = "0.6.0", path = "crates/taskers-control" }
52+
taskers-domain = { version = "0.6.0", path = "crates/taskers-domain" }
53+
taskers-ghostty = { version = "0.6.0", path = "crates/taskers-ghostty" }
54+
taskers-host = { version = "0.6.0", path = "crates/taskers-host" }
55+
taskers-paths = { version = "0.6.0", path = "crates/taskers-paths" }
56+
taskers-runtime = { version = "0.6.0", path = "crates/taskers-runtime" }
57+
taskers-shell = { version = "0.6.0", path = "crates/taskers-shell" }
58+
taskers-shell-core = { version = "0.6.0", path = "crates/taskers-shell-core" }

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Jonatan Jonasson
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

crates/taskers-app/src/linux_install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ mod tests {
487487
let launcher = PathBuf::from("/home/notes/.cargo/bin/taskers");
488488
let release_root = temp.path().join("releases");
489489
let release_exec = release_root
490-
.join("0.5.0")
490+
.join("0.6.0")
491491
.join("x86_64-unknown-linux-gnu")
492492
.join("bin")
493493
.join("taskers-gtk");

crates/taskers-app/src/main.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ struct TaskersConfig {
145145
selected_shortcut_preset: String,
146146
#[serde(default)]
147147
notification_preferences: NotificationPreferencesConfig,
148+
#[serde(default = "default_true")]
149+
render_live_surfaces_in_overview: bool,
148150
#[serde(default)]
149151
embedded_terminal_appearance: EmbeddedTerminalAppearance,
150152
}
@@ -167,6 +169,7 @@ impl Default for TaskersConfig {
167169
selected_theme_id: default_theme_id(),
168170
selected_shortcut_preset: default_shortcut_preset_id(),
169171
notification_preferences: NotificationPreferencesConfig::default(),
172+
render_live_surfaces_in_overview: true,
170173
embedded_terminal_appearance: EmbeddedTerminalAppearance::Taskers,
171174
}
172175
}
@@ -278,6 +281,7 @@ impl TaskersConfig {
278281
notification_preferences: NotificationPreferencesConfig::from_snapshot(
279282
settings.notification_preferences,
280283
),
284+
render_live_surfaces_in_overview: settings.render_live_surfaces_in_overview,
281285
embedded_terminal_appearance: current.embedded_terminal_appearance,
282286
}
283287
}
@@ -1072,6 +1076,7 @@ mod config_tests {
10721076
alerts_on_completed: true,
10731077
suppress_when_visible: false,
10741078
},
1079+
render_live_surfaces_in_overview: false,
10751080
};
10761081

10771082
let next = TaskersConfig::from_settings(&settings, &current);
@@ -1085,6 +1090,7 @@ mod config_tests {
10851090
next.notification_preferences,
10861091
NotificationPreferencesConfig::from_snapshot(settings.notification_preferences)
10871092
);
1093+
assert!(!next.render_live_surfaces_in_overview);
10881094
}
10891095
}
10901096

@@ -1295,6 +1301,7 @@ fn bootstrap_runtime(
12951301
selected_theme_id: config.selected_theme_id.clone(),
12961302
selected_shortcut_preset: config.shortcut_preset(),
12971303
notification_preferences: config.notification_preferences.to_snapshot(),
1304+
render_live_surfaces_in_overview: config.render_live_surfaces_in_overview,
12981305
});
12991306

13001307
log_runtime_status(diagnostics, &core.snapshot().runtime_status);
@@ -1500,6 +1507,7 @@ fn run_internal_surface_probe(
15001507
selected_theme_id,
15011508
selected_shortcut_preset,
15021509
notification_preferences,
1510+
render_live_surfaces_in_overview: config.render_live_surfaces_in_overview,
15031511
});
15041512
core.set_window_size(PixelSize::new(
15051513
GHOSTTY_PROBE_WINDOW_SIZE_PX,
@@ -2480,7 +2488,7 @@ mod startup_tests {
24802488
#[test]
24812489
fn launcher_bundle_binary_does_not_use_dev_diagnostics() {
24822490
assert!(!looks_like_dev_install(Path::new(
2483-
"/home/notes/.local/share/taskers/releases/0.5.0/x86_64-unknown-linux-gnu/taskers-gtk"
2491+
"/home/notes/.local/share/taskers/releases/0.6.0/x86_64-unknown-linux-gnu/taskers-gtk"
24842492
)));
24852493
}
24862494

crates/taskers-cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ clap.workspace = true
1818
serde_json.workspace = true
1919
time.workspace = true
2020
tokio.workspace = true
21-
taskers-control = { version = "0.5.0", path = "../taskers-control" }
22-
taskers-domain = { version = "0.5.0", path = "../taskers-domain" }
21+
taskers-control = { version = "0.6.0", path = "../taskers-control" }
22+
taskers-domain = { version = "0.6.0", path = "../taskers-domain" }
2323
taskers-paths.workspace = true
24-
taskers-runtime = { version = "0.5.0", path = "../taskers-runtime" }
24+
taskers-runtime = { version = "0.6.0", path = "../taskers-runtime" }

crates/taskers-cli/src/lib.rs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,27 @@ struct Cli {
3131
command: Command,
3232
}
3333

34+
fn parse_boolish(value: &str) -> Result<bool, String> {
35+
match value.trim().to_ascii_lowercase().as_str() {
36+
"true" | "1" | "yes" | "on" => Ok(true),
37+
"false" | "0" | "no" | "off" => Ok(false),
38+
_ => Err(format!("invalid boolean value: {value}")),
39+
}
40+
}
41+
42+
#[cfg(test)]
43+
mod bool_parse_tests {
44+
use super::parse_boolish;
45+
46+
#[test]
47+
fn parse_boolish_accepts_numeric_and_text_booleans() {
48+
assert_eq!(parse_boolish("1"), Ok(true));
49+
assert_eq!(parse_boolish("0"), Ok(false));
50+
assert_eq!(parse_boolish("true"), Ok(true));
51+
assert_eq!(parse_boolish("false"), Ok(false));
52+
}
53+
}
54+
3455
#[derive(Debug, Subcommand)]
3556
enum Command {
3657
Serve {
@@ -66,7 +87,7 @@ enum Command {
6687
branch: Option<String>,
6788
#[arg(long)]
6889
agent: Option<String>,
69-
#[arg(long)]
90+
#[arg(long, value_parser = parse_boolish)]
7091
agent_active: Option<bool>,
7192
#[arg(long)]
7293
command: Option<String>,

crates/taskers-control/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ thiserror.workspace = true
1717
tokio.workspace = true
1818
uuid.workspace = true
1919
taskers-paths.workspace = true
20-
taskers-domain = { version = "0.5.0", path = "../taskers-domain" }
20+
taskers-domain = { version = "0.6.0", path = "../taskers-domain" }
2121

2222
[dev-dependencies]
2323
tempfile.workspace = true

crates/taskers-control/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub use protocol::{
1313
ControlQuery, ControlResponse, IdentifyContext, IdentifyResult, RequestFrame, ResponseFrame,
1414
ScreenshotCommand, ScreenshotResult, ScreenshotTarget, ScreenshotTargetResult,
1515
TerminalDebugCommand, TerminalDebugResult, TerminalRenderStats, VcsCommand, VcsCommandResult,
16-
VcsFileEntry, VcsFileStatus, VcsMode, VcsPullRequestInfo, VcsRefEntry, VcsSnapshot,
16+
VcsCommitEntry, VcsFileEntry, VcsFileStatus, VcsMode, VcsPullRequestInfo, VcsRefEntry,
17+
VcsSnapshot,
1718
};
1819
pub use socket::{bind_socket, serve, serve_with_handler};

0 commit comments

Comments
 (0)