Skip to content

Commit ecb4ff4

Browse files
committed
chore: bump version to 1.6.0 and update docs
- Bump version 1.5.0 → 1.6.0 - Add changelog entry for snapshot create instance support - Update README snapshot examples to show new instance-based usage - Update CLAUDE.md CLI parameter patterns to reflect snapshot create changes https://claude.ai/code/session_018cz4V49XUdte4NBJfGR21S
1 parent 0b6accc commit ecb4ff4

4 files changed

Lines changed: 28 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.6.0] - 2026-04-12
10+
11+
### Added
12+
- **Snapshot from instance**: `snapshot create` now accepts an instance name to auto-detect and snapshot all attached volumes, with optional `--device` filter to target a specific volume
13+
- **Partial failure handling**: Multi-volume snapshot creation continues on per-volume errors and reports a summary of successes and failures
14+
15+
### Changed
16+
- `snapshot create` now accepts instance name as a positional argument (alternative to `--volume-id`)
17+
- `get_volume_ids` refactored to delegate to new `get_volumes_for_instance` utility
18+
919
## [1.4.0] - 2026-01-26
1020

1121
### Added

CLAUDE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ instance_name: str | None = typer.Argument(None, help="Instance name")
7777
```
7878
Then resolve with: `resolve_instance_or_exit(instance_name)` which falls back to the configured default instance.
7979

80-
**Used in**: `instance.py` (status, start, stop, connect, exec, type, terminate), `ami.py` (create), `snapshot.py` (list), `volume.py` (list)
80+
**Used in**: `instance.py` (status, start, stop, connect, exec, type, terminate), `ami.py` (create), `snapshot.py` (create, list), `volume.py` (list)
8181

8282
#### 2. Required Arguments
8383
For commands where a value must always be provided:
@@ -89,13 +89,12 @@ The `...` makes the argument required with no default.
8989
**Used in**: `ami.py` (template-versions, template-info)
9090

9191
#### 3. Required Options
92-
For commands needing multiple required values that aren't positional:
92+
For commands needing required values that aren't positional:
9393
```python
94-
volume_id: str = typer.Option(..., "--volume-id", "-v", help="Volume ID (required)")
9594
name: str = typer.Option(..., "--name", "-n", help="Snapshot name (required)")
9695
```
9796

98-
**Used in**: `snapshot.py` (create)
97+
**Used in**: `snapshot.py` (create: `--name`)
9998

10099
#### 4. Optional Arguments with Interactive Prompts
101100
For commands where selection from available resources is needed:

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,22 @@ Resize an EBS volume:
281281
remote volume resize my-instance --size 100
282282
```
283283

284-
Create a snapshot:
284+
Create snapshots for all volumes attached to an instance:
285285

286286
```bash
287-
remote snapshot create vol-12345678
287+
remote snapshot create my-instance -n my-snapshot
288+
```
289+
290+
Snapshot a specific device:
291+
292+
```bash
293+
remote snapshot create my-instance --device /dev/sdf -n my-snapshot
294+
```
295+
296+
Snapshot a specific volume by ID:
297+
298+
```bash
299+
remote snapshot create -v vol-12345678 -n my-snapshot
288300
```
289301

290302
List snapshots:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "remotepy"
3-
version = "1.5.0"
3+
version = "1.6.0"
44
description = "CLI tool for managing AWS EC2 instances, ECS services, and related resources"
55
authors = [{name = "Matthew Upson", email = "matt@mattupson.com"}]
66
license = {text = "MIT License"}

0 commit comments

Comments
 (0)