diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index 5cc1890..14b7583 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,9 +1,9 @@ -ARG NGINX_VERSION=1.29.1-alpine +ARG NGINX_VERSION=1.29.3-alpine FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base RUN rm -rf /usr/share/nginx/html/* -FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.3 AS build +FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.4 AS build ADD [".", "docfx"] diff --git a/.docfx/docfx.json b/.docfx/docfx.json index 240d67d..4daa8a0 100644 --- a/.docfx/docfx.json +++ b/.docfx/docfx.json @@ -12,7 +12,7 @@ "dest": "api", "filter": "filterConfig.yml", "properties": { - "TargetFramework": "net9.0" + "TargetFramework": "net10.0" } } ], diff --git a/.docfx/includes/availability-default.md b/.docfx/includes/availability-default.md index 89f4c06..fa28d0e 100644 --- a/.docfx/includes/availability-default.md +++ b/.docfx/includes/availability-default.md @@ -1 +1 @@ -Availability: .NET 9, .NET 8 and .NET Standard 2.0 \ No newline at end of file +Availability: .NET 10, .NET 9 and .NET Standard 2.0 \ No newline at end of file diff --git a/.docfx/includes/availability-modern.md b/.docfx/includes/availability-modern.md index abf5369..af5cf4b 100644 --- a/.docfx/includes/availability-modern.md +++ b/.docfx/includes/availability-modern.md @@ -1 +1 @@ -Availability: .NET 9 and .NET 8 \ No newline at end of file +Availability: .NET 10 and .NET 9 \ No newline at end of file diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 2e35c1e..03bd846 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: configuration: [Debug, Release] - uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} strong-name-key-filename: unitify.snk @@ -39,7 +39,7 @@ jobs: strategy: matrix: configuration: [Debug, Release] - uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-dotnet-pack/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} version: ${{ needs.build.outputs.version }} @@ -52,17 +52,18 @@ jobs: matrix: os: [ubuntu-24.04, windows-2022] configuration: [Debug, Release] - uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-dotnet-test/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} runs-on: ${{ matrix.os }} build-switches: -p:SkipSignAssembly=true + build: true # we need to build due to xUnitv3 restore: true sonarcloud: name: call-sonarcloud needs: [build,test] - uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v3 with: organization: geekle projectKey: unitify @@ -77,18 +78,18 @@ jobs: repository: codebeltnet/unitify secrets: inherit - codeql: - name: call-codeql - needs: [build,test] - uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v2 - permissions: - security-events: write + # codeql: + # name: call-codeql + # needs: [build,test] + # uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v3 + # permissions: + # security-events: write deploy: if: github.event_name != 'pull_request' name: call-nuget - needs: [build, pack, test, sonarcloud, codecov, codeql] - uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v1 + needs: [build, pack, test, sonarcloud, codecov] + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 with: version: ${{ needs.build.outputs.version }} environment: Production diff --git a/.nuget/Codebelt.Unitify/PackageReleaseNotes.txt b/.nuget/Codebelt.Unitify/PackageReleaseNotes.txt index f0abdd2..36febbc 100644 --- a/.nuget/Codebelt.Unitify/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Unitify/PackageReleaseNotes.txt @@ -1,3 +1,11 @@ +Version 10.0.0 +Availability: .NET 10 and .NET 9 +  +# ALM +- ADDED Support for TFM .NET 10 (LTS) +- REMOVED Support for TFM .NET 8 (LTS) +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) +  Version 9.0.8 Availability: .NET 9 and .NET 8   diff --git a/.nuget/Codebelt.Unitify/README.md b/.nuget/Codebelt.Unitify/README.md index 3bdff5a..c92b888 100644 --- a/.nuget/Codebelt.Unitify/README.md +++ b/.nuget/Codebelt.Unitify/README.md @@ -2,6 +2,8 @@ An open-source project (MIT license) that offers types that simplify unit management with comprehensive metric and binary support for prefixes, multiples, and submultiples. +Your versatile "units of measure" companion for modern development with `.NET 9` and `.NET 10`. + It is, by heart, free, flexible and built to extend and boost your agile codebelt. ## **Codebelt.Unitify** for .NET diff --git a/CHANGELOG.md b/CHANGELOG.md index ee8a727..4179d68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba > [!NOTE] > Changelog entries prior to version 9.0.0 was migrated from previous versions of [Cuemon.Core](https://github.com/gimlichael/Cuemon/commit/83e0c7af2cdaa07351e878fa7276558838f2e7e6). +## [10.0.0] - 2025-11-13 + +This is a major release that focuses on adapting the latest `.NET 10` release (LTS) in exchange for current `.NET 8` (LTS). + +> To ensure access to current features, improvements, and security updates, and to keep the codebase clean and easy to maintain, we target only the latest long-term (LTS), short-term (STS) and (where applicable) cross-platform .NET versions. + ## [9.0.8] - 2025-10-20 This is a service update that focuses on package dependencies. diff --git a/Directory.Build.props b/Directory.Build.props index e6abd70..b245cf4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -15,7 +15,7 @@ - net9.0;net8.0 + net10.0;net9.0 Copyright © Geekle 2024-2025. All rights reserved. gimlichael Geekle @@ -48,10 +48,11 @@ - net9.0;net8.0 + net10.0;net9.0 + Exe false false false @@ -61,12 +62,13 @@ none NU1701,NETSDK1206 false + true - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Directory.Packages.props b/Directory.Packages.props index 09ec939..690d417 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,14 +3,14 @@ true - - - + + + - - + + \ No newline at end of file diff --git a/README.md b/README.md index a59428c..382a813 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,19 @@ [![Unitify CI/CD Pipeline](https://github.com/codebeltnet/unitify/actions/workflows/pipelines.yml/badge.svg)](https://github.com/codebeltnet/unitify/actions/workflows/pipelines.yml) [![codecov](https://codecov.io/gh/codebeltnet/unitify/graph/badge.svg?token=WAmfmpQyCz)](https://codecov.io/gh/codebeltnet/unitify) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=unitify&metric=alert_status)](https://sonarcloud.io/dashboard?id=unitify) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=unitify&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=unitify) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=unitify&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=unitify) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=unitify&metric=security_rating)](https://sonarcloud.io/dashboard?id=unitify) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/codebeltnet/unitify/badge)](https://scorecard.dev/viewer/?uri=github.com/codebeltnet/unitify) +### ℹ️ About + An open-source project (MIT license) that offers types that simplify unit management with comprehensive metric and binary support for prefixes, multiples, and submultiples. +Your versatile "units of measure" companion for modern development with `.NET 9` and `.NET 10`. + +It is, by heart, free, flexible and built to extend and boost your agile codebelt. + +> [!NOTE] +> To ensure access to current features, improvements, and security updates, and to keep the codebase clean and easy to maintain, we target only the latest long-term (LTS), short-term (STS) and (where applicable) cross-platform .NET versions. + +### 📚 Documentation + Full documentation (generated by [DocFx](https://github.com/dotnet/docfx)) located here: https://unitify.codebelt.net/ ## 📦 Standalone Packages diff --git a/test/Codebelt.Unitify/BaseUnitTest.cs b/test/Codebelt.Unitify/BaseUnitTest.cs index 69d61e3..3f84bc4 100644 --- a/test/Codebelt.Unitify/BaseUnitTest.cs +++ b/test/Codebelt.Unitify/BaseUnitTest.cs @@ -1,6 +1,5 @@ using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/BinaryPrefixTest.cs b/test/Codebelt.Unitify/BinaryPrefixTest.cs index 8172da5..8b2034e 100644 --- a/test/Codebelt.Unitify/BinaryPrefixTest.cs +++ b/test/Codebelt.Unitify/BinaryPrefixTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/BitStorageTest.cs b/test/Codebelt.Unitify/BitStorageTest.cs index bfa13ad..5bb9a1e 100644 --- a/test/Codebelt.Unitify/BitStorageTest.cs +++ b/test/Codebelt.Unitify/BitStorageTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/ByteStorageTest.cs b/test/Codebelt.Unitify/ByteStorageTest.cs index 0cf0f7f..7fc6c55 100644 --- a/test/Codebelt.Unitify/ByteStorageTest.cs +++ b/test/Codebelt.Unitify/ByteStorageTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/DecimalPrefixTest.cs b/test/Codebelt.Unitify/DecimalPrefixTest.cs index 546f551..9eeeb64 100644 --- a/test/Codebelt.Unitify/DecimalPrefixTest.cs +++ b/test/Codebelt.Unitify/DecimalPrefixTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/PrefixUnitExtensionsTest.cs b/test/Codebelt.Unitify/PrefixUnitExtensionsTest.cs index 0b7e8d3..c9f55b1 100644 --- a/test/Codebelt.Unitify/PrefixUnitExtensionsTest.cs +++ b/test/Codebelt.Unitify/PrefixUnitExtensionsTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/UnitFactoryTest.cs b/test/Codebelt.Unitify/UnitFactoryTest.cs index 34d0448..d558aad 100644 --- a/test/Codebelt.Unitify/UnitFactoryTest.cs +++ b/test/Codebelt.Unitify/UnitFactoryTest.cs @@ -1,6 +1,5 @@ using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/test/Codebelt.Unitify/UnitTest.cs b/test/Codebelt.Unitify/UnitTest.cs index ed4246b..958ac47 100644 --- a/test/Codebelt.Unitify/UnitTest.cs +++ b/test/Codebelt.Unitify/UnitTest.cs @@ -1,7 +1,6 @@ using System; using Codebelt.Extensions.Xunit; using Xunit; -using Xunit.Abstractions; namespace Codebelt.Unitify { diff --git a/testenvironments.json b/testenvironments.json index 8e4ae2c..2bc34cb 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -9,7 +9,7 @@ { "name": "Docker-Ubuntu", "type": "docker", - "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.415-9.0.306" + "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.416-9.0.307-10.0.100" } ] }