Skip to content

Releases: paragonie/csp-builder

Version 1.2.3

29 Jan 21:33
Compare
Choose a tag to compare

It turns out that the hash directive just needs to be sha256-blah not hash-sha256-blah.

Version 1.2.2

20 Jan 00:58
Compare
Choose a tag to compare

Add preHash(), which allows users to precalculate a hash of a resource and store it directly in the CSP. (Mostly useful for locally caching the hashes of remote resources.)

Version 1.2.1

13 Jan 04:17
Compare
Choose a tag to compare
  • Fix hash()
  • Confirmed that CSP headers work as expected with report-uri.io

Version 1.2.0

03 Jan 20:52
Compare
Choose a tag to compare
  • BC break: Adopted random_compat instead of openssl for generating a nonce
  • BC break: Established PHP 5.5 as the minimum version. Previously, this was undefined.
  • Added method for getting the headers as an array (see #5)
  • Added method to inject headers into a PSR-7 message (see #5)
  • Added support for the plugin-types directive (see #4)

Thanks @Ocramius and @Lewiscowles1986 for their feedback and assistance. (If it weren't for the possibly BC-breaking changes, this would have simply been 1.1.1.)

Version 1.1.0

03 Jan 02:39
Compare
Choose a tag to compare

General improvements, especially with older Webkit browsers.

Thanks to @timoh6 and @ScottHelme for their feedback.

Version 1.0.0

16 Jun 22:11
Compare
Choose a tag to compare

Initial release.