Skip to content

BREAKING(cache/unstable): remove LruCache and TtlCache - #7265

Open
tomas-zijdemans wants to merge 2 commits into
denoland:mainfrom
tomas-zijdemans:remove-lru-ttl-cache
Open

BREAKING(cache/unstable): remove LruCache and TtlCache#7265
tomas-zijdemans wants to merge 2 commits into
denoland:mainfrom
tomas-zijdemans:remove-lru-ttl-cache

Conversation

@tomas-zijdemans

Copy link
Copy Markdown
Contributor

First half of the split requested in the #7236 review: the removals land on their own, ahead of the unified Cache, so each half is reviewable and revertible separately.

Removes LruCache and TtlCache with their tests and the ./lru-cache / ./ttl-cache export paths, and drops the LruCache references from the memoize docs and tests. MemoizationCache is untouched. Rationale and discussion live in #7236.

@github-actions github-actions Bot added the cache label Jul 31, 2026
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.01%. Comparing base (cdb83c6) to head (d4c6c03).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7265      +/-   ##
==========================================
- Coverage   95.03%   95.01%   -0.03%     
==========================================
  Files         618      615       -3     
  Lines       51596    51372     -224     
  Branches     9340     9285      -55     
==========================================
- Hits        49035    48811     -224     
  Misses       2021     2021              
  Partials      540      540              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant