Vapor: 4.89.3 Release

Release date:
December 14, 2023
Previous version:
4.89.2 (released December 13, 2023)
Magnitude:
0 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.89.3

grantjbutler

Directory Browser for 4.89.3

All files are compared to previous version, 4.89.2. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

What's Changed

Fix setting public folder for FileMiddleware when using bundles by @grantjbutler in #3113

This PR fixes an issue where, if you provided a subfolder within a bundle’s resources, the wrong path would be provided to the FileMiddleware, causing the resources to not be loaded.

For example, given a bundle with the following structure:

App.app/
└── Contents/
    β”œβ”€β”€ MacOS/
    β”‚   └── App
    └── Resources/
        └── web-app/
            └── Public
                └── index.html

If you tried to create an instance of FileMiddleware that tried to use web-app/Public/ as the folder to serve files from, FileMiddleware would incorrectly use the resource path of the bundle (App.app/Resources/) instead of the full path to the specified folder (App.app/Resources/web-app/Public/).

New Contributor

  • @grantjbutler made their first contribution in #3113 πŸŽ‰
This patch was released by @gwynne

Full Changelog: https://github.com/vapor/vapor/compare/4.89.2...4.89.3