Skip to content

Commit b021f5c

Browse files
committed
Updating the package to target Umbraco 15
The package now has three build warnings due to obsolete methods, all related to looking up content by their URL route. Since the methods will first be removed in Umbraco 17, the errors are ignored for now.
1 parent fb137c7 commit b021f5c

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Skybrud Redirects
22

3-
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/skybrud/Skybrud.Umbraco.Redirects/blob/v4/main/LICENSE.md)
3+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/skybrud/Skybrud.Umbraco.Redirects/blob/v15/main/LICENSE.md)
44
[![NuGet](https://img.shields.io/nuget/v/Skybrud.Umbraco.Redirects.svg)](https://www.nuget.org/packages/Skybrud.Umbraco.Redirects)
55
[![NuGet](https://img.shields.io/nuget/dt/Skybrud.Umbraco.Redirects.svg)](https://www.nuget.org/packages/Skybrud.Umbraco.Redirects)
66
[![Umbraco Marketplace](https://img.shields.io/badge/umbraco-marketplace-%233544B1)](https://marketplace.umbraco.com/package/skybrud.umbraco.redirects)
@@ -18,7 +18,7 @@ URLs can be added to redirect to either a content item, media item or a custom U
1818
<tr>
1919
<td><strong>Umbraco:</strong></td>
2020
<td>
21-
Umbraco 14
21+
Umbraco 15
2222
</td>
2323
</tr>
2424
<tr>
@@ -39,20 +39,23 @@ URLs can be added to redirect to either a content item, media item or a custom U
3939

4040
**Umbraco 14**
4141

42-
Version 14 of this package supports Umbraco version 14. The package is only available via [**NuGet**](https://www.nuget.org/packages/Skybrud.Umbraco.Redirects/14.0.0-beta001). To install the package, you can use either the .NET CLI:
42+
Version 14 of this package supports Umbraco version 14. The package is only available via [**NuGet**](https://www.nuget.org/packages/Skybrud.Umbraco.Redirects/15.0.0-beta001). To install the package, you can use either the .NET CLI:
4343

4444
```
45-
dotnet add package Skybrud.Umbraco.Redirects --version 14.0.0-beta001
45+
dotnet add package Skybrud.Umbraco.Redirects --version 15.0.0-beta001
4646
```
4747

4848
or the NuGet Package Manager:
4949

5050
```
51-
Install-Package Skybrud.Umbraco.Redirects -Version 14.0.0-beta001
51+
Install-Package Skybrud.Umbraco.Redirects -Version 15.0.0-beta001
5252
```
5353

54+
**Umbraco 14**
55+
For the Umbraco 14 version of this package, see the [**v14/main**](https://github.com/skybrud/Skybrud.Umbraco.Redirects/tree/v14/main) branch instead.
56+
5457
**Umbraco 13**
55-
For the Umbraco 10-12 version of this package, see the [**v13/main**](https://github.com/skybrud/Skybrud.Umbraco.Redirects/tree/v13/main) branch instead.
58+
For the Umbraco 13 version of this package, see the [**v13/main**](https://github.com/skybrud/Skybrud.Umbraco.Redirects/tree/v13/main) branch instead.
5659

5760
**Umbraco 10, 11 and 12**
5861
For the Umbraco 10-12 version of this package, see the [**v4/main**](https://github.com/skybrud/Skybrud.Umbraco.Redirects/tree/v4/main) branch instead.

debug.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
dotnet build src/Skybrud.Umbraco.Redirects --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco14
2+
dotnet build src/Skybrud.Umbraco.Redirects --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco15
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/Skybrud.Umbraco.Redirects/Skybrud.Umbraco.Redirects.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<StaticWebAssetBasePath>App_Plugins/$(AssemblyName)</StaticWebAssetBasePath>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<PropertyGroup>
10-
<VersionPrefix>14.0.0-beta001</VersionPrefix>
10+
<VersionPrefix>15.0.0-beta000</VersionPrefix>
1111
<VersionSuffix Condition="'$(Configuration)'=='Debug'">build$([System.DateTime]::UtcNow.ToString(`yyyyMMddHHmm`))</VersionSuffix>
1212
<Authors>Anders Bjerner</Authors>
1313
<Company>Limbo</Company>
@@ -31,16 +31,16 @@
3131
<!-- Include additional metadata in the assembly -->
3232
<ItemGroup>
3333
<AssemblyMetadata Include="PackageProjectUrl" Value="https://packages.limbo.works/skybrud.umbraco.redirects/" />
34-
<AssemblyMetadata Include="DocumentationUrl" Value="https://packages.limbo.works/skybrud.umbraco.redirects/docs/v14/" />
34+
<AssemblyMetadata Include="DocumentationUrl" Value="https://packages.limbo.works/skybrud.umbraco.redirects/docs/v15/" />
3535
<AssemblyMetadata Include="NuGetUrl" Value="https://www.nuget.org/packages/Skybrud.Umbraco.Redirects" />
3636
<AssemblyMetadata Include="UmbracoMarketplaceUrl" Value="https://marketplace.umbraco.com/package/skybrud.umbraco.redirects" />
3737
</ItemGroup>
3838

3939
<!-- Include NuGet dependencies -->
4040
<ItemGroup>
4141
<PackageReference Include="Skybrud.Essentials" Version="1.1.58" />
42-
<PackageReference Include="Umbraco.Cms.Core" Version="[14.2.0,14.999)" />
43-
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[14.2.0,14.999)" />
42+
<PackageReference Include="Umbraco.Cms.Core" Version="[15.0.0,15.999)" />
43+
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[15.0.0,15.999)" />
4444
</ItemGroup>
4545

4646
<!-- Include package icon and README for the NuGet package -->

0 commit comments

Comments
 (0)