Compare commits

...
Author SHA1 Message Date
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
chrnx 55e51fc3ae chore: version 26.9.0-beta.0
CI / build (pull_request) Successful in 12s
The site's version names the release it was built for, not its own feature count — the tag,
package.json and the archive attached to the GitHub release all have to agree, and
verify:release fails when they do not.

26.9.0 rather than 26.8.3: this build exists to cover core's 26.9.0-beta.1.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-04 13:41:44 -05:00
chrnx 41513b3a42 content: the 26.9.0-beta.1 post, and drop the draft that never shipped
The blog's last entry was 19 August. 26.9.0-beta.1 published today to npm, JSR and a GitHub
prerelease, and nothing here said so.

The angle follows the release rather than decorating it: the last release gave green-tea a way
to say what it was doing, and this one is mostly about what looking turned up — a JSR package
announced in August that never resolved for anyone, three ways an application's own code could
take the process down, and two improvements that measured as noise against a six-route
benchmark. The numbers are the measured ones, including the ones that were embarrassing.

The 26.8.0-beta.1 draft goes with it, unpublished. It was written as release press, and release
press now lives on expressive-tea.io. Keeping a draft that had already been overtaken by the
next version only guaranteed the same thing next time: a post nobody decided against, sitting
behind `draft: true` where it could not be read or reviewed.

What is left here is the personal register — first person, a byline, the story of building the
thing. A post that wants to be the organisation talking belongs on the other site.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-04 13:41:32 -05:00
chrnx 6c3ccf2496 feat(nav): reach the package where it is published, not only on npm
The site linked to GitHub and npm and said nothing about JSR, which core has published to
since 26.8.0-beta.1. A reader on Deno had no way in from here.

The three become marks rather than words. In a header row of five items, three logos are read
faster than three nouns, and the words were carrying no information a logo does not — nobody
needs to be told what "GitHub" is. The footer keeps both, because a footer is scanned and a
column of bare glyphs makes the reader stop and decode where they were skimming.

Each mark is inline SVG in one component. Three icons did not justify an icon library: the
resolver and the set weigh more than the paths, and every one of them ends up inlining the
same paths anyway.

The paths are the official ones from simple-icons. Hand-drawn approximations were tried first
and rendered as illegible shapes — verified in a screenshot, not in the markup, because the
generated HTML was correct in both cases. A third-party mark is either theirs or it is noise.

JSR carries an optical multiplier: its wordmark is wide and short and covers about half the
viewBox height, so at an equal size it read as the small one of the three.

Icon-only links take the label as `aria-label`. Inside the collapsed mobile menu the label
comes back beside the mark, where the row is vertical and three unlabelled logos read as
decoration.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-04 13:41:22 -05:00
chrnx 4408710e85 Merge pull request 'content: publish the personal post for 26.8.0-beta.1' (#13) from content/publish-the-trust-release into main
CI / build (push) Successful in 12s
Release → dist.tar.gz / package (push) Has been skipped
Promote → GitHub / push-github (push) Successful in 4s
2026-08-19 20:17:56 +00:00
chrnx f512be9534 chore: version 26.8.2-beta.0
CI / build (pull_request) Successful in 12s
v26.8.1-beta.0 was released on 2026-08-07 and `verify:release` requires the tag
to equal `v${package.json.version}` exactly, so publishing new content needs a
new number rather than a second archive behind the old one.

CalVer has a patch digit for this, and August already spent 0 and 1: 26.8.2-beta.0.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-19 15:17:15 -05:00
chrnx 6b2f3fe97d content: publish the personal post for 26.8.0-beta.1, and stop pointing at a shelf that is empty
The release shipped today, so the two drafts stop being plans. This publishes
the long one, which is what this blog is for: the story, the two bugs I am not
proud of, and the two people who wrote code for a project with no stars. The
release note stays a draft — under the split we settled on, that shape belongs
on the organization site, and moving it there is its own step.

Three corrections, all from checking the post against the repository rather
than against memory:

"Unassigned issues are genuinely free" is no longer true. Both open issues are
assigned, so the sentence invited a reader to a shelf with nothing on it. It
now says so and points at the door that is actually open — opening an issue.
Everything else that paragraph promises is real: the contributing guide covers
the branch model and the sign-off, and it does commit a maintainer to writing
the documentation change.

The post said "this release" nine times and never once which one. The intro
names it.

It also had no closing line telling a reader how to act on it, which every
other post here has. It gets the install command and a link to the release,
which exists now — the GitHub releases were created today. It deliberately
does not link the observability guide: that page is written but the docs site
has not been deployed, so the link would 404 the day this goes up.

What I re-verified and left alone: no stars, `engines` still promises Node 18
and CI still pins a job to it, mesh was 631 lines when those eight defects were
found, both contributor handles resolve to the accounts that authored those
commits, and #22 really is blocked on me rather than on its author.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-19 15:15:41 -05:00
chrnx eb6b5e0a1d Merge pull request 'content: put the mesh audit in both posts, and say why it stays alpha' (#12) from content/mesh-in-the-release into main
Promote → GitHub / push-github (push) Failing after 7s
CI / build (push) Successful in 25s
2026-08-18 18:00:52 +00:00
chrnx 48311b0962 content: put the mesh audit in both posts, and say why it stays alpha
CI / build (pull_request) Successful in 18s
Neither post mentioned mesh, which left the release note describing a smaller
release than shipped and the long post skipping the part that best fits its
argument — the framework's one differentiator was also its least trustworthy
corner.

The release note gets a section: no reconnection at all, identity lost at the
process boundary, and exporting a handle answering 200 with an empty object.
The long post gets the same findings as story, including the rule that was
never written down anywhere — a mesh export carries data, never behaviour.

Both end on the same distinction, which is the point worth making publicly:
alpha is not a statement about the code, it is a statement about how much we
know. Everything found was found by looking, so the supply is set by how long
we look rather than by how many users have complained. It leaves alpha when
somebody runs it with two real services and tells us what broke.

Still drafts — verified they render (1330 and 1945 words) and then put back.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-18 12:55:26 -05:00
chrnx 7218da8a25 Merge pull request 'content: sell foundation ownership, not the absence of middleware' (#11) from feat/copy-strategy into main
Promote → GitHub / push-github (push) Failing after 7s
CI / build (push) Successful in 12s
2026-08-18 14:46:37 +00:00
chrnx 96fadc4883 content: draft the beta.1 release note and the story behind it
CI / build (pull_request) Successful in 11s
Two posts, both held as drafts until the tag exists — the blog index, the
per-post route and the RSS feed all filter on the flag, so nothing leaks
before the release is real.

The release note covers what changed and what it costs. The longer piece
covers why the gaps existed at all, including the two bugs found while
closing them: a routing divergence between runtimes that the parity tests
structurally could not catch, and a Node 18 ReferenceError that no local
machine could reproduce.

Both thank the contributors by naming what they built. The long one says the
part that matters — that they contributed to a project with no stars, when
being early buys nothing.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-18 09:40:27 -05:00
chrnx 7238819520 content: sell foundation ownership, not the absence of middleware
CI / build (pull_request) Successful in 12s
The homepage led with 'your API is a graph, not a middleware chain' — the
origin problem stated as the whole product philosophy. Middleware ordering is
what green-tea started from, not what it is for, and a visitor who has never
felt that specific pain reads it as a framework defined by what it lacks.

Reframes the page around what the framework takes off the application: it
derives execution from declared dependencies, validates the wiring before
traffic, runs only the slice a route asks for, and then shows its work. Two
sections are new because nothing on the page carried the argument — an
ownership list that ends at 'business rules: you', and the two route slices
that make dependency-driven execution concrete rather than abstract.

The dependency count moves from hero to evidence, with the nuance it was
missing: reflect-metadata is the only runtime dependency, ws and busboy are
optional peers. Beta honesty gains the API-stability caveat.

Follows .specs/reports/green_tea_website_copy_strategy_zen.md, whose
guardrails were re-checked against the built page — no zero-dependency claim,
no compile-time overclaim, mesh still alpha, edge limits still stated.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-18 09:29:53 -05:00
chrnx 9d82ec0f1f Merge pull request 'ci: move the audit off the release gate and onto a schedule' (#10) from ci/audit-out-of-the-release-gate into main
CI / build (push) Successful in 11s
Release → dist.tar.gz / package (push) Has been skipped
Promote → GitHub / push-github (push) Successful in 4s
Reviewed-on: #10
2026-08-07 22:02:12 +00:00
chrnx 6fbff8eab9 Merge branch 'main' into ci/audit-out-of-the-release-gate
CI / build (pull_request) Successful in 12s
2026-08-07 21:59:46 +00:00
chrnx 3772222118 Merge pull request 'chore: version 26.8.1-beta.0 and clear the nanoid advisory' (#9) from chore/version-26.8.1-beta.0 into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 11s
Reviewed-on: #9
2026-08-07 21:59:35 +00:00
chrnx aa279c31f1 ci: move the audit off the release gate and onto a schedule
CI / build (pull_request) Failing after 9s
Two advisories landed in this tree in a single day — js-yaml in the morning,
nanoid a couple of hours later. Neither had anything to do with a code change.
A release gated on `npm audit` fails by calendar date, and it fails at the
exact moment there is least time to judge whether a fix is safe.

What ships from here is built HTML, CSS and JS. Astro, js-yaml and nanoid are
build-time tools that never reach a visitor; the advisories in question need
control over build inputs to matter, and an attacker with that has already won.

So the release gate drops to `critical` — a tripwire for the catastrophic case,
not a trigger for routine noise. Nothing is lowered anywhere else: ci.yml still
blocks every PR at moderate, which is where there is time and context to fix.

The new scheduled audit is what makes that safe rather than negligent. Monday
mornings on Gitea, filing an internal issue when something turns up, with a
dedup check so a weekly cron cannot open 52 copies. Learning about a
vulnerability and being unable to publish stop being the same event.

`workflow_dispatch` is included so it can be run and verified on demand.
2026-08-07 16:54:48 -05:00
chrnx 6a19f2981a chore: version 26.8.1-beta.0 and clear the nanoid advisory
CI / build (pull_request) Successful in 12s
v26.8.0-beta.0 was released on 2026-08-03 and `verify:release` requires the
tag to equal `v${package.json.version}` exactly. Re-tagging the same version
would work — `prepare` deletes and recreates the release on purpose — but it
would silently replace the August 3 archive with different content, leaving
two deploys behind one version number and a rollback that means nothing.

CalVer has a patch digit for this, so: 26.8.1-beta.0.

Also bumps nanoid to 3.3.18. GHSA-2v37-7h3g-55p8 (high) was published after
the js-yaml fix landed and would have failed the release audit gate on its
own. Non-breaking, and in scope here since it blocks the very release this
version exists to enable.

Verified: `npm audit --audit-level=moderate` reports 0 vulnerabilities,
`npm run check` passes, `RELEASE_TAG=v26.8.1-beta.0 npm run verify:release`
passes and the old tag is correctly rejected.
2026-08-07 16:49:39 -05:00
chrnx 67a1b48394 Merge pull request 'feat: add privacy-friendly analytics (GoatCounter)' (#7) from feat/analytics into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 11s
Reviewed-on: #7
2026-08-07 19:49:02 +00:00
chrnx 9c7eec883c Merge branch 'main' into feat/analytics
CI / build (pull_request) Successful in 11s
2026-08-07 19:48:09 +00:00
chrnx 73f8e1602f Merge pull request 'chore: clear the js-yaml advisory blocking CI' (#8) from chore/js-yaml-advisory into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 12s
Reviewed-on: #8
2026-08-07 19:47:57 +00:00
chrnxandClaude Opus 5 68c9f42aed chore: clear the js-yaml advisory blocking CI
CI / build (pull_request) Successful in 11s
CI runs `npm audit --audit-level=moderate`, and js-yaml 4.3.0 — reached
through Astro, several paths deep — carries a high-severity advisory
(GHSA-5p4m-2wfm-xmqj, quadratic CPU consumption in !!omap resolution). Every
PR in this repo is red until it clears.

4.3.1 has the fix and the bump is not breaking, so a plain `npm audit fix`
covers it. No source changes.

Verified: `npm audit --audit-level=moderate` reports 0 vulnerabilities and
`npm run check` (build + verify:build) passes.

The docs site in Green-Tea/core hit the same advisory through Starlight and is
fixed the same way in core#17.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 14:29:30 -05:00
chrnxandClaude Opus 5 ddcb5679ba feat: add privacy-friendly analytics
CI / build (pull_request) Failing after 10s
GoatCounter, same site code as the docs site, so traffic across the marketing
pages and /docs lands in one dashboard with comparable referrer paths.

No cookies, no personal data, no consent banner, nothing to host. It answers
the question we cannot answer today: do the articles convert into
documentation reads?

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 14:04:41 -05:00
chrnx c9159ff1bf Merge pull request 'fix: mark beta site releases as prereleases' (#6) from fix/beta-release-metadata into main
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 12s
Reviewed-on: #6
2026-08-06 16:26:47 +00:00
29 changed files with 2679 additions and 1030 deletions

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
name: Dependency audit
# Weekly, on GITEA ONLY — this is maintenance, so it belongs in the internal tracker.
#
# This is the counterpart that makes release.yml's relaxed gate safe rather than
# negligent. Advisories still get found; they just arrive as an issue on Monday
# morning instead of as a failed release on a Friday afternoon. Learning about a
# vulnerability and being unable to publish should not be the same event.
on:
schedule:
- cron: '0 13 * * 1' # Mondays, 07:00 America/Mexico_City
workflow_dispatch: # so it can be run — and tested — on demand
jobs:
audit:
if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest
steps:
- 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
id: audit
run: |
if npm audit --audit-level=moderate > audit.txt 2>&1; then
echo 'clean=true' >> "$GITHUB_OUTPUT"
else
echo 'clean=false' >> "$GITHUB_OUTPUT"
fi
cat audit.txt
- name: File an issue
if: steps.audit.outputs.clean == 'false'
env:
GT_TOKEN: ${{ github.token }}
API: ${{ github.server_url }}/api/v1/repos/${{ github.repository }}
TITLE: 'Dependency advisories: npm audit is failing'
run: |
set -eu
# One open issue at a time. A weekly cron must not file 52 duplicates.
open=$(curl -sSL -H "Authorization: token $GT_TOKEN" \
"$API/issues?state=open&type=issues" \
| jq --arg t "$TITLE" '[.[] | select(.title == $t)] | length')
if [ "$open" != "0" ]; then
echo "An issue is already open. Nothing to file."
exit 0
fi
body=$(printf '`npm audit --audit-level=moderate` failed on the scheduled run.\n\nThe release gate does not fail on this by design — see the comment in `release.yml`. A static site ships built HTML, not `node_modules`, so a build-time advisory does not reach a visitor. This issue is how it reaches you instead.\n\nFix it in a normal PR, on your own schedule.\n\n```\n%s\n```\n' "$(head -c 4000 audit.txt)")
jq -n --arg t "$TITLE" --arg b "$body" '{title: $t, body: $b}' \
| curl -sS -X POST -H "Authorization: token $GT_TOKEN" \
-H 'Content-Type: application/json' -d @- "$API/issues" > /dev/null
echo "Issue filed."
+9 -3
View File
@@ -14,10 +14,16 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: actions/setup-node@v4 - uses: actions/setup-node@v5
with: with:
node-version: '22' node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- run: npm ci - 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 - run: npm run check
+9 -4
View File
@@ -1,6 +1,12 @@
name: Promote → GitHub 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: on:
push: push:
branches: [main] branches: [main]
@@ -11,10 +17,10 @@ jobs:
if: ${{ github.server_url != 'https://github.com' }} if: ${{ github.server_url != 'https://github.com' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Push main + tags to GitHub - name: Push main or the new tag to GitHub
env: env:
GH_TOKEN: ${{ secrets.GH_PROMOTE_TOKEN }} GH_TOKEN: ${{ secrets.GH_PROMOTE_TOKEN }}
run: | run: |
@@ -23,5 +29,4 @@ jobs:
git push github "refs/tags/${{ github.ref_name }}" git push github "refs/tags/${{ github.ref_name }}"
else else
git push github "HEAD:refs/heads/main" git push github "HEAD:refs/heads/main"
git push github --tags
fi fi
+13 -4
View File
@@ -17,21 +17,30 @@ jobs:
ARCHIVE_NAME: green-tea-site-${{ github.ref_name }}.tar.gz ARCHIVE_NAME: green-tea-site-${{ github.ref_name }}.tar.gz
RELEASE_TAG: ${{ github.ref_name }} RELEASE_TAG: ${{ github.ref_name }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5
- uses: actions/setup-node@v4 - uses: actions/setup-node@v5
with: with:
node-version: '22' node-version: '22'
check-latest: true # the runner's cached 22 can lag behind Astro's minimum
- name: Validate release tag - name: Validate release tag
run: npm run verify:release run: npm run verify:release
- run: npm ci - run: npm ci
- run: npm audit --audit-level=moderate # Deliberately `critical`, not `moderate`. npm audit reads a live advisory feed,
# so a release gated on it fails by calendar date rather than by anything the
# release changed — and it fails at the exact moment there is least time to judge
# 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.
# 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 - run: npm run check
- name: Package dist/ - name: Package dist/
run: tar -czf "$ARCHIVE_NAME" -C dist . run: tar -czf "$ARCHIVE_NAME" -C dist .
- name: Verify .htaccess in archive - name: Verify .htaccess in archive
run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './.htaccess' run: tar -tzf "$ARCHIVE_NAME" | grep -Fx './.htaccess'
- name: Attach to GitHub release - name: Attach to GitHub release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v3
with: with:
prerelease: true prerelease: true
files: ${{ env.ARCHIVE_NAME }} files: ${{ env.ARCHIVE_NAME }}
+1355 -952
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -1,7 +1,7 @@
{ {
"name": "green-tea-site", "name": "green-tea-site",
"type": "module", "type": "module",
"version": "26.8.0-beta.0", "version": "26.11.0-rc.2",
"engines": { "engines": {
"node": ">=22.12.0" "node": ">=22.12.0"
}, },
@@ -16,9 +16,9 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "^7.0.5", "@astrojs/mdx": "^7.0.8",
"@astrojs/rss": "^4.0.19", "@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.3", "@astrojs/sitemap": "^3.7.4",
"astro": "^7.1.6" "astro": "^7.3.5"
} }
} }
+3
View File
@@ -1,5 +1,8 @@
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On 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 RewriteCond %{HTTPS} !=on
RewriteRule ^ https://green-tea.expressive-tea.io%{REQUEST_URI} [R=301,L] RewriteRule ^ https://green-tea.expressive-tea.io%{REQUEST_URI} [R=301,L]
</IfModule> </IfModule>
+21 -3
View File
@@ -1,17 +1,21 @@
--- ---
import Icon from './Icon.astro';
const linkColumns = [ const linkColumns = [
{ {
heading: 'Learn', heading: 'Learn',
links: [ links: [
{ label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true }, { 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: 'Blog', href: '/blog', external: false },
], ],
}, },
{ {
heading: 'Code', heading: 'Code',
links: [ links: [
{ label: 'GitHub', href: 'https://github.com/Expressive-Tea/green-tea', external: true }, { 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 }, { label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true, icon: 'npm' as const },
{ label: 'JSR', href: 'https://jsr.io/@green-tea/core', external: true, icon: 'jsr' as const },
], ],
}, },
]; ];
@@ -35,7 +39,13 @@ const year = new Date().getFullYear();
<ul> <ul>
{column.links.map((link) => ( {column.links.map((link) => (
<li> <li>
<a href={link.href} target={link.external ? '_blank' : undefined} rel={link.external ? 'noopener noreferrer' : undefined}> <a
class={link.icon ? 'site-footer__link--mark' : undefined}
href={link.href}
target={link.external ? '_blank' : undefined}
rel={link.external ? 'noopener noreferrer' : undefined}
>
{link.icon && <Icon name={link.icon} size={15} />}
{link.label} {link.label}
</a> </a>
</li> </li>
@@ -141,4 +151,12 @@ const year = new Date().getFullYear();
gap: 2rem; gap: 2rem;
} }
} }
/* Icon beside the word, never instead of it. A footer is scanned, and a column of bare
glyphs makes the reader stop and decode where they were skimming. */
.site-footer__link--mark {
display: inline-flex;
align-items: center;
gap: 0.45rem;
}
</style> </style>
+39 -4
View File
@@ -1,11 +1,16 @@
--- ---
import logoUrl from '../assets/logo.svg?url'; import logoUrl from '../assets/logo.svg?url';
import Icon from './Icon.astro';
// `icon` marks the links that become a mark on desktop. Their `label` is still the accessible
// name — an icon-only link without one is a link a screen reader announces as its href.
const navLinks = [ const navLinks = [
{ label: 'Docs', href: 'https://green-tea.expressive-tea.io/docs', external: true }, { 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: 'Blog', href: '/blog', external: false },
{ label: 'GitHub', href: 'https://github.com/Expressive-Tea/green-tea', external: true }, { 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 }, { label: 'npm', href: 'https://www.npmjs.com/package/@green-tea/core', external: true, icon: 'npm' as const },
{ label: 'JSR', href: 'https://jsr.io/@green-tea/core', external: true, icon: 'jsr' as const },
]; ];
--- ---
@@ -28,8 +33,15 @@ const navLinks = [
{ {
navLinks.map((link) => ( navLinks.map((link) => (
<li> <li>
<a href={link.href} target={link.external ? '_blank' : undefined} rel={link.external ? 'noopener noreferrer' : undefined}> <a
{link.label} href={link.href}
target={link.external ? '_blank' : undefined}
rel={link.external ? 'noopener noreferrer' : undefined}
aria-label={link.icon ? link.label : undefined}
class={link.icon ? 'site-nav__mark' : undefined}
>
{link.icon && <Icon name={link.icon} />}
<span class={link.icon ? 'site-nav__mark-text' : undefined}>{link.label}</span>
</a> </a>
</li> </li>
)) ))
@@ -109,6 +121,23 @@ const navLinks = [
text-decoration: none; text-decoration: none;
} }
.site-nav__mark {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
/* The mark carries the meaning on desktop, where the row is short and the three logos read
faster than three words. The label is not removed from the DOM: it is the accessible name
the collapsed menu shows back. */
.site-nav__mark-text {
display: none;
}
.site-nav ul {
gap: 1.75rem;
}
.nav-toggle { .nav-toggle {
display: none; display: none;
} }
@@ -148,6 +177,12 @@ const navLinks = [
padding-block: 1rem; padding-block: 1rem;
} }
/* Inside the drawer the row is vertical and there is room, so the mark stops standing in
for the word and stands next to it. Three unlabelled logos stacked read as decoration. */
.site-nav__mark-text {
display: inline;
}
.nav-toggle:checked ~ .site-nav { .nav-toggle:checked ~ .site-nav {
display: block; display: block;
} }
+49
View File
@@ -0,0 +1,49 @@
---
// Inline marks for the three places a package of ours can be reached. Three icons did not
// justify an icon library: `astro-icon` and friends pull a resolver and a set to ship what
// fits in this file, and every one of them ends up inlining the same paths anyway.
//
// `currentColor` rather than a fixed fill, so a mark takes the colour of the link it sits in
// and needs no separate rule per surface — the header, the hero's ghost buttons and the
// footer all tint it differently today.
//
// The SVG is `aria-hidden`: the accessible name belongs to the anchor, which knows where it
// goes. A `<title>` here would announce "GitHub" twice on a link already labelled GitHub.
interface Props {
name: 'github' | 'npm' | 'jsr';
size?: number;
class?: string;
}
const { name, size = 18, class: className } = Astro.props;
// Optical sizing, not geometric. GitHub and npm fill their 24×24 box; JSR's wordmark is wide
// and short and covers about half its height, so at an equal `size` it reads as the small one
// of the three. The multiplier matches apparent weight, which is what a row of marks is judged
// on — nobody measures them, they just notice one looks wrong.
const scale: Record<Props['name'], number> = { github: 1, npm: 1, jsr: 1.4 };
const box = Math.round(size * scale[name]);
// The marks are the official ones, taken from simple-icons rather than redrawn. Hand-drawn
// approximations of npm and JSR were tried first and rendered as illegible shapes: a
// third-party mark is either theirs or it is noise.
const paths: Record<Props['name'], string> = {
github:
'M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.24-.02-2.25-3.34.73-4.04-1.42-4.04-1.42-.55-1.39-1.34-1.76-1.34-1.76-1.09-.75.08-.73.08-.73 1.2.08 1.84 1.24 1.84 1.24 1.07 1.83 2.81 1.3 3.5.99.11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.13-.3-.54-1.52.11-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6.01 0c2.29-1.55 3.3-1.23 3.3-1.23.65 1.66.24 2.88.12 3.18.77.84 1.23 1.91 1.23 3.22 0 4.61-2.8 5.62-5.48 5.92.43.37.81 1.1.81 2.22 0 1.6-.01 2.9-.01 3.29 0 .32.21.7.82.58A12 12 0 0 0 24 12.5C24 5.87 18.63.5 12 .5Z',
npm: 'M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z',
// the others rather than carrying its own viewBox.
jsr: 'M3.692 5.538v3.693H0v7.384h7.385v1.847h12.923v-3.693H24V7.385h-7.385V5.538Zm1.846 1.847h1.847v7.384H1.846v-3.692h1.846v1.846h1.846zm3.693 0h5.538V9.23h-3.692v1.846h3.692v5.538H9.231V14.77h3.692v-1.846H9.231Zm7.384 1.846h5.539v3.692h-1.846v-1.846h-1.846v5.538h-1.847z',
};
---
<svg
class={className}
width={box}
height={box}
viewBox="0 0 24 24"
fill="currentColor"
aria-hidden="true"
focusable="false"
>
<path d={paths[name]} />
</svg>
+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>
+27 -8
View File
@@ -1,16 +1,22 @@
--- ---
const cards = [ const cards = [
{ title: 'Secure by default', body: 'Hardened response headers and CORS; native TLS on Node.' }, { title: 'Derive execution', body: 'Green Tea topologically sorts the graph. Stop maintaining execution order by hand.' },
{
title: 'Fail before traffic',
body: 'A missing dependency or an ambiguous route fails loudly at boot, not in production.',
},
{ {
title: 'Real validation', title: 'Real validation',
body: 'Standard Schema; bring zod, valibot, or arktype. No validator dependency in core.', body: 'Standard Schema; bring zod, valibot, or arktype. No validator dependency in core.',
}, },
{ title: 'OpenAPI 3.1', body: 'Projected from the same graph. No extra decorators.' },
{ title: 'See the graph', body: 'Interactive, served by your app. Not behind a paywall.' },
{ title: 'Loud boot', body: 'A missing dependency fails at startup, not in production.' },
{ {
title: 'One dependency', title: 'See what was derived',
body: "reflect-metadata only. No Express or Inversify maintenance chain underneath you.", body: 'Print the ordered pipeline, open the live graph, project the same metadata into OpenAPI 3.1.',
},
{ title: 'Secure by default', body: 'Hardened response headers and CORS; native TLS on Node.' },
{
title: 'A small foundation',
body: 'reflect-metadata is the only runtime dependency; ws and busboy are optional peers for sockets and uploads.',
}, },
]; ];
--- ---
@@ -18,8 +24,14 @@ const cards = [
<section class="batteries"> <section class="batteries">
<div class="wrap"> <div class="wrap">
<div class="batteries__head"> <div class="batteries__head">
<p class="kicker">Batteries, calm by design</p> <p class="kicker">Foundation ownership</p>
<h2>Serious defaults. Zero ceremony.</h2> <h2>We maintain the foundation. You maintain the product.</h2>
<p class="batteries__lede">
Routing, graph execution, validation integration, streaming, security defaults, errors, OpenAPI, lifecycle,
runtime adapters — the framework work your application would otherwise assemble and then keep working. The
goal isn't fewer dependencies for a badge; it's fewer moving parts your team has to understand, upgrade and
debug.
</p>
</div> </div>
<ul class="batteries__grid"> <ul class="batteries__grid">
@@ -46,6 +58,13 @@ const cards = [
margin-bottom: 0; margin-bottom: 0;
} }
.batteries__lede {
margin: 1rem 0 0;
max-width: 46rem;
color: var(--dim);
line-height: 1.75;
}
.batteries__grid { .batteries__grid {
list-style: none; list-style: none;
margin: 0; margin: 0;
+6 -6
View File
@@ -4,7 +4,7 @@
const items = [ const items = [
{ {
q: 'Is Green Tea ready for production?', 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?', 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?', 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?', q: 'What will it add to my dependency tree?',
@@ -20,11 +20,11 @@ const items = [
}, },
{ {
q: 'Is mesh (multi-service) ready to use?', 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?', q: 'What does the API freeze promise?',
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.`, 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="wrap faq__inner">
<div class="faq__head"> <div class="faq__head">
<p class="kicker">Straight answers</p> <p class="kicker">Straight answers</p>
<h2>Questions worth asking about a beta.</h2> <h2>Questions worth asking about a release candidate.</h2>
</div> </div>
<ul class="faq__list"> <ul class="faq__list">
+109
View File
@@ -0,0 +1,109 @@
---
const slices = [
{
route: 'GET /prices',
chain: ['market', 'handler'],
note: 'A public endpoint never asks for a user, so authentication is not in its graph slice.',
},
{
route: 'GET /portfolio',
chain: ['session', 'auth', 'user', 'portfolio', 'handler'],
note: 'A protected endpoint needs the user, so Green Tea follows the graph and includes it.',
},
];
---
<section class="demand section--panel">
<div class="wrap demand__inner">
<div class="demand__head">
<p class="kicker">Route slicing</p>
<h2>Run what the route needs. Not everything registered around it.</h2>
</div>
<ul class="demand__slices">
{
slices.map((slice) => (
<li class="demand__slice">
<p class="demand__route"><code>{slice.route}</code></p>
<p class="demand__chain">
{slice.chain.map((node, i) => (
<>
{i > 0 && <span class="demand__arrow" aria-hidden="true">→</span>}
<code>{node}</code>
</>
))}
</p>
<p class="demand__note">{slice.note}</p>
</li>
))
}
</ul>
<p class="demand__punch">
Routes don't inherit infrastructure just because it was registered nearby. Execution follows dependency
demand.
</p>
</div>
</section>
<style>
.demand {
padding-block: clamp(3rem, 8vw, 5.5rem);
}
.demand__head {
margin-bottom: 2.2rem;
max-width: 46rem;
}
.demand__head h2 {
margin-bottom: 0;
}
.demand__slices {
list-style: none;
margin: 0 0 2rem;
padding: 0;
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.demand__slice {
padding: 1.3rem 1.4rem;
border: 1px solid color-mix(in srgb, var(--dim) 18%, transparent);
border-radius: 12px;
}
.demand__route {
margin: 0 0 0.8rem;
font-family: var(--font-heading);
font-weight: 600;
}
.demand__chain {
margin: 0 0 0.9rem;
line-height: 2.1;
font-size: 0.95rem;
}
.demand__arrow {
color: var(--matcha);
margin-inline: 0.35rem;
}
.demand__note {
margin: 0;
color: var(--dim);
line-height: 1.7;
font-size: 0.95rem;
}
.demand__punch {
margin: 0;
max-width: 46rem;
font-size: 1.05rem;
line-height: 1.7;
color: var(--ink);
}
</style>
+20 -6
View File
@@ -7,11 +7,17 @@ import GraphMotif from '../GraphMotif.astro';
<div class="wrap graph-idea__inner"> <div class="wrap graph-idea__inner">
<p class="kicker">The idea</p> <p class="kicker">The idea</p>
<h2>A graph, not a chain.</h2> <h2>Declare what your code needs. Not when it should run.</h2>
<p class="graph-idea__body"> <p class="graph-idea__body">
Express-style frameworks make ordering your job — what runs here, what runs there, where you wire it. Green A handler needs <code>user</code>. Authorization needs <code>user</code>. User comes from authentication.
Tea inverts it. You ask for the highest-level thing you need, and its dependencies resolve transitively. Authentication needs a session. That is already enough information to describe execution order — so Green Tea
builds the graph from it, validates the wiring at boot, and runs only the slice the route requires.
</p>
<p class="graph-idea__chain" aria-label="session, then auth, then user, then authorization, then permissions, then handler">
<code>session</code> → <code>auth</code> → <code>user</code> → <code>authorization</code> →
<code>permissions</code> → <code>handler</code>
</p> </p>
<ul class="graph-idea__examples"> <ul class="graph-idea__examples">
@@ -23,9 +29,10 @@ import GraphMotif from '../GraphMotif.astro';
</ul> </ul>
<p class="graph-idea__punch"> <p class="graph-idea__punch">
This is pure composition. DI frameworks resolve a graph of <em>services</em>; Green Tea resolves your <em You describe the application; the framework derives the pipeline. DI frameworks resolve a graph of <em
>request pipeline</em >services</em
> the same way — the steps a route runs are computed from what it asks for, not the order you wrote them in. > — Green Tea resolves your <em>request pipeline</em> the same way, from what each route asks for rather than
from the order you happened to write things in.
</p> </p>
</div> </div>
</section> </section>
@@ -96,6 +103,13 @@ import GraphMotif from '../GraphMotif.astro';
color: var(--ink); color: var(--ink);
} }
.graph-idea__chain {
margin: 0 0 1.6rem;
font-size: 0.95rem;
line-height: 2.1;
color: var(--dim);
}
.graph-idea__punch { .graph-idea__punch {
margin: 0; margin: 0;
padding: 1.25rem 1.5rem; padding: 1.25rem 1.5rem;
+35 -9
View File
@@ -1,5 +1,6 @@
--- ---
import logoUrl from '../../assets/logo.svg?url'; import logoUrl from '../../assets/logo.svg?url';
import Icon from '../Icon.astro';
import GraphMotif from '../GraphMotif.astro'; import GraphMotif from '../GraphMotif.astro';
--- ---
@@ -11,26 +12,32 @@ import GraphMotif from '../GraphMotif.astro';
<span class="hero__wordmark">Green Tea<span class="hero__dot">.</span></span> <span class="hero__wordmark">Green Tea<span class="hero__dot">.</span></span>
</div> </div>
<h1>Your API is a graph, not a middleware chain.</h1> <h1>Declare intent. Derive execution. Build your product.</h1>
<p class="hero__subhead"> <p class="hero__subhead">
Green Tea is a zen, opinionated, type-safe framework: you declare what each step needs — it computes the A zen, opinionated, type-safe TypeScript framework that turns what your code needs into a validated
order. One runtime dependency. Runs on Node, Deno, Bun, and Cloudflare Workers. execution graph. Green Tea derives the order, runs only the dependencies each route actually requires,
and shows you exactly what it built.
</p> </p>
<p class="hero__promise">You focus on business logic. Green Tea maintains the foundation.</p>
<div class="btn-row hero__ctas"> <div class="btn-row hero__ctas">
<a class="btn btn--primary" href="https://green-tea.expressive-tea.io/docs" target="_blank" rel="noopener noreferrer"> <a class="btn btn--primary" href="https://green-tea.expressive-tea.io/docs" target="_blank" rel="noopener noreferrer">
Get started Get started
</a> </a>
<a class="btn btn--ghost" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer"> <a class="btn btn--ghost btn--mark" href="https://github.com/Expressive-Tea/green-tea" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
GitHub <Icon name="github" size={20} />
</a> </a>
<a class="btn btn--ghost" href="https://www.npmjs.com/package/@green-tea/core" target="_blank" rel="noopener noreferrer"> <a class="btn btn--ghost btn--mark" href="https://www.npmjs.com/package/@green-tea/core" target="_blank" rel="noopener noreferrer" aria-label="npm">
npm <Icon name="npm" size={20} />
</a>
<a class="btn btn--ghost btn--mark" href="https://jsr.io/@green-tea/core" target="_blank" rel="noopener noreferrer" aria-label="JSR">
<Icon name="jsr" size={20} />
</a> </a>
</div> </div>
<p class="hero__micro">Beta · calm by design</p> <p class="hero__micro">Release candidate · API frozen · Node · Deno · Bun · Edge</p>
</div> </div>
<GraphMotif class="hero__motif" width={460} height={400} opacity={0.55} /> <GraphMotif class="hero__motif" width={460} height={400} opacity={0.55} />
@@ -87,7 +94,26 @@ import GraphMotif from '../GraphMotif.astro';
color: var(--dim); color: var(--dim);
font-size: 1.1rem; font-size: 1.1rem;
line-height: 1.7; line-height: 1.7;
margin-bottom: 2rem; margin-bottom: 1.1rem;
}
.hero__promise {
margin: 0 0 2rem;
font-family: var(--font-heading);
font-size: 1.02rem;
line-height: 1.6;
color: var(--ink);
}
/* Square rather than pill: with the text gone the ghost button's horizontal padding left a
wide box around a small mark. Equal padding keeps the three the same size whatever the
glyph's width. */
.btn--mark {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.65rem;
aspect-ratio: 1;
} }
.hero__ctas { .hero__ctas {
+8 -5
View File
@@ -3,15 +3,18 @@
<section class="honest"> <section class="honest">
<div class="wrap honest__inner"> <div class="wrap honest__inner">
<h2>Honest: it's beta.</h2> <h2>Honest: it's a release candidate.</h2>
<p class="honest__body"> <p class="honest__body">
Express and Fastify have a decade of ecosystem. Green Tea doesn't — yet. You come for the model and the Express and Fastify have a decade of ecosystem behind them; NestJS has mature enterprise tooling. Green Tea
ergonomics. If you're tired of maintaining someone else's foundation, come try it. 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. What is no longer moving is the
API: it is frozen at RC.1, and until stable every release is a fix.
</p> </p>
<form class="subscribe" action="/subscribe.php" method="post"> <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"> <div class="subscribe__row">
<label class="sr-only" for="sub-email">Email address</label> <label class="sr-only" for="sub-email">Email address</label>
<input <input
@@ -26,7 +29,7 @@
/> />
<!-- honeypot: real people never fill this --> <!-- honeypot: real people never fill this -->
<input class="subscribe__hp" type="text" name="website" tabindex="-1" autocomplete="off" aria-hidden="true" /> <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> </div>
<p class="subscribe__msg" role="status" aria-live="polite"></p> <p class="subscribe__msg" role="status" aria-live="polite"></p>
</form> </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>
+17 -5
View File
@@ -4,18 +4,30 @@
<section class="realtime section--panel"> <section class="realtime section--panel">
<div class="wrap realtime__inner"> <div class="wrap realtime__inner">
<p class="kicker">Real-time</p> <p class="kicker">Real-time</p>
<h2>One primitive for real-time.</h2> <h2>One mental model. Different transports.</h2>
<p class="realtime__body"> <p class="realtime__body">
SSE, ndjson, or a duplex WebSocket — one primitive, an <code>AsyncIterable</code>. You declare the transport Your business code has one idea — values arriving over time — and in Green Tea that idea is an <code
with a decorator (<code>@Sse</code>, <code>@Ws</code>, <code>@Stream</code>); only that one line changes. No >AsyncIterable</code
separate gateway, no bolt-on package — and your wire contract is what you declared, never a surprise sprung by >. Declare the transport with a decorator (<code>@Sse</code>, <code>@Ws</code>, <code>@Stream</code>) and
a return value. return the stream; the framework handles framing, backpressure, cleanup and disconnects. Only that one line
changes between them, and your wire contract is what you declared — never a surprise sprung by a return value.
</p>
<p class="realtime__tree">
<code>AsyncIterable</code> → <code>SSE</code> · <code>NDJSON</code> · <code>WebSocket</code>
</p> </p>
</div> </div>
</section> </section>
<style> <style>
.realtime__tree {
margin: 1.2rem 0 0;
font-size: 0.95rem;
line-height: 2.1;
color: var(--dim);
}
.realtime__inner { .realtime__inner {
max-width: 60ch; max-width: 60ch;
margin: 0 auto; margin: 0 auto;
+7 -6
View File
@@ -4,12 +4,13 @@ const chips = ['app.listen(port)', 'serveDeno(app)', 'serveBun(app)', 'edgeHandl
<section class="runs"> <section class="runs">
<div class="wrap runs__inner"> <div class="wrap runs__inner">
<p class="kicker">Runtime-agnostic</p> <p class="kicker">Portability</p>
<h2>Write it once. Run it on four targets.</h2> <h2>Your application model shouldn't belong to a runtime.</h2>
<p class="runs__body"> <p class="runs__body">
Node, Deno, Bun — and Cloudflare Workers at the edge. The same <code>src/</code> runs on all four; the only line The graph, routes, validation and business logic stay the same on Node, Deno, Bun and Cloudflare Workers.
that changes is how you serve it. Runtime-specific serving is isolated at the transport boundary — the only line that changes is how the
application is served.
</p> </p>
<ul class="runs__chips"> <ul class="runs__chips">
@@ -17,8 +18,8 @@ const chips = ['app.listen(port)', 'serveDeno(app)', 'serveBun(app)', 'edgeHandl
</ul> </ul>
<p class="runs__micro"> <p class="runs__micro">
Built on web standards. Not hostage to a runtime's fate. <span class="runs__caveat" 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> </p>
</div> </div>
+21 -5
View File
@@ -26,18 +26,34 @@ class MeController {
<div class="wrap see-it__inner"> <div class="wrap see-it__inner">
<div class="see-it__head"> <div class="see-it__head">
<p class="kicker">See it</p> <p class="kicker">See it</p>
<h2>The whole model, in one screen.</h2> <h2>The signature is the contract.</h2>
<p class="see-it__lede">
If your handler needs it, it says so. Green Tea knows what the handler requires, which steps produce those
values, and what those steps need in turn — and if the graph can't satisfy that contract, it fails before
serving traffic. No hoping auth ran first, no archaeology through <code>app.use()</code>.
</p>
</div> </div>
<div class="see-it__code"> <div class="see-it__code">
<Code code={snippet} lang="ts" theme="github-dark-high-contrast" /> <Code code={snippet} lang="ts" theme="github-dark-high-contrast" />
</div> </div>
<p class="see-it__caption">Declare what you need. The framework figures out the order.</p> <p class="see-it__caption">
Then make the framework show its work: <code>app.explain()</code> prints the ordered pipeline, the live graph
is served by your own app, and the same metadata projects into OpenAPI. Automated does not have to mean
invisible.
</p>
</div> </div>
</section> </section>
<style> <style>
.see-it__lede {
margin: 1rem 0 0;
max-width: 46rem;
color: var(--dim);
line-height: 1.75;
}
.see-it__inner { .see-it__inner {
max-width: 780px; max-width: 780px;
margin: 0 auto; margin: 0 auto;
@@ -68,10 +84,10 @@ class MeController {
} }
.see-it__caption { .see-it__caption {
margin: 1.5rem 0 0; margin: 1.5rem auto 0;
text-align: center; max-width: 46rem;
color: var(--dim); color: var(--dim);
font-style: italic; line-height: 1.75;
font-size: 0.95rem; font-size: 0.95rem;
} }
</style> </style>
@@ -0,0 +1,121 @@
---
const rows = [
{ job: 'Execution order', owner: 'Green Tea' },
{ job: 'Dependency validation', owner: 'Green Tea' },
{ job: 'Route-specific pipeline', owner: 'Green Tea' },
{ job: 'Missing dependency checks', owner: 'Green Tea' },
{ job: 'Streaming mechanics', owner: 'Green Tea' },
{ job: 'OpenAPI projection', owner: 'Green Tea' },
{ job: 'Secure transport defaults', owner: 'Green Tea' },
{ job: 'Runtime serving boundary', owner: 'Green Tea' },
];
---
<section class="who">
<div class="wrap who__inner">
<div class="who__head">
<p class="kicker">Ownership</p>
<h2>Who should do the infrastructure work?</h2>
</div>
<dl class="who__list">
{
rows.map((row) => (
<div class="who__row">
<dt>{row.job}</dt>
<dd>{row.owner}</dd>
</div>
))
}
<div class="who__row who__row--you">
<dt>Business rules</dt>
<dd>You</dd>
</div>
</dl>
<p class="who__punch">
The framework should carry framework complexity. Your application should carry product complexity.
</p>
</div>
</section>
<style>
.who {
padding-block: clamp(3rem, 8vw, 5.5rem);
}
.who__head {
margin-bottom: 2.2rem;
}
.who__head h2 {
margin-bottom: 0;
}
.who__list {
margin: 0 0 2rem;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: clamp(2rem, 6vw, 4.5rem);
}
.who__row {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
padding-block: 0.75rem;
border-bottom: 1px solid color-mix(in srgb, var(--dim) 18%, transparent);
}
.who__row dt {
margin: 0;
color: var(--dim);
}
.who__row dd {
margin: 0;
font-family: var(--font-heading);
font-weight: 600;
color: var(--matcha);
white-space: nowrap;
}
.who__row--you {
grid-column: 1 / -1;
border-bottom: none;
border-top: 1px solid var(--matcha);
margin-top: 1.4rem;
padding-top: 1.2rem;
}
.who__row--you dt {
color: var(--ink);
font-size: 1.05rem;
}
.who__row--you dd {
color: var(--violet);
font-size: 1.35rem;
}
.who__punch {
margin: 0;
max-width: 52rem;
font-size: 1.05rem;
line-height: 1.7;
color: var(--ink);
}
@media (max-width: 700px) {
.who__list {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 480px) {
.who__row {
font-size: 0.95rem;
}
}
</style>
@@ -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,138 @@
---
title: "The release where I found out what I had shipped"
description: "A second registry I announced that did not work, three ways your own code could take the process down, and the two improvements my benchmark was too small to see."
pubDate: 2026-09-04
author: "Diego Reséndez"
tags: ["green-tea", "release", "performance", "reliability"]
draft: false
---
The last release gave green-tea a way to say what it was doing. This one is mostly about what I saw once it could.
`26.9.0-beta.1` is out on npm and JSR. It has one contributed feature, a handful of things you may have been
waiting for, and four corrections that exist because looking properly turned up problems that announcing loudly had
not.
## The second registry I announced did not work
In August I wrote that green-tea now publishes to JSR as well as npm. That was true. What I did not check is
whether anyone could use it.
JSR serves `src/` rather than the tsup build. My ESM build had extensionless relative imports — fine for a bundler,
fine for Node's resolution of a built package, and not something Deno will resolve. So `jsr:@green-tea/core`
installed and then failed on the first import. The npm package was fine the whole time, which is exactly why I did
not notice: every test I ran, and every runtime suite in CI, went through the built artifact.
It works now, and what actually fixed it was not the import rewrite. It was adding `deno publish --dry-run` to the
release workflow, before the npm publish, so JSR's checks — slow types, module analysis, things npm never looks at —
run while there is still something to do about them. Learning about them after npm has published leaves a version
half-shipped, and JSR versions are permanent.
I would rather tell you the registry was broken for two weeks than have you discover it in an evaluation.
## Three ways your own code could take the process down
The lifecycle stream from the last release is what made these findable. All three are the same shape: green-tea
called something you gave it, and did not consider that it might throw.
A `cors.origins` predicate runs per request. If yours threw — a malformed header, a regex on a value you did not
expect — the exception escaped into the request pipeline and the process went with it. A custom `onError` had the
same problem, and worse timing: the handler you wrote to keep a bad request from becoming an outage was itself an
outage. It now falls back to the built-in renderer and reports the failure, rather than losing the response.
The third is Node's connection cap. Reaching `maxConnections` destroyed the socket with no HTTP response and said
nothing at all, which from the client's side is indistinguishable from a network fault. It logs a warning naming
the dropped peer now, rate-limited to one a minute.
None of these were reported. They came from reading the code with a specific question, which is the same way the
mesh defects turned up in August. I am starting to think that is the only way I find anything.
## Your app boots in its longest chain, not the sum of it
Boot walked the topological order one provider at a time. Three providers that need nothing from each other, 200 ms
of work each, took **616 ms** — the sum. They now boot concurrently and take **210 ms**, which is the longest one
plus overhead.
The framework already computed the dependency graph. Booting the independent nodes together was not a new idea so
much as noticing that the information had been sitting there since the beginning. That is the second release in a
row where the fix was using something the graph already knew, and I do not think that is a coincidence: I keep
building the structure and then forgetting to ask what else it can answer.
The saving scales with how wide your graph is, so a small application will see very little, and an application with
a dozen independent providers will see most of its boot time disappear.
## The two improvements my benchmark was too small to see
Route matching is a linear scan. I have said so in the README for months, and three separate attempts to improve it
measured as *nothing*.
They measured as nothing because the benchmark used **six routes**. Every matcher cost scales with how many
candidates a request walks past, and at six there is nothing to walk past. Specificity ranking, a per-candidate
`decodeURIComponent`, settling the ranking at build time — all three were real, and all three sat below the
resolution of the instrument I was using to judge them.
`npm run bench:compare` now carries 50- and 200-route cases. The same change that measured as noise measures as
this:
| route table | Δ |
|---|---|
| 6 routes | nothing — every row overlaps |
| 50 routes | +3.3%, +3.5% across two runs |
| 200 routes | **+14.9%, +12.0%** — twelve rounds, not one crossing sample |
Route ranking is now settled when the route table is built rather than recomputed per request, and security and
CORS headers are computed once instead of twice. Neither is visible on a six-route table either.
The lesson I actually take from this is not about the router. It is that I spent months believing an optimisation
did not matter because I could not measure it, when what I could not measure was my own test.
## A budget, not a cap
`createApp({ limits: { maxConcurrentRequests } })` bounds how many handlers run at once, per server and per Fetch
adapter. Over the budget a request gets `503` with `Retry-After: 1` rather than queueing behind whatever is already
running.
It counts *executing handlers*, not open connections — so a long-lived SSE stream or a WebSocket upgrade does not
hold a slot for its lifetime, and on Node a client disconnect releases one early. A handler that never returns keeps
its slot forever, which is the honest behaviour for a budget of this shape rather than a bug I am hiding in a
paragraph.
This one is not mine. [@hgshreyas](https://github.com/hgshreyas) wrote it, across two issues and two pull requests,
on a project with no stars and no promise that anyone would review it. The second most useful thing in this release
was written by someone who did not have to.
## Smaller things you may have been waiting for
`createApp({ handleSignals: true })` registers `SIGINT` and `SIGTERM` to close and exit. Off by default, and that is
the design rather than caution — a library that installs process-wide handlers without being asked is a library
that fights your process manager.
`@Sse` can emit an `id:`, so an `EventSource` reconnect has a `Last-Event-ID` to resume from. Without it every
automatic reconnect rebuilt the stream from the start and lost the gap silently, which removes most of the reason to
choose SSE over a raw WebSocket.
The extension-point *types* are exported now, not just the extension points. `TransformerFn` could not be imported,
so a custom transformer had its shape redeclared inline or borrowed off a value with `typeof`. Checking the barrel
for the same oversight found four more: `PluginApi`, `ScopeApi`, `ScopeNode`, `Hooks` and `TeardownFn`.
And every `request:end` is now preceded by a `request:start` carrying the same `requestId`, which is what makes the
stream something you can build a collector on rather than something you can only log.
## Where this leaves the beta
The graph is settled. `createApp`'s options and the plugin API still move — and the plugin API is where I am going
next, because it is public, documented, and has exactly zero plugins written against it. Mesh is still alpha and
still frozen.
I am not freezing the API in a release whose main lesson was that I could not see what I had shipped.
## Try it
```sh
npm install @green-tea/core@beta reflect-metadata
```
Everything above, as a list rather than a story, is on the
[`26.9.0-beta.1` release](https://github.com/Expressive-Tea/green-tea/releases/tag/v26.9.0-beta.1).
That's the tea. 🍵
@@ -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.
+173
View File
@@ -0,0 +1,173 @@
---
title: "Trust is a feature, and I had shipped it as a TODO"
description: "What it took to make green-tea operable: an observability contract, shutdown that actually lets go, a routing difference between runtimes I did not know I had — and two people who contributed to a project with no stars."
pubDate: 2026-08-19
author: "Diego Reséndez"
tags: ["green-tea", "story", "observability", "contributors"]
draft: false
---
There is a difference between a framework you can demo and a framework you can run, and for most of this year
green-tea was firmly the first one.
The demo was good. Declare what a route needs, get a validated execution graph, run only the slice that route
requires. That part works and I still think it is the right idea. But when someone asked me the question every
serious evaluation asks in week one — *what is it doing in production?* — the honest answer was: I don't know, and
neither will you.
`26.8.0-beta.1` is about that gap and the two others hiding behind it.
## "No observability layer" was a sentence in my README for months
I want to be precise about how bad that was, because I was oddly proud of having written it down.
Declaring a gap is not the same as not having one. Every request that went through green-tea was anonymous. There
was no id to correlate a slow response with the step that caused it, no per-step timing, and — worst of the three —
the framework wrote to `console` in a handful of places, which means an application had no way to redirect its own
framework's output. You could ship it, but you could not operate it.
What shipped is a correlated event stream: an id per request, adopted from an incoming `x-request-id` when a gateway
already made one, carried on every event, alongside the matched route *pattern* rather than the concrete URL. That
last detail matters more than it looks — pattern cardinality is bounded, URL cardinality is not, and a metrics
backend fed the second one falls over.
The `console` calls are gone, and what replaced discipline is a lint rule over `src/**`. I do not trust myself to
remember, and neither should you.
What I did not build: a metrics registry, an OpenTelemetry exporter. Both were in the original issue and both would
have been the second runtime dependency this project has. A `traceparent` header is carried through untouched so an
exporter package can do that job. The framework ships the contract; the integration is somebody's package,
possibly mine, later.
I measured the cost instead of guessing at it — about 7% of the framework's own per-request work, roughly 2% once a
real socket is in the path. I mention the number because the first three times I measured it I got three different
wrong answers, one with the sign inverted. That is a story for another post.
## Shutdown: the framework was holding things it never let go of
The second gap was quieter. Green-tea would boot your providers, hand you a database pool, and then, at shutdown,
do nothing about it. `app.close()` drained requests and closed streams — it never told your code that the process
was going away. So every application built on it re-implemented the same `process.on('SIGTERM')` block, and every
one of them got the ordering slightly wrong, because the order you need is the reverse of the order things booted
in and nothing was telling you what that order was.
The framework already knew it. It computes a topological order to run your graph. Using it for teardown was not a
feature so much as an admission that the information was already sitting there.
Now a provider closes its pool in `dispose()`, a plugin registers `onShutdown`, an application passes `hooks`, and
all three land in one registry that awaits them in reverse boot order inside the existing deadline. A failure gets
logged, and the rest still run.
The part I want to flag is the one that is *not* symmetric: on the edge, none of this exists. Workerd has no
shutdown to hook into. I could have quietly no-opped it and let the docs imply parity. It says so instead.
## The bug I found by looking, and the bug CI found by not trusting me
While profiling the router I noticed `GET /public/../admin` returned 404 on Node. On Deno, Bun and Workers, the same
request reached `/admin`. The fetch-based runtimes resolve dot segments inside the `Request` constructor, before my
code ever sees the path.
So the same bytes on the wire were routing differently depending on where you deployed. A framework whose entire
pitch is *the same application model everywhere* had a silent routing divergence, and my own cross-runtime parity
tests could not catch it, because they go through `fetch()` — which normalizes the path before it hits the wire. The
new tests write the request line to a socket by hand.
The second one is more embarrassing and more useful. CI failed the observability work on Node 18 with
`ReferenceError: crypto is not defined`. The global `crypto` landed in Node 19. My `engines` field promises Node 18.
Every machine I own runs Node 20 or newer, and the other three runtimes have the global — so I had shipped code that
made the framework unusable on its own declared floor, and *nothing I could run locally would ever have told me*.
That job exists because I pinned it to the version I promise rather than the version I use. It is the single most
valuable thing in my CI configuration.
## Then I pointed the same question at the part I am proudest of
Mesh is the thing green-tea has that nothing else does: `@needs('billing')` resolves the same whether
billing runs in this process or on another machine. It is the idea I would put on a poster. It is
also the part nobody has run in anger, which — after a day of finding out what "we never checked
that" means — made it the obvious next place to look.
I found eight defects in about six hundred lines. Not one had been reported; all of them came from
going and looking.
The worst is the one that answers a question I had never thought to ask: **what happens if you export
a database connection?** The wire is JSON. A pool has methods and private state and JSON keeps
neither, so it serialized to `{}` — and `{}` is an object. It passed every `if (db)` check, it had no
methods, and it failed as `db.query is not a function` at a call site with no visible relationship to
the export that caused it. Status 200. No warning at either end, at any point.
That is not a bug in the transport. It is a *rule the framework never stated*: a mesh export carries
data, never behaviour. Export what the handle produces, not the handle. Writing that sentence down is
worth more than the guard that now enforces it, and the fact that it took me until now to write it is
the honest part of this story.
Second worst: **a dropped link never reconnected.** Not "reconnected badly" — there was no
reconnection code at all. Deploying a teapot meant restarting every teacup that depended on it, which
turns a routine deploy into a coordinated one and makes boot order part of your architecture. The
framework was quietly asking for an operational discipline it never mentioned.
And the one that stung, because it was fresh: **the request id I had just spent a release adding died
at the process boundary.** Every request got an identity, every event carried it, and the moment the
request crossed to another node the far side opened a new investigation. The one place a distributed
trace is the entire point was the one place it did not reach.
So mesh stays alpha, and I want to be precise about why, because "still alpha" usually means "not
finished". This is not that. The protocol is versioned and peers refuse each other on mismatch. The
secret is compared in constant time. Frames are shape-validated before they reach anything.
Ambiguous routes fail the boot rather than picking one. That is not careless code.
**The label is not about the code. It is about how much I know.** Everything above was found by
looking, which means the supply of things to find is set by how long I look, not by how many users
have complained. What a day added to what I know was almost entirely *here is another thing
distributed systems do to you*. It comes out of alpha when somebody runs it with two real services,
redeploys the teapot on a Tuesday, and tells me what broke — not when I run out of ideas.
## The part I actually want to write
Two people contributed code to this release. I want to be specific about why that matters, and it is not politeness.
This project had no stars, no discussion threads, and no visibility. Contributing to a project in that state buys
you nothing — no reputation, no line on a résumé anybody has heard of, no guarantee the maintainer will even reply.
You are betting your evening on a stranger's repository on the strength of the idea alone. I have been on the other
side of that decision and I usually decided not to.
**[@YxnnXriel](https://github.com/YxnnXriel)** added a timeout to `app.close()`. On the surface: one option. In
practice, every shutdown guarantee in this release is standing on it. The app-wide `shutdownTimeoutMs`, the bounded
`close()` on Deno and Bun, the teardown budget that stops a slow `dispose()` from holding a deploy hostage — all of
it is built on the deadline that pull request introduced. I did not plan that. It just turned out to be the piece
everything else needed.
**[@hgshreyas](https://github.com/hgshreyas)** capped concurrent connections on Node, which had been unbounded —
the framework had no answer whatsoever to load it could not serve. Then followed it with the fix that makes a
non-positive value mean *unlimited* rather than *zero*, which is what anyone typing `0` actually intends. The review
on that one taught me something about my own architecture: the counting cannot live in the shared `app.fetch` path,
because `app.fetch` is not on Node's `listen()` route. I did not know that cleanly until someone else's patch forced
me to say it out loud.
Both of them are still working on things. One of those pull requests is currently blocked on *me* — it needs a piece
of plumbing that does not exist yet, and telling a contributor "your change is right, the missing part is mine" is a
better use of a review than asking them to work around it.
If you are looking for somewhere to start, the honest answer today is that both open issues are already spoken
for — I would rather tell you that than have you find out after cloning. So open one instead. Whatever annoyed you
in the first ten minutes is usually a real bug, and I have yet to receive a report that was not worth having. The
contributing guide covers the branch model and the sign-off, and if you would rather not write the documentation
change, say so and I will. Being early costs something. I would rather say thank you in a way that names what you
built than in a badge.
## Where this leaves the beta
The graph is settled. The plugin API and `createApp`'s options still move. Mesh is still alpha. The API freeze
belongs to the release candidate, and freezing it before this release would have frozen a framework that still could
not tell you what it was doing.
## Try it
```sh
npm install @green-tea/core@beta reflect-metadata
```
Everything above, in the form of a list rather than a story, is on the
[`26.8.0-beta.1` release](https://github.com/Expressive-Tea/green-tea/releases/tag/v26.8.0-beta.1).
That's the tea. 🍵
+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.
+9 -1
View File
@@ -1,6 +1,7 @@
--- ---
import Header from '../components/Header.astro'; import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
import StabilityBanner from '../components/StabilityBanner.astro';
import '../styles/global.css'; import '../styles/global.css';
type OpenGraphType = 'website' | 'article'; type OpenGraphType = 'website' | 'article';
@@ -21,7 +22,7 @@ interface Props {
const { const {
title = 'Green Tea — A zen, type-safe graph-pipeline HTTP framework', title = 'Green Tea — A zen, type-safe graph-pipeline HTTP framework',
description = 'Green Tea is a graph-pipeline HTTP framework: declare what you need, not the order to build it. Runtime-agnostic, type-safe, calm by design.', description = 'Green Tea is a dependency-driven TypeScript backend framework: declare what your code needs and it derives, validates and executes the graph. Runtime-agnostic, type-safe, calm by design.',
image = '/og.png', image = '/og.png',
ogType = 'website', ogType = 'website',
robots = 'index, follow', robots = 'index, follow',
@@ -89,8 +90,15 @@ const serializedStructuredData = structuredData
/> />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
{/* GoatCounter — no cookies, no personal data, no consent banner needed. */}
<script
data-goatcounter="https://greentea.goatcounter.com/count"
async
src="//gc.zgo.at/count.js"></script>
</head> </head>
<body> <body>
<StabilityBanner />
<Header /> <Header />
<main> <main>
<slot /> <slot />
+11 -5
View File
@@ -1,18 +1,21 @@
--- ---
import Base from '../layouts/Base.astro'; import Base from '../layouts/Base.astro';
import Hero from '../components/sections/Hero.astro'; import Hero from '../components/sections/Hero.astro';
import WhoDoesTheWork from '../components/sections/WhoDoesTheWork.astro';
import GraphNotChain from '../components/sections/GraphNotChain.astro'; import GraphNotChain from '../components/sections/GraphNotChain.astro';
import FollowsDemand from '../components/sections/FollowsDemand.astro';
import HowItCompares from '../components/sections/HowItCompares.astro'; import HowItCompares from '../components/sections/HowItCompares.astro';
import RunsEverywhere from '../components/sections/RunsEverywhere.astro'; import RunsEverywhere from '../components/sections/RunsEverywhere.astro';
import RealTime from '../components/sections/RealTime.astro'; import RealTime from '../components/sections/RealTime.astro';
import Batteries from '../components/sections/Batteries.astro'; import Batteries from '../components/sections/Batteries.astro';
import Plugins from '../components/sections/Plugins.astro';
import SeeIt from '../components/sections/SeeIt.astro'; import SeeIt from '../components/sections/SeeIt.astro';
import Faq from '../components/sections/Faq.astro'; import Faq from '../components/sections/Faq.astro';
import HonestBeta from '../components/sections/HonestBeta.astro'; import HonestBeta from '../components/sections/HonestBeta.astro';
const title = 'Green Tea — Type-safe graph-pipeline framework for Node, Deno & Bun'; const title = 'Green Tea — Dependency-driven TypeScript backend framework';
const description = const description =
'Your API is a graph, not a middleware chain. Declare what each step needs and Green Tea computes the order — one runtime dependency, type-safe, runtime-agnostic, calm by design.'; 'Build TypeScript backends with less infrastructure in your head. Declare what your code needs and Green Tea derives, validates and executes the graph across Node, Deno, Bun and the edge.';
const canonicalURL = new URL('/', Astro.site).toString(); const canonicalURL = new URL('/', Astro.site).toString();
const repositoryURL = 'https://github.com/Expressive-Tea/green-tea'; const repositoryURL = 'https://github.com/Expressive-Tea/green-tea';
const structuredData = { const structuredData = {
@@ -47,12 +50,15 @@ const structuredData = {
<Base title={title} description={description} structuredData={structuredData}> <Base title={title} description={description} structuredData={structuredData}>
<Hero /> <Hero />
<WhoDoesTheWork />
<GraphNotChain /> <GraphNotChain />
<HowItCompares /> <FollowsDemand />
<RunsEverywhere /> <SeeIt />
<RealTime /> <RealTime />
<Batteries /> <Batteries />
<SeeIt /> <Plugins />
<RunsEverywhere />
<HowItCompares />
<Faq /> <Faq />
<HonestBeta /> <HonestBeta />
</Base> </Base>