Skip to content

Releases: earwig/mwparserfromhell

version 0.7.2

Choose a tag to compare

@earwig earwig released this 01 Jul 05:14
v0.7.2
  • Fix building on non-CPython implementations like PyPy. (#341)
  • Improve typing.

version 0.7.1

Choose a tag to compare

@earwig earwig released this 30 Jun 04:13
v0.7.1
  • Modernize packaging.
  • Explicitly support $WITH_EXTENSION/$WITHOUT_EXTENSION to control whether the C tokenizer should be built.
  • Fix building in C23 (e.g. in GCC 15). (#340)

version 0.7.0

Choose a tag to compare

@earwig earwig released this 29 Jun 00:01
v0.7.0
  • Dropped support for end-of-life Python 3.8.
  • Added support for Python 3.13.
  • Added type hints and fixed various type-checker complaints. (#338)
  • Added after parameter to Template.add(). (#281, #315)
  • Added Template.update() method to set multiple parameters at once. (#337)

version 0.6.6

Choose a tag to compare

@earwig earwig released this 04 Jan 06:41
v0.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

Choose a tag to compare

@earwig earwig released this 05 Sep 05:09
v0.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

Choose a tag to compare

@earwig earwig released this 14 Feb 07:37
v0.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

Choose a tag to compare

@earwig earwig released this 02 Sep 06:12
v0.6.3
  • Added Linux AArch64 wheels. (#276)
  • Fixed C integer conversion, manifesting as parsing errors on big-endian platforms. (#277)

version 0.6.2

Choose a tag to compare

@earwig earwig released this 16 May 06:34
v0.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

Choose a tag to compare

@earwig earwig released this 21 Dec 09:45
v0.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

Choose a tag to compare

@earwig earwig released this 15 May 04:06
v0.5.4
  • Fixed an unlikely crash in the C tokenizer when interrupted while parsing a heading.