Skip to content

Commit 5fb582e

Browse files
timphandevclaude
andcommitted
chore: release recipe 1.2.0
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 88ac0ab commit 5fb582e

3 files changed

Lines changed: 19 additions & 7 deletions

File tree

‎docs/src/measurements/recipe.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"cpu": "Apple M1 Pro",
3-
"date": "2026-10-05",
3+
"date": "2026-10-06",
44
"node": "24.21.0",
55
"cache": [
6-
{ "hz": 15902766.946667759, "name": "cached" },
7-
{ "hz": 1772697.3728628454, "name": "uncached" }
6+
{ "hz": 14982652.49789571, "name": "cached" },
7+
{ "hz": 1779985.8223733273, "name": "uncached" }
88
],
99
"slotCache": [
10-
{ "hz": 14788920.578116622, "name": "cached" },
11-
{ "hz": 1479386.7142821006, "name": "uncached" }
10+
{ "hz": 15278336.531817831, "name": "cached" },
11+
{ "hz": 1522085.7366376114, "name": "uncached" }
1212
],
13-
"versions": { "recipe": "1.1.2" }
13+
"versions": { "recipe": "1.2.0" }
1414
}

‎packages/recipe/CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to `@lynstack/recipe`. Each version is published on
44
npm and as a [GitHub release](https://github.com/lynstack/recipe/releases)
55
tagged `recipe@<version>`.
66

7+
## 1.2.0 — 2026-10-06
8+
9+
- A recipe and a slot recipe take `cache` in their config, which
10+
overrides the `cache` of their kind. A recipe whose variants come from
11+
untrusted input, such as the requests of a server, can turn its cache
12+
off while the other recipes of its kind keep theirs, since a cache keeps
13+
up to one result for each combination of declared options.
14+
- A slot recipe keeps a slot named `__proto__` in its result. It set the
15+
prototype of the result before, and the slot was missing.
16+
- The README states the requirements: TypeScript 5.4 or newer for the
17+
types, and an ES2022 runtime.
18+
719
## 1.1.2 — 2026-10-05
820

921
The public API and behavior are unchanged.

‎packages/recipe/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lynstack/recipe",
3-
"version": "1.1.2",
3+
"version": "1.2.0",
44
"description": "Fast, type-safe recipes for values of any type: define how a kind of recipe combines values, such as class names or styles, then create recipes of that kind.",
55
"keywords": [
66
"recipe",

0 commit comments

Comments
 (0)