<commit_before>.. currentmodule:: werkzeug

Version 1.0.0
-------------

Unreleased

-   Drop support for Python 3.4. (:issue:`1478`)
-   Remove code that issued deprecation warnings in version 0.15.
    (:issue:`1477`)
-   Added ``utils.invalidate_cached_property()`` to invalidate cached
    properties. (:pr:`1474`)
-   Directive keys for the ``Set-Cookie`` response header are not
    ignored when parsing the ``Cookie`` request header. This allows
    cookies with names such as "expires" and "version". (:issue:`1495`)
-   Add ``charset=utf-8`` to an HTTP exception response's
    ``CONTENT_TYPE`` header. (:pr:`1526`)
-   The interactive debugger handles outer variables in nested scopes
    such as lambdas and comprehensions. :issue:`913`, :issue:`1037`,
    :pr:`1532`
-   The user agent for Opera 60 on Mac is correctly reported as
    "opera" instead of "chrome". :issue:`1556`
-   The platform for Crosswalk on Android is correctly reported as
    "android" instead of "chromeos". (:pr:`1572`)
-   Issue a warning when the current server name does not match the
    configured server name. :issue:`760`
-   A configured server name with the default port for a scheme will
    match the current server name without the port if the current scheme
    matches. :pr:`1584`
-   :exc:`~exceptions.InternalServerError` has a ``original_exception``
    attribute that frameworks can use to track the original cause of the
    error. :pr:`1590`
-   Headers are tested for equality independent of the header key case,
    such that ``X-Foo`` is the same as ``x-foo``. :pr:`1605`
-   :meth:`http.dump_cookie` accepts ``'None'`` as a value for
    ``samesite``. :issue:`1549`
-   Optional request log highlighting with the development server is
    handled by Click instead of termcolor. :issue:`1235`<commit_msg>add changelog for content security policy<commit_after>.. currentmodule:: werkzeug

Version 1.0.0
-------------

Unreleased

-   Drop support for Python 3.4. (:issue:`1478`)
-   Remove code that issued deprecation warnings in version 0.15.
    (:issue:`1477`)
-   Added ``utils.invalidate_cached_property()`` to invalidate cached
    properties. (:pr:`1474`)
-   Directive keys for the ``Set-Cookie`` response header are not
    ignored when parsing the ``Cookie`` request header. This allows
    cookies with names such as "expires" and "version". (:issue:`1495`)
-   Add ``charset=utf-8`` to an HTTP exception response's
    ``CONTENT_TYPE`` header. (:pr:`1526`)
-   The interactive debugger handles outer variables in nested scopes
    such as lambdas and comprehensions. :issue:`913`, :issue:`1037`,
    :pr:`1532`
-   The user agent for Opera 60 on Mac is correctly reported as
    "opera" instead of "chrome". :issue:`1556`
-   The platform for Crosswalk on Android is correctly reported as
    "android" instead of "chromeos". (:pr:`1572`)
-   Issue a warning when the current server name does not match the
    configured server name. :issue:`760`
-   A configured server name with the default port for a scheme will
    match the current server name without the port if the current scheme
    matches. :pr:`1584`
-   :exc:`~exceptions.InternalServerError` has a ``original_exception``
    attribute that frameworks can use to track the original cause of the
    error. :pr:`1590`
-   Headers are tested for equality independent of the header key case,
    such that ``X-Foo`` is the same as ``x-foo``. :pr:`1605`
-   :meth:`http.dump_cookie` accepts ``'None'`` as a value for
    ``samesite``. :issue:`1549`
-   Support the Content Security Policy header through the
    `Response.content_security_policy` data structure. :pr:`1617`
-   Optional request log highlighting with the development server is
    handled by Click instead of termcolor. :issue:`1235`
{'fraction_non_alphanumeric': 0.11134620470774927, 'fraction_numerical': 0.03967204443268976, 'mean_word_length': 3.7039800995024876, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3246332', 'n_tokens_mistral': 1163, 'n_tokens_neox': 1060, 'n_words': 456}