PEGTL v2.8.0 Release Notes

Release Date: 2019-04-09 // about 5 years ago
    • Use the migration guide when updating.
    • ๐Ÿ”„ Changed enumerators to lowercase.
      • Renamed tracking_mode::IMMEDIATE to tracking_mode::eager.
      • Compatibility enumerators with uppercase names are still included.
      • Will be removed in version 3.0.0.
    • Renamed peek_byte() to peek_uint8().
      • Compatibility member functions with previous names are still included.
      • Will be removed in version 3.0.0.
    • ๐Ÿ‘ Allowed actions to implement match.
    • Made deriving action class templates from nothing optional.
    • Added debug tools require_apply and require_apply0.
    • โž• Added combinator class rematch.
    • ๐Ÿ‘Œ Improved the Parse Tree / AST interface to mostly hide its internal state.
    • โž• Added new action-based helpers change_*.hpp.
      • The control-based helpers in contrib/changes.hpp are still included.
      • Will be removed in version 3.0.0.
    • Added new action-based helpers disable_action.hpp and enable_action.hpp.
    • Added new action-based helpers discard_input.hpp, discard_input_on_success.hpp, and discard_input_on_failure.hpp.
    • โž• Added Clang Static Analyzer to the CI build.
    • โž• Added new Makefile target amalgamate to generate a single-header version of the PEGTL.
    • ๐Ÿ Added support for Universal Windows Platform (UWP).