<commit_before># Changes in SecureHeaders 2.0

All notable changes of the SecureHeaders 2.0 release series are documented in
this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [2.0] - *2017-07-16*

### Added
* Better cookie upgrades:
  Specifically incorporating the[`SameSite`](https://tools.ietf.org/html/draft-west-first-party-cookies-07#section-4.1)
  cookie attribute. The plan is for `SameSite=Lax` to be added in alongside the
  `HttpOnly` and `Secure` flags to sensitive looking cookies by default, and for
  this to be upgraded to `SameSite=Strict` if operating in
  [`strictMode`](https://github.com/aidantwoods/SecureHeaders/wiki/strictMode).

  `SameSite=Lax` already offers pretty good CSRF protection by preventing non
  GET requests or non top-level requests from sending cookies when coming from<commit_msg>add introduction of HttpAdapter to changelog<commit_after># Changes in SecureHeaders 2.0

All notable changes of the SecureHeaders 2.0 release series are documented in
this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## [2.0] - *2017-07-16*

### Added
* You can now easily integrate SecureHeaders with arbitrary frameworks by
  implementing the HttpAdapter (`Aidantwoods\SecureHeaders\Http\HttpAdapter`).

* Better cookie upgrades:
  Specifically incorporating the[`SameSite`](https://tools.ietf.org/html/draft-west-first-party-cookies-07#section-4.1)
  cookie attribute. The plan is for `SameSite=Lax` to be added in alongside the
  `HttpOnly` and `Secure` flags to sensitive looking cookies by default, and for
  this to be upgraded to `SameSite=Strict` if operating in
  [`strictMode`](https://github.com/aidantwoods/SecureHeaders/wiki/strictMode).

  `SameSite=Lax` already offers pretty good CSRF protection by preventing non
  GET requests or non top-level requests from sending cookies when coming from
{'fraction_non_alphanumeric': 0.09234828496042216, 'fraction_numerical': 0.01899736147757256, 'mean_word_length': 4.925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3799189', 'n_tokens_mistral': 575, 'n_tokens_neox': 542, 'n_words': 200}