14
0
forked from pool/python-bleach

Accepting request 486218 from home:TheBlackCat:branches:devel:languages:python

* Update to Version 2.0.0
* Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/486218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=5
This commit is contained in:
Todd R
2017-04-06 17:57:05 +00:00
committed by Git OBS Bridge
parent ffd286e797
commit dbd38b3c33
4 changed files with 87 additions and 23 deletions

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Thu Apr 6 17:49:43 UTC 2017 - toddrme2178@gmail.com
- Update to Version 2.0.0
+ Backwards incompatible changes
* Removed support for Python 2.6. #206
* Removed support for Python 3.2. #224
* Bleach no longer supports html5lib < 0.99999999 (8 9s).
* ``bleach.clean`` and friends were rewrittenped.
* ``bleach.clean`` and friends attribute callables now take three arguments:
tag, attribute name and attribute value. Previously they only took attribute
name and attribute value.
* ``bleach.linkify`` was rewritten
* ``bleach.linkify`` and friends had a ``skip_pre`` argument--that's been
replaced with a more general ``skip_tags`` argument.
+ Changes
* Supports Python 3.6.
* Supports html5lib >= 0.99999999 (8 9s).
* There's a ``bleach.sanitizer.Cleaner`` class that you can instantiate with your
favorite clean settings for easy reuse.
* There's a ``bleach.linkifier.Linker`` class that you can instantiate with your
favorite linkify settings for easy reuse.
* There's a ``bleach.linkifier.LinkifyFilter`` which is an htm5lib filter that
you can pass as a filter to ``bleach.sanitizer.Cleaner`` allowing you to clean
and linkify in one pass.
* ``bleach.clean`` and friends can now take a callable as an attributes arg value.
* Tons of bug fixes.
* Cleaned up tests.
* Documentation fixes.
- Update to Version 1.5
+ Backwards incompatible changes
* clean: The list of ``ALLOWED_PROTOCOLS`` now defaults to http, https and
mailto.
+ Changes
* clean: Added ``protocols`` to arguments list to let you override the list of
allowed protocols. Thank you, Andreas Malecki! #149
* linkify: Fix a bug involving periods at the end of an email address. Thank you,
Lorenz Schori! #219
* linkify: Fix linkification of non-ascii ports. Thank you Alexandre, Macabies!
#207
* linkify: Fix linkify inappropriately removing node tails when dropping nodes.
#132
* Fixed a test that failed periodically. #161
* Switched from nose to py.test. #204
* Add test matrix for all supported Python and html5lib versions. #230
* Limit to html5lib ``>=0.999,!=0.9999,!=0.99999,<0.99999999`` because 0.9999
and 0.99999 are busted.
* Add support for ``python setup.py test``. #97
- Update to Version 1.4.3 (May 23rd, 2016)
+ Changes
* Limit to html5lib ``>=0.999,<0.99999999`` because of impending change to
sanitizer api. #195
- Update to Version 1.4.2
+ Changes
* linkify: Fix hang in linkify with ``parse_email=True``. #124
* linkify: Fix crash in linkify when removing a link that is a first-child. #136
* Updated TLDs.
* linkify: Don't remove exterior brackets when linkifying. #146
- Implemenet single-spec version
-------------------------------------------------------------------
Thu Sep 3 14:39:11 UTC 2015 - toddrme2178@gmail.com