Vapor: 4.27.2 Release

Release date:
August 7, 2020
Previous version:
4.27.1 (released July 25, 2020)
Magnitude:
93 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.27.2

tanner0101

Directory Browser for 4.27.2

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

This patch was authored and released by @tanner0101.

Fixes an issue causing URLEncodedFormDecoder's single value decoder to not detect nil correctly (#2463, fixes #2460).

This could result in req.query.get throwing an error instead of returning nil if the key was missing.

// This code will now return `nil` instead of throwing if the key is missing.
// It will still throw an error if the value cannot be converted to an Int. 
let page = try req.query.get(Int?.self, at: "page")