23.46.0
github-actions
released this
18 Nov 08:43
·
81 commits
to refs/heads/main
since this release
👀 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
netdaemon4
folder 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
4
instead 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