| 1 |
Version History |
| 2 |
=============== |
| 3 |
|
| 4 |
Version 0.7.0 |
| 5 |
------------- |
| 6 |
* Test against Django 6.1 |
| 7 |
* Wrap the fixed random.seed() / reset in a try..finally, to avoid accidentally polluting the global RNG in case of an exception |
| 8 |
* math_challenge: avoid using eval() |
| 9 |
* Issue a loud warning if CAPTCHA_TEST_MODE is True and DEBUG is False |
| 10 |
* Invalidate the captcha store after a single validation attempt, even when the response is wrong, to prevent brute-force attacks |
| 11 |
* Adds SECURITY.md |
| 12 |
|
| 13 |
Version 0.6.3 |
| 14 |
------------- |
| 15 |
* Test against Django 6.0 |
| 16 |
* Support animated CAPTCHAs (AVIF or GIF) |
| 17 |
|
| 18 |
Version 0.6.2 |
| 19 |
------------- |
| 20 |
* Make DRF dependency optional |
| 21 |
|
| 22 |
Version 0.6.1 |
| 23 |
------------- |
| 24 |
* Fixed docs and test configuration |
| 25 |
* Delete leftover temporary audio files (#224, #225, #226 thanks @dawidratynski and @A-dead-pixel) |
| 26 |
* Test against Django 5.1 and 5.2 |
| 27 |
* Add ability to control color of each character (PR #235, thanks @mheidarian) |
| 28 |
* Add support for Django REST Framework (PR #236, thanks @michalwrona01) |
| 29 |
* Audio CAPTCHA: try to detect the sample rate of the generated WAV file prior to merge (Issue #196) |
| 30 |
|
| 31 |
Version 0.6.0 |
| 32 |
------------- |
| 33 |
* Only Django versions 4.2 or above are now supported |
| 34 |
* Removed the old rendering methods that were deprecated in 2017. |
| 35 |
|
| 36 |
Version 0.5.20 |
| 37 |
-------------- |
| 38 |
* Still support Django 3.2 (#222, thanks @petrklus) |
| 39 |
|
| 40 |
Version 0.5.19 |
| 41 |
-------------- |
| 42 |
* SECURITY ISSUE: reset the random seed after an image was generated (#221, thanks @ibuler) |
| 43 |
|
| 44 |
Version 0.5.18 |
| 45 |
-------------- |
| 46 |
* Fix some typos in documentation (#210, thanks @stweil) |
| 47 |
* Test against Django 4.2 |
| 48 |
* Stopped testing Django < 3.2 |
| 49 |
* BaseCaptchaTextInput should set autocomplete=off on the hashkey HiddenInput (#201, thanks @eerotal) |
| 50 |
* Test against Django 4.2a |
| 51 |
* Fix some deprecation warnings in Pillow 9.2+ |
| 52 |
* Removed old unused conditional imports |
| 53 |
* Format code with pre-commit and black |
| 54 |
|
| 55 |
|
| 56 |
Version 0.5.17 |
| 57 |
-------------- |
| 58 |
* English translation created from Spanish ones (#209, thanks @tpazderka) |
| 59 |
|
| 60 |
|
| 61 |
Version 0.5.16 |
| 62 |
-------------- |
| 63 |
* Adds a migration missing from 0.5.15 (#208, thanks @atodorov) |
| 64 |
|
| 65 |
|
| 66 |
Version 0.5.15 |
| 67 |
-------------- |
| 68 |
* Updated test matrix, drop tests against Python3.6, test against Python3.9 |
| 69 |
* Remove dependency on six |
| 70 |
* Test against Django 4.0a1 |
| 71 |
* Test with Python 3.10 (Django 3.2 and Django 4.0) |
| 72 |
* Remove warning for django 3.2 (#206, thanks @MiStErLu) |
| 73 |
|
| 74 |
|
| 75 |
Version 0.5.14 |
| 76 |
-------------- |
| 77 |
* Generate deterministic CAPTCHA images for each Captcha instance (#194, thanks @mjnaderi) |
| 78 |
* New setting CAPTCHA_2X_IMAGE to disable the double resolution image option (#195, thanks @mjnaderi) |
| 79 |
* Test against Django 3.2a |
| 80 |
|
| 81 |
|
| 82 |
Version 0.5.13 |
| 83 |
-------------- |
| 84 |
* Fix DeprecationWarnings on Django 3 related to unicode (#173, thanks @jannh) |
| 85 |
* Applied black to the codebase and ignored W503 |
| 86 |
* tox: remove superfluous basepython statement (#172, thanks @devkral) |
| 87 |
* i18n: add Persian (fa) language translation files (#190, thanks @mavenium) |
| 88 |
* Test Django 2.2, 3.0 and 3.1 on Python 3.6, 3.7 and 3.8 (#171, thanks @devkral) |
| 89 |
* Fix deprecation warnings on Django 3.1 (#186, thanks @ jannh and @TheBuky) |
| 90 |
* Travis fixes and test on ppc64le arch (#192 and #191, thanks @kishorkunal-raj) |
| 91 |
|
| 92 |
|
| 93 |
Version 0.5.12 |
| 94 |
-------------- |
| 95 |
* Doc: Update url include line for Django (#164, thanks @jpic) |
| 96 |
* Doc: Fixed a typo (#162, thanks @RubenGarcia) |
| 97 |
* Initial fixes and test against Django 3.0 (#166, #165. Thanks @devkral) |
| 98 |
* Don't open dictionary file in binary mode (#167, thanks @grasshoppermouse) |
| 99 |
|
| 100 |
|
| 101 |
Version 0.5.11 |
| 102 |
-------------- |
| 103 |
* Fix: CAPTCHA_TEST_MODE was broken. (#163, thanks @ohlr for reporting) |
| 104 |
|
| 105 |
|
| 106 |
Version 0.5.10 |
| 107 |
-------------- |
| 108 |
* Test against Django 2.2a1 |
| 109 |
* Docs: Grammar correction (#160, thanks @DanAtShenTech) |
| 110 |
* Fix: Add '+' to text replacement for audio support (#157, thanks @geirkairam) |
| 111 |
* I18N: Added Swedish translation (#155, thanks @stefannorman) |
| 112 |
* Docs: Provide an example of custom field template (#158, thanks @TheBuky) |
| 113 |
|
| 114 |
|
| 115 |
Version 0.5.9 |
| 116 |
------------- |
| 117 |
* Add missing Jinja2 templates in the pypi packages. |
| 118 |
|
| 119 |
|
| 120 |
Version 0.5.8 |
| 121 |
------------- |
| 122 |
* Add support for Jinja2 templates (Issue #145, PR #146, thanks @ziima) |
| 123 |
* Cleanup, drop dependency on South (#141, #142 thanks @ziima) |
| 124 |
|
| 125 |
|
| 126 |
Version 0.5.7 |
| 127 |
------------- |
| 128 |
* Use templates for rendering of widgets (Issue #128, #134, PR #133, #139, thanks @ziima) |
| 129 |
* Always defined audio context variable (PR #132, thanks @ziima) |
| 130 |
* Test against Django 2.1a |
| 131 |
* Updated AJAX update docs (PR #140, thanks @CNmanyue) |
| 132 |
* Fixed a typo in a variable name (PR #130, thanks @galeo) |
| 133 |
|
| 134 |
|
| 135 |
Version 0.5.6 |
| 136 |
------------- |
| 137 |
* Updated render method to adapt for Django 2.1 (PR #120, thanks @skozan) |
| 138 |
* Improved compatibility with Django 2.0, tests against Django 2.0a1 (PR #121, thanks @Kondou-ger) |
| 139 |
* Dropped support for PIL (use Pillow instead) |
| 140 |
* Updated documentation (Fixes #122, thanks @claudep) |
| 141 |
* Test against Django 2.0b1 |
| 142 |
* Return a Ranged Response when returning WAV audio to support Safari (Fixes #123, thanks @po5i) |
| 143 |
* Optionally inject brown noise into the generated WAV audio file, to avoid rainbow-table attacks (Fixes #124, thanks @appleorange1) |
| 144 |
* Test against Django 2.0 |
| 145 |
|
| 146 |
|
| 147 |
Version 0.5.5 |
| 148 |
------------- |
| 149 |
* I messed the 0.5.4 release, re-releasing as 0.5.5 |
| 150 |
|
| 151 |
Version 0.5.4 |
| 152 |
------------- |
| 153 |
* Removed a couple gremlins (PR #113, thanks @Pawamoy) |
| 154 |
* Added autocapitalize="off", autocorrect="off" and spellcheck="false" to the generated field (PR #116, thanks @rdonnelly) |
| 155 |
* Test against Django 1.11 |
| 156 |
* Drop support of Django 1.7 ("it'll probably still work") |
| 157 |
|
| 158 |
Version 0.5.3 |
| 159 |
------------- |
| 160 |
* Ability to pass a per-field challenge generator function (Fixes #109) |
| 161 |
* Added a feature to get captchas from a data pool of pre-created captchas (PR #110, thanks @skozan) |
| 162 |
* Cleanup to remove old code handling timezones for no longer supported Django versions |
| 163 |
* Fix for "Size must be a tuple" issue with Pillow 3.4.0 (Fixes #111) |
| 164 |
|
| 165 |
Version 0.5.2 |
| 166 |
------------- |
| 167 |
* Use any multiplication uperator instead of "*". (Fixes #77 via PR #104, thanks @honsdomi and @isergey) |
| 168 |
* Test against Django 1.10 |
| 169 |
|
| 170 |
Version 0.5.1 |
| 171 |
------------- |
| 172 |
* Fine tuning MANIFEST.in |
| 173 |
* Prevent testproject from installing into site-packages |
| 174 |
|
| 175 |
Version 0.5.0 |
| 176 |
------------- |
| 177 |
* Adds missing includes in MANIFEST.in |
| 178 |
|
| 179 |
Version 0.4.7 |
| 180 |
------------- |
| 181 |
* Supported Django versions are now 1.7, 1.8 and 1.9 |
| 182 |
* Trying to fix the TravisCI build errors |
| 183 |
* Use Django templates to render the individual fields, as well as the assembled Captcha Field (Issue #31) |
| 184 |
|
| 185 |
|
| 186 |
Version 0.4.6 |
| 187 |
------------- |
| 188 |
* Fixes an UnicodeDecodeError which was apparently only triggered during testing on TravisCI (I hope) |
| 189 |
* Support for Django 2.0 urlpatterns syntax (PR #82, Thanks @R3v1L) |
| 190 |
* settings.CAPTCHA_FONT_PATH may be a list, in which case a font is picked randomly (Issue #51 fixed in PR #88, Thanks @inflrscns) |
| 191 |
|
| 192 |
Version 0.4.5 |
| 193 |
------------- |
| 194 |
* Test with tox |
| 195 |
* Test against Django 1.8 final |
| 196 |
* Added ability to force a fixed image size (PR #76, Thanks @superqwer) |
| 197 |
|
| 198 |
Version 0.4.4 |
| 199 |
------------- |
| 200 |
* Added id_prefix argument (fixes issue #37) |
| 201 |
|
| 202 |
Version 0.4.3 |
| 203 |
------------- |
| 204 |
* Add null noise helper (Thanks @xrmx) |
| 205 |
* Test against Django 1.7b4 |
| 206 |
* Added Spanish translations (Thanks @dragosdobrota) |
| 207 |
* Massive cleanup (pep8, translations) |
| 208 |
* Support for transparent background color. (Thanks @curaloucura) |
| 209 |
* Support both Django 1.7 migrations and South migrations. |
| 210 |
Please note, you *must* add the following to your settings, if you are |
| 211 |
using South migrations and Django 1.6 or lower. |
| 212 |
* Make sure autocomplete="off" is only applied to the text input, not the hidden input (Issue #68, thanks @narrowfail) |
| 213 |
* Fixed some grammar in the documentation. (Thanks @rikrian) |
| 214 |
* Return an HTTP 410 GONE error code for expired captcha images, to avoid crawlers from trying to reindex them (PR #70, thanks @joshuajonah) |
| 215 |
* Fixed title markup in documentation (#74, thanks @pavlov99) |
| 216 |
* Test against Django 1.7.1 |
| 217 |
|
| 218 |
Version 0.4.2 |
| 219 |
------------- |
| 220 |
* Added autocomplete="off" to the input (Issue #57, thanks @Vincent-Vega) |
| 221 |
* Fixed the format (msgfmt -c) of most PO and MO files distributed with the project |
| 222 |
* Added Bulgarian translations. (Thanks @vstoykov) |
| 223 |
* Added Japanese translations. (Thanks, Keisuke URAGO) |
| 224 |
* Added Ukrainian translations. (Thanks, @FuriousCoder) |
| 225 |
* Added support for Python 3.2. (Thanks, @amrhassan) |
| 226 |
|
| 227 |
Version 0.4.1 |
| 228 |
------------- |
| 229 |
* Dropped support for Django 1.3 |
| 230 |
* Fixed support of newer versions of Pillow (2.1 and above. Pillow 2.2.2 is now required) Thanks @viaregio (Issue #50) |
| 231 |
|
| 232 |
Version 0.4.0 |
| 233 |
------------- |
| 234 |
* Perform some tests at package installation, to check whether PIL or Pillow are already installed. (Issue #46) |
| 235 |
* Added Slovak translations. (Thanks @ciklysta) |
| 236 |
|
| 237 |
Version 0.3.9 |
| 238 |
------------- |
| 239 |
* Run most tests both with a regular Form and a ModelForm, to avoid regressions such as Issue #40 |
| 240 |
* Handle the special case where CaptchaFields are instantiated with required=False (Issue #42, thanks @DrMeers) |
| 241 |
* Fixed a misspelled setting, we now support both spellings, but the docs suggest the correct one (Issue #36, thanks @sayadn) |
| 242 |
* Added Django 1.6b to testrunner and adapted the test cases to support Django 1.6's new test discovery |
| 243 |
* Added German translations. (Thanks @digi604) |
| 244 |
* Frozen the version of Pillow to 2.0.0, as 2.1.0 seems to be truncating the output image -- Issue #44, Thanks @andruby |
| 245 |
* Added Polish translations. (Thanks @stilzdev) |
| 246 |
|
| 247 |
Version 0.3.8 |
| 248 |
------------- |
| 249 |
* Fixed a critical bug (Issue #40) that would generate two captcha objects, and the test would always fail. Thanks @pengqi for the heads-up. |
| 250 |
|
| 251 |
|
| 252 |
Version 0.3.7 |
| 253 |
------------- |
| 254 |
* Improved Django 1.5 and Django HEAD (1.6) compatibility (thanks @uruz) |
| 255 |
* Python3 compatibility (requires six and Pillow >= 2.0) |
| 256 |
* Added zh_CN localization (thanks @mingchen) |
| 257 |
* Make sure the generated challenge is a string type (the math challenge was probably broken -- Issue #33, thanks @YDS19872712) |
| 258 |
* Massive cleanup and refactoring (Issue #38, thanks @tepez) |
| 259 |
* Test refactoring to test a couple generators that weren't tested by default |
| 260 |
|
| 261 |
Version 0.3.6 |
| 262 |
------------- |
| 263 |
* Django 1.5 compatibility (only affects tests) |
| 264 |
* Italian localization (thanks @arjunadeltoso) |
| 265 |
* Russian localization (thanks @mikek) |
| 266 |
* Fixed issue #17 - Append content-length to response (thanks @shchemelevev) |
| 267 |
* Merged PR #19 - AJAX refresh of captcha (thanks @artofhuman) |
| 268 |
* Merged PR #22 - Use op.popen instead of subprocess.call to generate the audio CAPTCHA (thanks @beda42) |
| 269 |
* Fixed issue #10 - uniformize spelling of "CAPTCHA" (thanks @mikek) |
| 270 |
* Fixed issue #12 - Raise error when try to initialize CaptchaTextInput alone and/or when try to initialize CaptchaField with widget keyword argument (thanks @vstoykov) |
| 271 |
* Merged PR #15 - Allow a 'test mode' where the string 'PASSED' always validates the CAPTCHA (thanks @beda42) |
| 272 |
* Dutch translation (thanks @leonderijke) |
| 273 |
* Turkish translation (thanks @gkmngrgn) |
| 274 |
|
| 275 |
Version 0.3.5 |
| 276 |
------------- |
| 277 |
* Fixes issue #4: Fixes id_for_label malfunction with prefixed forms (thanks @lolek09) |
| 278 |
|
| 279 |
Version 0.3.4 |
| 280 |
------------- |
| 281 |
* Fixes issue #3: regression on Django 1.4 when USE_TZ is False |
| 282 |
|
| 283 |
Version 0.3.3 |
| 284 |
------------- |
| 285 |
* Django 1.4 Time zones compatibility |
| 286 |
* PEP 8 love |
| 287 |
|
| 288 |
Version 0.3.2 |
| 289 |
------------- |
| 290 |
* Added a test project to run tests |
| 291 |
* Added South migrations |