Skip to content

Latest commit

 

History

History
110 lines (70 loc) · 4.25 KB

CHANGELOG.md

File metadata and controls

110 lines (70 loc) · 4.25 KB

Change Log

All notable changes to this project will be documented in this file. Only versions published since 2022-01-01 are listed here. Please consult the Git history for older version information. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

2.6.0 (2025-01-21)

🚀 Features

  • expose more built-in grammar presets (6e5a057)
    • expose as new builtins:
      • BINARY_UINT
      • HEX_UINT
      • SPACE
      • UINT

⏱ Performance improvements

  • optimize char selection grammar compilation (0476baa)
    • check if char selection only contains characters (no ranges)
    • if so, compile using oneOf() instead of alt() (avoiding extra level of iteration)
  • update grammar rule compilation (8341af6)
    • avoid dynamic() wrapper for grammar rules which don't require it (to avoid extraneous indirection)

2.5.0 (2025-01-17)

🚀 Features

  • update DynamicParser, add IDeref support (cf0d51c)

♻️ Refactoring

  • remove ParseState.last, update IReader & impls (20fc5cf)
    • remove ParseState.last to lower RAM usage
    • add IReader.prev() to obtain previous char, add docs
    • update reader impls
    • update anchor parsers
    • update tests
  • minor internal updates (ef97aee)
    • update ParseContext.start()
    • update check() combinator impl

2.4.64 (2025-01-14)

♻️ Refactoring

2.4.52 (2024-08-29)

⏱ Performance improvements

  • update ParseState & ParseScope handling (result: 1.2-1.6x faster) (c94b5cf)
    • refactor ParseState/Scope as data classes (keep same structure)
    • minor update scope transforms
    • update tests

2.4.43 (2024-06-21)

♻️ Refactoring

  • rename various rest args to be more semantically meaningful (8088a56)
  • enforce uniform naming convention of internal functions (56992b2)

2.4.5 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

2.4.0 (2023-09-19)

🚀 Features

  • add ParseContext.peakDepth, update recursion limit (0a2b7db)

2.3.0 (2023-09-06)

🚀 Features

2.2.0 (2022-06-15)

🚀 Features

  • add new transformers (json, numbers) (2087131)
    • add xfJson(), json() transform
    • add int(), hexInt(), float() transform syntax sugar
    • add json as built-in tx for grammar

2.1.8 (2022-06-09)

♻️ Refactoring

  • various (minor) TS4.7 related updates/fixes (9d9ecae)

2.1.5 (2022-03-11)

♻️ Refactoring