Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2acd4561ff | ||
|
|
af2a853855 | ||
|
|
958d69dfd9 | ||
|
|
56b5d7581f |
No files matched your search
+13
-1
@@ -11,6 +11,17 @@ is pinned to is `CORE_VERSION` in `src/template.rs`, and each entry below says w
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [26.11.0-rc.2] - 2026-11-23
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **New projects scaffold `@green-tea/core` 26.11.0-rc.2** (`CORE_VERSION`). That core release fixes
|
||||||
|
nine security advisories reported against 26.11.0-rc.1. Projects already scaffolded should run
|
||||||
|
`npm install @green-tea/core@26.11.0-rc.2` or the equivalent for their runtime.
|
||||||
|
- The scaffolded `AGENTS.md` lists every generator: `matcha add cookie`, `matcha create transformer`
|
||||||
|
and `matcha create plugin` were missing. It also points agents at the official plugins' READMEs.
|
||||||
|
- The README documents installing with Homebrew: `brew install expressive-tea/tap/matcha`.
|
||||||
|
|
||||||
## [26.11.0-rc.1] - 2026-11-17
|
## [26.11.0-rc.1] - 2026-11-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -264,7 +275,8 @@ First tagged release. A single native binary, no JS runtime needed to install it
|
|||||||
- **A `curl | sh` installer** with sha256 verification, and cross-platform binaries attached
|
- **A `curl | sh` installer** with sha256 verification, and cross-platform binaries attached
|
||||||
to each release.
|
to each release.
|
||||||
|
|
||||||
[Unreleased]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.1...HEAD
|
[Unreleased]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.2...HEAD
|
||||||
|
[26.11.0-rc.2]: https://github.com/Expressive-Tea/matcha/compare/v26.11.0-rc.1...v26.11.0-rc.2
|
||||||
[26.11.0-rc.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.1...v26.11.0-rc.1
|
[26.11.0-rc.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.1...v26.11.0-rc.1
|
||||||
[26.9.0-beta.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.0...v26.9.0-beta.1
|
[26.9.0-beta.1]: https://github.com/Expressive-Tea/matcha/compare/v26.9.0-beta.0...v26.9.0-beta.1
|
||||||
[26.9.0-beta.0]: https://github.com/Expressive-Tea/matcha/compare/v26.8.0-beta.0...v26.9.0-beta.0
|
[26.9.0-beta.0]: https://github.com/Expressive-Tea/matcha/compare/v26.8.0-beta.0...v26.9.0-beta.0
|
||||||
|
|||||||
Generated
+1
-1
@@ -260,7 +260,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "matcha-cli"
|
name = "matcha-cli"
|
||||||
version = "26.11.0-rc.1"
|
version = "26.11.0-rc.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"clap",
|
"clap",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "matcha-cli"
|
name = "matcha-cli"
|
||||||
version = "26.11.0-rc.1"
|
version = "26.11.0-rc.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
|
description = "The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ use crate::runtime::Runtime;
|
|||||||
/// reaches a stable major this becomes a range (`^27`) and the exactness stops
|
/// reaches a stable major this becomes a range (`^27`) and the exactness stops
|
||||||
/// mattering; until then the `core-freshness` CI job fails when this falls
|
/// mattering; until then the `core-freshness` CI job fails when this falls
|
||||||
/// behind the `latest` dist-tag, which is what keeps it current.
|
/// behind the `latest` dist-tag, which is what keeps it current.
|
||||||
pub const CORE_VERSION: &str = "26.11.0-rc.1";
|
pub const CORE_VERSION: &str = "26.11.0-rc.2";
|
||||||
|
|
||||||
pub static SHARED: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/shared");
|
pub static SHARED: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/shared");
|
||||||
pub static RUNTIME_DENO: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/runtimes/deno");
|
pub static RUNTIME_DENO: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/runtimes/deno");
|
||||||
|
|||||||
@@ -38,8 +38,9 @@ matcha graph --format json # the whole graph
|
|||||||
- `src/app.ts` builds and exports `app` (`createApp({ modules: [...] })`). Introspection and tests import it.
|
- `src/app.ts` builds and exports `app` (`createApp({ modules: [...] })`). Introspection and tests import it.
|
||||||
- `src/main.ts` serves `app`. It is the only file that differs per runtime.
|
- `src/main.ts` serves `app`. It is the only file that differs per runtime.
|
||||||
- `src/app.module.ts` lists the providers, steps and controllers with `@Module`.
|
- `src/app.module.ts` lists the providers, steps and controllers with `@Module`.
|
||||||
- `matcha create controller|step|provider|module <Name>` generates a piece and wires it into the module.
|
- `matcha create controller|step|provider|module|transformer <Name>` generates a piece and wires it into the module.
|
||||||
- `matcha add sse|ws|upload|stream|buffer` adds a capability to a controller.
|
- `matcha create plugin` scaffolds a plugin, in-app or (`--package`) as its own package.
|
||||||
|
- `matcha add sse|stream|buffer|ws|upload|cookie` adds a capability to a controller.
|
||||||
|
|
||||||
## Check your work
|
## Check your work
|
||||||
|
|
||||||
@@ -55,4 +56,7 @@ itself:
|
|||||||
- npm / Bun: `node_modules/@green-tea/core/llms.txt`
|
- npm / Bun: `node_modules/@green-tea/core/llms.txt`
|
||||||
- Deno (JSR): `https://jsr.io/@green-tea/core/{{core_version}}/llms.txt`
|
- Deno (JSR): `https://jsr.io/@green-tea/core/{{core_version}}/llms.txt`
|
||||||
|
|
||||||
|
Official plugins (`@green-tea/jwt`, `@green-tea/metrics`, `@green-tea/rate-limit`, ...) ship no llms.txt;
|
||||||
|
read the installed one's `node_modules/@green-tea/<name>/README.md`.
|
||||||
|
|
||||||
The complete docs as one file: https://green-tea.expressive-tea.io/docs/llms-full.txt
|
The complete docs as one file: https://green-tea.expressive-tea.io/docs/llms-full.txt
|
||||||
+1
-1
@@ -191,7 +191,7 @@ fn package_jsr_writes_the_tree_into_dir() {
|
|||||||
);
|
);
|
||||||
let deno = std::fs::read_to_string(pkg.join("deno.json")).unwrap();
|
let deno = std::fs::read_to_string(pkg.join("deno.json")).unwrap();
|
||||||
assert!(deno.contains("\"name\": \"@acme/plugin-algo\""), "{deno}");
|
assert!(deno.contains("\"name\": \"@acme/plugin-algo\""), "{deno}");
|
||||||
assert!(deno.contains("npm:@green-tea/core@26.11.0-rc.1"), "{deno}");
|
assert!(deno.contains("npm:@green-tea/core@26.11.0-rc.2"), "{deno}");
|
||||||
// Without it `deno test` needs a `deno install` first, and then fails to
|
// Without it `deno test` needs a `deno install` first, and then fails to
|
||||||
// type-check `node:assert` for want of @types/node.
|
// type-check `node:assert` for want of @types/node.
|
||||||
assert!(deno.contains("\"nodeModulesDir\": \"auto\""), "{deno}");
|
assert!(deno.contains("\"nodeModulesDir\": \"auto\""), "{deno}");
|
||||||
|
|||||||
Reference in new issue
Block a user