Skip to content

Source map support

Compare
Choose a tag to compare
@hildjj hildjj released this 28 May 17:17
· 480 commits to main since this release
edec7a0

Major Changes

  • #163: Add support for
    generating source maps, from @Mingun
  • #160: Introduce an API for
    reporting errors, warnings and information messages from passes. New API
    allows reporting several diagnostics at once with intermediate results
    checking after each compilation stage, from @Mingun
  • #218: Add a sourceMappingURL
    to the generated code, from @hildjj
  • #248: Remove support for
    Node.js version 10. When updating dependencies, too many of the tools we
    use no longer work on the Node 10, which went out of security maintenance
    more than a year ago. Added support for Node.js version 18, from @hildjj
  • #251: Make commander and
    source-map-generator full dependencies. These are not needed for the
    pre-packaged web build, but will be used by Node or people that are doing
    their own packaging for the web, from @hildjj

Minor Changes

  • #167: New CLI, from @hildjj
    • Backward compatible with the previous
    • New -t/--test and -T/--testfile flags to directly test the generated grammar
  • #169: Expose string escape
    functions, stringEscape() and regexpClassEscape(), from @hildjj
  • #175: Check allowedStartRules
    for validity, from @hildjj
  • #185: Updated eslint rules,
    from @hildjj
  • #196: Add example grammars for
    XML and source-mapping, from @hildjj
  • #204: Increase coverage for the
    tests, from @Mingun
  • #210: Refactor CLI testing,
    from @hildjj

Bug fixes

  • #164: Fix some errors in the
    typescript definitions, from @Mingun
  • #170: Add
    missing argument in function call, from @darlanalves
  • #182: Fix typo in
    documentation, from @zargold
  • #197: Fix a regression of
    redundant commas in the character classes in the error messages, introduced
    in fad4ab7, from @Mingun
  • #198: Make all build scripts
    run on Windows, from @hildjj
  • #199: Test web version locally,
    using puppeteer, from @hildjj
  • #211:Command-line -t requires
    from wrong directory, from @hildjj
  • #212: Parse errors with zero
    length give badly-formatted errors, from @hildjj
  • #214: Failing tests don't
    format errors
  • #216: Fix typescript
    definition of SyntaxError, from @cmfcmf
  • #220: Fix rollup warnings,
    from @hildjj