Shortcode Versions Save

Advanced shortcode (BBCode) parser and engine for PHP

v0.7.5

2 years ago
  • full Psalm type coverage,
  • moved from Travis to GitHub Actions,
  • support for PHP 8.1,
  • CI runs Infection.

v0.7.4

4 years ago

v0.7.3

4 years ago

Fixed PHP 7.4 compatibility errors reported in #81 and #82.

v0.7.2

5 years ago

Fixed #77, merged quality of life improvements from #73.

v0.7.1

5 years ago

Fixed #74.

v0.7.0

5 years ago
  • 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.

v0.6.5

7 years ago

Extended parameter simple values possible value range, #44.

v0.6.4

7 years ago

Fixed minor WordPress compatibility issue with content detection in WordpressParser.

v0.6.3

7 years ago

Fixed bug happening when computing replacement of shortcode without handler that contained multibyte content.

v0.6.2

8 years ago

Fixed issue with parsing shortcode tokens inside shortcode content.