diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index d1f140be2a5..12539060d20 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -19,6 +19,19 @@ Use the [general upgrade guide](../) to complete the upgrade of your project.
+Umbraco 15 + +* **Snapshots are removed** + +Snapshots have been removed, meaning any code using `IPublishedSnapshot`, and by extension `IPublishedSnapshotAccessor`, must be updated. Inject `IPublishedContentCache` or `IPublishedMediaCache` and use those directly instead. + +* **Modelsbuilder models needs to be rebuilt** + +Models generated by ModelsBuilder used the `IPublishedSnapshot` interface, which has been removed. This means that the models need to be rebuilt. The approach to this will differ depending on the mode chosen: + +* InMemoryAuto - Remove the `umbraco\Data\TEMP\InMemoryAuto` folder to trigger a rebuild of the models. +* SourceCodeAuto and SourceCodeManual - Remove the old models located in the `\umbraco\models` folder by default. Trigger a rebuild of the models from the ModelsBuilder dashboard in the backoffice. + Umbraco 14 Read more about the release of Umbraco 14 in the [Blog Post](https://umbraco.com/blog/umbraco-14-release/). @@ -952,7 +965,7 @@ Task TryFindContent(IPublishedRequestBuilder request); [**Async tree search**](https://github.com/umbraco/Umbraco-CMS/pull/12344) ```CSharp -IEnumerable Search(string query, int pageSize, long pageIndex, out long totalFound, string? searchFrom +IEnumerable Search(string query, int pageSize, long pageIndex, out long totalFound, string? searchFrom = null) ``` @@ -996,7 +1009,7 @@ In the `_ViewImports.cshtml` of your project, remove the following lines: ``` @addTagHelper *, Smidge -@inject Smidge.SmidgeHelper SmidgeHelper +@inject Smidge.SmidgeHelper SmidgeHelper ``` Otherwise, it will cause an error on the front end.