Skip to content

Commit ceca2b6

Browse files
Merge pull request #43 from joshrotenberg/release/v0.2.0
chore: Release v0.2.0
2 parents fa4358a + f5370bd commit ceca2b6

File tree

9 files changed

+163
-27
lines changed

9 files changed

+163
-27
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,8 @@ jobs:
4444
- name: Run tests
4545
run: cargo test --workspace --all-features
4646

47-
- name: Build all binaries
48-
run: |
49-
cargo build --release --bin redisctl
50-
cargo build --release --features cloud-only --bin redis-cloud
51-
cargo build --release --features enterprise-only --bin redis-enterprise
47+
- name: Build binary
48+
run: cargo build --release --bin redisctl
5249

5350
coverage:
5451
name: Code Coverage

.mdbook-lint.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# mdbook-lint configuration for redisctl documentation
2+
# https://github.com/joshrotenberg/mdbook-lint
3+
4+
# Temporarily disable rules with known issues
5+
disabled-rules = [
6+
"MDBOOK010", # Math block detection - false positives with $ in shell code blocks (issue #141)
7+
"MDBOOK005", # Orphaned files - incorrectly checking outside src directory (issue #142)
8+
"MDBOOK002", # Internal link validation - false positives with existing files
9+
]
10+
11+
# Don't fail the build on warnings or errors during initial setup
12+
fail-on-warnings = false
13+
fail-on-errors = false
14+
15+
# Configure specific rules
16+
[rules.MD013]
17+
# Allow longer lines for code examples and CLI output
18+
line_length = 120
19+
20+
[rules.MD024]
21+
# Allow duplicate headings in different sections
22+
enabled = true
23+
24+
[rules.MD041]
25+
# Require first line to be a heading
26+
enabled = true
27+
28+
# Future configuration options when issues are resolved:
29+
# [rules.MDBOOK005]
30+
# search-path = "src" # Only check within src directory
31+
#
32+
# [rules.MDBOOK010]
33+
# skip-code-blocks = true # Skip math detection in code blocks

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
]
88

99
[workspace.package]
10-
version = "0.1.0"
10+
version = "0.2.0"
1111
edition = "2024"
1212
rust-version = "1.89"
1313
authors = ["Josh Rotenberg <[email protected]>"]

crates/redis-cloud/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redis-cloud"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true

crates/redis-enterprise/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redis-enterprise"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true

crates/redisctl/CHANGELOG.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
# Changelog
22

33
All notable changes to this project will be documented in this file.
4-
<!-- generated by git-cliff -->
5-
<!-- generated by git-cliff -->
6-
<!-- generated by git-cliff -->
4+
5+
## [0.2.0] - 2025-08-29
6+
7+
### Added
8+
- **Interactive Setup Wizard** (`redisctl auth setup`) - Guided configuration for new users
9+
- **Authentication Testing** (`redisctl auth test`) - Verify credentials before use
10+
- **Configuration Management Commands**:
11+
- `redisctl config show` - Display current configuration and active profile
12+
- `redisctl config path` - Show configuration file location
13+
- `redisctl config validate` - Validate profile configurations
14+
- **Environment Variable Standardization**:
15+
- `REDISCTL_PROFILE` - Set active profile
16+
- `REDIS_CLOUD_API_KEY` / `REDIS_CLOUD_API_SECRET` - Cloud credentials
17+
- `REDIS_ENTERPRISE_URL` / `REDIS_ENTERPRISE_USER` / `REDIS_ENTERPRISE_PASSWORD` - Enterprise credentials
18+
- `REDIS_ENTERPRISE_INSECURE` - Skip SSL verification
19+
20+
### Changed
21+
- Authentication now works without any configuration file (environment variables only)
22+
- Improved error messages with actionable suggestions
23+
- Better SSL certificate handling for Enterprise deployments
24+
25+
### Fixed
26+
- Docker image publishing workflow
27+
- Configuration priority handling
28+
- Enterprise authentication with self-signed certificates
29+
30+
### Removed
31+
- Optional redis-cloud and redis-enterprise binaries (use unified redisctl binary)
32+
33+
## [0.1.1] - 2025-08-20
34+
35+
### Initial Release
36+
- Unified CLI for Redis Cloud and Enterprise
37+
- Smart command routing based on deployment type
38+
- Profile-based configuration management
39+
- Support for all Redis Cloud and Enterprise REST API endpoints

crates/redisctl/Cargo.toml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "redisctl"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
@@ -15,20 +15,9 @@ readme = "../../README.md"
1515
name = "redisctl"
1616
path = "src/main.rs"
1717

18-
# Optional feature-gated binaries for deployment-specific builds
19-
[[bin]]
20-
name = "redis-cloud"
21-
path = "src/cloud_bin.rs"
22-
required-features = ["cloud-only"]
23-
24-
[[bin]]
25-
name = "redis-enterprise"
26-
path = "src/enterprise_bin.rs"
27-
required-features = ["enterprise-only"]
28-
2918
[dependencies]
30-
redis-cloud = { version = "0.1.1", path = "../redis-cloud" }
31-
redis-enterprise = { version = "0.1.1", path = "../redis-enterprise" }
19+
redis-cloud = { version = "0.1.2", path = "../redis-cloud" }
20+
redis-enterprise = { version = "0.1.2", path = "../redis-enterprise" }
3221

3322
# CLI dependencies
3423
clap = { workspace = true }
@@ -59,8 +48,6 @@ default = ["full"]
5948
full = ["cloud", "enterprise"]
6049
cloud = []
6150
enterprise = []
62-
cloud-only = ["cloud"]
63-
enterprise-only = ["enterprise"]
6451

6552
[dev-dependencies]
6653
assert_cmd = "2.0"

docs/full-config.toml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
enabled-categories = []
2+
disabled-categories = []
3+
enabled-rules = [
4+
'MD001',
5+
'MD002',
6+
'MD003',
7+
'MD004',
8+
'MD005',
9+
'MD006',
10+
'MD007',
11+
'MD009',
12+
'MD010',
13+
'MD011',
14+
'MD012',
15+
'MD013',
16+
'MD014',
17+
'MD018',
18+
'MD019',
19+
'MD020',
20+
'MD021',
21+
'MD022',
22+
'MD023',
23+
'MD024',
24+
'MD025',
25+
'MD026',
26+
'MD027',
27+
'MD028',
28+
'MD029',
29+
'MD030',
30+
'MD031',
31+
'MD032',
32+
'MD033',
33+
'MD034',
34+
'MD035',
35+
'MD036',
36+
'MD037',
37+
'MD038',
38+
'MD039',
39+
'MD040',
40+
'MD041',
41+
'MD042',
42+
'MD043',
43+
'MD044',
44+
'MD045',
45+
'MD046',
46+
'MD047',
47+
'MD048',
48+
'MD049',
49+
'MD050',
50+
'MD051',
51+
'MD052',
52+
'MD053',
53+
'MD054',
54+
'MD055',
55+
'MD056',
56+
'MD058',
57+
'MD059',
58+
'MDBOOK001',
59+
'MDBOOK002',
60+
'MDBOOK003',
61+
'MDBOOK004',
62+
'MDBOOK005',
63+
'MDBOOK006',
64+
'MDBOOK007',
65+
'MDBOOK008',
66+
'MDBOOK009',
67+
'MDBOOK010',
68+
'MDBOOK011',
69+
'MDBOOK012',
70+
'MDBOOK025',
71+
]
72+
disabled-rules = []
73+
deprecated-warning = 'warn'
74+
markdownlint-compatible = false
75+
fail-on-warnings = false
76+
fail-on-errors = true
77+
malformed-markdown = 'warn'

docs/temp-config.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
enabled-categories = []
2+
disabled-categories = []
3+
enabled-rules = []
4+
disabled-rules = []
5+
deprecated-warning = 'warn'
6+
markdownlint-compatible = false
7+
fail-on-warnings = false
8+
fail-on-errors = true
9+
malformed-markdown = 'warn'

0 commit comments

Comments
 (0)