Skip to content
This repository was archived by the owner on Aug 2, 2026. It is now read-only.

v0.4.4

Choose a tag to compare

@l7aromeo l7aromeo released this 14 Nov 18:57
· 200 commits to main since this release

MeoNode UI v0.4.4 – Intelligent Caching & Memory-Safe Rendering

Release Date: 2025-11-15

Perf

  • core: Implemented intelligent caching and memory management (0e5671b)

A sophisticated caching and memory-safety layer has been introduced to prevent memory leaks and improve SPA performance. The system now tracks mounted components, cleans up unmounted ones, and maintains a stable, efficient cache across navigation events.

Highlights:

  • Navigation-aware Cache Eviction: NavigationCacheManager listens for browser navigation events (popstate, pushState, etc.) and automatically purges stale cache entries from previous pages.
  • Mount Tracking: A new MountTracker maps all active BaseNode instances, enabling precise eviction of unused cached elements.
  • Advanced Eviction Policies: SafeCacheManager can evict unmounted components, older inactive entries, and even perform emergency cleanup during memory pressure.
  • Memory-Safe Portal System: Portal implementation now uses WeakMap, ensuring DOM roots and portal nodes are garbage-collectable once unused.
  • Improved Cache Metadata: Cache entries now track timestamps, access counts, and a WeakRef to the node instance for smarter eviction.
  • Stable Cache Keys: Component identifiers now rely on WeakMap instead of component names, ensuring stability even under minification.
  • Comprehensive Integration Tests: Added tests covering cache collision, rapid navigation flows, Strict Mode compatibility, large-prop hashing, and LRU behavior.

Fix

  • core: Simplified property assignment logic in common helpers (312af57)

Refactor

  • core: Added ElementCacheEntry interface for memoization and improved css prop typings (6a8381c)

Version Update

  • Current version: 0.4.4

Changelog & Commits