Skip to content

Conversation

@dtanglr
Copy link
Owner

@dtanglr dtanglr commented Dec 1, 2024

No description provided.

dtanglr added 11 commits April 10, 2024 00:48
Added a new `Email` record struct in `Strings.cs` with validation attributes for email format, including a pattern and example. Modified `InstantiationTests` in `InstantiationTests.cs` to explicitly cast `that` to `DateTime` when creating a new `BirthDate` instance. Added `ConvertFromThisToThatWithExpectedResults2` method in `ValidateMethodTests.cs` to test various email values for validation using the `Theory` attribute.
Added #pragma warning disable/restore IDE0130 directives around the
namespace declaration in DependencyInjection.cs to suppress the
IDE0130 warning. This ensures the IDE does not flag the namespace
`Microsoft.Extensions.DependencyInjection` for not matching the
folder structure.
Modified string literals for DataType.DateOnly and DataType.String to use verbatim string literals (prefixed with @). This change ensures that special characters within the strings, such as escape sequences, are interpreted correctly and not processed as escape sequences.
- Updated `System.Text.Json` to 8.0.5 in multiple projects.
- Conditionally included `IsExternalInit` for `netstandard2.0` in `Primitively.MongoDB.Bson.csproj`.
- Restructured `IsExternalInit` with `PrivateAssets="all"` in `Acme.TestLib.csproj` and `Acme.TestLib2.csproj`.
- Minor formatting changes in `Primitively.FluentValidation.csproj` and `Primitively.MongoDB.Bson.csproj`.
- Updated .NET versions in `dotnet.yml`, `gh-pages.yml`, and `global.json`
- Updated target framework and package version in `README.md`
- Updated version in `Directory.Build.props`
- Added `net9.0` to target frameworks in multiple csproj files
- Added `WarningsNotAsErrors` property with `NU1903` to select csproj files
- Updated various package references in `Primitively.IntegrationTests.csproj`
Introduce conditional compilation in Base.cs to handle GUID generation based on the target framework version. For .NET 9.0 or greater, use `System.Guid.CreateVersion7()`. For earlier versions, continue using `System.Guid.NewGuid()`. This ensures compatibility with new features in .NET 9.0 while maintaining support for older versions.
Modified the `dotnet.yml` file in the GitHub Actions workflow configuration to include triggers for pushes to `feature/**` branches. This change ensures that the CI pipeline runs for feature branches, providing continuous integration for ongoing feature development.
@dtanglr dtanglr closed this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants