feat: API freeze banner (merge at RC.1) #22

Merged
chrnx merged 8 commits from feat/api-freeze-banner into main 2026-11-17 23:20:45 +00:00
4 changed files with 13 additions and 13 deletions
Showing only changes of commit e937498bdf - Show all commits

No files matched your search

+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>