22.50.1
👀 Summary
Let us introduce you to NetDaemon runtime 3.1 that is built on top of .NET 7 and C# 11. We also have some new exiting features and fixes. Thanks to Frank the code generator now remembers attributes from previous code generations. This is awesome since some attributes are only available when a device is on, to give one example.
For your convenience we are providing new docker images and Home Assistant add-ons so you can migrate to NetDaemon runtime 3.1 and .NET 7 in your own pace. The runtime 3.1 is fully compatible with 3.0 so the transition should be quite smooth. Just upgrade your project dependencies to latest versions and make sure you have .NET 7 SDK installed. Deploy your apps and run them using the new docker image/add-on.
Please advice that the last version using NetDaemon runtime 3.0 and .NET 6 is version 22.44.0. No maintenance or new features will be added. We strongly recommend move to NetDaemon runtime 3.1 and .NET 7 as soon as possible to keep up to date with bug fixes, new features and updated NuGet packages including security patches. The NetDaemon runtime 3.0 and .NET 6 will be deprecated and removed no later than when .NET 8 based NetDaemon runtime is released.
The dev team hope you are enjoying our effort providing a great experience to .NET developers automating their homes.
✨ New features
- #767 Code gen merge previous and current metadata @FrankBakkerNl
⚡ Enhancements
- #799 Fix multi dispose scheduler and timer @Barsonax
- #808 Fix CA1852 violations @FrankBakkerNl
🐛 Bug Fixes
- #788 InstanceApplication - Await initialization @peter-vanpoucke
⬆️ Dependency Updates
- #786 net7 @helto4real
- #811 Runtime version 3.1 - prepare for .NET 7 release @helto4real