Skip to content

8.10.0 - Bean Counter

Latest

Choose a tag to compare

@onevcat onevcat released this 12 Jun 14:13
· 13 commits to master since this release
8.10.0

Add

  • Add ImageCache.memoryStorageCacheCost and MemoryStorage.Backend.totalCacheCost() to report the total estimated in-memory cost of the memory cache, including expired-but-not-yet-evicted values. This is the in-memory counterpart of diskStorageSize and gives tangible data for tuning totalCostLimit. #2532 #2530 @onevcat @aronspringfield

Fix

  • Latch async download cancellation synchronously so cancelling before the underlying DownloadTask is attached is no longer lost, and avoid appending callbacks to already-completed downloads. #2526 @onevcat
  • Absorb the cancellation token lifecycle into TaskPropertyAccessor, unifying how the shared setImage helper handles task identifiers and cancellation tokens across UIButton, NSButton, CPListItem and other call sites. No public API or behavior change. #2531 #2496 @nenadvulic @onevcat