API freeze for v26.10.0-rc.1 #110

Closed
opened 2026-09-25 14:02:14 +00:00 by chrnx · 1 comment
Owner

From rc.1 on, releases are fixes only, with no API changes, until v26.10.0 stable. Everything that changes the public API has to be in before the rc.1 tag.

To do:

  1. Write down what is public: the export map entries, createApp options, decorator set, handler shapes, plugin { name, mount }, serveDeno/serveBun/listen/fetch, bus event names, error envelope. Anything else is internal and gets no promise.
  2. Move anything that should not be public out of the exports before the freeze, because afterwards it cannot move.
  3. Decide #35 (one producer per token), since the answer changes plugin behaviour.
  4. Deprecation policy after stable: how long a deprecated API stays, and how it warns.
  5. A check that makes an API change visible in a PR. The cheap version is a committed API report (api-extractor or a deno doc --json diff) that CI compares. A graph snapshot and graph diff can come later.

Decided 2026-09-25: in before rc.1: compression #112, cookies #113, ETag/304 for static and buffered responses #114, health live/ready with drain #115. Range/206 stays out until someone asks.

From rc.1 on, releases are fixes only, with no API changes, until v26.10.0 stable. Everything that changes the public API has to be in before the rc.1 tag. To do: 1. Write down what is public: the export map entries, `createApp` options, decorator set, handler shapes, plugin `{ name, mount }`, `serveDeno`/`serveBun`/`listen`/`fetch`, bus event names, error envelope. Anything else is internal and gets no promise. 2. Move anything that should not be public out of the exports before the freeze, because afterwards it cannot move. 3. Decide #35 (one producer per token), since the answer changes plugin behaviour. 4. Deprecation policy after stable: how long a deprecated API stays, and how it warns. 5. A check that makes an API change visible in a PR. The cheap version is a committed API report (`api-extractor` or a `deno doc --json` diff) that CI compares. A graph snapshot and `graph diff` can come later. **Decided 2026-09-25:** in before rc.1: compression #112, cookies #113, ETag/304 for static and buffered responses #114, health live/ready with drain #115. `Range`/206 stays out until someone asks.
chrnx added the breaking changerelease labels 2026-09-25 16:06:53 +00:00
Author
Owner

Done: the API froze with 26.11.0-rc.1, released 2026-11-17. It shipped as 26.11 rather than 26.10 because CalVer takes the release month. Each item on the list:

  1. What is public: the committed API reports in api/ (index, deno, bun, edge) are the frozen surface.
  2. Exports cleaned up before the freeze: the newly exported mesh types and ResponseShape are tagged @experimental (582f627, ff63fc7).
  3. #35 decided: a token has one producer, and a second one fails createApp (GitHub #35).
  4. Deprecation policy: published in the README's API stability section (5c6ee7d). From RC.1 to stable, releases are fixes only. After stable, a deprecated API gets at least two monthly releases of notice, a JSDoc @deprecated tag and a single logger warning before it is removed. Mesh stays outside the promise.
  5. API changes visible in a PR: CI runs npm run api:check, which fails when a public type changes and the reports in api/ were not regenerated.

The features decided for rc.1 (#112, #113, #114, #115) all shipped in it.

Done: the API froze with **26.11.0-rc.1**, released 2026-11-17. It shipped as 26.11 rather than 26.10 because CalVer takes the release month. Each item on the list: 1. **What is public**: the committed API reports in `api/` (`index`, `deno`, `bun`, `edge`) are the frozen surface. 2. **Exports cleaned up before the freeze**: the newly exported mesh types and `ResponseShape` are tagged `@experimental` (`582f627`, `ff63fc7`). 3. **#35 decided**: a token has one producer, and a second one fails `createApp` ([GitHub #35](https://github.com/Expressive-Tea/green-tea/issues/35)). 4. **Deprecation policy**: published in the README's API stability section (`5c6ee7d`). From RC.1 to stable, releases are fixes only. After stable, a deprecated API gets at least two monthly releases of notice, a JSDoc `@deprecated` tag and a single logger warning before it is removed. Mesh stays outside the promise. 5. **API changes visible in a PR**: CI runs `npm run api:check`, which fails when a public type changes and the reports in `api/` were not regenerated. The features decided for rc.1 (#112, #113, #114, #115) all shipped in it.
chrnx closed this issue 2026-11-18 01:04:04 +00:00
Sign in to join this conversation.