diff --git a/.changeset/aws-env-resolver-cache-mapping-hash.md b/.changeset/aws-env-resolver-cache-mapping-hash.md deleted file mode 100644 index 5088956..0000000 --- a/.changeset/aws-env-resolver-cache-mapping-hash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@beesolve/aws-env-resolver": patch ---- - -Fix: the resource cache is invalidated when the resource mapping changes. Previously the cache was keyed only by region, stack names and secret id, so regenerating a config with new env vars kept serving the old cached values (and the new vars were missing) until the 24 hour TTL expired or `--refresh` was passed. The cache file now records a hash of the mapping and a mismatch is a miss. Existing cache files miss once after upgrading. diff --git a/.changeset/aws-env-resolver-docs-one-off-scripts.md b/.changeset/aws-env-resolver-docs-one-off-scripts.md deleted file mode 100644 index f90a223..0000000 --- a/.changeset/aws-env-resolver-docs-one-off-scripts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@beesolve/aws-env-resolver": patch ---- - -Docs: the getting started guide now shows how to run one-off scripts through the resolver instead of `--env-file`, and notes that a missing AWS profile can make the CLI look stuck. diff --git a/packages/aws-env-resolver/CHANGELOG.md b/packages/aws-env-resolver/CHANGELOG.md index d192230..2635c6c 100644 --- a/packages/aws-env-resolver/CHANGELOG.md +++ b/packages/aws-env-resolver/CHANGELOG.md @@ -1,5 +1,12 @@ # @beesolve/aws-env-resolver +## 0.6.1 + +### Patch Changes + +- dc3ade9: Fix: the resource cache is invalidated when the resource mapping changes. Previously the cache was keyed only by region, stack names and secret id, so regenerating a config with new env vars kept serving the old cached values (and the new vars were missing) until the 24 hour TTL expired or `--refresh` was passed. The cache file now records a hash of the mapping and a mismatch is a miss. Existing cache files miss once after upgrading. +- 17066d0: Docs: the getting started guide now shows how to run one-off scripts through the resolver instead of `--env-file`, and notes that a missing AWS profile can make the CLI look stuck. + ## 0.6.0 ### Minor Changes diff --git a/packages/aws-env-resolver/package.json b/packages/aws-env-resolver/package.json index fb17d7d..c62a787 100644 --- a/packages/aws-env-resolver/package.json +++ b/packages/aws-env-resolver/package.json @@ -1,6 +1,6 @@ { "name": "@beesolve/aws-env-resolver", - "version": "0.6.0", + "version": "0.6.1", "description": "Resolve local development environment from CloudFormation and Secrets Manager, cache it, and inject it into a spawned command", "homepage": "https://github.com/BeeSolve/packages/tree/main/packages/aws-env-resolver#readme", "license": "MIT",