Skip to content

Commit 8fb6329

Browse files
chore: version packages [skip ci]
1 parent 1f1287e commit 8fb6329

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.changeset/stale-placeholder-config-json.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @aws-blocks/core
22

3+
## 0.1.15
4+
5+
### Patch Changes
6+
7+
- 1f1287e: Never serve a stale placeholder `config.json` after a deploy. The build-time placeholder (`{"_placeholder":true}`) was uploaded with the 1-year mutable cache-control (`public, s-maxage=31536000, max-age=0, must-revalidate`), and the post-deploy CloudFront invalidation targeted `/.blocks-sandbox/*` — which never matches the real cache key, because the skew-protection viewer-request function rewrites the URI to `/builds/<buildId>/.blocks-sandbox/config.json` before the cache lookup. An edge that cached the placeholder during the deploy window could keep serving it for up to a year, making `getApiUrl()` throw and every client API call fail. The placeholder is now registered as a no-cache path (`no-cache, no-store, must-revalidate`) so edges never cache it long-term, and the config deployment now also invalidates the post-rewrite key `/builds/<buildId>/.blocks-sandbox/*`.
8+
39
## 0.1.14
410

511
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-blocks/core",
3-
"version": "0.1.14",
3+
"version": "0.1.15",
44
"author": "Amazon Web Services",
55
"license": "Apache-2.0",
66
"type": "module",

0 commit comments

Comments
 (0)