Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2023

Bumps FastEndpoints.Swagger from 5.5.0 to 5.10.0.

Release notes

Sourced from FastEndpoints.Swagger's releases.

v5.10 Release

EXPERIMENTAL

  • support for Asp.Versioning.Http package via FastEndpoints.AspVersioning #info

IMPROVEMENTS

  • trim down AddSwaggerDoc() calls with SwaggerDocument(Action<DocumentOptions>). see deprecations below & example.
  • improve IFormFile support in OAS2 #info
  • nswag operation processor internal optimizations

DEPRECATIONS

the following methods have been deprecated but will still work until the next major version jump. you may however want to refactor your code as shown in the latest documentation, which will only take a few minutes.

  • FastEndpoints.Swagger.Extensions.AddSwaggerDoc() in favor of SwaggerDocument(Action<DocumentOptions>)
  • FastEndpoints.Swagger.Extensions.EndpointFilter() in favor of DocumentOptions.EndpointFilter property
  • FastEndpoints.Swagger.Extensions.TagDescriptions() in favor of DocumentOptions.TagDescriptions property
  • FastEndpoints.Swagger.Extensions.EnableFastEndpoints() in favor of EnableFastEndpoints(Action<DocumentOptions>)

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

v5.8.1 Release

IMPROVEMENTS

  • optional boolean argument urlEncoded for AllowFormData() method to accept application/x-www-form-urlencoded instead of multipart/form-data #info
  • ability to submit a request DTO as multipart form data when integration testing endpoints that accept form data. #409
  • ability to execute a non-concrete ICommand types #411
  • refactor & simplify httpclient extensions for testing

FIXES

  • EndpointWithMapping<TRequest, TResponse, TEntity> map methods becoming protected in v5.8 #info

... (truncated)

Commits

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.Swagger](https://github.com/FastEndpoints/Library) from 5.5.0 to 5.10.0.
- [Release notes](https://github.com/FastEndpoints/Library/releases)
- [Commits](FastEndpoints/FastEndpoints@v5.5...v5.10)

---
updated-dependencies:
- dependency-name: FastEndpoints.Swagger
  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 May 1, 2023
@ardalis ardalis merged commit 257aa4a into main May 2, 2023
@dependabot dependabot bot deleted the dependabot/nuget/FastEndpoints.Swagger-5.10.0 branch May 2, 2023 13:15
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