Repository navigation
v6.2.0 - #100
Merged
Merged
v6.2.0#100
Conversation
Updated `Directory.Build.props` to change `Roslynator.Analyzers` version from `4.12.7` to `4.12.8`. Added a period to the comment in `ICommand.cs`. Explicitly used `string` type instead of `var` in `MongoOutboxInitializer.cs`. Reformatted `channel.ExchangeDeclare` calls and changed `foreach` loop variable to `string?` in `RabbitMqExchangeInitializer.cs` for better readability and type clarity.
Updated PackageTags in .csproj files for better categorization. Removed unused using directives in IQueryDispatcher.cs. Allowed nullable TResult in DispatcherEndpointsBuilder and IDispatcher. Refactored InMemoryDispatcher for nullable TResult and better formatting. Fixed null reference issues in PublicContractsMiddleware and CertificateMiddleware. Added null checks and default values in SecurityOptions and Extensions. Replaced SwaggerOptions with OpenApiSettings and OpenApiSettingsBuilder. Added support for custom operation IDs and server lists in OpenAPI. Introduced a new builder pattern for configuring OpenAPI settings. Added helloworld.bicep for Azure resource deployment.
Added `helloworld.bicep` to define Azure resources including a storage account, an App Service Plan, and a web app. Updated project files (`Genocs.Auth.csproj`, `Genocs.Common.csproj`, `Genocs.Core.csproj`, `Genocs.Discovery.Consul.csproj`, `Genocs.HTTP.csproj`) to modify ``, adding tags like `genocs`, `authentication`, `service-discovery`, and `http-client`. Removed unused `using` directives in `IQueryDispatcher.cs`. Modified `DispatcherEndpointsBuilder.cs` to allow `afterDispatch` function to accept nullable `TResult`. Updated `Extensions.cs` to make the `middleware` parameter nullable in `UseDispatcherEndpoints`. Changed `IDispatcher.cs` and `InMemoryDispatcher.cs` to make the return type of `QueryAsync` nullable. Refactored `IDispatcherEndpointsBuilder.cs` to improve formatting and make `afterDispatch` function accept nullable `TResult`. Updated `PublicContractsMiddleware.cs` to add null checks and improve command and event registration handling. Refactored `CertificateMiddleware.cs` to initialize dictionaries inline and added null checks for `options.Certificate`. Updated `SecurityOptions.cs` to improve formatting of the `GetHeaderName` method. Enhanced `Extensions.cs` to add null checks and default value handling for `sectionName` in `AddCertificateAuthentication`.
Updated `appsettings.json` to include a comprehensive "swagger" section with configuration options such as `enabled`, `title`, `description`, `version`, `termsOfService`, `contactName`, `contactEmail`, `contactUrl`, `licenseName`, `licenseUrl`, `includeSecurity`, and a list of `servers`. Extended `SwaggerOptions` class to include new properties: `Description`, `ContactName`, `ContactEmail`, `ContactUrl`, `LicenseName`, `LicenseUrl`, `TermsOfService`, and a list of `OpenApiServer` objects. Added an inner class `OpenApiServer` to represent server details. Modified `AddSwaggerDocs` method in `Extensions.cs` to handle the new `SwaggerOptions` properties, including logic for security definitions, custom operation IDs, and server details. Added XML comments to the Swagger documentation. Provided specific values for the "swagger" section in `appsettings.json` for different environments (local development, containerized, and production).
…Metrics, Genocs.WebApi, Genocs.Security, Genocs.Logging, Genocs.Secrets.Vault, Genocs.MessageBrokers, Genocs.WebApi.Swagger, Genocs.ServiceBusAzure, Genocs.Persistence.Redis, Genocs.Core.Demo.Contracts, Genocs.Persistence.MongoDb, Genocs.WebApi.Security, Genocs.Secrets.AzureKeyVault, Genocs.MessageBrokers.Outbox, Genocs.MessageBrokers.RabbitMQ, Genocs.Auth, Genocs.WebApi.CQRS, Genocs.Discovery.Consul, Genocs.Persistence.MongoDb.UnitTests, and Genocs.Core.Demo.Domain projects
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.
Release v6.2.0
This pull request includes updates to version numbers in workflows and a significant update to the
CHANGELOG.mdfile to document the new release.Workflow Updates:
.github/workflows/dockerhub-publish.yml: Updated default image version from6.1.0to6.2.0..github/workflows/nuget-publish.yml: Updated default packages version from6.1.0to6.2.0.Documentation Updates:
CHANGELOG.md: Added entries for versionv6.2.0including notable changes such as refactoring OpenAPI and middleware handling, updating package versions, and enhancing Azure setup.CHANGELOG.md: Documented multiple package updates and refactoring efforts across various projects. [1] [2] [3]