Releases: earwig/mwparserfromhell
Releases · earwig/mwparserfromhell
version 0.6.6
- Dropped support for end-of-life Python 3.7.
- Added support for Python 3.12.
- Raised nested node depth limit from 40 to 100 to match current MediaWiki. (#313)
version 0.6.5
- Dropped support for end-of-life Python 3.6.
- Added support for Python 3.11.
- Fixed parsing of leading zeros in named HTML entities. (#288)
- Fixed memory leak parsing tags. (#303)
- Fixed pickling SmartList objects. (#289)
version 0.6.4
- Dropped support for end-of-life Python 3.5.
- Added support for Python 3.10. (#278)
- Fixed a regression in v0.6.2 that broke parsing of nested wikilinks in file captions. For now, the parser will interpret nested wikilinks in normal links as well, even though this differs from MediaWiki. (#270)
version 0.6.3
- Added Linux AArch64 wheels. (#276)
- Fixed C integer conversion, manifesting as parsing errors on big-endian platforms. (#277)
version 0.6.2
- Improved parsing of external links. (#232)
- Fixed parsing of nested wikilinks.
- Ported tests to pytest. (#237)
- Moved mwparserfromhell package to src/ dir.
- There was no 0.6.1 release due to a packaging error.
version 0.6
Thanks to everyone for their patience with this release!
- Breaking change: dropped support for end-of-life Python 2.7 and 3.4.
- Added support for Python 3.8 and 3.9.
- Added binary wheels for Linux and macOS.
- Updated
Wikicode.matches()
to recognize underscores as being equivalent to spaces. (#216)
- Added a
default
parameter to Template.get()
, and implement dict-style item access for template parameters. (#252)
- Fixed a rare parsing bug involving deeply nested style tags. (#224)
- Fixed parsing of section headings inside templates. (#233)
- Updated HTML tag definitions.
- Internal refactoring and cleanup.
version 0.5.4
- Fixed an unlikely crash in the C tokenizer when interrupted while parsing a heading.
version 0.5.3
- Fixed manual construction of Node objects, previously unsupported. (#214)
- Fixed Wikicode transformation methods (
replace()
, remove()
, etc.) when passed an empty section as an argument. (#212)
- Fixed the parser getting stuck inside malformed tables. (#206)
version 0.5.2
- Dropped support for end-of-life Python versions 2.6, 3.2, 3.3. (#199, #204)
- Fixed signals getting stuck inside the C tokenizer until parsing finishes,
in pathological cases. (#206)
- Fixed not being considered a single-only tag. (#200)
- Fixed a C tokenizer crash on Python 3.7 when compiled with assertions. (#208)
- Cleaned up some minor documentation issues. (#207)
version 0.5.1
- Improved behavior when adding parameters to templates (via
Template.add()
) with poorly formatted whitespace conventions. (#185)
- Fixed the parser getting stuck in deeply nested HTML tags with unclosed, quoted attributes. (#190)