Skip to content

Releases: nassiry/kando-storage

v4.0.0

26 Apr 06:29

Choose a tag to compare

Added

  • Fallback memory storage improvement for environments without localStorage or sessionStorage
  • TypeScript support with improved type inference (<T> generic return)
  • CONTRIBUTING.md file for contributors
  • Linting and formatting scripts (eslint, prettier)
  • New tests for edge cases, expiration logic, and nested data manipulation

Changed

  • Improved session expiration handling and internal cleanup logic
  • Restructured test suite for better clarity and separation of concerns
  • Updated internal storage handler for stricter key path evaluation

Removed

  • Dropped unnecessary or unreliable timer-based tests in favor of real browser behavior

This release improves type safety, Node.js support, and maintainability. Great for both browser and server-side use cases.