diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index dc87c70..04c49b3 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,4 +1,4 @@ -ARG NGINX_VERSION=1.29.5-alpine +ARG NGINX_VERSION=1.30.0-alpine FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base RUN rm -rf /usr/share/nginx/html/* diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index ddf2323..f2b0a14 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -17,8 +17,31 @@ permissions: contents: read jobs: + init: + name: initialize + runs-on: ubuntu-24.04 + outputs: + run-privileged-jobs: ${{ steps.vars.outputs.run-privileged-jobs }} + strong-name-key-filename: ${{ steps.vars.outputs.strong-name-key-filename }} + build-switches: ${{ steps.vars.outputs.build-switches }} + steps: + - id: vars + name: calculate workflow variables + shell: bash + run: | + if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then + echo "run-privileged-jobs=false" >> "$GITHUB_OUTPUT" + echo "strong-name-key-filename=" >> "$GITHUB_OUTPUT" + echo "build-switches=-p:SkipSignAssembly=true" >> "$GITHUB_OUTPUT" + else + echo "run-privileged-jobs=true" >> "$GITHUB_OUTPUT" + echo "strong-name-key-filename=carter.snk" >> "$GITHUB_OUTPUT" + echo "build-switches=" >> "$GITHUB_OUTPUT" + fi + build: name: call-build + needs: [init] strategy: matrix: arch: [X64, ARM64] @@ -26,7 +49,8 @@ jobs: uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} - strong-name-key-filename: carter.snk + strong-name-key-filename: ${{ needs.init.outputs.strong-name-key-filename }} + build-switches: ${{ needs.init.outputs.build-switches }} runs-on: ${{ matrix.arch == 'ARM64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} upload-build-artifact-name: build-${{ matrix.configuration }}-${{ matrix.arch }} secrets: inherit @@ -78,8 +102,9 @@ jobs: download-pattern: build-${{ matrix.configuration }}-${{ matrix.arch }} sonarcloud: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-sonarcloud - needs: [build, test_linux, test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v3 with: organization: geekle @@ -88,16 +113,18 @@ jobs: secrets: inherit codecov: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-codecov - needs: [build, test_linux, test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-codecov/.github/workflows/default.yml@v1 with: repository: codebeltnet/carter secrets: inherit codeql: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-codeql - needs: [build, test_linux, test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v3 permissions: security-events: write @@ -106,7 +133,7 @@ jobs: if: github.event_name != 'pull_request' name: call-nuget needs: [build, pack, test_linux, test_windows, sonarcloud, codecov, codeql] - uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v3 with: version: ${{ needs.build.outputs.version }} environment: Production diff --git a/.github/workflows/service-update.yml b/.github/workflows/service-update.yml index 8ce5965..f9a235e 100644 --- a/.github/workflows/service-update.yml +++ b/.github/workflows/service-update.yml @@ -70,7 +70,7 @@ jobs: for f in .nuget/*/PackageReleaseNotes.txt; do [ -f "$f" ] || continue TFM=$(grep -m1 "^Availability:" "$f" | sed 's/Availability: //' || echo ".NET 10, .NET 9 and .NET Standard 2.0") - ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n\n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n \n" + ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n\n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n\n" { printf "$ENTRY"; cat "$f"; } > "$f.tmp" && mv "$f.tmp" "$f" done diff --git a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt index 4e0309f..f3329b0 100644 --- a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Newtonsoft.Json/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 1.0.2 +Availability: .NET 10 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 1.0.1 Availability: .NET 10 diff --git a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Json/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Json/PackageReleaseNotes.txt index 025e56c..ee021bb 100644 --- a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Json/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Json/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 1.0.2 +Availability: .NET 10 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 1.0.1 Availability: .NET 10 diff --git a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Yaml/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Yaml/PackageReleaseNotes.txt index 312948d..7a53e67 100644 --- a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Yaml/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Text.Yaml/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 1.0.2 +Availability: .NET 10 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 1.0.1 Availability: .NET 10 diff --git a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Xml/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Xml/PackageReleaseNotes.txt index eaca8e2..a948b36 100644 --- a/.nuget/Codebelt.Extensions.Carter.AspNetCore.Xml/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Carter.AspNetCore.Xml/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 1.0.2 +Availability: .NET 10 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 1.0.1 Availability: .NET 10 diff --git a/.nuget/Codebelt.Extensions.Carter/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Carter/PackageReleaseNotes.txt index ce4fee9..bf300a3 100644 --- a/.nuget/Codebelt.Extensions.Carter/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Carter/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 1.0.2 +Availability: .NET 10 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 1.0.1 Availability: .NET 10 diff --git a/CHANGELOG.md b/CHANGELOG.md index dbf93cd..2f0e985 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), For more details, please refer to `PackageReleaseNotes.txt` on a per assembly basis in the `.nuget` folder. +## [1.0.2] - 2026-04-18 + +This is a service update that focuses on package dependencies. + ## [1.0.1] - 2026-03-25 This is a patch release focusing on dependency updates across all packages to maintain compatibility and security with the latest compatible versions. diff --git a/Directory.Packages.props b/Directory.Packages.props index 297a6f7..d891abd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,17 +6,17 @@ - - - - - - - - + + + + + + + + - - + + diff --git a/README.md b/README.md index cea2b62..1a86d02 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ An open-source project (MIT license) that targets and complements the [Carter](https://github.com/dotnet/Carter) API library. It provides a uniform and convenient way of doing API development for all project types in .NET. -Your versatile Carter companion for modern development with `.NET 9` and `.NET 10`. +Your versatile Carter companion for modern development with `.NET 10`. It is, by heart, free, flexible and built to extend and boost your agile codebelt.