Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base
RUN rm -rf /usr/share/nginx/html/*

FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.4 AS build
FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.5 AS build

ADD [".", "docfx"]

Expand Down
1 change: 1 addition & 0 deletions .github/scripts/bump-nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"xunit": ["Codebelt.Extensions.Xunit"],
"benchmarkdotnet": ["Codebelt.Extensions.BenchmarkDotNet"],
"bootstrapper": ["Codebelt.Bootstrapper"],
"carter": ["Codebelt.Extensions.Carter"],

Check warning on line 38 in .github/scripts/bump-nuget.py

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Change or remove duplicates of this key.

See more on https://sonarcloud.io/project/issues?id=unitify&issues=AZ0me0NHbam_UNBbHife&open=AZ0me0NHbam_UNBbHife&pullRequest=23
"newtonsoft-json": [
"Codebelt.Extensions.Newtonsoft.Json",
"Codebelt.Extensions.AspNetCore.Newtonsoft.Json",
Expand All @@ -53,6 +53,7 @@
"swashbuckle-aspnetcore": ["Codebelt.Extensions.Swashbuckle"],
"savvyio": ["Savvyio."],
"shared-kernel": ["Codebelt.SharedKernel"],
"carter": ["Codebelt.Extensions.Carter"],
}


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/service-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
77 changes: 41 additions & 36 deletions .nuget/Codebelt.Unitify/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,86 +1,92 @@
Version: 10.0.4
Version: 10.0.5
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)


# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.0.4
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.0.3
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.0.2
Availability: .NET 10 and .NET 9
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 10.0.1
Availability: .NET 10 and .NET 9
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

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
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.7
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.6
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.5
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.4
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.3
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 

Version: 9.0.2
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
 

Version: 9.0.1
Availability: .NET 9 and .NET 8
 

# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
 

Version: 9.0.0
Availability: .NET 9 and .NET 8
 

# Breaking Changes
- REMOVED BitStorageCapacity class from the Codebelt.Unitify namespace
- REMOVED ByteStorageCapacity class from the Codebelt.Unitify namespace
Expand All @@ -92,7 +98,7 @@ Availability: .NET 9 and .NET 8
- REFACTORED UnitPrefix enum in the Codebelt.Unitify namespace to PrefixStyle that specifies ways that a string must be represented in terms of prefix style
- REFACTORED PrefixUnit class in the Codebelt.Unitify namespace to a non-abstract class that represents the prefix of a unit of measurement
- REFACTORED UnitPrefixFormatter class in the Codebelt.Unitify namespace to PrefixUnitFormatter that defines the string formatting of objects having an implementation of IPrefixUnit
 

# New Features
- ADDED BaseUnit struct in the Codebelt.Unitify namespace that represents a base unit of measurement, including its category, name, and symbol
- ADDED IBaseUnit interface in the Codebelt.Unitify namespace that defines a base unit of measure, including its category, name, and symbol
Expand All @@ -103,10 +109,10 @@ Availability: .NET 9 and .NET 8
- ADDED Unit class in the Codebelt.Unitify namespace that represents the base class from which all implementations of a unit of measure should derive
- ADDED UnitFactory class in the Codebelt.Unitify namespace that provides a set of static methods for generating different types of unit of measure and the option to define your own with CreateUnit
- ADDED UnitFormatter class in the Codebelt.Unitify namespace that defines the string formatting of objects having an implementation of IUnit
 

Version: 6.0.0
Availability: .NET Standard 2.0, .NET 5.0
 

# New Features
- ADDED BinaryPrefix class in the Codebelt.Unitify namespace that defines a binary unit prefix for multiples of measurement for data that refers strictly to powers of 2
- ADDED BitStorageCapacity class in the Codebelt.Unitify namespace that represent a table of both binary and metric prefixes for a BitUnit
Expand All @@ -124,19 +130,18 @@ Availability: .NET Standard 2.0, .NET 5.0
- ADDED StorageCapacity class in the Codebelt.Unitify namespace that provides a way to represent a table of both binary and metric prefixes that precedes a unit of measure optimized for storage capacity measurement standards
- ADDED StorageCapacityOptions class in the Codebelt.Unitify namespace that specifies options related to StorageCapacity
- ADDED PrefixUnit class in the Codebelt.Unitify namespace that represents the base class from which all implementations of a unit of measurement should derive
 

# Improvements
- CHANGED BinaryPrefix in the Codebelt.Unitify namespace from struct to sealed class
- CHANGED DecimalPrefix in the Codebelt.Unitify namespace from struct to sealed class
- REFACTORED MultipleTable in the Codebelt.Unitify namespace to be more generic and moved non-generic functionality to the new StorageCapacity class
- CHANGED BitUnit in the Codebelt.Unitify namespace from struct to sealed class
- CHANGED ByteUnit in the Codebelt.Unitify namespace from struct to sealed class
 

# Quality Analysis Actions
- FIXED UnitPrefixFormatter class in the Codebelt.Unitify namespace to be compliant with https://rules.sonarsource.com/csharp/RSPEC-927
- CHANGED BinaryPrefix class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- CHANGED DecimalPrefix class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- CHANGED BitUnit class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- CHANGED ByteUnit class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- CHANGED UnitPrefixFormatter class in the Codebelt.Unitify namespace to be compliant with https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ 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.5] - 2026-03-25

This is a patch release focusing on dependency upgrades across all supported target frameworks, modernization of build tooling, updates to documentation infrastructure, and expanded package management coverage.

### Changed

- Codebelt.Extensions.Xunit.App upgraded from 11.0.7 to 11.0.8 for unit test support,
- Cuemon.Core upgraded from 10.4.0 to 10.5.0 with latest improvements across all supported target frameworks (.NET 10 and .NET 9),
- docfx base image updated from 2.78.4 to 2.78.5 for improved documentation generation,
- Service update workflow improved with clarified formatting and consistency standards,
- NuGet package update detection extended to include Carter package mapping for Codebelt.Extensions.Carter.

## [10.0.4] - 2026-02-28

This is a service update that focuses on package dependencies.
Expand Down Expand Up @@ -125,3 +137,21 @@ This is a service update that primarily focuses on package dependencies and mino
- BitUnit class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- ByteUnit class in the Codebelt.Unitify namespace to have 0 duplicated blocks of lines of code
- UnitPrefixFormatter class in the Codebelt.Unitify namespace to be compliant with https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822

[Unreleased]: https://github.com/codebeltnet/unitify/compare/v10.0.5...HEAD
[10.0.5]: https://github.com/codebeltnet/unitify/compare/v10.0.4...v10.0.5
[10.0.4]: https://github.com/codebeltnet/unitify/compare/v10.0.3...v10.0.4
[10.0.3]: https://github.com/codebeltnet/unitify/compare/v10.0.2...v10.0.3
[10.0.2]: https://github.com/codebeltnet/unitify/compare/v10.0.1...v10.0.2
[10.0.1]: https://github.com/codebeltnet/unitify/compare/v10.0.0...v10.0.1
[10.0.0]: https://github.com/codebeltnet/unitify/compare/v9.0.8...v10.0.0
[9.0.8]: https://github.com/codebeltnet/unitify/compare/v9.0.7...v9.0.8
[9.0.7]: https://github.com/codebeltnet/unitify/compare/v9.0.6...v9.0.7
[9.0.6]: https://github.com/codebeltnet/unitify/compare/v9.0.5...v9.0.6
[9.0.5]: https://github.com/codebeltnet/unitify/compare/v9.0.4...v9.0.5
[9.0.4]: https://github.com/codebeltnet/unitify/compare/v9.0.3...v9.0.4
[9.0.3]: https://github.com/codebeltnet/unitify/compare/v9.0.2...v9.0.3
[9.0.2]: https://github.com/codebeltnet/unitify/compare/v9.0.1...v9.0.2
[9.0.1]: https://github.com/codebeltnet/unitify/compare/v9.0.0...v9.0.1
[9.0.0]: https://github.com/codebeltnet/unitify/releases/tag/v9.0.0
[6.0.0]: https://github.com/codebeltnet/unitify/releases/tag/v6.0.0
5 changes: 1 addition & 4 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<Project>
<Target Name="PreparePackageReleaseNotesFromFile" BeforeTargets="GenerateNuspec" Condition="'$(IsTestProject)' == 'false' AND Exists('$(PackageReleaseNotesFile)')">
<ReadLinesFromFile File="$(PackageReleaseNotesFile)">
<Output TaskParameter="Lines" ItemName="PackageReleaseNotesLines"/>
</ReadLinesFromFile>
<PropertyGroup>
<PackageReleaseNotes>@(PackageReleaseNotesLines, '%0A')</PackageReleaseNotes>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText('$(PackageReleaseNotesFile)'))</PackageReleaseNotes>
</PropertyGroup>
</Target>

Expand Down
30 changes: 15 additions & 15 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="11.0.7" />
<PackageVersion Include="Cuemon.Core" Version="10.4.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageVersion Include="MinVer" Version="7.0.0" />
<PackageVersion Include="coverlet.collector" Version="8.0.0" />
<PackageVersion Include="coverlet.msbuild" Version="8.0.0" />
<PackageVersion Include="xunit.v3" Version="3.2.2" />
<PackageVersion Include="xunit.v3.runner.console" Version="3.2.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Codebelt.Extensions.Xunit.App" Version="11.0.8" />
<PackageVersion Include="Cuemon.Core" Version="10.5.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageVersion Include="MinVer" Version="7.0.0" />
<PackageVersion Include="coverlet.collector" Version="8.0.1" />
<PackageVersion Include="coverlet.msbuild" Version="8.0.1" />
<PackageVersion Include="xunit.v3" Version="3.2.2" />
<PackageVersion Include="xunit.v3.runner.console" Version="3.2.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
</Project>
9 changes: 7 additions & 2 deletions testenvironments.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
"wslDistribution": "Ubuntu-24.04"
},
{
"name": "Docker-Ubuntu",
"name": "Docker-Ubuntu (net9)",
"type": "docker",
"dockerImage": "codebeltnet/ubuntu-testrunner:net8.0.418-9.0.311-10.0.103"
"dockerImage": "codebeltnet/ubuntu-testrunner:9"
},
{
"name": "Docker-Ubuntu (net10)",
"type": "docker",
"dockerImage": "codebeltnet/ubuntu-testrunner:10"
}
]
}
Loading