diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index db4af05..41286a5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,4 +28,4 @@ jobs: run: dotnet test --configuration Release --no-build --verbosity normal --filter Category=Unit - name: Push NuGet - run: dotnet nuget push "**/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate --source https://api.nuget.org/v3/index.json + run: dotnet nuget push "**/*.nupkg" --skip-duplicate --source https://api.nuget.org/v3/index.json diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index f0c7745..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,361 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -Nothing yet. - -## [1.21.4] - 2026-03-10 - -### Added - -- Getting decimals and doubles from environment variables. - -## [1.21.3] - 2026-01-23 - -### Fixed - -- NuGet upgrades. -- Upgraded LICENSE year. - -## [1.21.2] - 2025-11-29 - -### Added - -- Implemented `EnvironmentHelper` and tests. - -## [1.21.1] - 2025-11-29 - -### Fixed - -- Upgraded GitHub Actions. -- Upgraded LICENSE year. - -## [1.21.0] - 2025-11-29 - -### Changed - -- Migrated to .NET10. - -### Fixed - -- NuGet upgrades. - -## [1.20.4] - 2025-04-16 - -### Added - -- Method `StringExtensions.Humanize`. - -## [1.20.3] - 2025-04-16 - -### Fixed - -- NuGet upgrades. - -## [1.20.2] - 2024-12-23 - -### Fixed - -- NuGet publishing pipeline. - -## [1.20.1] - 2024-12-23 - -### Added - -- Volumes to Docker Compose. - -### Fixed - -- ClaimHelper UTC conversion. - -## [1.20.0] - 2024-11-19 - -### Added - -- Added a publish pipeline. - -### Changed - -- Changed YML extensions to YAML. -- Migrated to .NET9. -- Upgraded NuGet packages. - -### Fixed - -- Standardized project configuration. - -### Removed - -- Removed `ExceptionDetail` and dependency from `System.Text.Json`. - -## [1.19.2] - 2024-11-19 - -### Fixed - -- Upgraded NuGet. - -## [1.19.1] - 2024-09-24 - -### Fixed - -- `ColumnId` constructors. - -## [1.19.0] - 2024-09-24 - -### Added - -- Implemented column aliases. - -## [1.18.0] - 2024-07-30 - -### Added - -- `DateTimeExtensions`. - -### Fixed - -- Upgraded NuGet package. - -## [1.17.0] - 2024-06-06 - -### Changed - -- `Logitar` class library now targets .NET Standard 2.1. - -### Fixed - -- System usings. - -## [1.16.0] - 2024-03-26 - -### Added - -- Implemented a TwilioClient. - -## [1.15.0] - 2024-03-03 - -### Added - -- Implemented the Mask string extension method. - -## [1.14.0] - 2024-02-25 - -### Added - -- Implemented a MailgunClient. - -### Fixed - -- Password recovery message template. - -## [1.13.1] - 2024-01-29 - -### Fixed - -- Fixed documentation. -- Fixed GetErrorCode. - -## [1.13.0] - 2024-01-21 - -### Added - -- Added `GetBase64String` methods to `RandomStringGenerator`. -- Implemented cryptographically strong string generation from a list of characters. - -### Changed - -- Improved performance of `RandomStringGenerator.GetString` method. - -## [1.12.2] - 2024-01-21 - -### Fixed - -- DateTime claim creation again. - -## [1.12.1] - 2024-01-20 - -### Fixed - -- DateTime claim creation. - -## [1.12.0] - 2024-01-19 - -### Added - -- Implemented HTTP utils and API clients. -- Implemented a SendGridClient. - -## [1.11.0] - 2024-01-10 - -### Fixed - -- `Logitar.Security` NuGet package version. - -### Removed - -- Obsolete `purpose` claim. - -## [1.10.0] - 2024-01-10 - -### Added - -- Docker Compose file. - -### Changed - -- Upgraded to .NET8. -- Upgraded NuGet packages. -- Integration test configurations. - -## [1.9.0] - 2024-01-10 - -### Added - -- Implemented Truncate string method. - -### Changed - -- Updated LICENSE files to 2024. - -## [1.8.0] - 2023-11-03 - -### Added - -- Implemented ErrorMessageBuilder, ExceptionDetail, ExceptionExtensions and TypeExtensions. -- Added build.yml. - -### Changed - -- Moved Framework projects. - -### Removed - -- Removed Identity projects. -- Removed Demo project. -- Removed EventSourcing projects. - -## [1.7.0] - 2023-09-21 - -### Added - -- Implemented JOIN extensions. - -### Changed - -- Marked Purpose claim as obsolete. - -### Fixed - -- Renamed JOIN parameters. - -## [1.6.0] - 2023-09-01 - -### Added - -- Implemented a ClaimHelper. - -## [1.5.0] - 2023-08-25 - -### Added - -- Implemented user password change. -- Added claim constants. - -### Changed - -- Created a Locale value object. - -## [1.4.0] - 2023-08-13 - -### Added - -- Implemented a RandomStringGenerator. -- Added an AggregateId argument in Identity aggregate constructors. - -## [1.3.0] - 2023-08-13 - -### Added - -- Created a RoleAggregate. -- Created an UserAggregate. -- Created a SessionAggregate. - -### Changed - -- Protected setters on aggregate metadata. - -## [1.2.0] - 2023-08-06 - -### Added - -- Implemented query JOINs. -- Added AggregateRoot metadata. -- Created a struct for actor identifiers. -- Implemented an EventSourcing MongoDB store. -- Added a demo TodoController with CRUD endpoints. -- Implemented DeleteBuilders and UpdateBuilders for PostgreSQL and Microsoft SQL Server. - -### Changed - -- Reorganized the solution directory structure. -- Upgraded NuGet packages and fixed EventSourcing project dependencies. -- Replaced DeleteAction by a nullable boolean. -- Refactored AggregateRoot and DomainEvent. -- Injecting IEventSerializer as a dependency. - -## [1.1.0] - 2023-07-11 - -### Added - -- Implemented CollectionExtensions. -- Implemented InsertBuilders and QueryBuilders for PostgreSQL and Microsoft SQL Server. -- Implemented a Demo API with Swagger. -- Implemented Event Sourcing with multiple data stores. - -## [1.0.0] - 2023-07-07 - -### Added - -- Implemented StringExtensions. - -[unreleased]: https://github.com/Logitar/Logitar.NET/compare/v1.21.4...HEAD -[1.21.4]: https://github.com/Logitar/Logitar.NET/compare/v1.21.3...v1.21.4 -[1.21.3]: https://github.com/Logitar/Logitar.NET/compare/v1.21.2...v1.21.3 -[1.21.2]: https://github.com/Logitar/Logitar.NET/compare/v1.21.1...v1.21.2 -[1.21.1]: https://github.com/Logitar/Logitar.NET/compare/v1.21.0...v1.21.1 -[1.21.0]: https://github.com/Logitar/Logitar.NET/compare/v1.20.4...v1.21.0 -[1.20.4]: https://github.com/Logitar/Logitar.NET/compare/v1.20.3...v1.20.4 -[1.20.3]: https://github.com/Logitar/Logitar.NET/compare/v1.20.2...v1.20.3 -[1.20.2]: https://github.com/Logitar/Logitar.NET/compare/v1.20.1...v1.20.2 -[1.20.1]: https://github.com/Logitar/Logitar.NET/compare/v1.20.0...v1.20.1 -[1.20.0]: https://github.com/Logitar/Logitar.NET/compare/v1.19.2...v1.20.0 -[1.19.2]: https://github.com/Logitar/Logitar.NET/compare/v1.19.1...v1.19.2 -[1.19.1]: https://github.com/Logitar/Logitar.NET/compare/v1.19.0...v1.19.1 -[1.19.0]: https://github.com/Logitar/Logitar.NET/compare/v1.18.0...v1.19.0 -[1.18.0]: https://github.com/Logitar/Logitar.NET/compare/v1.17.0...v1.18.0 -[1.17.0]: https://github.com/Logitar/Logitar.NET/compare/v1.16.0...v1.17.0 -[1.16.0]: https://github.com/Logitar/Logitar.NET/compare/v1.15.0...v1.16.0 -[1.15.0]: https://github.com/Logitar/Logitar.NET/compare/v1.14.0...v1.15.0 -[1.14.0]: https://github.com/Logitar/Logitar.NET/compare/v1.13.1...v1.14.0 -[1.13.1]: https://github.com/Logitar/Logitar.NET/compare/v1.13.0...v1.13.1 -[1.13.0]: https://github.com/Logitar/Logitar.NET/compare/v1.12.2...v1.13.0 -[1.12.2]: https://github.com/Logitar/Logitar.NET/compare/v1.12.1...v1.12.2 -[1.12.1]: https://github.com/Logitar/Logitar.NET/compare/v1.12.0...v1.12.1 -[1.12.0]: https://github.com/Logitar/Logitar.NET/compare/v1.11.0...v1.12.0 -[1.11.0]: https://github.com/Logitar/Logitar.NET/compare/v1.10.0...v1.11.0 -[1.10.0]: https://github.com/Logitar/Logitar.NET/compare/v1.9.0...v1.10.0 -[1.9.0]: https://github.com/Logitar/Logitar.NET/compare/v1.8.0...v1.9.0 -[1.8.0]: https://github.com/Logitar/Logitar.NET/compare/v1.7.0...v1.8.0 -[1.7.0]: https://github.com/Logitar/Logitar.NET/compare/v1.6.0...v1.7.0 -[1.6.0]: https://github.com/Logitar/Logitar.NET/compare/v1.5.0...v1.6.0 -[1.5.0]: https://github.com/Logitar/Logitar.NET/compare/v1.4.0...v1.5.0 -[1.4.0]: https://github.com/Logitar/Logitar.NET/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/Logitar/Logitar.NET/compare/v1.2.0...v1.3.0 -[1.2.0]: https://github.com/Logitar/Logitar.NET/compare/v1.1.0...v1.2.0 -[1.1.0]: https://github.com/Logitar/Logitar.NET/compare/v1.0.0...v1.1.0 -[1.0.0]: https://github.com/Logitar/Logitar.NET/releases/tag/v1.0.0 diff --git a/Logitar.NET.sln b/Logitar.NET.sln index 3d84b52..15eda02 100644 --- a/Logitar.NET.sln +++ b/Logitar.NET.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.6.33815.320 +# Visual Studio Version 18 +VisualStudioVersion = 18.8.12105.206 oobstable MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{090CAD60-3038-43A2-A956-AE06B8E82C46}" ProjectSection(SolutionItems) = preProject @@ -9,7 +9,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig .gitattributes = .gitattributes .gitignore = .gitignore - CHANGELOG.md = CHANGELOG.md docker-compose.yml = docker-compose.yml LICENSE = LICENSE README.md = README.md diff --git a/demo/Logitar.Demo/Logitar.Demo.csproj b/demo/Logitar.Demo/Logitar.Demo.csproj index 8925b3f..5beb573 100644 --- a/demo/Logitar.Demo/Logitar.Demo.csproj +++ b/demo/Logitar.Demo/Logitar.Demo.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/src/Logitar.Data.PostgreSQL/Logitar.Data.PostgreSQL.csproj b/src/Logitar.Data.PostgreSQL/Logitar.Data.PostgreSQL.csproj index 54500a9..23d0e36 100644 --- a/src/Logitar.Data.PostgreSQL/Logitar.Data.PostgreSQL.csproj +++ b/src/Logitar.Data.PostgreSQL/Logitar.Data.PostgreSQL.csproj @@ -14,11 +14,11 @@ README.md git https://github.com/Logitar/Logitar.NET - 10.0.2.0 + 10.0.3.0 $(AssemblyVersion) LICENSE True - 10.0.2 + 10.0.3 en-CA True NuGet upgrade. @@ -35,7 +35,7 @@ - + diff --git a/src/Logitar.Data.SqlServer/Logitar.Data.SqlServer.csproj b/src/Logitar.Data.SqlServer/Logitar.Data.SqlServer.csproj index c6f5c56..cb0f100 100644 --- a/src/Logitar.Data.SqlServer/Logitar.Data.SqlServer.csproj +++ b/src/Logitar.Data.SqlServer/Logitar.Data.SqlServer.csproj @@ -14,11 +14,11 @@ README.md git https://github.com/Logitar/Logitar.NET - 10.0.2.0 + 10.0.3.0 $(AssemblyVersion) LICENSE True - 10.0.2 + 10.0.3 en-CA True NuGet upgrade. @@ -35,7 +35,7 @@ - + diff --git a/tests/Logitar.Data.PostgreSQL.IntegrationTests/Logitar.Data.PostgreSQL.IntegrationTests.csproj b/tests/Logitar.Data.PostgreSQL.IntegrationTests/Logitar.Data.PostgreSQL.IntegrationTests.csproj index 903e067..30d9e46 100644 --- a/tests/Logitar.Data.PostgreSQL.IntegrationTests/Logitar.Data.PostgreSQL.IntegrationTests.csproj +++ b/tests/Logitar.Data.PostgreSQL.IntegrationTests/Logitar.Data.PostgreSQL.IntegrationTests.csproj @@ -33,15 +33,15 @@ - - - + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Data.PostgreSQL.UnitTests/Logitar.Data.PostgreSQL.UnitTests.csproj b/tests/Logitar.Data.PostgreSQL.UnitTests/Logitar.Data.PostgreSQL.UnitTests.csproj index 910779c..23aa2cc 100644 --- a/tests/Logitar.Data.PostgreSQL.UnitTests/Logitar.Data.PostgreSQL.UnitTests.csproj +++ b/tests/Logitar.Data.PostgreSQL.UnitTests/Logitar.Data.PostgreSQL.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Data.SqlServer.IntegrationTests/Logitar.Data.SqlServer.IntegrationTests.csproj b/tests/Logitar.Data.SqlServer.IntegrationTests/Logitar.Data.SqlServer.IntegrationTests.csproj index 11e43ab..3f1fe98 100644 --- a/tests/Logitar.Data.SqlServer.IntegrationTests/Logitar.Data.SqlServer.IntegrationTests.csproj +++ b/tests/Logitar.Data.SqlServer.IntegrationTests/Logitar.Data.SqlServer.IntegrationTests.csproj @@ -33,15 +33,15 @@ - - - + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Data.SqlServer.UnitTests/Logitar.Data.SqlServer.UnitTests.csproj b/tests/Logitar.Data.SqlServer.UnitTests/Logitar.Data.SqlServer.UnitTests.csproj index b4292d6..9cf6e12 100644 --- a/tests/Logitar.Data.SqlServer.UnitTests/Logitar.Data.SqlServer.UnitTests.csproj +++ b/tests/Logitar.Data.SqlServer.UnitTests/Logitar.Data.SqlServer.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Data.UnitTests/Logitar.Data.UnitTests.csproj b/tests/Logitar.Data.UnitTests/Logitar.Data.UnitTests.csproj index 800519c..c770484 100644 --- a/tests/Logitar.Data.UnitTests/Logitar.Data.UnitTests.csproj +++ b/tests/Logitar.Data.UnitTests/Logitar.Data.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Net.IntegrationTests/Logitar.Net.IntegrationTests.csproj b/tests/Logitar.Net.IntegrationTests/Logitar.Net.IntegrationTests.csproj index e1073e5..1aa3356 100644 --- a/tests/Logitar.Net.IntegrationTests/Logitar.Net.IntegrationTests.csproj +++ b/tests/Logitar.Net.IntegrationTests/Logitar.Net.IntegrationTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Net.Mail.Mailgun.IntegrationTests/Logitar.Net.Mail.Mailgun.IntegrationTests.csproj b/tests/Logitar.Net.Mail.Mailgun.IntegrationTests/Logitar.Net.Mail.Mailgun.IntegrationTests.csproj index 450005c..bef6ac5 100644 --- a/tests/Logitar.Net.Mail.Mailgun.IntegrationTests/Logitar.Net.Mail.Mailgun.IntegrationTests.csproj +++ b/tests/Logitar.Net.Mail.Mailgun.IntegrationTests/Logitar.Net.Mail.Mailgun.IntegrationTests.csproj @@ -33,17 +33,17 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Logitar.Net.Mail.Mailgun.UnitTests/Logitar.Net.Mail.Mailgun.UnitTests.csproj b/tests/Logitar.Net.Mail.Mailgun.UnitTests/Logitar.Net.Mail.Mailgun.UnitTests.csproj index 1b7fd11..07a28ac 100644 --- a/tests/Logitar.Net.Mail.Mailgun.UnitTests/Logitar.Net.Mail.Mailgun.UnitTests.csproj +++ b/tests/Logitar.Net.Mail.Mailgun.UnitTests/Logitar.Net.Mail.Mailgun.UnitTests.csproj @@ -19,13 +19,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Logitar.Net.Mail.SendGrid.IntegrationTests/Logitar.Net.Mail.SendGrid.IntegrationTests.csproj b/tests/Logitar.Net.Mail.SendGrid.IntegrationTests/Logitar.Net.Mail.SendGrid.IntegrationTests.csproj index 11b82d2..abcb267 100644 --- a/tests/Logitar.Net.Mail.SendGrid.IntegrationTests/Logitar.Net.Mail.SendGrid.IntegrationTests.csproj +++ b/tests/Logitar.Net.Mail.SendGrid.IntegrationTests/Logitar.Net.Mail.SendGrid.IntegrationTests.csproj @@ -35,16 +35,16 @@ - - - - + + + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Net.Mail.SendGrid.UnitTests/Logitar.Net.Mail.SendGrid.UnitTests.csproj b/tests/Logitar.Net.Mail.SendGrid.UnitTests/Logitar.Net.Mail.SendGrid.UnitTests.csproj index f5514c0..86a37d6 100644 --- a/tests/Logitar.Net.Mail.SendGrid.UnitTests/Logitar.Net.Mail.SendGrid.UnitTests.csproj +++ b/tests/Logitar.Net.Mail.SendGrid.UnitTests/Logitar.Net.Mail.SendGrid.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Net.Sms.Twilio.IntegrationTests/Logitar.Net.Sms.Twilio.IntegrationTests.csproj b/tests/Logitar.Net.Sms.Twilio.IntegrationTests/Logitar.Net.Sms.Twilio.IntegrationTests.csproj index 0a8afe2..2c1df91 100644 --- a/tests/Logitar.Net.Sms.Twilio.IntegrationTests/Logitar.Net.Sms.Twilio.IntegrationTests.csproj +++ b/tests/Logitar.Net.Sms.Twilio.IntegrationTests/Logitar.Net.Sms.Twilio.IntegrationTests.csproj @@ -30,17 +30,17 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Logitar.Net.Sms.Twilio.UnitTests/Logitar.Net.Sms.Twilio.UnitTests.csproj b/tests/Logitar.Net.Sms.Twilio.UnitTests/Logitar.Net.Sms.Twilio.UnitTests.csproj index 4ed72e4..31e1c40 100644 --- a/tests/Logitar.Net.Sms.Twilio.UnitTests/Logitar.Net.Sms.Twilio.UnitTests.csproj +++ b/tests/Logitar.Net.Sms.Twilio.UnitTests/Logitar.Net.Sms.Twilio.UnitTests.csproj @@ -19,13 +19,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Logitar.Net.UnitTests/Logitar.Net.UnitTests.csproj b/tests/Logitar.Net.UnitTests/Logitar.Net.UnitTests.csproj index ac36cc4..c107d98 100644 --- a/tests/Logitar.Net.UnitTests/Logitar.Net.UnitTests.csproj +++ b/tests/Logitar.Net.UnitTests/Logitar.Net.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.Security.UnitTests/Logitar.Security.UnitTests.csproj b/tests/Logitar.Security.UnitTests/Logitar.Security.UnitTests.csproj index c3a0d60..6a846ba 100644 --- a/tests/Logitar.Security.UnitTests/Logitar.Security.UnitTests.csproj +++ b/tests/Logitar.Security.UnitTests/Logitar.Security.UnitTests.csproj @@ -19,13 +19,13 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/Logitar.UnitTests/Logitar.UnitTests.csproj b/tests/Logitar.UnitTests/Logitar.UnitTests.csproj index bd29bd8..df9280d 100644 --- a/tests/Logitar.UnitTests/Logitar.UnitTests.csproj +++ b/tests/Logitar.UnitTests/Logitar.UnitTests.csproj @@ -20,14 +20,14 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all