cloudscribe 6 for .NET 6 released
- Posted in:
- cloudscribe
- aspdotcore
We are pleased to announce a new release of cloudscribe that now targets .net6.0, Bootstrap5.0 and Visual Studio 2022.
We've released a new version of the Visual Studio template. Please do leave a review!
We recommend that the VSIX template should be installed into Visual Studio 2022. Although it will also install and create a template site in VS2019, you may encounter difficulties building and working with a .NET 6.0 application in VS2019.
See https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-6 for information about what's new in .NET 6.
There is one key potential breaking change to be aware of: if you are targeting PostgreSql database, please note that changes to the Npgsql Entity Framework Core Provider at version 6.0 now mean that the recommended way of handling Timestamp values is to migrate any "timestamp without time zone" columns to "timestamp with time zone", and always use either DateTime with Kind=Utc or DateTimeOffset with offset 0. See details here: https://www.npgsql.org/efcore/release-notes/6.0.html?tabs=annotations
This release of cloudscribe will implement the above migration on some key columns in the database (e.g. the cs_user table, and SimpleContent cs_page and cs_post) but you should be aware of the potential for timezone offset bugs in any similar columns of your own. We would recommend that you take a backup of your existing application database before applying this major version upgrade.
Older versions of the VSIX template remain available here: https://github.com/cloudscribe/cloudscribe.templates/tree/master/Archive.
As always, feedback welcome in the forums or on GitHub.