Skip to content

Commit 21dd082

Browse files
committed
[up] bump to v2.1: Simplify.Web 5.3.0, Asp.Versioning.Mvc 10.0.0, Swashbuckle 10.2.3, actions upgraded, unit test step added
1 parent 88d36c1 commit 21dd082

4 files changed

Lines changed: 56 additions & 45 deletions

File tree

.github/workflows/build.yml

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,43 @@
1-
name: Build Package
2-
3-
on: push
4-
5-
defaults:
6-
run:
7-
working-directory: src
8-
9-
jobs:
10-
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
17-
steps:
18-
- name: Code Checkout
19-
uses: actions/checkout@v4.1.1
20-
21-
- name: Install DotNet
22-
uses: actions/setup-dotnet@v4
23-
24-
- name: Restore Dependencies
25-
run: dotnet restore
26-
27-
- name: Build Package
28-
run: dotnet build --no-restore -c Release
29-
30-
- name: Create Package
31-
run: dotnet pack --no-build -c Release -o ./publish
32-
33-
- name: Create packages artifact
34-
if: ${{ matrix.os == 'windows-latest' }}
35-
uses: actions/upload-artifact@v4
36-
with:
37-
name: Packages
38-
path: ./src/publish/
1+
name: Build Package
2+
3+
on: push
4+
5+
defaults:
6+
run:
7+
working-directory: src
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, windows-latest]
16+
17+
steps:
18+
- name: Code Checkout
19+
uses: actions/checkout@v6
20+
21+
- name: Install DotNet
22+
uses: actions/setup-dotnet@v5
23+
with:
24+
dotnet-version: "10.0.x"
25+
26+
- name: Restore Dependencies
27+
run: dotnet restore
28+
29+
- name: Build Packages
30+
run: dotnet build --no-restore -c Release
31+
32+
- name: Perform Unit Testing
33+
run: dotnet test --no-build -c Release --verbosity normal
34+
35+
- name: Create Packages
36+
run: dotnet pack --no-build -c Release -o ./publish
37+
38+
- name: Create packages artifact
39+
if: ${{ matrix.os == 'windows-latest' }}
40+
uses: actions/upload-artifact@v7
41+
with:
42+
name: Packages
43+
path: ./src/publish/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Package](https://github.com/SimplifyNet/Simplify.Web.Swagger/actions/workflows/build.yml/badge.svg)](https://github.com/SimplifyNet/Simplify.Web.Swagger/actions/workflows/build.yml)
66
[![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/nuget/Simplify.Web.Swagger)](https://libraries.io/nuget/Simplify.Web.Swagger)
77
[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/SimplifyNet/Simplify.Web.Swagger)](https://www.codefactor.io/repository/github/simplifynet/Simplify.Web.Swagger)
8-
![Platform](https://img.shields.io/badge/platform-.NET%206.0%20%7C%20.NET%20Standard%202.0-lightgrey)
8+
![Platform](https://img.shields.io/badge/platform-.NET%2010.0-lightgrey)
99

1010
`Simplify.Web.Swagger` is a package which provides Swagger generation for [Simplify.Web](https://github.com/SimplifyNet/Simplify.Web) web-framework controllers.
1111

src/Simplify.Web.Swagger/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [2.1.0] - 2026-06-26
4+
5+
### Dependencies
6+
7+
- Simplify.Web bump to 5.3.0
8+
- Asp.Versioning.Mvc bump to 10.0.0
9+
- Swashbuckle.AspNetCore.SwaggerGen bump to 10.2.3
10+
311
## [2.0.0] - 2026-06-08
412

513
### Added

src/Simplify.Web.Swagger/Simplify.Web.Swagger.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111

12-
<Version>2.0</Version>
12+
<Version>2.1</Version>
1313

1414
<Description>Swagger extensions for Simplify.Web web-framework</Description>
1515
<Product>Simplify</Product>
@@ -25,11 +25,9 @@
2525
<PackageReleaseNotes>See https://github.com/SimplifyNet/Simplify.Web.Swagger/tree/master/src/Simplify.Web.Swagger/CHANGELOG.md for details</PackageReleaseNotes>
2626
</PropertyGroup>
2727
<ItemGroup>
28-
<PackageReference Include="Asp.Versioning.Mvc" Version="8.1.1" />
29-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.2.1" />
30-
</ItemGroup>
31-
<ItemGroup>
32-
<PackageReference Include="Simplify.Web" Version="5.2" />
28+
<PackageReference Include="Asp.Versioning.Mvc" Version="10.0.0" />
29+
<PackageReference Include="Simplify.Web" Version="5.3.0" />
30+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="10.2.3" />
3331
</ItemGroup>
3432
<ItemGroup>
3533
<None Include="..\..\images\icon.png" Pack="true" Visible="false" PackagePath="" />

0 commit comments

Comments
 (0)