Skip to content

feat(aws): upgrade to the latest CloudFormation spec (#1423) - #1479

Merged
lex00 merged 1 commit into
mainfrom
feat/1423-aws-spec-0.40.0
Aug 4, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/1423-aws-spec-0.40.0

Conversation

@lex00

@lex00 lex00 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Closes #1423.

Re-baselines the aws surface against the current CloudFormation registry
archive and bumps to 0.40.0 (breaking on 0.x is a minor).

Sequenced after #1459 on purpose

Run on the old base, this same upgrade carried 28 renames AWS did not cause:

before after why
MacieSession Session Athena/SSM Session removed, freeing the name
PanoramaPackage Package CodeArtifact Package removed
Space SageMakerSpace QuickSight Space added

plus the whole BCMDataExportsExport_* → Export_* family. Publishing those
would have committed names #1459 then reversed — two breaking renames for
consumers instead of none.

On this base:

old base this PR
added 83 61
removed 148 118
rename pairs 28 0

The removals are real

46 resource types genuinely left the published registry zip — Execution,
Session, TransformJob, Report, Replay, AllGroupMemberships and
similar, all non-provisionable read-only types.

Checked properly rather than assumed:

  • the schema URL has not changed since the initial commit, so this is not a
    source swap
  • a fresh download parses 1650 of 1650 entries with zero failures, so chant
    is not silently dropping files
  • us-west-2 (1618 types) and eu-west-1 (1522) lack them too

Zero imports of any removed name across examples/, docs/ and
lexicons/aws/ — the only greps that hit were English words like Reference
and Sandbox in unrelated files.

The release is now provable

The pin moves to the archive this was generated and reviewed against. More
importantly, with #1473 merged:

CHANT_RELEASE_GATE=1 npx tsx src/validate-cli.ts
  [OK] surface-matches-snapshot
All validation checks passed.

That is the check 0.39.0 did not have. aws 0.39.0 never reached npm — its
publish refused a moved spec pin — and nothing verified that what shipped had
the reviewed API. This publishes the surface in this diff or it does not
publish.

Verification

full suite   864 files, 10657 tests passed

One pre-existing failure, lexicons/temporal/src/validate.test.ts, unrelated
and failing identically on a clean tree.

🤖 Generated with Claude Code

https://claude.ai/code/session_015RKBv5bxfSXfvHq2YGsRXC

Re-baselines the surface against the current registry archive and bumps the
lexicon to 0.40.0 (breaking on 0.x is a minor).

Sequenced after #1459 deliberately. Before sticky published names the same
upgrade carried 28 renames AWS did not cause — MacieSession -> Session,
PanoramaPackage -> Package, Space -> SageMakerSpace, plus the whole
BCMDataExportsExport_* family — because a resource's TypeScript name depended
on which neighbours happened to exist. Publishing those would have committed
names a later fix reversed. On this base the upgrade carries none: added 83 ->
61, removed 148 -> 118, rename pairs 28 -> 0.

What remains is genuine. AWS pruned 46 non-provisionable read-only types from
the published registry zip (Execution, Session, TransformJob, Report, Replay,
AllGroupMemberships and similar). Verified as upstream rather than a chant
artifact: the URL has not changed since the initial commit, a fresh fetch
parses 1650 of 1650 entries with zero failures, and us-west-2 and eu-west-1
lack them too. Nothing in examples, docs or lexicon sources imports any of
them.

The pin moves to the archive this was generated and reviewed against. With
#1473 the release now proves the rest: CHANT_RELEASE_GATE=1 validate reports
surface-matches-snapshot OK, so what publishes is the API in this diff and not
whatever CloudFormation serves at publish time.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015RKBv5bxfSXfvHq2YGsRXC
@lex00
lex00 merged commit 9a0718c into main Aug 4, 2026
5 checks passed
@lex00
lex00 deleted the feat/1423-aws-spec-0.40.0 branch August 4, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(aws): upgrade to latest spec

1 participant