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>
835 B
835 B
Changelog
[Unreleased]
Changed
- Core is a range,
^26.11.0-rc.1, not an exact26.9.0-beta.2. JSR consumers resolve the@green-tea/coreimport indeno.json, and the exact pin gave an application on a newer core a second, older copy whose typestsccould 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
jwt({ keys, provides? }): loads each JWK file while providers boot and publishes aJwtRegistryunderprovides(defaultjwt).Signersigns withiatand a randomjti, and verifies issuer and audience.JwtRegistry.publicJwk(name)returns a key's public half for a JWKS endpoint.