Magic IndexDB v1.0.10 Release Notes
Special Thanks 🙌
A huge shoutout to @yueyinqiu for major contributions and support in this update! Your help has been invaluable in refining and optimizing the project.
🔥 Major Enhancements
✅ New Unit Test Library 🧪
- A dedicated unit testing library has been introduced to rigorously validate all functionality.
- This significantly improved testing coverage, allowing us to catch and resolve numerous edge cases and issues.
⚡ Complete Serialization Overhaul 🚀
- Massive rework of the serialization process, improving performance, reliability, and capability to a whole new level.
- Introduced a fully customized serializer and deserializer, removing significant runtime reflections and unnecessary processing.
- New caching techniques drastically improve performance:
- Discovery and caching of information now happens primarily at startup, ensuring minimal runtime overhead.
- Information is cached once per encounter and reused efficiently.
- This refactor opens doors for future enhancements—share your ideas in the GitHub Discussions.
🐛 Bug Fixes
This release isn’t just about performance! Multiple critical bug fixes have been addressed:
✔️ Fixed retrieving complex types.
✔️ Fixed usage of variables in Where
predicates.
✔️ Fixed Array.Contains()
behavior.
✔️ Fixed ensuring unique results return correctly.
✔️ Fixed issues with Contains
clauses.
✔️ Fixed retrieving ID
of newly added records.
✔️ Fixed numerous issues related to enums.
✔️ Fixed Ignore
attributes now properly respected.
✔️ Fixed handling of multiple attributes in nested operations.
🚨 These are just some of the fixes—many more improvements have been made! 🚨
⚠️ Breaking Changes & Deprecations
🔑 Encryption Attribute Removed
- The encryption attribute has been removed, as we are planning a much better way to reintroduce encryption in the future.
- It is now marked as obsolete and no longer functions, but remains in place to allow projects time to migrate.
- Full removal will occur in future updates.
💡 Join the Discussion
This update brings major improvements, but there’s always room for more! If you have ideas for enhancements or additional features, share your thoughts in the GitHub Discussions.
🔥 Thank you to everyone who contributed to this release! Your feedback, support, and contributions are what make this project great.
Nuget Release:
https://www.nuget.org/packages/Magic.IndexedDb/1.0.10