chore(deps): update dependency vapor/vapor to from: "4.67.4" #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
from: "4.61.1"
->from: "4.67.4"
Release Notes
vapor/vapor
v4.67.4
: Fix encoding/decoding an array of dates with URL EncodingCompare Source
This patch was authored and released by @Joannis.
Fixes a bug where an Array of Dates wouldn't be encoded or decoded when using URL encoding.
v4.67.3
: Fix Stream Callback never being called in closeCompare Source
This patch was authored and released by @0xTim.
Fixes a bug where abandoned requests mean that the stream callback is never invoked. This happens when a client sends a request, the server starts processing it but hasn't constructed the
Response
and then the client closes early. The response is discarded, as is the stream callback so it never gets invoked. This fixes that issuev4.67.2
: Fix unused generator parameter in Array.random(count:using:)Compare Source
This patch was authored by @michal-tomlein and released by @0xTim.
The
generator
parameter inArray.random(count:using:)
was unused in what appears to be a copy-paste error. This change passes it down toFixedWidthInteger.random(using:)
, which was the original intention.v4.67.1
: Fix 24h timeformat forexpire
andlast-modified
headerCompare Source
This patch was authored by @patrick-zippenfenig and released by @0xTim.
Expire
andLast-Modified
header were encoding the hour part in 12h format (hh
) instead of 24h format (HH
). This results in timestamps being 12 hours off for all afternoon hours. This fixes the format used to follow the spec correctly and adds tests to ensure no regressions.v4.67.0
: ConformsRequest.Body
toAsyncSequence
Compare Source
This patch was authored by @mcritz and released by @0xTim.
This PR wraps
Request.Body.drain()
as a modern SwiftAsyncSequence<ByteBuffer, Error>
.This is useful to stream bytes from request rather than collecting them in memory. Example: A route could handle a multigigbyte file upload like this:
v4.66.1
: Migrate fromLock
toNIOLock
Compare Source
This patch was authored by @MahdiBM and released by @0xTim.
Lock
has recently been deprecated in favor ofNIOLock
.Changes
All
Lock
s have been renamed toNIOLock
.v4.66.0
: Prevent vapor from crashing during a crash in third-party code, obfuscating the real problemCompare Source
This patch was authored by @Joannis and released by @0xTim.
If a third-party library or user defined code crashed a Vapor app, the Vapor Application deinit will crash the app before the real issue pops up. This leads to frustrating debug sessions
v4.65.2
: Fixing issue #2755: updating config storage inside HTTPServerCompare Source
This patch was authored by @rkreutz and released by @gwynne.
We can update application.storage from within HTTPServer, this way we can keep any changes that happen to the configuration internally up-to-date with the application storage.
This possibly has the least changes and less surface of potential flaws, since we are only adding an extra param and working on top of it. However, now we are setting the application storage from within
HTTPServer
, there is no issue with that, is just that now we have 2 places changing the storage for the config.Resolves #2755
v4.65.1
: Add missing protocolExpressibleByStringLiteral
toHTTPHeaders.Name
Compare Source
This patch was authored by @grahamburgsma and released by @0xTim.
Add missing protocol
ExpressibleByStringLiteral
toHTTPHeaders.Name
. The implementationinit(stringLiteral:)
was there, but the actual protocol was missing.v4.65.0
: Implement support for custom verify callbacksCompare Source
This patch was authored by @Lukasa and released by @0xTim.
Motivation
When using NIOSSL it is sometimes necessary to completely take over the
certificate verification logic. NIOSSL exposes a callback for this, but
it's currently hidden from Vapor users. We should let them get access to
this callback.
Modifications
Result
Users can override client cert validation.
v4.64.0
: Add support for regular expression validationsCompare Source
This patch was authored by @K1NXZ and released by @0xTim.
Validate a regular expression pattern
Example:
v4.63.0
: Add documentation comments and a defaulting subscript toStorage
.Compare Source
This patch was authored and released by @gwynne.
The new subscript simplifies "provider" implementations that extend
Application
and use itsStorage
instance without complex initialization requirements:v4.62.2
: fix: validate each not taking required parameter into accountCompare Source
This patch was authored by @BasPeter and released by @0xTim.
v4.62.1
: Fix CredentialsAuthenticator not receiving all the bodyCompare Source
This patch was authored and released by @0xTim.
This is a workaround for #2742. This ensures the request body is available in the middleware rather than it failing silently.
v4.62.0
: ConformBool
toContent
Compare Source
This patch was authored by @josercc and released by @0xTim.
Conform
Bool
toContent
to allowBool
types to be returned to the top levelConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.