Skip to content

build(deps): bump github.com/vapor/vapor from 4.102.1 to 4.104.0#14

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/vapor/vapor-4.104.0
Closed

build(deps): bump github.com/vapor/vapor from 4.102.1 to 4.104.0#14
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/vapor/vapor-4.104.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2024

Copy link
Copy Markdown
Contributor

Bumps github.com/vapor/vapor from 4.102.1 to 4.104.0.

Release notes

Sourced from github.com/vapor/vapor's releases.

4.104.0 - Conditional Content Response Compression

What's Changed

Conditional Content Response Compression by @​dimitribouniol in #3215

Added support for conditionally compressing responses based on content type or marker headers. This is necessary because some resource types, such as images, don’t compress much, and end up maxing out CPU time on the thread and sometimes block the entire channel while they compress. This results in pipelined resources taking a long time to load even on fast connections.

This change comes with three knobs to control this:

  • A global disabled/enabled by default state for the entire server.
  • Allow and disallow lists of content types for automatic configurations.
  • A marker header for explicitly configuring certain requests or routes to compress or not.

Notably, since the response compression handler now takes a predicate, it is always installed, and the predicate statelessly determines if a response should be compressed based on the server configuration:

  • If a response compression configuration was never set, this continues to be a no-op and no compression will occur, though routes can now explicitly enable it as needed. …
This patch was released by @​0xTim

Full Changelog: vapor/vapor@4.103.2...4.104.0

4.103.2 - Use Configured JSONEncoder in ErrorMiddleware

What's Changed

Use Configured JSONEncoder in ErrorMiddleware by @​0xTim in #3224

Use the prescribed content encoder for the body of ErrorMiddleware instead of a contained JSONEncoder that can’t be overridden.

You can set the encoder with

ContentConfiguration.global.use(encoder: myCustomEncoder, for: .json)

Resolves #3218

Reviewers

Thanks to the reviewers for their help:

This patch was released by @​0xTim

Full Changelog: vapor/vapor@4.103.1...4.103.2

4.103.1 - fix: support capital letters in the domain part of email validation

What's Changed

fix: support capital letters in the domain part of email validation by @​Austinpayne in #3211

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

Bumps [github.com/vapor/vapor](https://github.com/vapor/vapor) from 4.102.1 to 4.104.0.
- [Release notes](https://github.com/vapor/vapor/releases)
- [Commits](vapor/vapor@4.102.1...4.104.0)

---
updated-dependencies:
- dependency-name: github.com/vapor/vapor
  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 Aug 26, 2024
@dependabot @github

dependabot Bot commented on behalf of github Sep 9, 2024

Copy link
Copy Markdown
Contributor Author

Superseded by #15.

@dependabot dependabot Bot closed this Sep 9, 2024
@dependabot dependabot Bot deleted the dependabot/swift/github.com/vapor/vapor-4.104.0 branch September 9, 2024 08:31
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.

0 participants