Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump FluentValidation, MicroElements.Swashbuckle.FluentValidation, Swashbuckle.AspNetCore.Swagger and Swashbuckle.AspNetCore.SwaggerGen in /src #274

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps FluentValidation, MicroElements.Swashbuckle.FluentValidation, Swashbuckle.AspNetCore.Swagger and Swashbuckle.AspNetCore.SwaggerGen. These dependencies needed to be updated together.
Updates FluentValidation from 9.2.0 to 10.0.0

Release notes

Sourced from FluentValidation's releases.

10.0.0

Release notes

Please read the upgrade guide if you are moving from 9.x to 10.x

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

9.5.4

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.4

  • Fix Serbian translation of error messages (#1683)
  • Add Vietnamese translations of error messages (#1677)

Changes in 9.5.3

  • Fix Swedish translation for CreditCardValidator (#1664)

Changes in 9.5.2

  • Fix Dutch translation of some errors (#1653)
  • Fix string equality comparison in WithCustomState extension (#1658)

Changes in 9.5.1

  • Fix incorrect wording in deprecation message for Transform (#1613)
  • Fix ScalePrecision validator being available in intellisense for non-decimal properties.
  • Expose additional overload of Transform that receives the root object in the transformer.

Changes in 9.5.0

... (truncated)

Changelog

Sourced from FluentValidation's changelog.

10.0.0 - 6 April 2021 Please review the upgrade guide for 10.0: https://docs.fluentvalidation.net/en/latest/upgrading-to-10.html Performance improvements. Collection rules now only iterate the collection once. Property validators are now generic. Internal API now uses generics. Deprecated non-generic PropertyValidator. Various property validator options have been seperated into RuleComponents. Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc). ValidatorDescriptor now returns rule components in various places. Changed type of ValidationResult.Errors from IList to List Default service lifetime is now Scoped rather than Transient. Combine IActionContextValidatorInterceptor and IValidatorInterceptor. Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component. Removed deprecated IStringSource and its inheritors. Removed deprecated FormattedMessageArguments from ValidationFailure. Removed other deprecated code.

9.5.4 - 5 April 2021 Fix Serbian translation of error messages (#1683) Add Vietnamese translations of error messages (#1677)

9.5.3 - 15 March 2021 Fix Swedish translation for CreditCardValidator (#1664)

9.5.2 - 8 March 2021 Fix Dutch translation of some errors (#1653) Fix string equality comparison in WithCustomState extension (#1658)

9.5.1 - 11 February 2021 Fix incorrect wording in deprecation message for Transform (#1613) Fix ScalePrecision validator being available in intellisense for non-decimal properties. Expose additional overload of Transform that receives the root object in the transformer.

9.5.0 - 31 January 2021 Introduce new syntax for applying transformations and deprecate the old syntax (#1613)

9.4.0 - 14 January 2021 ChildRules now work as expected when inside a ruleset (#1597) Added ImplicitlyValidateRootCollectionElements option to MVC integration (#1585)

9.3.0 - 10 November 2020 Support for .NET 5 Improvements to LanguageManager's lazy loading of resources. Deprecate IStringSource and its implementors. Use delegates instead. CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#1541) RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#1544) Fixes to Spanish translations.

9.2.2 - 20 September 2020

... (truncated)

Commits
  • e8e0929 Bump version
  • 77b11d1 Merge branch '9.x' into main
  • 2744fff Backport language changes from 10.0 to 9.x
  • 5d268ef Fix Serbian translations of error messages (#1683)
  • edfea40 Update issue template.
  • 7e984f0 Update bug report issue template to use Github Issue Forms.
  • 5f45422 Add Vietnamese language for built-in validator
  • 064616d Update version.
  • 46a4c41 Fix #1674 Nested When conditions throw an exception.
  • f7c334e Make various classes and methods public again.
  • Additional commits viewable in compare view

Updates MicroElements.Swashbuckle.FluentValidation from 4.0.0 to 6.1.0

Release notes

Sourced from MicroElements.Swashbuckle.FluentValidation's releases.

6.1.0

Changes in 6.1.0

  • Added support for .NET 8 and .NET 9 to MicroElements.Swashbuckle.FluentValidation.AspNetCore
  • Dropped support for .NET 6.0
  • Updated NJsonSchema to version 10.6.10

What's Changed

New Contributors

Full Changelog: micro-elements/MicroElements.Swashbuckle.FluentValidation@v.6.0.0...v.6.1.0

6.0.0

Changes in 6.0.0

  • see changelog for betas

Changes in 6.0.0 - beta.3:

  • Added: IFluentValidationRuleProvider can be replaced with DI
  • Added: ISchemaGenerationOptions.ValidatorSearch
    • IsOneValidatorForType: bool; Value true: Gets only one validator (default), false: Gets all suitable validators (new)
    • SearchBaseTypeValidators: allows to search base type validators
  • Fixed: Stack Overflow Exception when using recursive validator type (PR#122 by @​rachelpetitto)
  • Deleted: FluentValidationRulesRegistrator
  • Deleted: SwaggerGenOptions from filters
  • Many minor code cleanups

Changes in 6.0.0 - beta.2:

  • Codebase unified with NSwag
  • Added: MicroElements.NSwag.FluentValidation package. Early version
  • Change: INameResolver removed from FluentValidationRules ctor. Set it from SchemaGenerationOptions
  • Change: ISchemaGenerationSettings merged to ISchemaGenerationOptions
  • Change: IValidatorRegistry and it's implementations moved to MicroElements.OpenApi.FluentValidation namespace and package
  • Change: IValidatorRegistry can return more than one validator with method GetValidators
  • Added: ValidatorSearch strategy OneForType, ManyForType
  • Added: ISchemaGenerationOptions.ValidatorFilter, ISchemaGenerationOptions.RuleFilter, ISchemaGenerationOptions.RuleComponentFilter
    • Default Rule and RuleComponent filters checks that rule or component has no conditions.
    • Default ValidatorFilter checks that validator CanValidateInstancesOfType
  • Change: UseAllOfForMultipleRules typo fix

Changes in 6.0.0 - beta.1:

  • Abstracted common logic for NSwag
  • Moved from IValidationFactory (obsolete in FV 11.1.0) to IValidationRegistry
  • Supported FluentValidation 11 AddFluentValidationAutoValidation
  • Removed HttpContextServiceProviderValidatorFactory

... (truncated)

Changelog

Sourced from MicroElements.Swashbuckle.FluentValidation's changelog.

Changes in 6.1.0

  • Added support for .NET 8 and .NET 9 to MicroElements.Swashbuckle.FluentValidation.AspNetCore
  • Dropped support for .NET 6.0
  • Updated NJsonSchema to version 10.6.10

Changes in 6.0.0

  • see changelog for betas

Changes in 6.0.0 - beta.3:

  • Added: IFluentValidationRuleProvider can be replaced with DI
  • Added: ISchemaGenerationOptions.ValidatorSearch
    • IsOneValidatorForType: bool; Value true: Gets only one validator (default), false: Gets all suitable validators (new)
    • SearchBaseTypeValidators: allows to search base type validators
  • Fixed: Stack Overflow Exception when using recursive validator type (PR#122 by @​rachelpetitto)
  • Deleted: FluentValidationRulesRegistrator
  • Deleted: SwaggerGenOptions from filters
  • Many minor code cleanups

Changes in 6.0.0 - beta.2:

  • Codebase unified with NSwag
  • Added: MicroElements.NSwag.FluentValidation package. Early version
  • Change: INameResolver removed from FluentValidationRules ctor. Set it from SchemaGenerationOptions
  • Change: ISchemaGenerationSettings merged to ISchemaGenerationOptions
  • Change: IValidatorRegistry and it's implementations moved to MicroElements.OpenApi.FluentValidation namespace and package
  • Change: IValidatorRegistry can return more than one validator with method GetValidators
  • Added: ValidatorSearch strategy OneForType, ManyForType
  • Added: ISchemaGenerationOptions.ValidatorFilter, ISchemaGenerationOptions.RuleFilter, ISchemaGenerationOptions.RuleComponentFilter
    • Default Rule and RuleComponent filters checks that rule or component has no conditions.
    • Default ValidatorFilter checks that validator CanValidateInstancesOfType
  • Change: UseAllOfForMultipleRules typo fix

Changes in 6.0.0 - beta.1:

  • Abstracted common logic for NSwag
  • Moved from IValidationFactory (obsolete in FV 11.1.0) to IValidationRegistry
  • Supported FluentValidation 11 AddFluentValidationAutoValidation
  • Removed HttpContextServiceProviderValidatorFactory
  • Experimental DocumentFilter

Changes in 5.7.0:

  • Change: ILengthValidator support for arrays. Sets MinItems, MaxItems (PR#108 by biggik)

Changes in 5.6.0:

  • Supported FluentValidation 11

Changes in 5.5.0:

  • Sets min compatibility to Swashbuckle.AspNetCore 6.3.0. (PR#102 by guimabdo)

Changes in 5.4.0:

  • Adding additional fields (Enum, Description) for overridden schema in FluentValidationOperationFilter. (PR#95 by kritsda-jiwatrakan)

... (truncated)

Commits
  • 7faf8d8 Merge pull request #151 from jrgcubano/feature/net9
  • 58822c1 Added support for net9 in MicroElements.Swashbuckle.FluentValidation.AspNetCore
  • f0aa699 Bump Swashbuckle.AspNetCore.SwaggerUI in /samples/SampleWebApi
  • 8d06c56 issue 140 comment
  • 7ae3d77 Fix GetValidators for type 'System.Void' failed
  • f6e8b96 6.0.0
  • a6f6c78 IFormFile tests
  • da32d12 Added Minimal Api sample
  • c49f703 deleted class FluentValidationRulesRegistrator
  • 5a27731 removed SwaggerGenOptions from filters
  • Additional commits viewable in compare view

Updates Swashbuckle.AspNetCore.Swagger from 5.5.1 to 6.3.0

Release notes

Sourced from Swashbuckle.AspNetCore.Swagger's releases.

v6.3.0

Changes since v6.2.3

v6.2.3

Changes since v6.1.3

v6.1.3

No release notes provided.

v6.1.0

No release notes provided.

v6.0.0

This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/16?closed=1

Of note, these include:

  • include discriminator metadata in base schema if either UseOneOfForPolymorphism OR UseAllOfForInheritance are enabled
  • remove fragile logic around X-Forwarded-* headers in favor of MS's Forwarded Headers Middleware (*see breaking changes)
  • beta (opt-in) support for non-nullable reference types
  • enhancements to SwaggerSchemaAttribute incl. use on Enum types & ability to set Nullable flag explicitly
  • wrap generator exceptions to surface contextual info for troubleshooting
  • support JSON object/array syntax in XML tags
  • improved handling for enum default values to reflect serializer behavior more accurately
  • upgrade swagger-ui to 3.40.0

Breaking Changes

  • the obsolete settings DescribeAllEnumsAsStrings and DescribeStringEnumsInCamelCase are now fully removed
  • X-Forwarded-* headers are no longer honored within SB code - use MS's Forwarded Headers Middleware instead

v5.6.0

This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/15?closed=1

Of note, these include:

  • Improve polymorphism & inheritance behavior, incl. more flexible config & discriminator metadata
  • Better support for reverse proxy environments, incl. assigning servers metadata based on the presence of common reverse proxy headers
  • Support for emitting Swagger / OpenAPI in yaml format
  • Improve Schema generation for ProblemDetails
  • Handle Min/MaxLength attribute for arrays
  • Upgrade swagger-ui to v3.32.5
  • Upgrade redoc to v2.0.0-rc.40
Commits
  • d63f028 Update nuget API keys
  • c5094a3 Merge pull request #2367 from domaindrivendev/fix-enum-deduping
  • fdf8d9a Dedup enum values after serialization instead of before
  • bb118db Merge pull request #2356 from alexjephsonsw/minimalapi-enhancements
  • 43b1b34 Merge pull request #2166 from Eneuman/bug/nullabillity-in-generics
  • 07d33a7 Merge pull request #2360 from mattmazzola/mattm/swaggercli-typo
  • a0d4e86 style: typo succesfully to successfully
  • b36b178 Add MethodInfo discovery for Minimal API
  • c7d580a Merge pull request #2339 from tbolon/global-json
  • b5ab8f3 Merge pull request #2342 from tbolon/see-langword
  • Additional commits viewable in compare view

Updates Swashbuckle.AspNetCore.SwaggerGen from 5.5.1 to 6.3.0

Release notes

Sourced from Swashbuckle.AspNetCore.SwaggerGen's releases.

v6.3.0

Changes since v6.2.3

v6.2.3

Changes since v6.1.3

v6.1.3

No release notes provided.

v6.1.0

No release notes provided.

v6.0.0

This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/16?closed=1

Of note, these include:

  • include discriminator metadata in base schema if either UseOneOfForPolymorphism OR UseAllOfForInheritance are enabled
  • remove fragile logic around X-Forwarded-* headers in favor of MS's Forwarded Headers Middleware (*see breaking changes)
  • beta (opt-in) support for non-nullable reference types
  • enhancements to SwaggerSchemaAttribute incl. use on Enum types & ability to set Nullable flag explicitly
  • wrap generator exceptions to surface contextual info for troubleshooting
  • support JSON object/array syntax in XML tags
  • improved handling for enum default values to reflect serializer behavior more accurately
  • upgrade swagger-ui to 3.40.0

Breaking Changes

  • the obsolete settings DescribeAllEnumsAsStrings and DescribeStringEnumsInCamelCase are now fully removed
  • X-Forwarded-* headers are no longer honored within SB code - use MS's Forwarded Headers Middleware instead

v5.6.0

This release includes a number of small enhancements and bug fixes. See the following for a full list of issues addressed: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/milestone/15?closed=1

Of note, these include:

  • Improve polymorphism & inheritance behavior, incl. more flexible config & discriminator metadata
  • Better support for reverse proxy environments, incl. assigning servers metadata based on the presence of common reverse proxy headers
  • Support for emitting Swagger / OpenAPI in yaml format
  • Improve Schema generation for ProblemDetails
  • Handle Min/MaxLength attribute for arrays
  • Upgrade swagger-ui to v3.32.5
  • Upgrade redoc to v2.0.0-rc.40
Commits
  • d63f028 Update nuget API keys
  • c5094a3 Merge pull request #2367 from domaindrivendev/fix-enum-deduping
  • fdf8d9a Dedup enum values after serialization instead of before
  • bb118db Merge pull request #2356 from alexjephsonsw/minimalapi-enhancements
  • 43b1b34 Merge pull request #2166 from Eneuman/bug/nullabillity-in-generics
  • 07d33a7 Merge pull request #2360 from mattmazzola/mattm/swaggercli-typo
  • a0d4e86 style: typo succesfully to successfully
  • b36b178 Add MethodInfo discovery for Minimal API
  • c7d580a Merge pull request #2339 from tbolon/global-json
  • b5ab8f3 Merge pull request #2342 from tbolon/see-langword
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

…ashbuckle.AspNetCore.Swagger and Swashbuckle.AspNetCore.SwaggerGen

Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation), [MicroElements.Swashbuckle.FluentValidation](https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation), [Swashbuckle.AspNetCore.Swagger](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) and [Swashbuckle.AspNetCore.SwaggerGen](https://github.com/domaindrivendev/Swashbuckle.AspNetCore). These dependencies needed to be updated together.

Updates `FluentValidation` from 9.2.0 to 10.0.0
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](FluentValidation/FluentValidation@9.2.0...10.0.0)

Updates `MicroElements.Swashbuckle.FluentValidation` from 4.0.0 to 6.1.0
- [Release notes](https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/releases)
- [Changelog](https://github.com/micro-elements/MicroElements.Swashbuckle.FluentValidation/blob/master/CHANGELOG.md)
- [Commits](micro-elements/MicroElements.Swashbuckle.FluentValidation@v4.0.0...v.6.1.0)

Updates `Swashbuckle.AspNetCore.Swagger` from 5.5.1 to 6.3.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](domaindrivendev/Swashbuckle.AspNetCore@v5.5.1...v6.3.0)

Updates `Swashbuckle.AspNetCore.SwaggerGen` from 5.5.1 to 6.3.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](domaindrivendev/Swashbuckle.AspNetCore@v5.5.1...v6.3.0)

---
updated-dependencies:
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: MicroElements.Swashbuckle.FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Swashbuckle.AspNetCore.Swagger
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Swashbuckle.AspNetCore.SwaggerGen
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 17, 2025
@JoTiTu JoTiTu closed this Feb 18, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 18, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/nuget/src/multi-f888591f5b branch February 18, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant