Promote develop to main: 26.11.0-rc.2 #29

Merged
chrnx merged 12 commits from develop into main 2026-11-23 19:08:40 +00:00
10 changed files with 48 additions and 12 deletions

No files matched your search

+2 -1
View File
@@ -81,7 +81,8 @@ jobs:
# checks both halves that matter: a good archive installs, and a bad checksum
# aborts without leaving a binary behind.
installer:
runs-on: ${{ matrix.os }}
# macos-14 is retired on GitHub but is the self-hosted runner's label on Gitea; see release.yml.
runs-on: ${{ matrix.os == 'macos-14' && github.server_url == 'https://github.com' && 'macos-15' || matrix.os }}
strategy:
fail-fast: false
matrix:
+3 -1
View File
@@ -48,7 +48,9 @@ jobs:
os: ubuntu-latest
- target: aarch64-unknown-linux-musl
os: ubuntu-latest
runs-on: ${{ matrix.os }}
# GitHub retired the macos-14 image (jobs are cancelled with "configuration not supported");
# on Gitea, macos-14 is the label of the self-hosted macOS runner, so only GitHub moves.
runs-on: ${{ matrix.os == 'macos-14' && github.server_url == 'https://github.com' && 'macos-15' || matrix.os }}
steps:
- uses: actions/checkout@v5
+13 -1
View File
@@ -11,6 +11,17 @@ is pinned to is `CORE_VERSION` in `src/template.rs`, and each entry below says w
## [Unreleased]
## [26.11.0-rc.2] - 2026-11-23
### Changed
- **New projects scaffold `@green-tea/core` 26.11.0-rc.2** (`CORE_VERSION`). That core release fixes
nine security advisories reported against 26.11.0-rc.1. Projects already scaffolded should run
`npm install @green-tea/core@26.11.0-rc.2` or the equivalent for their runtime.
- The scaffolded `AGENTS.md` lists every generator: `matcha add cookie`, `matcha create transformer`
and `matcha create plugin` were missing. It also points agents at the official plugins' READMEs.
- The README documents installing with Homebrew: `brew install expressive-tea/tap/matcha`.
## [26.11.0-rc.1] - 2026-11-17
### Added
@@ -264,7 +275,8 @@ First tagged release. A single native binary, no JS runtime needed to install it
- **A `curl | sh` installer** with sha256 verification, and cross-platform binaries attached
to each release.
[Unreleased]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.1...HEAD
[Unreleased]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.2...HEAD
[26.11.0-rc.2]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.1...v26.11.0-rc.2
[26.11.0-rc.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.1...v26.11.0-rc.1
[26.9.0-beta.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.0...v26.9.0-beta.1
[26.9.0-beta.0]: https://github.com/Expressive-Tea/matcha/compare/v26.8.0-beta.0...v26.9.0-beta.0
Generated
+1 -1
View File
@@ -260,7 +260,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "matcha-cli"
version = "26.11.0-rc.1"
version = "26.11.0-rc.2"
dependencies = [
"assert_cmd",
"clap",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "matcha-cli"
version = "26.11.0-rc.1"
version = "26.11.0-rc.2"
edition = "2021"
description = "The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
license = "MIT"
+6
View File
@@ -11,6 +11,12 @@ cargo install matcha-cli
Builds from [crates.io](https://crates.io/crates/matcha-cli) and installs the `matcha`
binary. Needs a Rust toolchain; takes a few seconds.
**Homebrew** (macOS, Linux):
```bash
brew install expressive-tea/tap/matcha
```
**Prebuilt binary** (no Rust), from the latest GitHub release:
```bash
+14 -3
View File
@@ -8,7 +8,7 @@
# project the current `@green-tea/core` will run — which is exactly how the
# templates sat two core releases behind for two months without a red build.
#
# Usage: scripts/starter-smoke.sh <node|deno|bun>
# Usage: scripts/starter-smoke.sh <node|deno|bun|edge>
set -euo pipefail
RUNTIME="${1:?usage: starter-smoke.sh <node|deno|bun|edge>}"
@@ -30,8 +30,17 @@ PORT="${PORT:-$((20000 + RANDOM % 20000))}"
WORK="$(mktemp -d)"
SERVER=""
# `matcha run` is started in its own process group (set -m below) so the whole tree dies
# together. `pkill -P` reached only direct children: on edge, wrangler's workerd is a
# grandchild, kept writing demo/.wrangler, and `rm -rf` failed with "Directory not empty".
stop_server() {
[ -n "$SERVER" ] || return 0
kill -- -"$SERVER" 2>/dev/null || true
wait "$SERVER" 2>/dev/null || true
SERVER=""
}
cleanup() {
[ -n "$SERVER" ] && { pkill -P "$SERVER" 2>/dev/null || true; kill "$SERVER" 2>/dev/null || true; }
stop_server
rm -rf "$WORK"
}
trap cleanup EXIT
@@ -55,8 +64,10 @@ echo "▸ ${CHECK[*]}"
"${CHECK[@]}"
echo "▸ matcha run (boot on :$PORT)"
set -m
"$MATCHA" run >"$WORK/server.log" 2>&1 &
SERVER=$!
set +m
for _ in $(seq 1 60); do
curl -fsS -o /dev/null "http://localhost:$PORT/" 2>/dev/null && break
sleep 1
@@ -78,7 +89,7 @@ case "$zen" in
esac
echo "✓ serves / and streams /zen"
pkill -P "$SERVER" 2>/dev/null || true; kill "$SERVER" 2>/dev/null || true; SERVER=""
stop_server
# Introspection runs against the same project, so it also proves the entry file
# the templates scaffold still exports the `app` that graph/explain import.
+1 -1
View File
@@ -14,7 +14,7 @@ use crate::runtime::Runtime;
/// reaches a stable major this becomes a range (`^27`) and the exactness stops
/// mattering; until then the `core-freshness` CI job fails when this falls
/// behind the `latest` dist-tag, which is what keeps it current.
pub const CORE_VERSION: &str = "26.11.0-rc.1";
pub const CORE_VERSION: &str = "26.11.0-rc.2";
pub static SHARED: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/shared");
pub static RUNTIME_DENO: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/runtimes/deno");
+6 -2
View File
@@ -38,8 +38,9 @@ matcha graph --format json # the whole graph
- `src/app.ts` builds and exports `app` (`createApp({ modules: [...] })`). Introspection and tests import it.
- `src/main.ts` serves `app`. It is the only file that differs per runtime.
- `src/app.module.ts` lists the providers, steps and controllers with `@Module`.
- `matcha create controller|step|provider|module <Name>` generates a piece and wires it into the module.
- `matcha add sse|ws|upload|stream|buffer` adds a capability to a controller.
- `matcha create controller|step|provider|module|transformer <Name>` generates a piece and wires it into the module.
- `matcha create plugin` scaffolds a plugin, in-app or (`--package`) as its own package.
- `matcha add sse|stream|buffer|ws|upload|cookie` adds a capability to a controller.
## Check your work
@@ -55,4 +56,7 @@ itself:
- npm / Bun: `node_modules/@green-tea/core/llms.txt`
- Deno (JSR): `https://jsr.io/@green-tea/core/{{core_version}}/llms.txt`
Official plugins (`@green-tea/jwt`, `@green-tea/metrics`, `@green-tea/rate-limit`, ...) ship no llms.txt;
read the installed one's `node_modules/@green-tea/<name>/README.md`.
The complete docs as one file: https://green-tea.expressive-tea.io/docs/llms-full.txt
+1 -1
View File
@@ -191,7 +191,7 @@ fn package_jsr_writes_the_tree_into_dir() {
);
let deno = std::fs::read_to_string(pkg.join("deno.json")).unwrap();
assert!(deno.contains("\"name\": \"@acme/plugin-algo\""), "{deno}");
assert!(deno.contains("npm:@green-tea/core@26.11.0-rc.1"), "{deno}");
assert!(deno.contains("npm:@green-tea/core@26.11.0-rc.2"), "{deno}");
// Without it `deno test` needs a `deno install` first, and then fails to
// type-check `node:assert` for want of @types/node.
assert!(deno.contains("\"nodeModulesDir\": \"auto\""), "{deno}");