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

This commit was merged in pull request #22.
This commit is contained in:
chrnx committed 2026-11-17 23:20:43 +00:00
commit 64d8897345
12 files changed
+905 -455

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ jobs:
- 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
+7 -1
View File
@@ -18,6 +18,12 @@ jobs:
- 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
+2 -1
View File
@@ -21,6 +21,7 @@ jobs:
- 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
+783 -439
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "green-tea-site",
"type": "module",
"version": "26.9.0-beta.2",
"version": "26.11.0-rc.1",
"engines": {
"node": ">=22.12.0"
},
+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, 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, 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. 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>
+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>
+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 />