Release new version - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@labdigital/dataloader-cache-wrapper@0.7.0
Minor Changes
cd67d6e: Write cache misses with a single
setManyinstead of asetper 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
erroreventon it rather than as a floating rejection.
setManyrequires keyv 5.3.4 or newer -- earlier versions hand unserializedentries to the store adapter, which writes values
getcannot read back. Thepeer range moves from
>=4.0.0 <6.0.0to>=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:
iifebundle is gone; onlyesmandcjsare emitted.exports["."]now declarestypesper condition, with./dist/index.d.ctsfor
require. The singleindex.d.tswas interpreted as ESM under therequirecondition, so the types only resolved for CJS consumers that used adynamic
import().filesis set todist, so the tarball no longer shipssrc, tests andbuild config.
sideEffects: falseis declared so bundlers can tree-shake.@biomejs/biomemoves fromdependenciestodevDependencies; it is abuild-time tool and was being installed by every consumer.
engines.nodeis declared as>=22. Node 20 is end-of-life, and tsdownitself requires
^22.18.0 || >=24.11.0-- on older versions it falls back tothe
unrunconfig loader, which is an optional peer dependency and notinstalled here. CI now validates on 22.x, 24.x and 26.x.