* Mon Aug 07 2023 daniel.garcia@suse.com
- Fix python3-importlib-metadata requirement.
* Fri Feb 25 2022 mcepl@suse.com
- Update old_importlib_metadata.patch (we need to modify setup.py
as well; jsc#SLE-22830).
* Tue Jan 18 2022 mcepl@suse.com
- Add old_importlib_metadata.patch allowing working with old
importlib_metadata package 1.5.0 (jsc#SLE-23297).
* Wed Nov 24 2021 dmueller@suse.com
- update to 3.3.6:
* Fix a dependency issue
* Tue Nov 16 2021 benoit.monin@gmx.fr
- update to version 3.3.5: bug-fix release
* Make the slugify_unicode function not remove diacritical marks
(#1118).
* Fix [toc] detection when used with nl2br extension (#1160).
* Re-use compiled regex for block level checks (#1169).
* Don't process shebangs in fenced code blocks when using
CodeHilite (#1156).
* Improve email address validation for Automatic Links (#1165).
* Ensure <summary> tags are parsed correctly (#1079).
* Support Python 3.10 (#1124).
* Thu Feb 25 2021 benoit.monin@gmx.fr
- update to version 3.3.4: bug-fix release
* Properly parse unclosed tags in code spans (#1066)
* Properly parse processing instructions in md_in_html (#1070)
* Properly parse code spans in md_in_html (#1069)
* Preserve text immediately before an admonition (#1092)
* Simplified regex for HTML placeholders (#928) addressing (#932)
* Ensure permalinks and anchorlinks are not restricted by
toc_depth (#1107)
* Sun Oct 25 2020 benoit.monin@gmx.fr
- update to version 3.3.3: bug-fix release
* Unify all block-level tags (#1047).
* Fix issue where some empty elements would have text rendered
as None when using md_in_html (#1049).
* Avoid catastrophic backtracking in hr regex (#1055).
* Fix hr HTML handling (#1053).
* Tue Oct 20 2020 benoit.monin@gmx.fr
- update to version 3.3.2: bug-fix release
* Properly parse inline HTML in md_in_html (#1040 & #1045).
* Avoid crashing when md_in_html fails (#1040).
* Tue Oct 13 2020 benoit.monin@gmx.fr
- update to version 3.3.1: bug-fix release
* Correctly parse raw script and style tags (#1036).
* Ensure consistent class handling by fenced_code and codehilite
(#1032).
* Wed Oct 07 2020 benoit.monin@gmx.fr
- update to version 3.3: major release
see https://python-markdown.github.io/change_log/release-3.3/
for details
* Sat May 09 2020 benoit.monin@gmx.fr
- update to version 3.2.2:
* Add checklinks tox environment to ensure all links in
documentation are good.
* Refactor extension API documentation (#729).
* Load entry_points (for extensions) only once using
importlib.metadata.
* Do not double escape entities in TOC.
* Correctly report if an extension raises a TypeError (#939).
* Raise a KeyError when attempting to delete a nonexistent key
from the extension registry (#939).
* Remove import of packaging (or pkg_resources fallback) entirely
* Remove setuptools as a run-time dependency (install_required).
- add new requirement importlib-metadata for python < 3.8
- remove setuptools from Requires: dependency dropped by upstream
* Thu Feb 13 2020 benoit.monin@gmx.fr
- update to version 3.2.1: bugfix release
* The name property in toc_tokens from the TOC extension now
escapes HTML special characters (<, >, and &).
- additional changes from version 3.2: major release
* Backwards-incompatible changes:
+ Drop support for Python 2.7
+ em and strong inline processor changes
+ CodeHilite now always wraps with <code> tags
+ markdown.util.etree deprecated
* New features:
+ Some new configuration options have been added to the toc
extension
+ Document thread safety (#812).
+ Markdown parsing in HTML has been exposed via a separate
extension called md_in_html.
+ Add support for Python 3.8.
* Bug fixes:
+ HTML tag placeholders are no longer included in .toc_tokens
(#899).
+ Unescape backslash-escaped characters in TOC ids (#864).
+ Refactor bold and italic logic in order to solve complex
nesting issues (#792).
+ Always wrap CodeHilite code in tags (#862).
- disable python2 build: Markdown is python 3 only now
* Tue May 21 2019 benoit.monin@gmx.fr
- update to version 3.1.1: bugfix release
* Fixed import failure in setup.py when the source directory is
not on sys.path (#823).
* Prefer public packaging module to pkg_resources' private copy
of it (#825).
* Tue Mar 26 2019 benoit.monin@gmx.fr
- update to version 3.1:
* The following new features have been included in the release:
+ A Contributing Guide has been added (#732)
+ A new configuration option to set the footnote separator has
been added. Also, the rel and rev attributes have been
removed from footnotes as they are not valid in HTML5. The
refs and backrefs classes already exist and serve the same
purpose (#723).
+ A new option for toc_depth to set not only the bottom section
level, but also the top section level. A string consisting of
two digits separated by a hyphen in between ("2-5"), defines
the top (t) and the bottom (b) (<ht>..<hb>). A single integer
still defines the bottom section level (<h1>..<hb>) only.(#787)
* The following bug fixes are included in the 3.1 release:
+ Update CLI to support PyYAML 5.1.
+ Overlapping raw HTML matches no longer leave placeholders
behind (#458).
+ Emphasis patterns now recognize newline characters as
whitespace (#783).
+ Version format had been updated to be PEP 440 compliant
(#736).
+ Block level elements are defined per instance, not as class
attributes (#731).
+ Double escaping of block code has been eliminated (#725).
+ Problems with newlines in references has been fixed (#742).
+ Escaped # are now handled in header syntax (#762).
- remove yaml5.patch: merged upstream
* Fri Mar 15 2019 tchvatal@suse.com
- Fix build with PyYAML > 5:
* yaml5.patch
* Wed Jan 02 2019 badshah400@gmail.com
- Update to version 3.0.1:
* Brought back the `version` and `version_info` variables
(gh#Python-Markdown/markdown#709).
* Added support for hexadecimal HTML entities
(gh#Python-Markdown/markdown#712).
* Mon Dec 10 2018 tchvatal@suse.com
- Fix fdupes call
* Thu Oct 18 2018 benoit.monin@gmx.fr
- update to version 3.0: major release
* backwards-incompatible changes:
+ enable_attributes keyword deprecated
+ smart_emphasis keyword and smart_strong extension deprecated
+ output_formats simplified to html and xhtml
+ safe_mode and html_replacement_text keywords deprecated
+ Positional arguments deprecated
+ Extension name behavior has changed
+ Extension configuration as part of extension name deprecated
+ HeaderId extension deprecated
+ Homegrown OrderedDict has been replaced with a purpose-built
Registry
+ Markdown class instance references
+ markdown.util.isBlockLevel deprecated
+ md_globals keyword deprecated from extension API
+ Added new, more flexible InlineProcessor class
* new features:
+ a new testing framework is included as a part of the Markdown
library, which can also be used by third party extensions
+ a new toc_depth parameter has been added to the Table of
Contents Extension
+ new toc_tokens attribute has been added to the Markdown class
by the Table of Contents Extension
+ when the Table of Contents Extension is used in conjunction
with the Attribute Lists Extension and a data-toc-label
attribute is defined on a header, the content of the
data-toc-label attribute is now used as the content of the
Table of Contents item for that header
+ additional CSS class names can be appended to Admonitions
- update and adapt the patch for python-3.7:
* add markdown-3.0-python37.patch
* remove markdown-2.6.11-python37.patch
- run the tests via unittest discover
- remove nose from BuildRequires: not used anymore
* Tue Aug 07 2018 tchvatal@suse.com
- Add patch to build with python 3.7:
* markdown-2.6.11-python37.patch
* Mon Mar 19 2018 tchvatal@suse.com
- Add build/runtime dependency over setuptools wrt bsc#1079287
- Remove python-devel dependency which is not really needed