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