Vapor: 4.71.0 Release

Release date:
March 6, 2023
Previous version:
4.70.0 (released February 24, 2023)
Magnitude:
0 Diff Delta
Contributors:
2 total committers
Data confidence:
Commits:

Top Contributors in 4.71.0

VaporBot
NeedleInAJayStack

Directory Browser for 4.71.0

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 by @NeedleInAJayStack and released by @0xTim.

<!-- πŸš€ Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

Previously, FileMiddleware would just serve the default file when requesting a directory with no trailing slash. This caused rendering issues when the default file loaded additional resources by relative path. This adds an option to either redirect to the url with a trailing slash (fixing rendering issues), or just pass the request through the middleware. The default is set to a redirect to preserve the intended functionality of FileMiddleware

<!-- When this PR is merged, the title and body will be --> <!-- used to generate a release automatically. -->