| 1 | effect/Cache#Cache: |
| 2 | replacement: "Cache.Cache" |
| 3 | note: "The cache model remains, but v4 exposes a Pipeable value with explicit Cache operations and adds a lookup environment parameter." |
| 4 | effect/Cache#Cache.ConsumerVariance: |
| 5 | replacement: "none" |
| 6 | note: "The ConsumerCache view and its variance marker were removed; expose a narrower application interface around Cache operations when write access must be hidden." |
| 7 | effect/Cache#Cache.Variance: |
| 8 | replacement: "none" |
| 9 | note: "The public variance marker was removed; use Cache.Cache directly and do not depend on its branding internals." |
| 10 | effect/Cache#CacheStats: |
| 11 | replacement: "none" |
| 12 | note: "Built-in hit and miss statistics were removed; instrument the lookup and Cache.get calls explicitly, and use Cache.size for the current entry count." |
| 13 | effect/Cache#CacheTypeId: |
| 14 | replacement: "none" |
| 15 | note: "The cache type id is internal in v4; do not inspect or construct the cache brand directly." |
| 16 | effect/Cache#ConsumerCache: |
| 17 | replacement: "Cache.Cache" |
| 18 | note: "ConsumerCache was removed; use Cache.Cache and expose an application-defined read-only wrapper if capability restriction is required." |
| 19 | effect/Cache#ConsumerCacheTypeId: |
| 20 | replacement: "none" |
| 21 | note: "ConsumerCache and its type id were removed with the read-only cache view." |
| 22 | effect/Cache#EntryStats: |
| 23 | replacement: "none" |
| 24 | note: "Per-entry loaded-time statistics were removed; record lookup timing in application instrumentation if needed." |
| 25 | effect/Cache#Lookup: |
| 26 | replacement: "(key: Key) => Effect.Effect<A, E, R>" |
| 27 | note: "The named alias was removed; use an inline lookup function type or Cache.Cache<Key, A, E, R>[\"lookup\"]." |
| 28 | effect/Cache#makeCacheStats: |
| 29 | replacement: "none" |
| 30 | note: "CacheStats and its constructor were removed; define an application metrics record if these counters are still required." |
| 31 | effect/Cache#makeEntryStats: |
| 32 | replacement: "none" |
| 33 | note: "EntryStats and its constructor were removed; capture lookup timing in application instrumentation instead." |