Skip to content

Releases: httpland/csp-middleware

1.0.0

11 Apr 04:23
Compare
Choose a tag to compare

1.0.0 (2023-04-11)

Bug Fixes

  • constants: add lack of member (b15653f)
  • types: fix frame ancestors types (7142fb5)
  • types: fix types of source list (cec4591)

Features

  • add csp middleware factory (364a1bc)
  • middleware: accept camel casing csp directives (dab095d)
  • middleware: accept structured directives and serialize it (852970b)
  • middleware: add asserting serialized CSP format (4c438ad)
  • middleware: change middleware factory interface to accept policy (8c6a2b7)
  • middleware: do not accept string directives (bb6a2c4)
  • middleware: improve error message (6925338)
  • mod: export middleware types (7d66401)
  • mod: export related enum (44d6c95)
  • mod: export related types (31727d0)
  • types: expand report uri directive acceptable types (0c9fdc4)
  • types: expand sandbox attribute acceptable types (86f1d35)
  • types: improve csp interface (56622c7)
  • utils: add checking duplication of directive value (62a4f31)
  • utils: improve error message (62dd335)
  • validate: add source expression format validator (15745e9)

1.0.0-beta.5

11 Apr 03:23
Compare
Choose a tag to compare
1.0.0-beta.5 Pre-release
Pre-release

1.0.0-beta.5 (2023-04-11)

Bug Fixes

  • constants: add lack of member (b15653f)
  • types: fix frame ancestors types (7142fb5)
  • types: fix types of source list (cec4591)

Features

  • mod: export related enum (44d6c95)
  • types: expand report uri directive acceptable types (0c9fdc4)
  • types: expand sandbox attribute acceptable types (86f1d35)

1.0.0-beta.4

11 Apr 02:39
Compare
Choose a tag to compare
1.0.0-beta.4 Pre-release
Pre-release

1.0.0-beta.4 (2023-04-11)

Features

  • middleware: accept camel casing csp directives (dab095d)
  • middleware: accept structured directives and serialize it (852970b)
  • middleware: do not accept string directives (bb6a2c4)
  • middleware: improve error message (6925338)
  • mod: export related types (31727d0)
  • utils: add checking duplication of directive value (62a4f31)
  • utils: improve error message (62dd335)
  • validate: add source expression format validator (15745e9)

1.0.0-beta.3

31 Mar 06:34
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

1.0.0-beta.3 (2023-03-31)

Features

  • middleware: change middleware factory interface to accept policy (8c6a2b7)

1.0.0-beta.2

19 Mar 12:04
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

1.0.0-beta.2 (2023-03-19)

Features

  • middleware: add asserting serialized CSP format (4c438ad)
  • mod: export middleware types (7d66401)
  • types: improve csp interface (56622c7)

1.0.0-beta.1

17 Mar 00:55
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

1.0.0-beta.1 (2023-03-17)

Features

  • add csp middleware factory (364a1bc)