Skip to content

Changelog

0.2.0 - 2022-04-14

Changed

  • BREAKING CHANGE: Cookie data is now set in the state as the CookieData object, which also holds any exception thrown by Blake2Signer. This is breaking because any previous implementation has to be adapted to use this new object.
  • When the cookie is empty, the middleware's unsign method is no longer called, and state data is set to null. Previously, it was called with an empty string causing an exception, which set the state data to null, so the outcome remains the same.
  • If the new state data is null, the cookie won't be written. To overwrite an existing cookie with empty data, just use an empty value instead (empty string, empty dict, etc). This hasn't actually changed, so this is just a clarification on how it was already working.

Security

0.1.2 - 2022-01-23

Added

  • Add tests and docs for Starlite.

0.1.1 - 2022-01-20

Added

Changed

  • Refactor tests for pytest.

0.1.0 - 2022-01-17

Added

Back to top