Skip to content

Releases: earwig/mwparserfromhell

version 0.6.6

04 Jan 06:41
v0.6.6
Compare
Choose a tag to compare
  • 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

05 Sep 05:09
v0.6.5
Compare
Choose a tag to compare
  • 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

14 Feb 07:37
v0.6.4
Compare
Choose a tag to compare
  • 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

02 Sep 06:12
v0.6.3
Compare
Choose a tag to compare
  • Added Linux AArch64 wheels. (#276)
  • Fixed C integer conversion, manifesting as parsing errors on big-endian platforms. (#277)

version 0.6.2

16 May 06:34
v0.6.2
Compare
Choose a tag to compare
  • 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

21 Dec 09:45
v0.6
Compare
Choose a tag to compare

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

15 May 04:06
v0.5.4
Compare
Choose a tag to compare
  • Fixed an unlikely crash in the C tokenizer when interrupted while parsing a heading.

version 0.5.3

31 Mar 03:07
v0.5.3
Compare
Choose a tag to compare
  • 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

02 Nov 03:40
v0.5.2
Compare
Choose a tag to compare
  • 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

03 Mar 18:44
v0.5.1
Compare
Choose a tag to compare
  • 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)