github brunosabot/streamline-card v0.2.0

one day ago

Streamline Card v0.2.0

Hello there!

It's been a while since the last update - I've been quite busy, but I'm back with some improvements!

What's Changed for You

🚀 Faster & Smoother

The card now loads faster and uses less resources. You'll notice smoother updates, especially if you have many cards on your dashboard.

🔧 More Reliable

Templates now load more consistently, even when using external template files
Fixed an issue where variables with numbers weren't replaced correctly when used multiple times
The editor now always shows at least one example template to help you get started

✅ Better Quality

Added tests to make sure bugs that were fixed stay fixed. This means fewer surprises in future updates!

Technical Changes

  • Implemented DOM caching for Lovelace instances
  • Switched to RAF-based update batching
  • Added 91+ test cases for deepEqual edge cases
  • Created centralized template loader module
  • Fixed variable replacement for primitives with .replaceAll()
  • Added regression test for issue #2 (visibility settings) - I'll add tests over time to ensure the less regression possible.

Full Changelog: v0.1.0...v0.2.0

Let me know if you encounter any issue!

-- Bruno

Don't miss a new streamline-card release

NewReleases is sending notifications on new releases.