Skip to content

2.0.0 - removed support for deprecated configuration format

Latest

Choose a tag to compare

@t-heuser t-heuser released this 30 Apr 08:12
8c1f8ea

What's Changed

  • change!: remove deprecated config support by @t-heuser in #17
  • change!: rename config throw-invalid-directive-exception to throw-exception-on-configuration-error by @t-heuser in #18

Full Changelog: 1.3.0...2.0.0

Upgrade instructions

Removed deprecated config support - high impact change

The support for the old configuration pattern was removed, you need to update your Settings.yaml files to the new pattern:

frame-src:
    # Removed list format
     - 'https://www.youtube.com':
     - 'https://staticxx.facebook.com':
   
    # New object format
    'https://www.youtube.com': true
    'https://staticxx.facebook.com': true

Renamed config throw-invalid-directive-exception - low impact change

The config throw-invalid-directive-exception was renamed to throw-exception-on-configuration-error.
For more information on this consult the README.