0.4.0 Beta 2
Pre-release
Pre-release
Vapor Security Headers 0.4.0 Beta 2
This release updates Vapor Security Headers to work with the latest Vapor 2 changes and as a result there are some major breaking changes.
Breaking Changes
XssProtectionConfiguration
is nowXSSProtectionConfiguration
- The
SecurityHeaders
initialiser is nowinternal
and you should move over to using the newSecurityHeadersFactory
. This will make it easier to build up your security headers and add it to yourDroplet
with the new Vapor 2 changes. See the README for details
New Usage
For how to use the library with Vapor 2, see the README