Skip to content

Releases: shapesecurity/salvation

Version 3.0.0

12 Aug 15:31
Compare
Choose a tag to compare

NOTE: This release is a breaking change and is therefore under a new package name, com.shapesecurity.salvation2.

Version 2.7.1

09 Aug 02:15
7256d9f
Compare
Choose a tag to compare

Version 2.7.0

01 Jul 19:52
14b40bf
Compare
Choose a tag to compare
  • Introduce
    -- script-src-elem, script-src-attr
    -- style-src-elem, style-src-attr
  • Adopt renaming 'unsafe-hashed-attributes' to 'unsafe-hashes'
  • Improvements around policy optimisation
  • Bug fix around union merging

Version 2.6.0

06 Sep 20:52
Compare
Choose a tag to compare
  • Incorrect behavior when union merging policies that don't contain fetch directives (#210)
  • Add linting

Version 2.5.0

09 Apr 22:41
f2bd8ff
Compare
Choose a tag to compare
  • Support navigate-to directive (#190, #193)
  • Ignore 'none' when union merge source-lists (#196)
  • Fix handling missing default-src
  • Bump up findbugs-maven-plugin to v3.0.1

Version 2.4.0

03 Mar 00:20
d2a0e07
Compare
Choose a tag to compare
  • Warn about asterisk being used in media type. (#182)
  • Support 'report-sample' keyword-source (#184)
  • Warn about duplicate source expressions (#186)
  • Fix null dereference found by Infer
  • Support prefetch-src directive (#189)

Version 2.3.0

12 Apr 18:16
Compare
Choose a tag to compare
  • Allow "*" to match scheme of protected resource (#157)
  • Support for 'strict-dynamic' (#162)
  • Allow secure variant of scheme when only insecure is given (#91)
  • Refactor path-part matching algorithm to strictly follow latest specification (#166)
  • Refactor host-part matching algorithm to strictly follow latest specification (#168)
  • Rephrase messages about side-effects of unsafe-dynamic and unsafe-inline, change level from Warn to Info (#170)
  • Warn about deprecation of referrer directive (#173)
  • Support worker-src directive, reflect specification changes around worker-src and frame-src (#147)
  • Support for 'unsafe-hashed-attributes' (#150)

Salvation 2.2.0

13 Oct 01:45
Compare
Choose a tag to compare
  • Implement missing policy methods for querying if resources are allowed to load #151
  • Support "'strict-dynamic'" keyword-source #128
  • Support require-sri-for directive #145

Salvation 2.1.0

18 May 21:55
Compare
Choose a tag to compare
  • The source expression matching has been changed to require explicit whitelisting of any non-network scheme, rather than local scheme, as described here - #129
  • Remove "'unsafe-inline'" if source-list contains both "'unsafe-inline'" and hash-source or nonce-source - #130
  • Warn about disabled "'unsafe-inline'" in a source list containing hash-source or nonce-source - #130
  • Do not assume that empty policy is equivalent to default-src * - #135
  • Better base64-value validation errors - #139
  • postprocessOptimisation() - #138