Skip to content

Releases: simonw/asgi-csrf

0.11

15 Nov 01:04
Compare
Choose a tag to compare
  • Switched from setup.py to pyproject.toml #34
  • Fixed several deprecation warnings. #36, #37

0.10

15 Aug 03:24
Compare
Choose a tag to compare
  • Fix for intermittent mysterious error with some form submissions. #21
  • New options for customizing the cookie that is set: cookie_path, cookie_domain, cookie_secure, cookie_samesite. Thanks, Kevin Abraham. #25
  • Ability to customize the error page using the new send_csrf_failed argument. #28

0.9

23 Jun 19:35
f1a7e28
Compare
Choose a tag to compare
0.9
  • New skip_if_scope= callback function mechanism to allow custom logic for skipping CSRF protection, based on the ASGI scope. See skip_if_scope documentation. #20

0.8

23 Jan 22:33
Compare
Choose a tag to compare
0.8
  • always_set_cookie=True option for if you want to set a missing CSRF token even on pages that do not display a hidden form field. #16

0.7.2

23 Jan 21:30
Compare
Choose a tag to compare
  • Fixed broken tests when running against latest httpx. #18

0.7.1

27 Aug 01:20
764914a
Compare
Choose a tag to compare
  • Fix for ASGI exception on non-http scopes. #15

0.7

15 Aug 18:04
96434ec
Compare
Choose a tag to compare
0.7
  • Support for file upload support via multipart/form-data. #1
  • Test coverage is now 100%. #13

0.7a0

15 Aug 02:37
939334f
Compare
Choose a tag to compare
0.7a0 Pre-release
Pre-release
  • Alpha: support for multipart/form-data. #1

0.6.1

09 Aug 04:54
edb83e4
Compare
Choose a tag to compare
  • Now packaged as a sdist as well as a bdist_wheel

0.6

01 Jul 00:46
Compare
Choose a tag to compare
0.6
  • Requests with an Authorization: Bearer xxx header are no longer subject to CSRF checks. #11
  • Requests without cookies are no longer subject to CSRF checks unless the page path is explicitly listed in always_protect. #11