apollo-utils
apollo-utils copied to clipboard
fix(deps): update dependency lru-cache to v11
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| lru-cache | ^10.0.0 -> ^11.0.0 |
Release Notes
isaacs/node-lru-cache (lru-cache)
v11.0.2
v11.0.1
v11.0.0
v10.4.3
v10.4.2
v10.4.1
v10.4.0
v10.3.1
v10.3.0
- add
forceFetch()method - set
disposeReasonto'expire'when it's the result of a TTL expiration, or'fetch'when it's the result of an aborted orundefined-returningfetch() - add
memo()method
v10.2.2
v10.2.1
v10.2.0
- types: implement the
Map<K, V>interface
v10.1.0
- add
cache.info(key)to get value as well as ttl and size information.
v10.0.3
v10.0.2
v10.0.1
v10.0.0
cache.fetch()return type is nowPromise<V | undefined>instead ofPromise<V | void>. This is an irrelevant change practically speaking, but can require changes for TypeScript users.
v9.1.2
v9.1.1
v9.1.0
cache.set(key, undefined)is now an alias forcache.delete(key)
v9.0.3
v9.0.2
v9.0.1
v9.0.0
- Use named export only, no default export.
- Bring back minimal polyfill. If this polyfill ends up being used, then a warning is printed, as it is not safe for use outside of LRUCache.
v8.0.5
v8.0.4
v8.0.3
v8.0.2
v8.0.1
v8.0.0
- The
fetchContextoption was renamed tocontext, and may no longer be set on the cache instance itself. - Rewritten in TypeScript, so pretty much all the types moved around a lot.
- The AbortController/AbortSignal polyfill is removed. For this reason, Node version 16.14.0 or higher is now required.
- Internal properties were moved to actual private class properties.
- Keys and values must not be
nullorundefined. - Minified export available at
'lru-cache/min', for both CJS and MJS builds.
v7.18.3
v7.18.2
v7.18.1
v7.18.0
- Add support for internal state investigation through the use of
a
statusoption tohas(),set(),get(), andfetch().
v7.17.2
v7.17.1
v7.17.0
- Add
signaloption forfetchto pass a user-supplied AbortSignal - Add
ignoreFetchAbortandallowStaleOnFetchAbortoptions
v7.16.2
- Fail fetch() promises when they are aborted
v7.16.1
v7.16.0
- Add
allowStaleOnFetchRejectionoption
v7.15.0
- Provide both ESM and CommonJS exports
v7.14.1
v7.14.0
- Add
maxEntrySizeoption to prevent caching items above a given calculated size.
v7.13.2
v7.13.1
v7.13.0
- Add
forceRefreshoption to trigger a call to thefetchMethodeven if the item is found in cache, and not older than itsttl.
v7.12.1
v7.12.0
- Add
fetchContextoption to provide additional information to thefetchMethod - 7.12.1: Fix bug where adding an item with size greater than
maxSizewould cause bizarre behavior.
v7.11.0
- Add 'noDeleteOnStaleGet' option, to suppress behavior where a
get()of a stale item would remove it from the cache.
v7.10.3
v7.10.2
v7.10.1
v7.10.0
- Add
noDeleteOnFetchRejectionoption, to suppress behavior where a failedfetchwill delete a previous stale value. - Ship types along with the package, rather than relying on out of date types coming from DefinitelyTyped.
v7.9.1
v7.9.0
- Better AbortController polyfill, supporting
signal.addEventListener('abort')andsignal.onabort. - (7.9.1) Drop item from cache instead of crashing with an
unhandledRejectionwhen thefetchMethodthrows an error or returns a rejected Promise.
v7.8.2
v7.8.1
v7.8.0
- add
updateAgeOnHasoption - warnings sent to
console.errorifprocess.emitWarningunavailable
v7.7.4
v7.7.3
v7.7.2
v7.7.1
v7.7.0
- fetch: provide options and abort signal
v7.6.1
v7.6.0
- add cache.getRemainingTTL(key)
- Add async cache.fetch() method, fetchMethod option
- Allow unbounded storage if maxSize or ttl set
v7.5.2
v7.5.1
v7.5.0
- defend against mutation while iterating
- Add rentries, rkeys, rvalues
- remove bundler and unnecessary package.json fields
v7.4.5
v7.4.4
v7.4.3
v7.4.2
v7.4.1
v7.4.0
- Add browser optimized webpack bundle, exposed as
'lru-cache/browser' - Track size of compiled bundle in CI (@SuperOleg39)
- Add
noUpdateTTLoption forset()
v7.3.3
v7.3.2
v7.3.1
v7.3.0
- Add
disposeAfter() set()returns the cache objectdelete()returns boolean indicating whether anything was deleted
v7.2.3
v7.2.2
v7.2.1
v7.2.0
- Add reason to dispose() calls.
v7.1.3
v7.1.2
v7.1.1
v7.1.0
- Add
ttlResolutionoption - Add
ttlAutopurgeoption
v7.0.4
v7.0.3
v7.0.2
v7.0.1
v7.0.0
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
🦋 Changeset detected
Latest commit: 34bdb146498f75e932d5c048f9559aceb1141360
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| @apollo/utils.keyvaluecache | Major |
| @apollo/utils.keyvadapter | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
lru-cache 11 requires Node v20, which is the oldest non-EOL version today. Making a major version bump for @apollo/utils.keyvaluecache.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.