Each plugin's deno.json imported an exact npm:@green-tea/core@26.9.0-beta.2. JSR consumers resolve that import, so an application on a newer core got a second, older copy under the plugin. Plugins import core as types only, so it never ran, but tsc could resolve a plugin's Plugin type against it. Import ^26.11.0-rc.1 instead: the floor is the core the tests run against, now rc.1 (devDependency and lockfile bumped), and ^ stops at the next year, the only core release that may break under core's versioning policy. The workspace test now requires that range shape, and the README no longer says no range can express compatibility. Refs: Expressive-Tea/green-tea#73 Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
22 lines
909 B
Markdown
22 lines
909 B
Markdown
# Changelog
|
|
|
|
## [Unreleased]
|
|
|
|
### Changed
|
|
|
|
- **Core is a range, `^26.11.0-rc.1`, not an exact `26.9.0-beta.2`.** JSR consumers resolve the
|
|
`@green-tea/core` import in `deno.json`, and the exact pin gave an application on a newer core a
|
|
second, older copy whose types `tsc` could pick up. The range starts at the core the tests run
|
|
against (now 26.11.0-rc.1) and stops at the next year, the only core release that may break.
|
|
|
|
## [26.9.0-beta.0] - 2026-09-23
|
|
|
|
### Added
|
|
|
|
- `metrics({ provides? })`: subscribes to the lifecycle stream and publishes a `Metrics` with
|
|
`render()`. Counts `request:end` as requests and `request:failed` separately, labelled on the
|
|
bounded `route` rather than on the caller-controlled `name`. `prometheus` is a `TransformerFn` for
|
|
serving `render()` from a route the application owns. Closes green-tea#68.
|
|
|
|
[26.9.0-beta.0]: https://jsr.io/@green-tea/metrics@26.9.0-beta.0
|