Skip to content

Amber CLI 2.0.11 on Amber 2.0.0-beta.11, Grant 0.24.0 and asset_pipeline 0.38.0 - #57

Merged
crimson-knight merged 3 commits into
mainfrom
release/2.0.11
Nov 20, 2026
Merged

crimson-knight merged 3 commits into
mainfrom
release/2.0.11

Conversation

@crimson-knight

Copy link
Copy Markdown
Member

Replaces #55, whose branch pinned the pre-release branch heads.

What changes

  • New apps pin three releases by commit: Amber v2.0.0-beta.11 (f987f1bb19b789f8f14b000b6ee00ed496fe6cbb), Grant v0.24.0 (7bb4b9d45e74c490e6f3ad80cef8cc1cebd5b889) and asset_pipeline v0.38.0 (73c89c3417a5282d9ac4179b283bcc660b7f898a).
  • amber new checks each of them in shard.lock the way 2.0.10 checked Amber: the commit in the version line plus the sha256-v2: checksum, or the git-tree: checksum an older Minecart records, and on Windows the commit alone. AmberCLI::PinnedRelease holds each release (src/amber_cli/pinned_releases.cr), and the lock check loops over LIST_OF_PINNED_RELEASES.
    • Amber: sha256-v2:732bd8a19fed53e2e8ef0ee768dab03466abf502324d55de5f81961ac75456fa, tree fc2433e6cf3b55fc779977cc70b1270c7910c920
    • Grant: sha256-v2:0c295bd9da92146c5482c63326adb402b24e33c152af86025a27f9da1a086f51, tree ac01af3a3edb7d881c798c755e0845ad04383225
    • asset_pipeline: sha256-v2:80ea8ac95943a3c5be438e68c2ef2f00d9b9783f0787fcd67ef346f135d9510c, tree 42caf3fc2d1af5e97417e7d7947dddd025e405e1
  • From Pin the regex-free beta.11 branches and gate CI on generated-app linkage #55: scripts/check_generated_app_linkage.sh and the generated-app-linkage CI job (ubuntu-24.04, macos-15, sha256-verified Crystal 1.22.2). The script now resolves a relative output directory before it changes into the app.
  • Version 2.0.11; docs, the native-app Amber pin, smoke scripts and the beta contract follow.

Checked locally (crystal-alpha 1.21.0, macOS arm64, Minecart 2025.11.25.9)

  • scripts/check_generated_app_linkage.sh: the control program shows PCRE2 (1 library, 13 pcre2_ symbols); the default app links no PCRE2 and answers GET / with 200; the scaffolded app links no PCRE2 and its specs pass (12 examples, 0 failures).
  • scripts/smoke_generated_web.sh ./amber passes, and scripts/check_beta_contract.sh passes.
  • crystal spec: 779 examples; the 6 that fail need a built bin/amber-lsp (spec/amber_lsp/integration), which CI builds. The new-command, native-app and doctor specs pass (188 examples, 0 failures). Format check is clean and the CLI compiles with no warnings.

scripts/check_generated_app_linkage.sh generates the default SQLite app,
builds it, and fails when its binary links libpcre2 or holds a pcre2_ symbol;
it repeats the check after a scaffold adds a Grant model, and a Regex control
program proves the check can fail. The generated-app-linkage CI job runs it on
ubuntu-24.04 and macos-15 with sha256-verified Crystal 1.22.2.
…ine 0.38.0

New apps pin Amber v2.0.0-beta.11 (f987f1bb), Grant v0.24.0 (7bb4b9d4) and
asset_pipeline v0.38.0 (73c89c34) by commit. amber new checks every one of
them in shard.lock: its commit and its sha256-v2 checksum, or the git-tree
checksum an older Minecart records, and on Windows its commit alone. The
three releases live in PinnedRelease values, so the lock check is one loop.

The generated-app-linkage CI job checks that the default app links no PCRE2
before and after a scaffold, and the beta contract requires it.
The darwin tarball ships shards only in embedded/bin, so Minecart could not
run micrate's postinstall script. Add embedded/bin after bin.
@crimson-knight
crimson-knight merged commit 72df758 into main Nov 20, 2026
13 checks passed
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.

1 participant