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 FastEndpoints from 5.8.1 to 5.9.0 #544

Merged
merged 3 commits into from May 2, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 24, 2023

Bumps FastEndpoints from 5.8.1 to 5.9.0.

Release notes

Sourced from FastEndpoints's releases.

v5.9 Release

BREAKING CHANGES

  • integration testing extensions (GETAsync(), POSTAsync(), etc.) no longer throws InvalidOperationException

if your integration tests are doing try/catch blocks for doing assertions on the unhappy/error path, those tests would now fail. you'll have to get rid of the try/catch blocks and assert on the HttpResponseMessage's properties instead. here's an example.

NEW

  • ValidationContext<T> class for manipulating the validation failures list of the current endpoint #info
  • RFC8707 compatible problem detail (error response) builder #info
  • JsonExceptionTransformer func to enable customization of error messages when STJ throws due to invalid json input #info
  • ClearDefaultProduces(200,401,401) extension method to clear chosen produces metadata added by default #info
  • MarkNonNullablePropsAsRequired() swagger doc extension for TS client generation with OA3 swagger definitions #388
  • json array request body binding for inherited IEnumerable<T> request DTOs #436

IMPROVEMENTS

  • automatically add 400 - Bad Request, 401 - Unauthorized and 403 - Forbidden produces metadata to endpoints by default #info
  • add overload to AddError(), ThrowError(), ThrowIfAnyErrors() methods to accept a ValidationFailure #info
  • modify type discovery source generator for incremental generation #426
  • upgrade dependencies to latest

FIXES

  • default response serializer func overriding the content-type of 400 responses #info
  • swagger descriptions for properties decorated with [FromHeader("...")] not being picked up #info
  • swagger descriptions for inherited classes/schema not being picked up
Commits
  • 99663be v5.9 release
  • 2f4799d ClearDefaultAccepts() extension method
  • d7e082e json array request body binding for inherited IEnumerable\<T> request DTOs #436
  • 189ed42 MarkNonNullablePropsAsRequired() swagger extension
  • 539e51b add UseProblemDetails() method
  • 6399493 auto add produces metadata #432
  • e6c5a9f update xml docs of extensions
  • d230955 update xml docs of problemdetails class
  • 0dfb728 produces metadata improvements #422
  • 8024cb1 update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [FastEndpoints](https://github.com/FastEndpoints/Library) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/FastEndpoints/Library/releases)
- [Commits](FastEndpoints/FastEndpoints@v5.8.1...v5.9)

---
updated-dependencies:
- dependency-name: FastEndpoints
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 24, 2023
@ardalis ardalis merged commit 2b3c7fe into main May 2, 2023
2 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/FastEndpoints-5.9.0 branch May 2, 2023 16:25
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.

None yet

1 participant