You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.5.0] - 2025-10-10
11
+
10
12
### Added
13
+
-**Debug logging** - Added detailed debug logs for performance profiling of stack parsing, esbuild bundling, and secret resolution. Enable with `log_level: debug` in config or `COMET_LOG_LEVEL=debug` environment variable.
14
+
-**Configuration documentation** - New comprehensive configuration guide in website docs covering all options, environment variables, and performance considerations.
11
15
-**`comet types` command** - Generate TypeScript definitions for IDE support on-demand
-**Performance warning for config-based secrets** - Added warning when using `op://` or `sops://` references in `comet.yaml` env section, as these are resolved on every command and can add 3-5 seconds. Documentation now recommends setting frequently-used secrets in shell environment instead.
17
22
- TypeScript definitions are now opt-in via `comet types` instead of auto-generated
18
23
19
24
### Added
20
-
-**Config-based environment variables** - Pre-load environment variables from `comet.yaml` before any command runs. Perfect for setting `SOPS_AGE_KEY` and other secrets needed during stack parsing. Supports secret resolution via `op://` and `sops://` prefixes. Shell environment variables take precedence.
25
+
-**Config-based environment variables** - Pre-load environment variables from `comet.yaml` before any command runs. Perfect for setting `SOPS_AGE_KEY` and other secrets needed during stack parsing. Supports secret resolution via `op://` and `sops://` prefixes. Shell environment variables take precedence. ⚠️ **Note:** Secret resolution can be slow (3-5s per secret with 1Password CLI); consider setting in shell for frequently-used values.
21
26
-**`comet init` command** - Initialize backends and providers without running plan/apply operations. Useful for read-only operations like `comet output` or troubleshooting provider/backend initialization issues.
22
27
-**DSL Improvements** - Two core enhancements to reduce boilerplate by ~30%:
23
28
- Bulk environment variables: `envs({})` accepts objects to set multiple vars at once
@@ -58,5 +63,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Copy file name to clipboardExpand all lines: README.md
+22-4Lines changed: 22 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -381,19 +381,37 @@ Pre-load environment variables before any command runs. Perfect for secrets need
381
381
```yaml
382
382
# comet.yaml
383
383
env:
384
-
# Load SOPS AGE key from 1Password (or other secret manager)
385
-
SOPS_AGE_KEY: op://ci-cd/sops-age-key/private
386
-
387
-
# Plain values work too
384
+
# Plain values - fast and simple
388
385
TF_LOG: DEBUG
389
386
AWS_REGION: us-west-2
387
+
388
+
# Secret references - convenient but SLOW (3-5s per secret on every command)
389
+
# SOPS_AGE_KEY: op://ci-cd/sops-age-key/private # ⚠️ Adds ~4s to EVERY command
390
390
```
391
391
392
392
**Features:**
393
393
- Supports `op://` (1Password) and `sops://` secret resolution
394
394
- Shell environment variables take precedence
395
395
- Loaded before stack parsing begins
396
396
397
+
**⚠️ Performance Warning:**
398
+
399
+
Secret references (`op://`, `sops://`) are resolved on **EVERY** comet command (plan, apply, list, etc.), which can add 3-5 seconds due to CLI overhead.
400
+
401
+
**Recommended approach for frequently-used secrets:**
0 commit comments