~noskcaj/ubuntu/vivid/webtest/merge

« back to all changes in this revision

Viewing changes to docs/changelog.txt

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-05-26 07:06:41 UTC
  • mfrom: (16.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140526070641-j1obqenfyewrcj4e
Tags: 2.0.15-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - d/control: Demote python-lxml and python-pyquery to Suggests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
News
2
 
====
3
 
 
4
 
2.0.14 (2014-01-23)
5
 
-------------------
6
 
 
7
 
- Allow `.select()` on <select>s and <select multiple>s.
8
 
  [Markus Bertheau]
9
 
 
10
 
 
11
 
2.0.13 (2014-01-23)
12
 
-------------------
13
 
 
14
 
- Allow selecting <select> options by text
15
 
  [Markus Bertheau]
16
 
 
17
 
 
18
 
2.0.12 (2014-01-17)
19
 
-------------------
20
 
 
21
 
- Ignore the `value` attribute of file inputs
22
 
  [Markus Bertheau]
23
 
 
24
 
- Allow selecting the form submit button by its value
25
 
  [Markus Bertheau]
26
 
 
27
 
 
28
 
2.0.11 (2013-12-29)
29
 
-------------------
30
 
 
31
 
- Depend on `unittest2` only for Python versions lower than 2.7
32
 
  [iElectric]
33
 
 
34
 
- Add an optional parameter to `TestApp`, allowing the user to specify the
35
 
  parser used by BeautifulSoup
36
 
  [lyndsysimon]
37
 
 
38
 
 
39
 
2.0.10 (2013-11-14)
40
 
-------------------
41
 
 
42
 
- Make StopableWSGIServer thread daemonic
43
 
  [lrowe]
44
 
 
45
 
 
46
 
2.0.9 (2013-09-18)
47
 
------------------
48
 
 
49
 
- Make sure Upload.content_type is not ignored
50
 
  https://github.com/Pylons/webtest/pull/88
51
 
  [Marius Gedminas]
52
 
 
53
 
 
54
 
2.0.8 (2013-09-17)
55
 
------------------
56
 
 
57
 
- Allow checking/unchecking a set of same-named checkboxes by assigning a list of values.
58
 
  [carljm]
59
 
 
60
 
- fix "AttributeError: 'InputWrapper' object has no attribute 'seek'"
61
 
  [iElectric]
62
 
 
63
 
- Added `xhr=True` parameter to `TestApp.get`, `TestApp.post`, `TestApp.head`, `TestApp.delete`
64
 
  [kharandziuk]
65
 
 
66
 
- Remove old (and broken?) casperjs/selenium backward compat imports. Fix
67
 
  https://github.com/gawel/webtest-selenium/issues/9
68
 
  [gawel]
69
 
 
70
 
- Allow optionally specifying the MIME type of an uploaded form file. Fixes #86
71
 
  [Marius Gedminas]
72
 
 
73
 
 
74
 
2.0.7 (2013-08-07)
75
 
------------------
76
 
 
77
 
- Detect JSON if mimetype ends with +json, such as application/vnd.webtest+json
78
 
  [homm]
79
 
 
80
 
- Fixed #72. Use WSGIServer new api even if there waitress has backward compat.
81
 
  [gawel]
82
 
 
83
 
- Fixed #50. Corrected default value for the delete params argument.
84
 
  [noonat]
85
 
 
86
 
- Be sure to decode the content if it is gziped before returning it
87
 
  [Alexis Métaireau]
88
 
 
89
 
 
90
 
2.0.6 (2013-05-23)
91
 
------------------
92
 
 
93
 
- fixed #64. cookiejar api has changed in python3.3 [gawel]
94
 
 
95
 
- allow to use a fixed StopableWSGIServer [gawel]
96
 
 
97
 
- Do not alter the BeautifulSoup object when parsing forms. [Georges
98
 
  Dubus]
99
 
 
100
 
- Remove first newline while parse textarea block, how modern browsers does.
101
 
  [Victor Safronovich] pull #69
102
 
 
103
 
 
104
 
2.0.5 (2013-04-12)
105
 
------------------
106
 
 
107
 
* Ignore select.error (not socket.error) following
108
 
  StopableWSGIServer.shutdown. [Laurence Rowe]
109
 
 
110
 
* Handle the short form of <select multiple> [Marius Gedminas]
111
 
 
112
 
 
113
 
2.0.4 (2013-03-28)
114
 
------------------
115
 
 
116
 
* Correctly handle <option> elements with no value attribute
117
 
  [Marius Gedminas]
118
 
 
119
 
* Ignore socket.error following StopableWSGIServer.shutdown. [Laurence Rowe]
120
 
 
121
 
* <button> without type='submit' attribute is treated as Submit
122
 
  control [Andrey Lebedev].
123
 
 
124
 
* Support for redirects having relative "Location" header [Andrey Lebedev]
125
 
 
126
 
 
127
 
2.0.3 (2013-03-19)
128
 
------------------
129
 
 
130
 
* Treat strings in the WSGI environment as native strings, compliant with
131
 
  PEP-3333. [wosc]
132
 
 
133
 
 
134
 
2.0.2 (2013-03-15)
135
 
------------------
136
 
 
137
 
* Allow TestResponse.click() to match HTML content again. [ender672]
138
 
 
139
 
* Support secure cookies [Andrey Lebedev]
140
 
 
141
 
2.0.1 (2013-03-05)
142
 
------------------
143
 
 
144
 
* Added Pasword field [diarmuidbourke]
145
 
 
146
 
* re-allow to use unknow field type. Like ``type="email"``. [gawel]
147
 
 
148
 
* Don't let BeautifulSoup use lxml. Fix GH-51 [kmike]
149
 
 
150
 
* added :meth:`webtest.response.TestResponse.maybe_follow` method [kmike]
151
 
 
152
 
2.0 (2013-02-25)
153
 
----------------
154
 
 
155
 
* drop zc.buildout usage for development, now using only virtualenv
156
 
  [Domen Kožar]
157
 
 
158
 
* Backward incompatibility : Removed the ``anchor`` argument of
159
 
  :meth:`webtest.response.TestResponse.click` and the ``button`` argument of
160
 
  :meth:`webtest.response.TestResponse.clickbutton`. It is for the greater good.
161
 
  [madjar]
162
 
 
163
 
* Rewrote API documentation [Domen Kožar]
164
 
 
165
 
* Added `wsgiproxy` support to do HTTP request to an URL [gawel]
166
 
 
167
 
* Use BeautifulSoup4 to parse forms [gawel]
168
 
 
169
 
* Added `webtest.app.TestApp.patch_json` [gawel]
170
 
 
171
 
* Implement `webtest.app.TestApp.cookiejar` support and kindof keep
172
 
  `webtest.app.TestApp.cookies` functionality.  `webtest.app.TestApp.cookies`
173
 
  should be treated as read-only.
174
 
  [Domen Kožar]
175
 
 
176
 
* Split Selenium integration into separate package webtest-selenium
177
 
  [gawel]
178
 
 
179
 
* Split casperjs integration into separate package webtest-casperjs
180
 
  [gawel]
181
 
 
182
 
* Test coverage improvements [harobed, cdevienne, arthru, Domen Kožar, gawel]
183
 
 
184
 
* Fully implement decoding of HTML entities
185
 
 
186
 
* Fix tox configuration
187
 
 
188
 
1.4.2
189
 
-----
190
 
 
191
 
* fix tests error due to CLRF in a tarball
192
 
 
193
 
1.4.1
194
 
-----
195
 
 
196
 
* add travis-ci
197
 
 
198
 
* migrate repository to https://github.com/Pylons/webtest
199
 
 
200
 
* Fix a typo in apps.py: selectedIndicies
201
 
 
202
 
* Preserve field order during parsing (support for deform and such)
203
 
 
204
 
* allow equals sign in the cookie by spliting name-value-string pairs on
205
 
  the first '=' sign as per
206
 
  http://tools.ietf.org/html/rfc6265#section-5.2
207
 
 
208
 
* fix an error when you use AssertionError(response) with unicode chars in
209
 
  response
210
 
 
211
 
1.4.0
212
 
-----
213
 
 
214
 
* added webtest.ext - allow to use casperjs
215
 
 
216
 
1.3.6
217
 
------
218
 
 
219
 
* fix `#42 <https://bitbucket.org/ianb/webtest/issue/42>`_ Check uppercase
220
 
  method.
221
 
 
222
 
* fix `#36 <https://bitbucket.org/ianb/webtest/issue/36>`_ Radio can use forced
223
 
  value.
224
 
 
225
 
* fix `#24 <https://bitbucket.org/ianb/webtest/issue/24>`_ Include test
226
 
  fixtures.
227
 
 
228
 
* fix bug when trying to print a response which contain some unicode chars
229
 
 
230
 
1.3.5
231
 
------
232
 
 
233
 
* fix `#39 <https://bitbucket.org/ianb/webtest/issue/39>`_ Add PATCH to
234
 
  acceptable methods.
235
 
 
236
 
 
237
 
1.3.4
238
 
-----
239
 
 
240
 
* fix `#33 <https://bitbucket.org/ianb/webtest/issue/33>`_ Remove
241
 
  CaptureStdout. Do nothing and break pdb
242
 
 
243
 
* use OrderedDict to store fields in form. See
244
 
  `#31 <https://bitbucket.org/ianb/webtest/issue/31>`_
245
 
 
246
 
* fix `#38 <https://bitbucket.org/ianb/webtest/issue/38>`_ Allow to post falsey
247
 
  values.
248
 
 
249
 
* fix `#37 <https://bitbucket.org/ianb/webtest/issue/37>`_ Allow
250
 
  Content-Length: 0 without Content-Type
251
 
 
252
 
* `fix #30 <https://bitbucket.org/ianb/webtest/issue/30>`_ bad link to pyquery
253
 
  documentation
254
 
 
255
 
* Never catch NameError during iteration
256
 
 
257
 
1.3.3
258
 
-----
259
 
 
260
 
* added ``post_json``, ``put_json``, ``delete_json``
261
 
 
262
 
* fix `#25 <https://bitbucket.org/ianb/webtest/issue/25>`_ params dictionary of
263
 
  webtest.AppTest.post() does not support unicode values
264
 
 
265
 
1.3.2
266
 
-----
267
 
 
268
 
* improve showbrowser. fixed `#23 <https://bitbucket.org/ianb/webtest/issue/23>`_
269
 
 
270
 
* print_stderr fail with unicode string on python2
271
 
 
272
 
1.3.1
273
 
-----
274
 
 
275
 
* Added .option() `#20 <https://bitbucket.org/ianb/webtest/issue/20>`_
276
 
 
277
 
* Fix #21
278
 
 
279
 
* Full python3 compat
280
 
 
281
 
1.3
282
 
---
283
 
 
284
 
* Moved TestApp to app.py
285
 
 
286
 
* Added selenium testing framework. See :mod:`~webtest.sel` module.
287
 
 
288
 
 
289
 
1.2.4
290
 
------
291
 
 
292
 
* Accept lists for ``app.post(url, params=[...])``
293
 
 
294
 
* Allow to use url that starts with the SCRIPT_NAME found in extra_environ
295
 
 
296
 
* Fix `#16 <https://bitbucket.org/ianb/webtest/issue/16>`_  Default
297
 
  content-type is now correctly set to `application/octet-stream`
298
 
 
299
 
* Fix `#14 and #18 <https://bitbucket.org/ianb/webtest/issue/18>`_ Allow to use
300
 
  `.delete(params={})`
301
 
 
302
 
* Fix `#12 <https://bitbucket.org/ianb/webtest/issue/12>`_ 
303
 
 
304
 
 
305
 
1.2.3
306
 
-----
307
 
 
308
 
* Fix `#10
309
 
  <http://bitbucket.org/ianb/webtest/issue/10/testapprequest-method-overwrites-specifics-with-testapp-scoped>`_,
310
 
  now `TestApp.extra_environ` doesn't take precedence over a WSGI
311
 
  environment passed in through the request.
312
 
 
313
 
* Removed stray print
314
 
 
315
 
1.2.2
316
 
-----
317
 
 
318
 
* Revert change to cookies that would add ``"`` around cookie values.
319
 
 
320
 
* Added property :meth:`webtest.Response.pyquery` which returns a
321
 
  `PyQuery <http://pyquery.org/>`_ object.
322
 
 
323
 
* Set base_url on ``resp.lxml``
324
 
 
325
 
* Include tests and docs in tarball.
326
 
 
327
 
* Fix sending in webob.Request (or webtest.TestRequest) objects.
328
 
 
329
 
* Fix handling forms with file uploads, when no file is selected.
330
 
 
331
 
* Added ``extra_environ`` argument to :meth:`webtest.TestResponse.click`.
332
 
 
333
 
* Fixed/added wildcard statuses, like ``status="4*"``
334
 
 
335
 
* Fix file upload fields in forms: allow upload field to be empty.
336
 
 
337
 
* Added support for single-quoted html attributes.
338
 
 
339
 
* `TestResponse` now has unicode support. It is turned on by default
340
 
  for all responses with charset information. **This is backward
341
 
  incompatible change** if you rely (e.g. in doctests) on parsed
342
 
  form fields or responses returned by `json` and `lxml` methods
343
 
  being encoded strings when charset header is in response. In order
344
 
  to switch to old behaviour pass `use_unicode=False` flag to
345
 
  `TestApp` constructor.
346
 
 
347
 
 
348
 
1.2.1
349
 
-----
350
 
 
351
 
* Added method :meth:`TestApp.request`, which can be used for
352
 
  sending requests with different methods (e.g., ``MKCOL``).  This
353
 
  method sends all its keyword arguments to
354
 
  :meth:`webtest.TestRequest.blank` and then executes the request.
355
 
  The parameters are somewhat different than other methods (like
356
 
  :meth:`webtest.TestApp.get`), as they match WebOb's attribute
357
 
  names exactly (the other methods were written before WebOb existed).
358
 
 
359
 
* Removed the copying of stdout to stderr during requests.
360
 
 
361
 
* Fix file upload fields in forms (`#340
362
 
  <http://trac.pythonpaste.org/pythonpaste/ticket/340>`_) -- you could
363
 
  upload files with :meth:`webtest.TestApp.post`, but if you use
364
 
  ``resp.form`` file upload fields would not work (from rcs-comp.com
365
 
  and Matthew Desmarais).
366
 
 
367
 
1.2
368
 
---
369
 
 
370
 
* Fix form inputs; text inputs always default to the empty string, and
371
 
  unselected radio inputs default to nothing at all.  From Daniele
372
 
  Paolella.
373
 
 
374
 
* Fix following links with fragments (these fragments should not be
375
 
  sent to the WSGI application).  From desmaj.
376
 
 
377
 
* Added ``force_value`` to select fields, like
378
 
  ``res.form['select'].force_value("new_value")``.  This makes it
379
 
  possible to simulate forms that are dynamically updated.  From
380
 
  Matthew Desmarais.
381
 
 
382
 
* Fixed :meth:`webtest.Response.mustcontain` when you pass in a
383
 
  ``no=[strings]`` argument.
384
 
 
385
 
1.1
386
 
---
387
 
 
388
 
* Changed the ``__str__`` of responses to make them more doctest
389
 
  friendly:
390
 
 
391
 
  - All headers are displayed capitalized, like Content-Type
392
 
  - Headers are sorted alphabetically
393
 
 
394
 
* Changed ``__repr__`` to only show the body length if the complete
395
 
  body is not shown (for short bodies the complete body is in the
396
 
  repr)
397
 
 
398
 
* Note: **these are backward incompatible changes** if you are using
399
 
  doctest (you'll have to update your doctests with the new format).
400
 
 
401
 
* Fixed exception in the ``.delete`` method.
402
 
 
403
 
* Added a ``content_type`` argument to ``app.post`` and ``app.put``,
404
 
  which sets the ``Content-Type`` of the request.  This is more
405
 
  convenient when testing REST APIs.
406
 
 
407
 
* Skip links in ``<script>...</script>`` tags (since that's not real
408
 
  markup).
409
 
 
410
 
1.0.2
411
 
-----
412
 
 
413
 
* Don't submit unnamed form fields.
414
 
 
415
 
* Checkboxes with no explicit ``value`` send ``on`` (previously they
416
 
  sent ``checked``, which isn't what browsers send).
417
 
 
418
 
* Support for ``<select multiple>`` fields (from Matthew Desmarais)
419
 
 
420
 
1.0.1
421
 
---
422
 
 
423
 
* Fix the ``TestApp`` validator's InputWrapper lacking support for
424
 
  readline with an argument as needed by the cgi module.
425
 
 
426
 
1.0
427
 
---
428
 
 
429
 
* Keep URLs in-tact in cases such as
430
 
  ``app.get('http://www.python.org')`` (so HTTP_HOST=www.python.org,
431
 
  etc).
432
 
 
433
 
* Fix ``lxml.html`` import, so lxml 2.0 users can get HTML lxml
434
 
  objects from ``resp.lxml``
435
 
 
436
 
* Treat ``<input type="image">`` like a submit button.
437
 
 
438
 
* Use ``BaseCookie`` instead of ``SimpleCookie`` for storing cookies
439
 
  (avoids quoting cookie values).
440
 
 
441
 
* Accept any ``params`` argument that has an ``items`` method (like
442
 
  MultiDict)
443
 
 
444
 
0.9
445
 
---
446
 
 
447
 
Initial release