Add InterlockedBase36 and update documentation and dependencies - #21
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR prepares the Diamond.Core solution for release 10.1.4 by bumping package/assembly versions across projects, updating several NuGet dependencies to newer patch versions, and introducing a new InterlockedBase36 type with corresponding XML documentation updates in the Base36 library.
Changes:
- Bump
Version,FileVersion, andAssemblyVersionfrom10.1.3to10.1.4across the solution. - Refresh patch-level NuGet dependencies (notably
Microsoft.Extensions.*,Microsoft.AspNetCore.*,Microsoft.EntityFrameworkCore*, andAutoMapper). - Add
System.InterlockedBase36and updateDiamond.Core.System.Base36XML docs accordingly.
Reviewed changes
Copilot reviewed 68 out of 68 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Src/Wpf/Diamond.Core.Wpf/Diamond.Core.Wpf.csproj | Version bump to 10.1.4 |
| Src/Wpf/Diamond.Core.Wpf.Abstractions/Diamond.Core.Wpf.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Workflow/Diamond.Core.Workflow/Diamond.Core.Workflow.csproj | Version bump to 10.1.4 |
| Src/Workflow/Diamond.Core.Workflow.Steps/Diamond.Core.WorkFlow.Steps.csproj | Version bump to 10.1.4 |
| Src/Workflow/Diamond.Core.Workflow.State/Diamond.Core.Workflow.State.csproj | Version bump to 10.1.4 |
| Src/Workflow/Diamond.Core.Workflow.State.Abstractions/Diamond.Core.Workflow.State.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Workflow/Diamond.Core.Workflow.Abstractions/Diamond.Core.Workflow.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Unit of Work/Diamond.Core.UnitOfWork/Diamond.Core.UnitOfWork.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Unit of Work/Diamond.Core.UnitOfWork.Abstractions/Diamond.Core.UnitOfWork.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Tests/Diamond.Core.System.Tests/Diamond.Core.System.Tests.csproj | Version bump + Microsoft.NET.Test.Sdk patch update |
| Src/Tests/Diamond.Core.Specification.Tests/Diamond.Core.Specification.Tests.csproj | Version bump + Microsoft.Extensions.DependencyInjection/test SDK patch updates |
| Src/Tests/Diamond.Core.Rules.Tests/Diamond.Core.Rules.Tests.csproj | Version bump + Microsoft.Extensions.DependencyInjection/test SDK patch updates |
| Src/Tests/Diamond.Core.Decorator.Tests/Diamond.Core.Decorator.Tests.csproj | Version bump + Microsoft.Extensions.DependencyInjection/test SDK patch updates |
| Src/Tests/Diamond.Core.Clonable.Tests/Diamond.Core.Clonable.Tests.csproj | Version bump + Microsoft.NET.Test.Sdk patch update |
| Src/System/Diamond.Core.System.Text/Diamond.Core.System.Text.csproj | Version bump to 10.1.4 |
| Src/System/Diamond.Core.System.TemporaryFolder/Diamond.Core.System.TemporaryFolder.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/System/Diamond.Core.System.Base36/XmlDocs/Diamond.Core.System.Base36.xml | Add XML docs entries for InterlockedBase36 |
| Src/System/Diamond.Core.System.Base36/InterlockedBase36.cs | Add new InterlockedBase36 thread-safe wrapper API |
| Src/System/Diamond.Core.System.Base36/Diamond.Core.System.Base36.csproj | Version bump to 10.1.4 |
| Src/System/Diamond.Core.Performance/Diamond.Core.Performance.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Specification/Diamond.Core.Specification/Diamond.Core.Specification.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Specification/Diamond.Core.Specification.Abstractions/Diamond.Core.Specification.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Shared/Diamond.Core.Abstractions/Diamond.Core.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Rules/Diamond.Core.Rules/Diamond.Core.Rules.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Rules/Diamond.Core.Rules.Abstractions/Diamond.Core.Rules.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Repository/Diamond.Core.Repository/Diamond.Core.Repository.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Repository/Diamond.Core.Repository.EntityFrameworkCore/Diamond.Core.Repository.EntityFrameworkCore.csproj | Version bump + Microsoft.EntityFrameworkCore patch update |
| Src/Repository/Diamond.Core.Repository.DateTimeModel/Diamond.Core.Repository.DateTimeModel.csproj | Version bump to 10.1.4 |
| Src/Repository/Diamond.Core.Repository.Abstractions/Diamond.Core.Repository.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Hosting/Diamond.Core.Extensions.Hosting/Diamond.Core.Extensions.Hosting.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/Hosting/Diamond.Core.Extensions.Hosting.Abstractions/Diamond.Core.Extensions.Hosting.Abstractions.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/Examples/Diamond.Core.Example.Wpf/Diamond.Core.Example.Wpf.csproj | Version bump to 10.1.4 |
| Src/Examples/Diamond.Core.Example.Web/Diamond.Core.Example.Web.csproj | Version bump + Microsoft.AspNetCore.Mvc.NewtonsoftJson patch update |
| Src/Examples/Diamond.Core.Example.Unity/Diamond.Core.Example.Unity.csproj | Version bump to 10.1.4 |
| Src/Examples/Diamond.Core.Example.Shared/Diamond.Core.Example.Shared.csproj | Version bump + AutoMapper patch update |
| Src/Examples/Diamond.Core.Example.LoadServices/Diamond.Core.Example.LoadServices.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/Examples/Diamond.Core.Example.KeyedServices/Diamond.Core.Example.KeyedServices.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/Examples/Diamond.Core.Example.DbContext/Diamond.Core.Example.DbContext.csproj | Version bump to 10.1.4 |
| Src/Examples/Diamond.Core.Example.ConsoleCommand/Diamond.Core.Example.ConsoleCommand.csproj | Version bump + Microsoft.AspNetCore.JsonPatch patch update |
| Src/Examples/Diamond.Core.Example.BasicConsole/Diamond.Core.Example.BasicConsole.csproj | Version bump + Microsoft.* patch updates + add SQLitePCLRaw.bundle_e_sqlite3 |
| Src/Examples/Diamond.Core.Example.AutoMapperDependency/Diamond.Core.Example.AutoMapperDependency.csproj | Version bump to 10.1.4 |
| Src/Examples/Diamond.Core.Example.AutoMapperDependency.Profiles/Diamond.Core.Example.AutoMapperDependency.Profiles.csproj | Version bump + AutoMapper patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection/Diamond.Core.Extensions.DependencyInjection.csproj | Version bump + Microsoft.Extensions.Hosting patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.SqlServer/Diamond.Core.Extensions.DependencyInjection.SqlServer.csproj | Version bump + Microsoft.EntityFrameworkCore.SqlServer patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.Sqlite/Diamond.Core.Extensions.DependencyInjection.Sqlite.csproj | Version bump + Microsoft.EntityFrameworkCore.Sqlite/SQLitePCLRaw patch updates |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.PostgreSQL/Diamond.Core.Extensions.DependencyInjection.PostgreSQL.csproj | Version bump + Npgsql.EntityFrameworkCore.PostgreSQL patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.Oracle/Diamond.Core.Extensions.DependencyInjection.Oracle.csproj | Version bump to 10.1.4 |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.MySql/Diamond.Core.Extensions.DependencyInjection.MySql.csproj | Version bump to 10.1.4 |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.InMemory/Diamond.Core.Extensions.DependencyInjection.InMemory.csproj | Version bump + Microsoft.EntityFrameworkCore.InMemory patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.EntityFrameworkCore/Diamond.Core.Extensions.DependencyInjection.EntityFrameworkCore.csproj | Version bump + Microsoft.EntityFrameworkCore patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.Cosmos/Diamond.Core.Extensions.DependencyInjection.Cosmos.csproj | Version bump + Microsoft.EntityFrameworkCore.Cosmos patch update |
| Src/Dependency-Injection/Diamond.Core.Extensions.DependencyInjection.Abstractions/Diamond.Core.Extensions.DependencyInjection.Abstractions.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Decorator/Diamond.Core.Decorator/Diamond.Core.Decorator.csproj | Version bump + Microsoft.Extensions.Logging.Abstractions patch update |
| Src/Decorator/Diamond.Core.Decorator.Abstractions/Diamond.Core.Decorator.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Command Line/Diamond.Core.CommandLine/Diamond.Core.CommandLine.csproj | Version bump + Microsoft.Extensions.* patch updates |
| Src/Command Line/Diamond.Core.CommandLine.Model/Diamond.Core.CommandLine.Model.csproj | Version bump + Microsoft.Extensions.Logging patch update |
| Src/Command Line/Diamond.Core.CommandLine.Abstractions/Diamond.Core.CommandLine.Abstractions.csproj | Version bump to 10.1.4 |
| Src/Clonable/Diamond.Core.Clonable/Diamond.Core.Clonable.csproj | Version bump to 10.1.4 |
| Src/Clonable/Diamond.Core.Clonable.Newtonsoft/Diamond.Core.Clonable.Newtonsoft.csproj | Version bump + Microsoft.Extensions.Hosting.Abstractions patch update |
| Src/Clonable/Diamond.Core.Clonable.Microsoft/Diamond.Core.Clonable.Microsoft.csproj | Version bump + Microsoft.Extensions.Hosting.Abstractions patch update |
| Src/Clonable/Diamond.Core.Clonable.Abstractions/Diamond.Core.Clonable.Abstractions.csproj | Version bump to 10.1.4 |
| Src/AutoMapper/Diamond.Core.AutoMapperExtensions/Diamond.Core.AutoMapperExtensions.csproj | Version bump + AutoMapper and Microsoft.Extensions.* patch updates |
| Src/AspNetCore/Diamond.Core.AspNetCore.Swagger/Diamond.Core.AspNetCore.Swagger.csproj | Version bump + Microsoft.AspNetCore.JsonPatch patch update |
| Src/AspNetCore/Diamond.Core.AspNetCore.Rfc7807/Diamond.Core.AspNetCore.Rfc7807.csproj | Version bump to 10.1.4 |
| Src/AspNetCore/Diamond.Core.AspNetCore.Hosting/Diamond.Core.AspNetCore.Hosting.csproj | Version bump to 10.1.4 |
| Src/AspNetCore/Diamond.Core.AspNetCore.DoAction/Diamond.Core.AspNetCore.DoAction.csproj | Version bump to 10.1.4 |
| Src/AspNetCore/Diamond.Core.AspNetCore.DoAction.Abstractions/Diamond.Core.AspNetCore.DoAction.Abstractions.csproj | Version bump to 10.1.4 |
| Src/AspNetCore/Diamond.Core.AspNetCore.DataTables/Diamond.Core.AspNetCore.DataTables.csproj | Version bump + AutoMapper patch update |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+2
| namespace System | ||
| { |
Comment on lines
+3
to
+6
| /// <summary> | ||
| /// Represents a thread-safe wrapper for a Base36 value that can be incremented or added to atomically. | ||
| /// </summary> | ||
| public sealed class InterlockedBase36 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the version numbers for all Diamond.Core projects from
10.1.3to10.1.4and refreshes several NuGet package dependencies to their latest patch versions. These changes ensure consistency across the solution and bring in the latest bug fixes and improvements from upstream dependencies.The most important changes are:
Version Bump Across Projects:
.csprojfiles in the solution now use version10.1.4forVersion,FileVersion, andAssemblyVersionproperties, ensuring consistency for the new release. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]Dependency Updates:
AutoMapperto16.2.0in relevant projects for improved mapping features and bug fixes. [1] [2]Microsoft.Extensions.*andMicrosoft.AspNetCore.*dependencies to their latest patch versions (from10.0.9to10.0.10or10.0.10as appropriate) for security and stability. [1] [2] [3] [4] [5] [6] [7]Microsoft.AspNetCore.JsonPatchto10.0.10in the Swagger project.No functional code changes are included; these are maintenance updates to keep dependencies and versioning up-to-date.