From 86e8957b8277deaac10375133618b09c167257c8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Aug 2026 18:13:56 +0000 Subject: [PATCH] update version --- .changeset/batched-cache-writes.md | 19 -------------- .changeset/tsdown-build.md | 22 ---------------- CHANGELOG.md | 41 ++++++++++++++++++++++++++++++ package.json | 2 +- 4 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 .changeset/batched-cache-writes.md delete mode 100644 .changeset/tsdown-build.md diff --git a/.changeset/batched-cache-writes.md b/.changeset/batched-cache-writes.md deleted file mode 100644 index e0606bc..0000000 --- a/.changeset/batched-cache-writes.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@labdigital/dataloader-cache-wrapper": minor ---- - -Write cache misses with a single `setMany` instead of a `set` per key. - -This is not a round-trip win: the individual writes were already pipelined by the -store's client, and the same commands and bytes go over the socket either way. -What changes is that the batch is one call into the store, so the store can write -it as a unit -- the redis adapter wraps it in a single MULTI -- and tracing shows -one batch instead of one command per key, which for a batch of 36 products was 36 -spans of noise per request. - -The writes are also awaited now, so a failing store surfaces as an `error` event -on it rather than as a floating rejection. - -`setMany` requires keyv 5.3.4 or newer -- earlier versions hand unserialized -entries to the store adapter, which writes values `get` cannot read back. The -peer range moves from `>=4.0.0 <6.0.0` to `>=5.3.4 <6.0.0`. diff --git a/.changeset/tsdown-build.md b/.changeset/tsdown-build.md deleted file mode 100644 index 7505b7c..0000000 --- a/.changeset/tsdown-build.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@labdigital/dataloader-cache-wrapper": patch ---- - -Build with tsdown instead of tsup, and validate the published package with -publint on every build. - -The published output changes shape slightly as a result: - -- The unused `iife` bundle is gone; only `esm` and `cjs` are emitted. -- `exports["."]` now declares `types` per condition, with `./dist/index.d.cts` - for `require`. The single `index.d.ts` was interpreted as ESM under the - `require` condition, so the types only resolved for CJS consumers that used a - dynamic `import()`. -- `files` is set to `dist`, so the tarball no longer ships `src`, tests and - build config. `sideEffects: false` is declared so bundlers can tree-shake. -- `@biomejs/biome` moves from `dependencies` to `devDependencies`; it is a - build-time tool and was being installed by every consumer. -- `engines.node` is declared as `>=22`. Node 20 is end-of-life, and tsdown - itself requires `^22.18.0 || >=24.11.0` -- on older versions it falls back to - the `unrun` config loader, which is an optional peer dependency and not - installed here. CI now validates on 22.x, 24.x and 26.x. diff --git a/CHANGELOG.md b/CHANGELOG.md index b029dd3..0341938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,46 @@ # @labdigital/dataloader-cache-wrapper +## 0.7.0 + +### Minor Changes + +- cd67d6e: Write cache misses with a single `setMany` instead of a `set` per key. + + This is not a round-trip win: the individual writes were already pipelined by the + store's client, and the same commands and bytes go over the socket either way. + What changes is that the batch is one call into the store, so the store can write + it as a unit -- the redis adapter wraps it in a single MULTI -- and tracing shows + one batch instead of one command per key, which for a batch of 36 products was 36 + spans of noise per request. + + The writes are also awaited now, so a failing store surfaces as an `error` event + on it rather than as a floating rejection. + + `setMany` requires keyv 5.3.4 or newer -- earlier versions hand unserialized + entries to the store adapter, which writes values `get` cannot read back. The + peer range moves from `>=4.0.0 <6.0.0` to `>=5.3.4 <6.0.0`. + +### Patch Changes + +- 049bdf1: Build with tsdown instead of tsup, and validate the published package with + publint on every build. + + The published output changes shape slightly as a result: + + - The unused `iife` bundle is gone; only `esm` and `cjs` are emitted. + - `exports["."]` now declares `types` per condition, with `./dist/index.d.cts` + for `require`. The single `index.d.ts` was interpreted as ESM under the + `require` condition, so the types only resolved for CJS consumers that used a + dynamic `import()`. + - `files` is set to `dist`, so the tarball no longer ships `src`, tests and + build config. `sideEffects: false` is declared so bundlers can tree-shake. + - `@biomejs/biome` moves from `dependencies` to `devDependencies`; it is a + build-time tool and was being installed by every consumer. + - `engines.node` is declared as `>=22`. Node 20 is end-of-life, and tsdown + itself requires `^22.18.0 || >=24.11.0` -- on older versions it falls back to + the `unrun` config loader, which is an optional peer dependency and not + installed here. CI now validates on 22.x, 24.x and 26.x. + ## 0.6.2 ### Patch Changes diff --git a/package.json b/package.json index ab93a72..7c61d5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@labdigital/dataloader-cache-wrapper", - "version": "0.6.2", + "version": "0.7.0", "author": "Lab Digital ", "repository": { "type": "git",