Skip to content

Latest commit

 

History

History
124 lines (76 loc) · 4.4 KB

Changelog.md

File metadata and controls

124 lines (76 loc) · 4.4 KB

Changelog

Version 4.2.1

  • Added #113 Added missing type exports for: TsPegjsParserBuildOptions and TsPegjsOptions by @ppodds

Version 4.2.0

  • Added #111 Emit all type aliases as default by @ppodds

Version 4.1.1

  • Fix #109 Add shebang to bash scripts in vite by @siefkenj

Version 4.1.0

  • Fix #103 Fix exception handler export: PeggySyntaxError & DefaultTracer
  • Fix #104 Rename grammarSource->source
  • Feature #105 Add ability to specify --dependency style deps by @siefkenj
  • Upgrade to rimraf 5.0 adding --glob

Version 4.0.0

  • #97 Ported project to TS. Thansk to @siefkenj
  • #98 Use os ts-morph to infer the type for the rules. Thansk to @siefkenj

Version 3.2.0

  • Added PR #94 Converted to vite build and esm. Thansk to @siefkenj

Version 3.1.0

  • Added PR #91 Convert new peggy --dependencies or --dependency into TypeScript imports. Thanks to @M00TSDNS

Version 3.0.0

Breaking changes!

  • Breaking change: Default for errorName changes from SyntaxError to PeggySyntaxError from #86. Reason: better aligment with Peggy. Allow users to override SyntaxError native type.
  • Breaking change: Exported Interfaces now does not have the I prefix from #75. Reason: follow TypeScript conventions for interfaces with no prefix.
    Interface Renamed to
    IParseOptions ParseOptions
    ICached Cached
    ITraceEvent TraceEvent
    IEndExpectation EndExpectation
    IOtherExpectation OtherExpectation
    IAnyExpectation AnyExpectation
    IClassExpectation ClassExpectation
    IClassParts ClassParts
    ILiteralExpectation LiteralExpectation
    IFileRange FileRange
    IFilePosition FilePosition

Version 2.2.1

  • Fix #84 Same convention as peggy. Make grammarSource optional.

Version 2.2.0

  • Added support for option errorName#86 Thanks to @iccicci. Needed after a breaking change in peggy.

Version 2.1.0

  • Add support for the pluck operator. Thanks to @hildjj. #66

Version 2.0.2

  • Fix breaking change on peggy-to-plugin integration to receive peggy options. #79

Version 2.0.1

  • Added support for peggy 2.0.1
  • Fix #78
  • Fix missing helper function

Version 1.2.2

  • Remove prod. dependency for peggy #65
  • Added more tests.
  • Update libs.

Version 1.2.1

  • Fix src Type for IntelliJ #70.

Version 1.2.0

  • Add SyntaxError.format method #67.
  • Now requires output to be ES6 at minimum (string.repeat needed).

Version 1.1.1

2021.07.02

  • Add missing file to package.json #64.

Version 1.1.0

2021.07.02

  • Small changes for peggy #61.
  • Fixed peggy dependency version #62.
  • Added top level initializer block #63.
  • Update libs to latests versions.

Version 1.0.0

2021.05.26

  • Major change: #59. Changed dependency from pegjs (unmantained) in favour of peggy (a sensible mantained successor).

Version 0.3.1

2021.02.09

  • Fix #53. Errata in --allowed-start-rules.

Version 0.3.0

2020.12.31

  • Added ESLint for checking TS.
  • Removed support for TSLint rules. Removed options: noTslint and tslintIgnores