Skip to content

Commit 820c2d3

Browse files
authored
Prepare release 2.1.0 (#56)
Update Rust dependencies (toml 1.1, toml_edit 0.25, tokio 1.51, clap 4.6, serde 1.0.228) and add 12 docker compose commands (attach, bridge, commit, config, cp, export, publish, scale, stats, version, volumes, wait), bringing total compose command coverage from 23 to 35. Also bumps Grafana to 13.0.0 and Loki/Promtail to 3.6.10 in the collection starter pack.
1 parent d376950 commit 820c2d3

9 files changed

Lines changed: 773 additions & 66 deletions

File tree

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Changelog
22

3+
## 2.1.0 release (2026-04-14)
4+
5+
### New Features
6+
* **12 new docker compose commands**: CLI now wraps 35 compose commands (up from 23)
7+
* `attach` - Attach stdin/stdout/stderr to a running container
8+
* `bridge` - Convert compose files into another model
9+
* `commit` - Create a new image from a service container's changes
10+
* `config` - Parse, resolve and render compose file in canonical format
11+
* `cp` - Copy files/folders between a service container and the local filesystem
12+
* `export` - Export a service container's filesystem as a tar archive
13+
* `publish` - Publish compose application
14+
* `scale` - Scale services
15+
* `stats` - Display a live stream of container resource usage statistics
16+
* `version` - Show the Docker Compose version information
17+
* `volumes` - List volumes
18+
* `wait` - Block until containers of all (or specified) services stop
19+
20+
### Dependency Updates
21+
* `tokio` 1.49.0 → 1.51.1
22+
* `clap` 4.5.60 → 4.6.0
23+
* `clap_complete` 4.5.66 → 4.6.2
24+
* `toml` 0.9.12 → 1.1 (major)
25+
* `toml_edit` 0.23.9 → 0.25 (major)
26+
* `anyhow` → 1.0.102
27+
28+
### Collection Updates
29+
* Grafana 12.4.0 → 13.0.0
30+
* Loki / Promtail 3.6.7 → 3.6.10
31+
32+
### Tests
33+
* 196 unit tests (up from 171)
34+
335
## 2.0.1 release (2026-03-01)
436

537
* Update libraries (deps).

cli/CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ Key test files:
164164
- `utils/docker.rs` - Command preparation tests
165165
- `utils/system_tests.rs` - System execution tests
166166

167-
Total: **148 unit tests**
167+
Total: **196 unit tests**
168168

169169
### Supported Docker Compose Commands
170170

171-
All 24 docker compose commands are supported:
172-
`build`, `config`, `create`, `down`, `events`, `exec`, `images`, `kill`, `logs`, `ls`, `pause`, `port`, `ps`, `pull`, `push`, `restart`, `rm`, `run`, `start`, `stop`, `top`, `unpause`, `up`, `watch`
171+
All 35 docker compose commands are supported:
172+
`attach`, `bridge`, `build`, `commit`, `config`, `cp`, `create`, `down`, `events`, `exec`, `export`, `images`, `kill`, `logs`, `ls`, `pause`, `port`, `ps`, `publish`, `pull`, `push`, `restart`, `rm`, `run`, `scale`, `start`, `stats`, `stop`, `top`, `unpause`, `up`, `version`, `volumes`, `wait`, `watch`
173173

174174
### CLI-specific Commands
175175

cli/Cargo.lock

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

cli/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "dctl"
3-
version = "2.0.1"
3+
version = "2.1.0"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
tokio = { version = "1.49.0", features = ["macros", "rt-multi-thread", "process"] }
9+
tokio = { version = "1.51.1", features = ["macros", "rt-multi-thread", "process"] }
1010
async-trait = { version = "0.1.89" }
11-
anyhow = { version = "1.0" }
12-
clap = { version = "4.5.60", features = ["cargo"] }
13-
clap_complete = { version = "4.5.66" }
14-
toml = { version = "0.9.12" }
11+
anyhow = { version = "1.0.102" }
12+
clap = { version = "4.6.0", features = ["cargo"] }
13+
clap_complete = { version = "4.6.2" }
14+
toml = { version = "1.1" }
1515
dotenvy = { version = "0.15.7" }
1616
serde = { version = "1.0.228", features = ["derive"] }
1717
serde_json = { version = "1.0.149" }
@@ -20,7 +20,7 @@ tabled = { version = "0.20.0" }
2020
mockall = { version = "0.14.0" }
2121
version = { version = "3.0.0" }
2222
futures = { version = "0.3" }
23-
toml_edit = { version = "0.23.9" }
23+
toml_edit = { version = "0.25" }
2424

2525
[profile.release]
2626
lto = "thin"

0 commit comments

Comments
 (0)