Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.51 KB

Readme.md

File metadata and controls

9 lines (5 loc) · 1.51 KB

Upgrading from an older version

The blog tries to follow “semantic versioning” as much as possible. This means that when a release comes out with a new “major” version, there are breaking changes. What is meant by “breaking changes”? This is either the database (i.e. the database schema has changed) or the “appsettings.json” file has breaking changes. The C# code is excluded. This can change completely at any time. Interfaces and classes that are used internally do not adhere to semantic versioning. Breaking changes also means that migration of some kind is mandatory. For example, because areas in appsettings.json have been completely restructured or because a new database table has been added.

This is contrasted by Minor changes. These are things where the user does not necessarily have to intervene. In appsettings.json, for example, these could be new features that are simply not automatically switched on or off. This means that these changes are optional.

Breaking changes are recorded in the MIGRATION.md. Since version 9 of the blog, “Entity Framework Migrations” has been introduced for all SQL providers. You can read more in the documentation. In a nutshell, this means that database migration can be carried out easily via the “ef migration” CLI tool. More on this in the documentation linked above.

Changes for the appsettings.json must currently still be made manually. The exact changes that need to be made here can be found in MIGRATION.md.