Skip to content

Releases: brokenhandsio/VaporSecurityHeaders

4.2.0

03 Nov 20:39
0a25315
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.1.0...4.2.0

4.1.0

18 May 13:13
e1369d2
Compare
Choose a tag to compare

What's Changed

  • Add Allowed Hosts to HTTPSRedirectMiddleware by @0xTim in #29

Full Changelog: 4.0.0...4.1.0

4.0.0

31 May 10:07
732edf8
Compare
Choose a tag to compare

This is a major release to tidy up the API and disable X-XSS-Protection

What's Changed

  • Disable X-XSS-Protection filter, for safety by @EvanHahn in #26
  • Add support for fallback referrer policies by @EvanHahn in #27

New Contributors

Full Changelog: 3.2.0...4.0.0

3.2.0

28 Jul 13:57
279cb83
Compare
Choose a tag to compare

Vapor Security Headers 3.2.0

Adds the ability to construct different header options using [String] instead of just using variadic parameters. This makes it easier to extract out common code (#24)

3.1.0

05 Jan 21:06
089470c
Compare
Choose a tag to compare

Adds a new HTTPSRedirectMiddleware to redirect all requests on production to HTTPS to enable HSTS checks to be satisfied (#23)

3.0.0

10 Apr 10:45
8796636
Compare
Choose a tag to compare

Updated for Vapor 4 🎉

See the README for updated usage instructions.

2.1.1

12 Apr 13:11
9a01ec1
Compare
Choose a tag to compare

Vapor Security Headers 2.1.1

Issues fixed in this release:

  • #15 - fix compiler warning when building with Swift 5

2.1.0

01 Mar 12:09
beecf53
Compare
Choose a tag to compare

Vapor Security Headers 2.1.0

This release contains major improvements to using CSP with the security headers. The API for adding it now includes a much nicer Swifty solution. Check out the README for more details!

PRs in this release:

  • #14 - Add CSP builder

2.0.0

07 May 18:42
a4435a8
Compare
Choose a tag to compare

Vapor Security Headers 2.0.0

  • #10 Add support for Vapor 3!

See the README for usage details.

2.0.0 RC 1

06 Apr 11:30
Compare
Choose a tag to compare
2.0.0 RC 1 Pre-release
Pre-release

Vapor Security Headers 2.0.0 RC 1

Adds support for Vapor 3! Things still work mostly the same, you just need to change how you register the middleware for Vapor 3.

Note: Per page CSP configuration requires an additional service to be registered.

For information on how to use, see the README