Compare commits

...
Author SHA1 Message Date
chrnx 8c01bd6500 Merge pull request 'content: only the first release of a year breaks after stable' (#25) from content/faq-stability-policy into main
CI / build (push) Successful in 14s
Promote → GitHub / push-github (push) Successful in 6s
2026-11-23 19:43:22 +00:00
chrnx e2b55ece4a content: say that only the first release of a year breaks after stable
CI / build (pull_request) Successful in 14s
The FAQ and the stability banner described the deprecation notice but not the rule it serves, which
the docs' stability page and core's SECURITY.md now state: after stable, a release within a year
never breaks a public API, so a ^ range is safe, and removals land only in the first release of a
year.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-23 13:42:44 -06:00
chrnx 8e6a2a17ac Merge pull request 'blog: 26.11.0-rc.2 security release post' (#24) from blog/26.11.0-rc.2 into main
Promote → GitHub / push-github (push) Successful in 5s
Release → dist.tar.gz / package (push) Has been skipped
CI / build (push) Successful in 19s
2026-11-23 18:53:38 +00:00
chrnx 854f2b7066 chore(release): 26.11.0-rc.2
CI / build (pull_request) Successful in 15s
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-23 12:53:05 -06:00
chrnx 7afd1fc1f5 blog: 26.11.0-rc.2, nine problems in my own release candidate
The security release post: the nine advisories with links, who each one reaches, the five
behaviour changes, how to upgrade, and the plugins that moved with core.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-23 12:53:05 -06:00
chrnx 37713a3405 Merge pull request 'feat: redirect /install.sh to matcha's installer' (#23) from feat/install-sh-redirect into main
CI / build (push) Successful in 14s
Promote → GitHub / push-github (push) Successful in 8s
2026-11-19 19:07:46 +00:00
chrnx a3c741eb6e feat: redirect /install.sh to matcha's installer
CI / build (pull_request) Successful in 18s
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-19 13:00:49 -06:00
chrnx 64d8897345 Merge pull request 'feat: API freeze banner (merge at RC.1)' (#22) from feat/api-freeze-banner into main
Promote → GitHub / push-github (push) Failing after 4s
Release → dist.tar.gz / package (push) Has been skipped
CI / build (push) Successful in 22s
2026-11-17 23:20:43 +00:00
chrnx 141f2f7ffc chore(release): 26.11.0-rc.1
CI / build (pull_request) Successful in 20s
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:20:01 -06:00
chrnx 8db3408ea2 ci: install the latest Node 22 instead of the runner's cached one
CI / build (pull_request) Successful in 28s
Astro 7.4.12 requires Node >=22.23.4; the Gitea runner's tool cache had 22.23.1, so astro build refused to start.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:11:51 -06:00
chrnx ccfb237ab9 ci: block pull requests only on critical advisories
CI / build (pull_request) Failing after 58s
Same gate as release.yml. audit.yml still files an issue for moderate and up, and the full audit report prints in CI.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:10:03 -06:00
chrnx 3914af3708 blog: where I went, and why RC.1 took longer
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:09:59 -06:00
chrnx e937498bdf feat: site copy for RC.1
Hero, the honest section, the FAQ and the runtimes caveat now say release candidate and API frozen, per .specs/2026-10-30-rc1-copy.md. "1.0" becomes "stable": CalVer has no 1.0. The performance answer uses the RC.1 benchmark numbers, and the runtimes caveat notes that native TLS is Node-only.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:09:58 -06:00
chrnx 646db3ae6d fix(deps): bump astro to 7.4.12 for the attribute-injection XSS advisory
npm audit fix. The 9 built pages are identical to the previous build apart from the generator tag and asset hashes. picomatch <=4.0.7 (high) remains: no fixed version is published.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-11-17 17:09:58 -06:00
chrnx 8a11f6a540 feat: announce the API freeze and deprecation policy on every page
CI / build (pull_request) Successful in 12s
A banner above the header, from core's CARD-22 and D18: the API is
frozen at RC.1, releases are fixes only until stable, and after stable
nothing is removed without at least two releases' notice. It links to
the stability page in the docs.

Merge when RC.1 is tagged, not before.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-30 09:43:19 -05:00
chrnx 8c67b3e06b chore(deps): clear the vite, undici and zod advisories
npm audit fix, lockfile only. vite 8.3.1 -> 8.3.5, undici 8.11.2 ->
8.12.3, zod 4.6.5 -> 4.6.7; astro and mdx unchanged. The built HTML
and XML are identical apart from hashed asset names.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-30 09:42:07 -05:00
chrnx 844e1bc064 Merge pull request 'ci: move workflow actions off the deprecated Node 20 runtime' (#21) from chore/ci-node24-actions into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 12s
2026-10-18 04:42:19 +00:00
chrnx f4973096ac ci: move workflow actions off the deprecated Node 20 runtime
CI / build (pull_request) Successful in 14s
actions/checkout and actions/setup-node v4 -> v5, softprops/action-gh-release
v2 -> v3; all three run on Node 24. setup-deno@v2, setup-bun@v2 and
crates-io-auth-action@v1 already resolve to Node 24 releases. Jobs keep
node-version 22.

Refs Green-Tea/core#103

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-17 22:55:51 -05:00
chrnx 218977cd64 fix(deps): resolve npm audit advisories
http-cache-semantics, sharp, source-map-js (and smol-toml in the marketplace)
via npm audit fix.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-10-17 22:55:31 -05:00
chrnx f5ddbeb177 Merge pull request 'ci: promote each new tag again, for release.yml' (#19) from ci/restore-tag-promotion into main
CI / build (push) Successful in 12s
Promote → GitHub / push-github (push) Successful in 7s
2026-09-24 16:42:37 +00:00
chrnx f049b9cb19 ci: promote each new tag again, for release.yml
CI / build (pull_request) Successful in 11s
The previous commit dropped the tag trigger along with the failing
git push --tags. That also cut the only way a v* tag reached GitHub,
where release.yml builds the dist.tar.gz the cPanel deploy uses. The
per-tag push, which pushes only the new tag by name, is back. The
blanket --tags on the branch push stays gone.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:42:16 -05:00
chrnx b9b97bdfc6 Merge pull request 'ci: promote only main to GitHub, never tags' (#18) from ci/promote-without-tags into main
Promote → GitHub / push-github (push) Successful in 7s
CI / build (push) Successful in 12s
2026-09-24 16:40:09 +00:00
chrnx bcbbf7d652 ci: promote only main to GitHub, never tags
CI / build (pull_request) Successful in 13s
The site deploys by hand, so a tag on GitHub triggers nothing. Pushing
them also failed every promotion: git push --tags is refused when a tag
points at different objects on the two forges, which v26.8.1-beta.0 and
v26.8.2-beta.0 do, and the job went red even though main had arrived.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:39:47 -05:00
chrnx 4b73076aa5 Merge pull request 'Point the site at the plugin listing, and clear a critical Astro advisory' (#17) from feat/link-plugin-listing into main
Promote → GitHub / push-github (push) Failing after 6s
CI / build (push) Successful in 13s
2026-09-24 16:28:29 +00:00
chrnx 739f0bf2a5 feat: point the site at the plugin listing
CI / build (pull_request) Successful in 14s
The listing went live at /plugins with nothing linking to it. The site
now carries it in the nav and the footer, and a Plugins section after
the foundation cards samples the three official plugins, each linked to
its page, with a way in for authors to list their own.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:25:53 -05:00
chrnx 85136b7671 chore(deps): bump Astro to 7.3.5 for a critical advisory
main shipped astro 7.1.6, which a critical advisory covers (fixed in
7.2.8), plus high and moderate ones in sharp, smol-toml, js-yaml, svgo
and devalue. npm audit --audit-level=moderate, which CI gates on, now
finds nothing.

Checked against the built site rather than a green build: every HTML
and XML page matches main's output apart from the generator tag, and
the CSS is byte-identical. The new MODULE_LEVEL_DIRECTIVE warnings on
the MDX posts come from Astro 7.3 and change nothing in the output.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-24 11:24:36 -05:00
chrnx 5576ef28bd Merge pull request 'The 26.9.0-beta.2 post' (#16) from content/26-9-0-beta-2 into main
Promote → GitHub / push-github (push) Failing after 8s
CI / build (push) Failing after 10s
2026-09-23 12:55:04 +00:00
chrnx 204a6ca331 content: the 26.9.0-beta.2 post
CI / build (pull_request) Failing after 11s
Two breaking changes that are the same bug in different places — a core helper
whose correct use depended on reading a docs table, and an observability event
that reported no names — plus the benchmark section, which is the part worth
publishing.

The README had claimed for two months that green-tea beat every framework in
three of four scenarios while the linked table said otherwise, and the run
that would have appeared to vindicate it was my laptop being busy: green-tea
unmoved, Fastify down 7%, deltas tracking run order rather than code. Then a
+4.3% A/B row in our favour that collapsed to +0.5% at seven rounds.

Publishing that is the point. A gain nobody can explain deserves the same
suspicion as a loss, and a benchmark exists to measure rather than to supply a
homepage line.

Plugins stay deliberately shallow here — the contract change is noted and the
reasoning is held for the marketplace post, where an ecosystem's requirements
are the actual subject.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-23 07:45:45 -05:00
chrnx 2b44150824 Merge pull request 'The 26.9.0-beta.1 post, and a way in for Deno readers' (#14) from content/26-9-0-beta-1 into main
Promote → GitHub / push-github (push) Failing after 7s
CI / build (push) Successful in 11s
Reviewed-on: #14
2026-09-04 18:43:13 +00:00
20 changed files with 1824 additions and 970 deletions

No files matched your search

+3 -2
View File
@@ -16,10 +16,11 @@ jobs:
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- run: npm ci
- name: Audit
+9 -3
View File
@@ -14,10 +14,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- run: npm ci
- run: npm audit --audit-level=moderate
# Only a critical advisory blocks, as in release.yml. The site ships built files, not
# node_modules; a build-time advisory with no published fix would otherwise block every PR.
# audit.yml still files an issue for moderate and up, and the full report prints here.
- run: npm audit --audit-level=critical
- run: npm audit
continue-on-error: true
- run: npm run check
+9 -4
View File
@@ -1,6 +1,12 @@
name: Promote → GitHub
# Runs on GITEA ONLY. Mirrors only main + version tags to the public GitHub repo.
# Runs on GITEA ONLY. Mirrors main, and each version tag as it is created, to the public GitHub
# repo. On GitHub a v* tag runs release.yml, which attaches the dist.tar.gz the cPanel deploy uses.
#
# A tag is pushed only on its own event, by name. The branch push used to add `git push --tags`,
# which is refused whenever any old tag points at different objects on the two forges
# (v26.8.1-beta.0 and v26.8.2-beta.0 do), so every promotion of main went red even though main had
# already arrived.
on:
push:
branches: [main]
@@ -11,10 +17,10 @@ jobs:
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Push main + tags to GitHub
- name: Push main or the new tag to GitHub
env:
GH_TOKEN: ${{ secrets.GH_PROMOTE_TOKEN }}
run: |
@@ -23,5 +29,4 @@ jobs:
git push github "refs/tags/${{ github.ref_name }}"
else
git push github "HEAD:refs/heads/main"
git push github --tags
fi
+5 -4
View File
@@ -17,10 +17,11 @@ jobs:
ARCHIVE_NAME: green-tea-site-${{ github.ref_name }}.tar.gz
RELEASE_TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- name: Validate release tag
run: npm run verify:release
- run: npm ci
@@ -30,7 +31,7 @@ jobs:
# whether a fix is safe. What ships here is built HTML, CSS and JS: Astro, js-yaml
# and friends are build-time tools that never reach a visitor. `critical` keeps a
# tripwire for the catastrophic case without breaking releases on routine noise.
# Moderate and up still gate every PR in ci.yml, and audit.yml files an issue on a
# ci.yml gates every PR the same way, and audit.yml files an issue for moderate and up on a
# schedule, so advisories still surface — just not as a broken release.
- run: npm audit --audit-level=critical
- run: npm run check
@@ -39,7 +40,7 @@ jobs:
- name: Verify .htaccess in archive
run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './.htaccess'
- name: Attach to GitHub release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
prerelease: true
files: ${{ env.ARCHIVE_NAME }}
+1355 -940
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -1,7 +1,7 @@
{
"name": "green-tea-site",
"type": "module",
"version": "26.9.0-beta.0",
"version": "26.11.0-rc.2",
"engines": {
"node": ">=22.12.0"
},
@@ -16,9 +16,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^7.0.5",
"@astrojs/mdx": "^7.0.8",
"@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.3",
"astro": "^7.1.6"
"@astrojs/sitemap": "^3.7.4",
"astro": "^7.3.5"
}
}
+3
View File
@@ -1,5 +1,8 @@
<IfModule mod_rewrite.c>
RewriteEngine On
# curl -fsSL https://green-tea.expressive-tea.io/install.sh | sh -> matcha's installer.
# 302, not 301: a cached permanent redirect could never be pointed elsewhere.
RewriteRule ^install\.sh$ https://raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh [R=302,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://green-tea.expressive-tea.io%{REQUEST_URI} [R=301,L]
</IfModule>
+1
View File
@@ -6,6 +6,7 @@ const linkColumns = [
heading: 'Learn',
links: [
{ label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true },
{ label: 'Plugins', href: '/plugins/', external: false },
{ label: 'Blog', href: '/blog', external: false },
],
},
+1
View File
@@ -6,6 +6,7 @@ import Icon from './Icon.astro';
// name — an icon-only link without one is a link a screen reader announces as its href.
const navLinks = [
{ label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true },
{ label: 'Plugins', href: '/plugins/', external: false },
{ label: 'Blog', href: '/blog', external: false },
{ label: 'GitHub', href: 'https://github.com/Expressive-Tea/green-tea', external: true, icon: 'github' as const },
{ label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true, icon: 'npm' as const },
+43
View File
@@ -0,0 +1,43 @@
---
// Site-wide notice of the API freeze and the deprecation policy (core CARD-22, D18). It sits above
// the header on every page because it is a promise about the product, not a feature of one section.
// The full policy lives in the docs; this states only what a reader needs before upgrading.
const policyURL = 'https://green-tea.expressive-tea.io/docs/stability/';
---
<aside class="stability" aria-label="API stability">
<p class="wrap stability__text">
<strong>The API is frozen at RC.1.</strong> Until stable, releases are fixes only. After stable, only the
first release of a year can break, and nothing is removed without at least two releases' notice.{' '}
<a href={policyURL}>Read the stability policy</a>
</p>
</aside>
<style>
.stability {
background: color-mix(in srgb, var(--matcha) 12%, var(--base));
border-bottom: 1px solid color-mix(in srgb, var(--matcha) 35%, transparent);
}
.stability__text {
margin: 0 auto;
padding-block: 0.6rem;
color: var(--ink);
font-size: 0.9rem;
line-height: 1.5;
text-align: center;
}
.stability__text strong {
color: var(--matcha);
}
.stability__text a {
color: var(--matcha);
white-space: nowrap;
}
.stability__text a::after {
content: ' →';
}
</style>
+6 -6
View File
@@ -4,7 +4,7 @@
const items = [
{
q: 'Is Green Tea ready for production?',
a: `It's beta, on the RC track — the API can still shift between releases. It fits greenfield services, internal tools, and side projects where you own the deploy and can pin versions. If you need a decade of third-party middleware today, stay on Express for now.`,
a: `It's a release candidate: the API is frozen, and until stable every release is a fix. It fits greenfield services, internal tools, and side projects where you own the deploy. If you need a decade of third-party middleware today, stay on Express for now.`,
},
{
q: 'Can I drop it into my existing Express app?',
@@ -12,7 +12,7 @@ const items = [
},
{
q: 'How does it perform against Express or Fastify?',
a: `Performance isn't the pitch — the model is — but there's a reproducible benchmark in the core repo (BENCHMARKS.md), written to be hard on us, not flattering. On a single-box harness green-tea keeps pace with Fastify and runs several times faster than Express, behind only raw Node http. Read the caveats there: it's loopback on one machine, so trust the ratios between frameworks, not the absolute numbers. The graph is topologically sorted once at boot, not per request — you don't pay for it on the hot path.`,
a: `Performance isn't the pitch — the model is — but there's a reproducible benchmark in the core repo (BENCHMARKS.md), written to be hard on us, not flattering. On a single-box harness green-tea is level with Fastify on a plain JSON route, a few percent behind it on routing and pipelines, and behind it on validation; it runs about three times faster than Express. Read the caveats there: it's loopback on one machine, so trust the ratios between frameworks, not the absolute numbers. The graph is topologically sorted once at boot, not per request — you don't pay for it on the hot path.`,
},
{
q: 'What will it add to my dependency tree?',
@@ -20,11 +20,11 @@ const items = [
},
{
q: 'Is mesh (multi-service) ready to use?',
a: `Not yet — mesh is alpha and gated behind an explicit opt-in. Build on the single-service core for now, and treat mesh as a preview, not a foundation.`,
a: `Not yet. Mesh is alpha, gated behind an explicit opt-in, and outside the API freeze, so it may change in any release. What does not change is everything around it: mesh adapts to the stable API rather than altering it, so an app that does not use mesh is never affected by a mesh release. Build on the single-service core for now, and treat mesh as a preview, not a foundation.`,
},
{
q: 'What does "beta" mean for breaking changes?',
a: `Expect occasional breaking changes on the RC track, called out in the changelog. Pin your version and read the release notes before upgrading, and you won't be surprised.`,
q: 'What does the API freeze promise?',
a: `From RC.1 to the stable release, nothing in the public API is added, removed or renamed — releases are fixes only, and every API change would have to show up as a diff to the committed API report, which CI checks. After stable, only the first release of a year can break: a release within a year never removes or breaks a public API, so the ^ range npm writes for you is safe to take. Nothing is removed without being deprecated first: at least two monthly releases of notice, a @deprecated tag naming the replacement, and a single warning in your logger, and then it goes only in the next first release of a year. Mesh is experimental and outside the promise.`,
},
];
---
@@ -33,7 +33,7 @@ const items = [
<div class="wrap faq__inner">
<div class="faq__head">
<p class="kicker">Straight answers</p>
<h2>Questions worth asking about a beta.</h2>
<h2>Questions worth asking about a release candidate.</h2>
</div>
<ul class="faq__list">
+1 -1
View File
@@ -37,7 +37,7 @@ import GraphMotif from '../GraphMotif.astro';
</a>
</div>
<p class="hero__micro">Beta · Node · Deno · Bun · Edge</p>
<p class="hero__micro">Release candidate · API frozen · Node · Deno · Bun · Edge</p>
</div>
<GraphMotif class="hero__motif" width={460} height={400} opacity={0.55} />
+5 -5
View File
@@ -3,18 +3,18 @@
<section class="honest">
<div class="wrap honest__inner">
<h2>Honest: it's beta.</h2>
<h2>Honest: it's a release candidate.</h2>
<p class="honest__body">
Express and Fastify have a decade of ecosystem behind them; NestJS has mature enterprise tooling. Green Tea
doesn't pretend otherwise. Choose it today because the model fits your application — explicit dependencies,
derived execution, inspectable infrastructure, one real-time mental model, and a foundation you don't have to
assemble. If your team needs a large plugin catalogue today, that gap is real, and the API can still change
before stable.
assemble. If your team needs a large plugin catalogue today, that gap is real. What is no longer moving is the
API: it is frozen at RC.1, and until stable every release is a fix.
</p>
<form class="subscribe" action="/subscribe.php" method="post">
<p class="subscribe__lead">Not ready yet? Get one email when 1.0 ships — nothing else.</p>
<p class="subscribe__lead">Not ready yet? Get one email when the stable release ships — nothing else.</p>
<div class="subscribe__row">
<label class="sr-only" for="sub-email">Email address</label>
<input
@@ -29,7 +29,7 @@
/>
<!-- honeypot: real people never fill this -->
<input class="subscribe__hp" type="text" name="website" tabindex="-1" autocomplete="off" aria-hidden="true" />
<button class="btn btn--primary" type="submit">Notify me at 1.0</button>
<button class="btn btn--primary" type="submit">Notify me at stable</button>
</div>
<p class="subscribe__msg" role="status" aria-live="polite"></p>
</form>
+110
View File
@@ -0,0 +1,110 @@
---
// The way into the plugin listing, which is its own build under /plugins (green-tea-marketplace).
// The descriptions are each package's own, as the listing shows them. When a plugin is added
// there, it does not appear here: this is a sample, and the listing is the index.
const plugins = [
{ name: '@green-tea/jwt', slug: 'jwt', body: 'Loads JWT signing keys at boot and publishes a sign/verify registry into the graph.' },
{ name: '@green-tea/metrics', slug: 'metrics', body: "Counts green-tea's lifecycle events and renders them in the Prometheus text format." },
{ name: '@green-tea/rate-limit', slug: 'rate-limit', body: 'A per-request rate limiter with a branded 429 and a swept in-memory store.' },
];
---
<section class="plugins section--panel">
<div class="wrap">
<div class="plugins__head">
<p class="kicker">Plugins</p>
<h2>Extend it with plugins.</h2>
<p class="plugins__lede">
A plugin is one object, <code>&#123; name, mount &#125;</code>, that adds providers and steps to your graph.
There are three official ones so far. Each has a page with its README, its versions and the runtimes it
supports, and yours can sit next to them.
</p>
</div>
<ul class="plugins__grid">
{
plugins.map((plugin) => (
<li class="plugins__card">
<a href={`/plugins/${plugin.slug}/`}>
<h3>{plugin.name}</h3>
<p>{plugin.body}</p>
</a>
</li>
))
}
</ul>
<div class="btn-row plugins__ctas">
<a class="btn btn--primary" href="/plugins/">Browse plugins</a>
<a class="btn btn--ghost" href="/plugins/#contribute">List yours</a>
</div>
</div>
</section>
<style>
.plugins__head {
max-width: 52ch;
margin: 0 auto 3rem;
text-align: center;
}
.plugins__head h2 {
margin-bottom: 0;
}
.plugins__lede {
margin: 1rem 0 0;
color: var(--dim);
line-height: 1.75;
}
.plugins__grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.25rem;
}
.plugins__card a {
display: block;
height: 100%;
padding: 1.75rem;
background: var(--base);
border: 1px solid color-mix(in srgb, var(--dim) 18%, transparent);
border-radius: 12px;
color: inherit;
text-decoration: none;
}
.plugins__card a:hover,
.plugins__card a:focus-visible {
border-color: var(--matcha);
}
.plugins__card h3 {
color: var(--matcha);
font-size: 0.98rem;
margin-bottom: 0.5em;
word-break: break-word;
}
.plugins__card p {
margin: 0;
color: var(--dim);
font-size: 0.95rem;
line-height: 1.65;
}
.plugins__ctas {
justify-content: center;
margin-top: 2.5rem;
}
@media (max-width: 860px) {
.plugins__grid {
grid-template-columns: 1fr;
}
}
</style>
+1 -1
View File
@@ -19,7 +19,7 @@ const chips = ['app.listen(port)', 'serveDeno(app)', 'serveBun(app)', 'edgeHandl
<p class="runs__micro">
Your product code shouldn't have to care which runtime won this year. <span class="runs__caveat"
>(The edge has no filesystem or mesh, so those features stay on the server runtimes.)</span
>(The edge has no filesystem or mesh, so those features stay on the server runtimes. Native TLS is Node's; on Deno, Bun and the edge, terminate TLS in the runtime or a proxy.)</span
>
</p>
</div>
@@ -0,0 +1,83 @@
---
title: "I audited my own release candidate, and it had nine problems"
description: "26.11.0-rc.2 fixes nine security issues an audit found in 26.11.0-rc.1 before anything was called stable. What they were, who they reach, and how to upgrade."
pubDate: 2026-11-23
author: "Diego Reséndez"
tags: ["green-tea", "security", "release"]
---
RC.1 froze green-tea's API. The next thing I did was the thing I should do before any release
called *stable*: sit down and try to break it, from every side I could think of. Security,
stability under load, release engineering, the mesh.
It broke in nine places. `26.11.0-rc.2` fixes all of them, and this post is the list.
## Who should upgrade
Everyone on `26.11.0-rc.1` or any `26.x` beta. There is no patched beta: the fixes ship only in
`26.11.0-rc.2`, so a beta user also crosses RC.1's breaking changes. The
[What's new](/docs/whats-new/) page and the CHANGELOG list them.
```bash
npm install @green-tea/core@rc
```
On Deno, `jsr:@green-tea/core@26.11.0-rc.2`. The official plugins moved with it: `@green-tea/jwt`,
`metrics` and `rate-limit` are 26.11.0-rc.2 on JSR and accept any core from `^26.11.0-rc.2`.
## The nine advisories
| Advisory | Severity | What was wrong | Reaches you if |
|---|---|---|---|
| [GHSA-p697-fpqx-pgf3](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-p697-fpqx-pgf3) | High | WebSocket upgrades never checked `Origin`, so another site could open a socket with your user's cookies | you have `@Ws` routes authenticated by cookie |
| [GHSA-235j-fx64-w9p9](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-235j-fx64-w9p9) | Medium | an SSE or NDJSON source that threw sent its raw error message to the client | you stream, and errors can carry internal text |
| [GHSA-53g8-83jp-gvw4](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-53g8-83jp-gvw4) | Medium | with `trustProxy`, `ctx.ip` was the `X-Forwarded-For` entry the client wrote | you use `trustProxy` and IP-based limits or logs |
| [GHSA-fccm-q62j-48hr](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-fccm-q62j-48hr) | Medium | `cors: { origins: '*', credentials: true }` echoed every origin with credentials | you set that combination |
| [GHSA-g96c-wq2v-87vc](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-g96c-wq2v-87vc) | Medium | on Node, slow-header sockets and dead WebSocket peers held connection slots far too long | your Node server faces clients without a proxy |
| [GHSA-hjcj-hr8v-rfg4](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-hjcj-hr8v-rfg4) | Medium | `static` served dotfiles such as `/.env` | a dotfile sits in your public root |
| [GHSA-4q43-x4fp-c273](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-4q43-x4fp-c273) | Medium | a mesh teapot ran unexported methods on an exported route pattern | you run the experimental mesh |
| [GHSA-gm9h-7577-x57w](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-gm9h-7577-x57w) | Low | a mesh step's internal error text reached the end client | you run the experimental mesh |
| [GHSA-g86h-3r98-qm66](https://github.com/Expressive-Tea/green-tea/security/advisories/GHSA-g86h-3r98-qm66) | Low | five small ones: template re-scan, `__proto__` form keys, inherited decorator keys, decoded `%2F` in params, `X-Forwarded-Proto` on Deno and Bun | see the advisory |
## What behaves differently
Most of the security fixes change nothing you would notice. Five do, and they are in the
[CHANGELOG](https://github.com/Expressive-Tea/green-tea/blob/main/CHANGELOG.md) along with two smaller
changes: `channel()` now buffers 1024 values per subscriber by default, and `/__ready__` no longer
lists degraded provider names. [What's new](/docs/whats-new/) has a table of who each change
affects and what to do.
- **A cross-site WebSocket upgrade gets `403`.** An upgrade with an `Origin` must come from the same
host or from an origin in `cors.origins`. Clients that send no `Origin`, such as servers and CLIs,
are unaffected. Behind a proxy that rewrites `Host`, add your public origin to `cors.origins`.
- **`ctx.ip` is the right-most `X-Forwarded-For` entry**, the one your proxy appended. Behind a chain
of proxies it is now the address the last one saw.
- **`origins: '*'` with `credentials: true` fails `createApp`.** If you really mean every site, say it
as a predicate: `origins: () => true`. This one is breaking, on purpose.
- **A failed stream ends with `Internal Server Error`** unless you threw an `HttpError`, the same as a
buffered route.
- **`static` answers `404` for dotfiles**, except under `/.well-known/`.
## Why now, and not after stable
Because finding these is what the RC is for. The API freeze promised that nothing would move between
RC.1 and stable except fixes, and every one of these is a fix: none adds, removes or renames an API.
The one that refuses a configuration at boot is called out as breaking, and I would rather break a
config that hands your users' cookies to every site than keep it working.
The same audit found the other half of what "stable" means: a release that could not be staged, a
support policy that did not exist, a version scheme that let `npm install` pull in a breaking change.
Those are fixed too. After stable, **only the first release of a year can break**, so the `^` range
npm writes for you is safe within a year, and the
[support table](https://github.com/Expressive-Tea/green-tea/blob/main/SECURITY.md#supported-versions)
says which releases get fixes, and for how long.
## The mesh, on the way to beta
The mesh stays experimental, but `26.11.0-rc.2` takes it most of the way to a beta: a teapot reached over
`ws://` from another machine is refused unless you opt in, mesh on the edge fails with an error that
says so, a remote step runs only what it needs, and there is a [runnable demo](/docs/guides/mesh/)
of one REST API split across two processes, with the teapot killed and brought back.
If you find something I missed, [SECURITY.md](https://github.com/Expressive-Tea/green-tea/blob/main/SECURITY.md)
says how to tell me privately.
@@ -0,0 +1,128 @@
---
title: "The release where I took my own advice"
description: "Two breaking changes, one keyword each, both fixing the same thing: places where green-tea asked you to remember an order. Plus the benchmark claim my README carried for two months while the benchmark said otherwise."
pubDate: 2026-09-23
author: "Diego Reséndez"
tags: ["green-tea", "release", "runtimes", "benchmarks"]
draft: false
---
The argument for green-tea is that order should not be something you have to get right. You declare what a step
needs and what it provides, and the framework works out what runs when. No `app.use()` in the correct sequence, no
wondering which middleware already touched the body.
`26.9.0-beta.2` is out on npm and JSR. Both of its breaking changes exist because I had shipped two places where
that argument did not apply to my own code.
## The port that bound anyway
If you serve on Deno or Bun, you wrote this:
```ts
const server = serveDeno(app, { port });
```
And `serveDeno` did not boot your app. It bound the port and waited, and the providers ran on the first request that
arrived. The documented fix — on my own docs page, in a table I wrote — was to remember `await app.boot()` first.
Think about what that meant if you forgot. A missing signing key is not a failed deploy: the boot result is
memoized, rejection included, so the port opens, every request gets a 500 from the runtime, and not one of them
reaches your `onError`. Your logs are empty because the failure never entered the framework's error path. Your
health check passes, because something *is* listening on that port. The process looks fine and serves nothing.
That is precisely the class of bug this project exists to delete, and I had put it in a core helper and then
written a paragraph asking you to work around it. A framework that says order is not your problem should not ship
an entry point whose correct use depends on you having read a page.
They boot before they bind now. Migration is one keyword:
```diff
- const server = serveDeno(app, { port });
+ const server = await serveDeno(app, { port });
```
Both runtimes have top-level `await`, so a module that serves at import time needs nothing else, and the value you
get back is unchanged. A provider that cannot start now fails your deploy, where you will see it.
`edgeHandler` is deliberately untouched. On workerd there is no startup outside a request — there is no earlier
moment to move the failure to, so pretending otherwise would be decoration.
## The event that reported nothing
The second one is smaller and the same shape. A plugin was a function, and `plugin:mounted` — the event whose
entire job is to tell you which plugins mounted — took the name from `fn.name`. That is `""` for an arrow returned
by a factory, which is how every plugin I have written is built. `"plugin"` for a `const`. Whatever survives a
minifier, in production.
So the observability event for plugins named none of them. A plugin is a named object now:
```diff
- const jwt = (options) => ({ scope }) => { scope.add(node); };
+ const jwt = (options) => ({
+ name: options.provides ?? 'jwt',
+ mount({ scope }) { scope.add(node); },
+ });
```
The name is the author's word rather than a compiler artifact, a failed mount reads
`plugin "jwt" failed to mount: …` with the original error as its `cause`, and two plugins claiming the same name
fail `createApp` instead of quietly shadowing each other.
I am keeping this short on purpose. There is a plugin marketplace coming, and the interesting half of this story —
what a plugin ecosystem needs from a contract before strangers start publishing into it — belongs in that post
rather than this one.
`app.boot()` is public now too, for when you drive `app.fetch` from a server you own. And errors are recognised by
a brand rather than `instanceof`, so an `Unauthorized` thrown by a plugin holding its own copy of core stops
rendering as a `500`. Mesh, still alpha, stopped pretending a provider could cross a wire. The
[changelog](https://github.com/Expressive-Tea/green-tea/blob/main/CHANGELOG.md) has all of it.
## The number I had been repeating for two months
Now the part I did not enjoy writing.
Since 7 July my README had said green-tea handled more requests per second than every other framework in three of
four benchmark scenarios. `BENCHMARKS.md` — the file that sentence linked to, one click away — had stopped saying
that at some point over the following two months. Fastify rows had moved. NestJS-on-Fastify had been added. Parity
controls had been tightened. Nobody re-read the sentence, because a claim written into prose is not something
anyone re-measures.
I found it while regenerating the tables for this release, which is the only reason I found it at all.
Then it got worse, in an interesting way. I re-ran the suite on my laptop and green-tea came out *ahead* of Fastify
in three of four — the exact claim I was about to delete, apparently vindicated. It would have been very easy to
keep the sentence and move on.
Except green-tea had not moved. Its four numbers were within 1% of the run three weeks earlier. What had moved was
Fastify, down 7%, and when I lined the deltas up against the order the frameworks run in, they tracked position
rather than code: measured second, down 7%; measured last, up. A browser and the window server were taking about
60% of the machine the whole time. The "win" was my laptop being busy.
I re-ran it on an idle box instead. Coefficient of variation dropped from 4–6% to 0.1–1.3%, and the honest shape
came back: green-tea sits behind Fastify on the JSON, routing and pipeline scenarios, ahead of it on
POST-plus-validation, and roughly 2.8× ahead of Express. That shape reproduced on two very different CPUs. How far
behind did not — 2–8% on one machine, 7–15% on the other — which is why the README no longer quotes a percentage
at all and points at the table instead.
There is a separate question a release has to answer, and comparing this week's numbers against a table from three
weeks ago cannot answer it: *did these commits cost anything?* For that I run both trees on one box in one sitting,
alternating which side goes first. Ten cases. Nine overlapped, which is the result you want — the breaking changes
are boot-time work and none of it reached the per-request path.
The tenth came out **+4.3% in green-tea's favour**, with the two sides' sample ranges not overlapping at all. A
real-looking win. It had no mechanism — the only change that could produce it would have to show up even more
clearly at 200 routes, and that row said +0.1% — so I re-ran that case alone with seven rounds instead of three.
**+0.5%, overlapping.** It was chance, and it is written into `BENCHMARKS.md` as chance.
I want to be clear about why I chased a result that flattered me. A benchmark is for measuring, not for producing a
line to put on a homepage. An unexplained gain deserves the same suspicion as an unexplained loss, and usually
means the benchmark stopped measuring what it claims — a route that started 404ing, a server that booted with the
wrong config. A fast number that is wrong is the worst possible outcome, precisely because it looks like good news.
Two of the three problems in this post were things I had written down and then stopped reading: a table I told you
to remember, and a sentence I never re-measured. The code was not the hard part.
---
`npm i @green-tea/core@beta` — or `deno add jsr:@green-tea/core`. It is still beta, still one person's spare time,
and the [docs](https://green-tea.expressive-tea.io/docs/) describe this release.
+53
View File
@@ -0,0 +1,53 @@
---
title: "Where I went, and why RC.1 took longer"
description: "Two months of quiet: more work at my job, autistic burnout, and a record that was overdue. RC.1 is out now, and the wait was on purpose."
pubDate: 2026-11-17
author: "Diego Reséndez"
tags: ["green-tea", "personal", "release"]
---
The last post here went up on September 23, with beta.2. RC.1 was supposed to follow in October.
It came out today instead, as `26.11.0-rc.1` on npm and JSR. That gap deserves an explanation, so
here it is.
## My job needed more of me
Green Tea gets built in the hours my job leaves free. This autumn the workload there went up, and
those hours went with it. Nothing dramatic. There was just less time, and less of me left at the
end of the day to spend on a framework.
## Autistic burnout
This is the harder part to write. I'm autistic, and when the load stays high for long enough I hit
a kind of burnout that a weekend off doesn't fix. Things that are normally easy, like opening the
editor or reading an issue, start costing more than I have. What works for me is stepping back for
a while.
Being the only developer on Green Tea makes that complicated. There's no one to hand the work to,
so when I stop, the project stops. I decided to accept that. I don't want to build a framework that
ships on schedule because its maintainer pushed through burnout, and I wouldn't ask anyone to
depend on one.
## The No Names Sound Machine
The rest of the time went into my music project, [The No Names Sound Machine](https://thenonames.org/en/),
which was overdue for a release. Yes, yes, there's probably some AI slop in my soup. If you
want to listen anyway, it's on the site, or find it on Spotify, or wherever you get your music.
## Why I didn't just ship it
I could have pushed a tag at any point and called it a release candidate. But an RC only means
something if the API has actually stopped moving, so the freeze had to be real before the tag
went out.
So here is what RC.1 promises. The public API of `@green-tea/core`, `/deno`, `/bun` and `/edge` is
frozen. From now until stable, releases are fixes only: nothing gets added, removed, renamed or
narrowed. That isn't a promise you have to take on trust. Every entry point has a committed API
report, and CI fails when the code drifts from it. Mesh is still experimental and stays outside the
promise. The full policy is on the [stability page](https://green-tea.expressive-tea.io/docs/stability/).
## What happens now
Fixes until stable, at a pace I can sustain. Development has also moved into the open: it happens
on [GitHub](https://github.com/Expressive-Tea/green-tea) now, so issues and pull requests go there.
If something in RC.1 breaks for you, that's the place to say so.
+2
View File
@@ -1,6 +1,7 @@
---
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
import StabilityBanner from '../components/StabilityBanner.astro';
import '../styles/global.css';
type OpenGraphType = 'website' | 'article';
@@ -97,6 +98,7 @@ const serializedStructuredData = structuredData
src="//gc.zgo.at/count.js"></script>
</head>
<body>
<StabilityBanner />
<Header />
<main>
<slot />
+2
View File
@@ -8,6 +8,7 @@ import HowItCompares from '../components/sections/HowItCompares.astro';
import RunsEverywhere from '../components/sections/RunsEverywhere.astro';
import RealTime from '../components/sections/RealTime.astro';
import Batteries from '../components/sections/Batteries.astro';
import Plugins from '../components/sections/Plugins.astro';
import SeeIt from '../components/sections/SeeIt.astro';
import Faq from '../components/sections/Faq.astro';
import HonestBeta from '../components/sections/HonestBeta.astro';
@@ -55,6 +56,7 @@ const structuredData = {
<SeeIt />
<RealTime />
<Batteries />
<Plugins />
<RunsEverywhere />
<HowItCompares />
<Faq />