Skip to content

v0.7.0

Compare
Choose a tag to compare
@thunderer thunderer released this 18 Dec 23:30
· 24 commits to master since this release
ccf16e8
  • many RegularParser improvements and fixes:
    • backtracks now rely on their offsets only, this is an over 10x performance and memory usage improvement which evens its performance with other parsers while still keeping its feature advantage,
    • subsequent non-token text fragments are now reported as single T_STRING tokens,
    • fixed #70, preg_match_all() with large inputs was sometimes silently failing and returning only subset of matches which reduced the number of reported shortcodes,
    • fixed #58 where invalid token sequences in shortcode content may confuse the parser,
    • inlined content() method effectively halving the call nesting level,
    • disabled xdebug.max_nesting_level during parse() to prevent development environment parsing errors,
  • added support for PHPUnit 6.x with fallback translation for PHP 5.x compatibility,
  • dropped PHP 5.3 (still supported) and added PHP 7.2 from Travis matrix,
  • asterisk * is now a valid shortcode name,
  • minor internal Processor improvements,
  • minor README updates.