Skip to content

Releases: llybin/drf-recaptcha

4.0.2

15 Sep 11:34
58ea228
Compare
Choose a tag to compare

Fix pyproject.toml dependencies

4.0.1

11 Sep 13:48
Compare
Choose a tag to compare

sponsor badge

4.0.0

11 Sep 12:39
Compare
Choose a tag to compare
  • fix building with new setuptools
  • ruff formatter, GitHub Action, code formatted
  • pyproject.toml single config
  • added Django 5.1
  • pypi trusted publish
  • drop support old django 3.2, 4.0, 4.1
  • drop support python 3.8 3.9
  • drop support drf 3.11 3.12 3.13
  • lower logging level on legitimate cases

3.2.0

06 Sep 09:27
Compare
Choose a tag to compare
  • Previously if the required score was set to 0 (in an attempt to not i actually block anything), the default of 0.5 would be used instead. This was due to incorrect logic when checking for None values. This changes fixes this handling so that a required score of 0 may be set.
  • The docs state that "Validation is passed if the score value returned by Google is greater than or equal to required score." However the code was actually checking for a score greater than required, not greater than or equal to. This change fixes the logic to match the stated behavior.

3.1.0

11 May 10:01
Compare
Choose a tag to compare
  • Allow error to be silenced through django config setting
  • Add support for Django 5.0
  • Add support for Python 3.12
  • Add support for DRF 3.15
  • Removed support Python 3.7

3.0.0

01 Jul 15:23
Compare
Choose a tag to compare
  • Added support of multiple/dynamic secret keys
  • get_client_ip is not called anymore when DRF_RECAPTCHA_TESTING=True

Thanks @denisSurkov

2.2.3

23 Apr 05:39
Compare
Choose a tag to compare
  • Remove upper constraints
  • Add support for Django 4.2
  • Add support for Python 3.11

2.2.2

25 Oct 13:24
8da234a
Compare
Choose a tag to compare

Add support for DRF 3.14

2.2.1

24 Aug 18:59
Compare
Choose a tag to compare

Minor changes.

2.2.0

24 Aug 18:46
Compare
Choose a tag to compare

Added external access to the result of score.