Releases: net-daemon/netdaemon
23.46.0
👀 Summary
We are happy to announce the new .NET 8 based version 4 of the NetDaemon runtime. This is a big release with a few breaking changes. Please see https://netdaemon.xyz/docs/v3/app_model/app_model_moving_from_v3 how to move from runtime version 3 to version 4. It should be quite straight forward.
To summarize this release we updated the following:
- All projects are now upgraded to .NET 8.
- We fixed some important bugs that could lead to multiple instances running of the same ap
- We now support pre-release releases as a way to allow user testing
- Changes and upgrade to latest S6 in the official docker images of NetDaemon (container and add-on)
- Some maintainability changes to make life as a NetDaemon dev a bit simpler
- Move the features needed for Source Deploy (dynamically compiled apps) to own NuGet package.
- Internal refactoring's to utilize some of that C# 12 goodies.
- The dotnet cli tool to provision new projects now uses .NET 8 instead.
Other noteworthy changes
- We cleaned up the branching strategy and only do main branch now
- We changed the name of NuGet packages so we can take ownership of the name
A big shoutout to @helto4real , @FrankBakkerNl and @Barsonax for the hard work on this release.
💥 Breaking changes!
- You now require .NET 8 to develop NetDaemon apps!
- The names are changed for the NuGet packages, see https://netdaemon.xyz/docs/v3/app_model/app_model_moving_from_v3 how to migrate.
- add-on now default looks for apps in the
netdaemon4folder instead ofnetdaemon3 - Source deploy model now require an additional package when developing and running locally
- The name of official docker images now ends with postfix
4instead of postfix3 - You will need to upgrade the dotnet cli tool to latest version.
⚡ Enhancements
- #990 Changes due to removal of dev branch @helto4real
- #991 Fix remaining warnings @helto4real
- #1001 Log correct json content of messages sent to HA on failed commands @FrankBakkerNl
🐛 Bug Fixes
- #992 Handle and log exceptions during initialization after (re)connect to Home Assistant @FrankBakkerNl
- #1001 Log correct json content of messages sent to HA on failed commands @FrankBakkerNl
- #1004 Avoid logging critical error on reconnect when not needed @FrankBakkerNl
⬆️ Dependency Updates
- #989 dependency updates @helto4real
- #998 Release .NET 8! @helto4real
Links
23.44.1
Another fix for breaking HA changes.
What's Changed
- [Codegen] Allow any nullable double fields to be strings or doubles and improved error reporting by @FrankBakkerNl in #984
Full Changelog: 23.44.0...23.44.1
23.44.0
Fixes the code generator to handle latest HA breaking change
What's Changed
- Fix CodeGen ServiceMetaDataParser, handle "step":"any" by @FrankBakkerNl in #983
Full Changelog: 23.43.1...23.44.0
23.43.1
👀 Summary
🐛 Bug Fixes
- #962 Set CurrentConnection to null before submitting OnDisconnected event @FrankBakkerNl
Links
23.43.0
👀 Summary
⚡ Enhancements
- #945 Validate version of nugets and nd-codegen match @FrankBakkerNl
- #955 Enable analyzers and add a editorconfig @Barsonax
- #956 Fix alot of warnings @Barsonax
🐛 Bug Fixes
- #946 Fix flaky internal integration test @helto4real
- #961 Better handling of faulty unloading of appa @helto4real
⬆️ Dependency Updates
- #932 Bump YamlDotNet from 13.2.0 to 13.4.0 @dependabot
- #928 Bump GitHubActionsTestLogger from 2.3.2 to 2.3.3 @dependabot
- #926 Bump FluentAssertions from 6.11.0 to 6.12.0 @dependabot
- #941 Upgrade dependencies plus fix new linting problems @helto4real
- #951 Dependency upgrades @helto4real
Links
23.38.0
23.34.0
👀 Summary
✨ New features
- #925 Enable sourcelink @Barsonax
⚡ Enhancements
- #924 Log how many applications where loaded and what state they are in @Barsonax
- #925 Enable sourcelink @Barsonax
🐛 Bug Fixes
- #929 Handle selector for Multiple entities (specifically for media_player.join @FrankBakkerNl
Links
23.33.0
👀 Summary
A new NetDaemon release folks! We now thanks to @svrooij made sure we have xml comments on all public API:s. Thanks! We now add interfaces to make it easier to extend NetDaemon functionality. There are examples of usages in NetDaemon debug project and will be documented as soon as we get time for it. Thanks @x00Pavel for this! With this release it is very important that you have same version of the ND code generator and runtime!.
✨ New features
⚡ Enhancements
- #906 Minor MQTT updates @skotl
- #908 Generate docs for all packagable projects and resolved some issues @svrooij
- #913 Fix missing xml comments @FrankBakkerNl
⬆️ Dependency Updates
- #916 Dependency upgrades @helto4real
Links
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