Releases: net-daemon/netdaemon
23.32.0
👀 Summary
A bigger release this time. Few new features and quite few things that will maintainence of NetDaemon easier. We now support the new HA feature to call services that returns values, like calendars. We now also provide default metadata. This means for new users default attributes like Brightness
is generated even if no lights are on. Now we can deprecate the experimental feature of attribute base classes.
Thanks to @Barsonax great work we now run integration tests using test containers. This will help a lot running them locally (given you have docker installed) and also improve coverage of integration tests more easy. Thanks a lot for this!
✨ New features
- #895 Support calling services with return value @helto4real
- #904 Add version output to code generator @helto4real
⚡ Enhancements
- #889 Remove integration tests from default solution @helto4real
- #893 Use testcontainers for integration tests @Barsonax
- #898 Cleaned some extensions @svrooij
- #901 Add default metadata for lights entities @helto4real
- #903 Add media player to default meta @helto4real
⬆️ Dependency Updates
- #894 Dependency upgrades @helto4real
- #899 Bump Roslynator.Analyzers from 4.3.0 to 4.4.0 @dependabot
- #900 Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 @dependabot
Links
23.26.0
👀 Summary
🐛 Bug Fixes
- #888 Fix beta HA versions @mcinnes01
⬆️ Dependency Updates
- #871 Bump Serilog.AspNetCore from 6.1.0 to 7.0.0 @dependabot
- #884 Upgrades @helto4real
- #886 Bump YamlDotNet from 13.1.0 to 13.1.1 @dependabot
- #885 Bump Microsoft.Extensions.Logging.Abstractions from 7.0.0 to 7.0.1 @dependabot
Links
23.19.0
👀 Summary
A new NetDaemon release!
We have some nice optimizations "under the hood" like make TriggerManager more reliable and some refactoring of event subscription. NetDaemon is more efficient now supporting coalesce messages over the websocket. This means less roundtrips over the network. We now also guide users how to properly use the IScheduler.
There are some breaking changes if you are using IHomeAssistantConnection directly in your code but most users will not be affected.
⚡ Enhancements
- #862 Use IQueuedObservable in TriggerManager and update DI registration for this @Barsonax
- #864 Guide users to use WhenStateIsFor with a IScheduler instance. @Barsonax
- #868 Refactor event subscription @helto4real
- #870 Websocket optimization (Coalesce support) @helto4real
⬆️ Dependency Updates
- #861 Bump YamlDotNet from 13.0.2 to 13.1.0 @dependabot
- #869 Dependency upgrade and MQTT breaking fix @helto4real
Links
23.15.0
👀 Summary
✨ New features
- #860 Prototype - Trigger subscriptions @helto4real
⚡ Enhancements
- #859 Adding code generation tests in the integration tests. @helto4real
Links
23.14.0
👀 Summary
A great new release of NetDaemon. This release contains a few great enhancements and a fix code generation breaking on HA versions from 2023.4.0 and higher. Thanks a lot @FrankBakkerNl for your fast fix for this!
⚡ Enhancements
- #852 MeansImplicitUse for NetDaemonAppAttribute @DerJuulsn
- #856 Added [NotNullWhen(true)] for Entity IsOn & IsOff extension methods @phillipsawyer
🐛 Bug Fixes
- #858 Handle changed service metadata json with multiple targets entities @FrankBakkerNl
⬆️ Dependency Updates
- #855 Dependecy updates @helto4real
Links
23.9.0
👀 Summary
✨ New features
⚡ Enhancements
- #835 Correct names @kmgallahan
- #838 Rename LICENCE to LICENSE @kmgallahan
- #844 Xml comment grammar fixes & documentation improvements @phillipsawyer
- #843 Use doubles instead of integers in the attribute base classes @helto4real
🐛 Bug Fixes
- #837 Encode characters to prevent invalid XML comments @kmgallahan
- #851 ServiceMetaDataParser
bool? Required
string deserialization @pluskal
⬆️ Dependency Updates
- #846 Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 @dependabot
- #847 Maintainence @helto4real
- #850 Dependecy upgrades @helto4real
Links
23.5.0
👀 Summary
✨ New features
- #831 Input helper support in Client @helto4real
⚡ Enhancements
- #829 fix_file_overwrite @FrankBakkerNl
🐛 Bug Fixes
- #829 fix_file_overwrite @FrankBakkerNl
- #832 Prevent duplicate C# names after normalizing EntitiyIds @FrankBakkerNl
⬆️ Dependency Updates
- #824 Bump Moq from 4.18.3 to 4.18.4 @dependabot
- #826 Bump Microsoft.Extensions.Configuration.Binder from 7.0.1 to 7.0.2 @dependabot
- #827 Bump FluentAssertions from 6.8.0 to 6.9.0 @dependabot
Links
22.52.0
👀 Summary
✨ New features
- #809 Code gen generate service collection extension @FrankBakkerNl
- #823 #698 Load codegen settings from UserSecrets if available @FrankBakkerNl
⚡ Enhancements
- #819 Refactor code generator and fix issue with services with multiple target domains @FrankBakkerNl
- #822 Fix #715, ProximityEntity with numeric state @FrankBakkerNl
🐛 Bug Fixes
- #813 Fix #728 where extension methods were generated for typed entity clas… @FrankBakkerNl
- #816 Fix #815, TaskCanceledException when calling service from Dispose(Async) @FrankBakkerNl
- #819 Refactor code generator and fix issue with services with multiple target domains @FrankBakkerNl
⬆️ Dependency Updates
- #817 Bump YamlDotNet from 12.2.1 to 12.3.1 @dependabot
Links
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
Links
22.50.0
Faulty release