Skip to content

0.4.0 Beta 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@0xTim 0xTim released this 22 Apr 00:12
· 114 commits to master since this 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 now XSSProtectionConfiguration
  • The SecurityHeaders initialiser is now internal and you should move over to using the new SecurityHeadersFactory. This will make it easier to build up your security headers and add it to your Droplet 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