Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.0.8 (2026-06-29)

### Features

- Set a `stackql-deploy/{version}` User-Agent on the stackql binary download client (and the template-scaffolding client used by `init`).

## 2.0.7 (2026-04-19)

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stackql-deploy"
version = "2.0.7"
version = "2.0.8"
edition = "2021"
rust-version = "1.75"
description = "Infrastructure-as-code framework for declarative cloud resource management using StackQL"
Expand Down
5 changes: 4 additions & 1 deletion src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ fn validate_provider(provider: Option<&str>) -> String {

/// Fetches template content from a given URL.
fn fetch_template(url: &str) -> Result<String, String> {
let client = Client::new();
let client = Client::builder()
.user_agent(concat!("stackql-deploy/", env!("CARGO_PKG_VERSION")))
.build()
.map_err(|e| format!("Failed to create HTTP client: {}", e))?;
let response = client
.get(url)
.send()
Expand Down
1 change: 1 addition & 0 deletions src/utils/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ pub fn download_binary() -> Result<PathBuf, AppError> {
// Download the file with progress bar
debug!("Downloading from {}", download_url);
let client = Client::builder()
.user_agent(concat!("stackql-deploy/", env!("CARGO_PKG_VERSION")))
.timeout(std::time::Duration::from_secs(300))
.build()
.map_err(|e| AppError::CommandFailed(format!("Failed to create HTTP client: {}", e)))?;
Expand Down
Loading