Accepting request 681074 from home:jayvdb:noflake8
- Add de-vendor.patch to avoid new vendoring of html5lib in v3.1.0 - Remove direct dependency on webencodings, a dependency of html5lib - Update to v3.1.0 OBS-URL: https://build.opensuse.org/request/show/681074 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
4c432537a6
commit
ccbdd752c3
@@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 09:14:50 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Add de-vendor.patch to avoid new vendoring of html5lib in v3.1.0
|
||||
- Remove direct dependency on webencodings, a dependency of html5lib
|
||||
- Update to v3.1.0
|
||||
* Add ``recognized_tags`` argument to the linkify ``Linker`` class. This
|
||||
fixes issues when linkifying on its own and having some tags get escaped.
|
||||
It defaults to a list of HTML5 tags
|
||||
* Add ``six>=1.9`` to requirements
|
||||
* Fix cases where attribute names could have invalid characters in them.
|
||||
* Fix problems with ``LinkifyFilter`` not being able to match links
|
||||
across ``&``.
|
||||
* Fix ``InputStreamWithMemory`` when the ``BleachHTMLParser`` is
|
||||
parsing ``meta`` tags
|
||||
* Fix doctests.
|
||||
- from v3.0.2
|
||||
* Merge ``Characters`` tokens after sanitizing them. This fixes issues
|
||||
in the ``LinkifyFilter`` where it was only linkifying parts of urls
|
||||
- from v3.0.1
|
||||
* Support Python 3.7. It supported Python 3.7 just fine, but 3.7 was
|
||||
added to the list of Python environments being test
|
||||
* Fix ``list`` object has no attribute ``lower`` in ``clean``
|
||||
* Fix ``abbr`` getting escaped in ``linkify``
|
||||
- from v3.0.0
|
||||
* [breaking] A bunch of functions were moved from one module to another.
|
||||
These were moved from ``bleach.sanitizer`` to ``bleach.html5lib_shim``:
|
||||
+ convert_entity
|
||||
+ convert_entities
|
||||
+ match_entity
|
||||
+ next_possible_entity
|
||||
+ BleachHTMLSerializer
|
||||
+ BleachHTMLTokenizer
|
||||
+ BleachHTMLParser
|
||||
These functions and classes weren't documented and aren't part of the
|
||||
public API, but people read code and might be using them so we're
|
||||
considering it an incompatible API change.
|
||||
If you're using them, you'll need to update your code.
|
||||
* Bleach no longer depends on html5lib. html5lib==1.0.1 is now vendored into
|
||||
Bleach. You can remove it from your requirements file if none of your other
|
||||
requirements require html5lib.
|
||||
This means Bleach will now work fine with other libraries that depend on
|
||||
html5lib regardless of what version of html5lib they require.
|
||||
* Fixed tags getting added when using clean or linkify. This was a
|
||||
long-standing regression from the Bleach 2.0 rewrite
|
||||
* Fixed ``<isindex>`` getting replaced with a string. Now it gets escaped or
|
||||
stripped depending on whether it's in the allowed tags or not
|
||||
- from v2.1.4
|
||||
* Dropped support for Python 3.3
|
||||
* Handle ambiguous ampersands in correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 5 01:56:44 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user