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

Update dependency FluentValidation to 11.11.0 #537

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
FluentValidation (source) 11.10.0 -> 11.11.0 age adoption passing confidence

Release Notes

JeremySkinner/fluentvalidation (FluentValidation)

v11.11.0

Compare Source

Release notes

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

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.11.0

  • Add additional overload of WithState that takes a context (#​2276)

Changes in 11.10.0

  • Add WhereAsync as conterpart to Where on collection rules (#​2240)
  • Create IEnumValidator to expose the targeted Enum type of EnumValidator (#​2244)
  • Add Romansh language translations (#​2239)

Changes in 11.9.2

  • ScalePrecisionValidator error message clarification (#​2211)

Changes in 11.9.1

  • Fix issue with CascadeMode on child validators (#​2207)

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

korbit-ai bot commented Nov 18, 2024

By default, I don't review pull requests opened by bots. If you would like me to review this pull request anyway, you can request a review via the /korbit-review command in a comment.

@renovate renovate bot requested a review from pingu2k4 November 18, 2024 09:20
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
PinguApps.Appwrite.Client 100% 100% 129
PinguApps.Appwrite.Server 100% 100% 106
PinguApps.Appwrite.Shared 100% 100% 620
Summary 100% (2093 / 2093) 100% (234 / 234) 855

Copy link

Test Results

1 966 tests  ±0   1 966 ✅ ±0   14s ⏱️ -2s
    3 suites ±0       0 💤 ±0 
    3 files   ±0       0 ❌ ±0 

Results for commit df4e351. ± Comparison against base commit e5cfb82.

This pull request removes 220 and adds 220 tests. Note that renamed tests count towards both.
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ CreateUserJwt_ShouldReturnSuccess_WhenApiCallSucceeds(request: CreateUserJwtRequest { Duration = 1800, SessionId = "6736424200319db5127a", UserId = "673642420031928e4d70", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ CreateUserJwt_ShouldReturnSuccess_WhenApiCallSucceeds(request: CreateUserJwtRequest { Duration = null, SessionId = null, UserId = "673642420031848583a2", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserLogs_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserLogsRequest { Queries = null, UserId = "673642420031ac8c1258", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserLogs_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserLogsRequest { Queries = null, UserId = "673642420031afec4bf8", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserTargets_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserTargetsRequest { Queries = null, UserId = "673642420031a6647008", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserTargets_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserTargetsRequest { Queries = null, UserId = "673642420031aa8f55ce", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ UpdateUserLabels_ShouldReturnSuccess_WhenApiCallSucceeds(request: UpdateUserLabelsRequest { Labels = ["label1", "label2"], UserId = "673642420031aaf105c1", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ UpdateUserLabels_ShouldReturnSuccess_WhenApiCallSucceeds(request: UpdateUserLabelsRequest { Labels = ["label3", "label4"], UserId = "673642420031aab8caea", ValidationContext = None })
PinguApps.Appwrite.Shared.Tests.Requests.Account.CreatePushTargetRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(request: CreatePushTargetRequest { Identifier = "", ProviderId = "provider123", TargetId = "6736423d003d785f1414", ValidationContext = None })
PinguApps.Appwrite.Shared.Tests.Requests.Account.CreatePushTargetRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(request: CreatePushTargetRequest { Identifier = null, ProviderId = "provider123", TargetId = "6736423d003d79feccba", ValidationContext = None })
…
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ CreateUserJwt_ShouldReturnSuccess_WhenApiCallSucceeds(request: CreateUserJwtRequest { Duration = 1800, SessionId = "673b0719003d9c3760a5", UserId = "673b0719003d94e22bf6", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ CreateUserJwt_ShouldReturnSuccess_WhenApiCallSucceeds(request: CreateUserJwtRequest { Duration = null, SessionId = null, UserId = "673b0719003d8b712f4c", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserLogs_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserLogsRequest { Queries = null, UserId = "673b0719003d9c0b83cd", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserLogs_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserLogsRequest { Queries = null, UserId = "673b0719003d9f5f71e9", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserTargets_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserTargetsRequest { Queries = null, UserId = "673b0719003d97103477", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ ListUserTargets_ShouldReturnSuccess_WhenApiCallSucceeds(request: ListUserTargetsRequest { Queries = null, UserId = "673b0719003d9a3fb5e3", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ UpdateUserLabels_ShouldReturnSuccess_WhenApiCallSucceeds(request: UpdateUserLabelsRequest { Labels = ["label1", "label2"], UserId = "673b0719003d90bb0dba", ValidationContext = None })
PinguApps.Appwrite.Server.Tests.Clients.Users.UsersClientTests ‑ UpdateUserLabels_ShouldReturnSuccess_WhenApiCallSucceeds(request: UpdateUserLabelsRequest { Labels = ["label3", "label4"], UserId = "673b0719003dad396327", ValidationContext = None })
PinguApps.Appwrite.Shared.Tests.Requests.Account.CreatePushTargetRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(request: CreatePushTargetRequest { Identifier = "", ProviderId = "provider123", TargetId = "673b071500305d37f9ee", ValidationContext = None })
PinguApps.Appwrite.Shared.Tests.Requests.Account.CreatePushTargetRequestTests ‑ IsValid_WithInvalidData_ReturnsFalse(request: CreatePushTargetRequest { Identifier = null, ProviderId = "provider123", TargetId = "673b071500305bef3e9d", ValidationContext = None })
…

@pingu2k4 pingu2k4 merged commit 54d4cd5 into dev Nov 19, 2024
5 checks passed
@renovate renovate bot deleted the renovate/fluentvalidation-11.x branch November 19, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant