Skip to content

Commit 322ba27

Browse files
committed
Merge branch 'develop'
2 parents 271e593 + 2a27a57 commit 322ba27

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup .NET Core
3232
uses: actions/setup-dotnet@v1
3333
with:
34-
dotnet-version: 3.1.301
34+
dotnet-version: 5.0.100
3535
- name: Restore
3636
run: dotnet restore
3737
- name: Build
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup .NET Core
7272
uses: actions/setup-dotnet@v1
7373
with:
74-
dotnet-version: 3.1.301
74+
dotnet-version: 5.0.100
7575
- name: Create Release NuGet package
7676
run: |
7777
arrTag=(${GITHUB_REF//\// })

RELEASE_NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Release Notes
22
=============
33

4+
## 1.3.0
5+
6+
Upgraded to `net5.0` target framework.
7+
8+
`Giraffe.ViewEngine` version `1.2.0` and version `1.3.0` are identical in functionality. The only difference is that `1.2.0` targets `netcoreapp3.1` and `1.3.0` targets `net5.0`. If you cannot upgrade your .NET Core project to `net5.0` yet then stay on version `1.2.0`.
9+
10+
New features and bug fixes will continue off the `1.3.0` version and therefore only target `net5.0` going forward. The upgrade path from `netcoreapp3.1` to `net5.0` is so minimal that it is a reasonable expectation and not worth the effort to support both target frameworks.
11+
412
## 1.2.0
513

614
- Added missing `iframe` element ([#9](https://github.com/giraffe-fsharp/Giraffe.ViewEngine/issues/9))

samples/Giraffe.ViewEngine.Sample/Giraffe.ViewEngine.Sample.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<RootNamespace>GithubExample</RootNamespace>
77
</PropertyGroup>
88

src/Giraffe.ViewEngine/Giraffe.ViewEngine.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<NeutralLanguage>en-GB</NeutralLanguage>
99

1010
<!-- Build settings -->
11-
<TargetFramework>netcoreapp3.1</TargetFramework>
11+
<TargetFramework>net5.0</TargetFramework>
1212
<DebugType>portable</DebugType>
1313
<OutputType>Library</OutputType>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -41,7 +41,7 @@
4141
<PackagePath>$(PackageIconUrl)</PackagePath>
4242
</None>
4343
</ItemGroup>
44-
44+
4545
<ItemGroup>
4646
<Compile Include="StringBuilderPool.fs" />
4747
<Compile Include="Engine.fs" />

tests/Giraffe.ViewEngine.Benchmarks/Giraffe.ViewEngine.Benchmarks.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
</PropertyGroup>
55

66
<ItemGroup>

tests/Giraffe.ViewEngine.Tests/Giraffe.ViewEngine.Tests.fsproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
</PropertyGroup>
55

66
<ItemGroup>
@@ -12,14 +12,14 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
1616
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
1717
<PackageReference Include="System.Net.Http" Version="4.3.4" />
1818
<PackageReference Include="xunit" Version="2.4.1" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
20-
<PackageReference Include="NSubstitute" Version="4.2.1" />
21-
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="All" />
22-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="3.0.0" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
20+
<PackageReference Include="NSubstitute" Version="4.2.2" />
21+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
22+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="5.0.0" />
2323
</ItemGroup>
2424

2525
<ItemGroup>

0 commit comments

Comments
 (0)