Skip to content

Latest commit

 

History

History
223 lines (130 loc) · 6.11 KB

CHANGELOG.md

File metadata and controls

223 lines (130 loc) · 6.11 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.2.1 - 2019-07-20

1.2.0 - 2019-03-14

1.0.4 - 2019-01-30

1.0.3 - 2019-01-11

Added

  • Added Microgrammar.matchIterator convenience generator method
  • Added Microgrammar.fromDefinitionsAs and fromStringsAs methods for convenient type inference

Changed

  • Stronger type inference to ensure that Microgrammar definitions match returned match interfaces

1.0.1 - 2018-11-09

1.0.0-M.4 - 2018-09-16

1.0.0-M.1 - 2018-08-28

Changed

  • Prepare for 1.0.0 release.

0.9.1 - 2018-08-22

Added

  • Add Concat to index.

0.9.0 - 2018-08-22

Added

  • Include "main" and "types" in package.json.

Changed

  • BREAKING Reorganize package to be have standard Node.js layout.
  • Update TypeScript and its configuration.
  • Removed TSLint rules that are already part of tslint:recommended.

Fixed

  • Do not run tests more than once.

0.8.1 - 2018-08-12

Added

  • index.ts file

Fixed

  • TypeDoc generation

0.8.0 - 2018-08-07

Added

  • Documentation
  • Declaration map

Changed

  • Allow multiple calls to init().
  • Update dependencies.
  • Tighten up TSLint rules and de-lint.

0.7.0 - 2017-10-03

Stricter release

Changed

  • Publish master and PR builds to Atomist NPM registry
  • Make TypeScript compilation more strict

0.6.2 - 2017-09-24

Update bugfix release.

Fixed

  • Guard for undefined access in some cases in microgrammar updates

0.6.1 - 2017-09-16

Circular reference support release.

Added

  • It's now possible to set definition members after initial construction, to enable circular references. See Concat.lazy

Changed

  • Concat constructor is now private. Use Concat.of static function instead

0.6.0 - 2017-07-30

Listener and fromString improvement release.

Added

  • Added listener mechanism and state machine support to InputState
  • Added firstOf convenience function to create Alt instances
  • Added nesting support via fromString function for Microgrammar.fromString
  • Introduced FromStringOptions to customize Microgrammar.fromString behavior
  • Added FromStringOptions.ellipsis option for Microgrammar.fromString specs to skip over intervening content without binding. Defaults to ....
  • Added FromStringOptions.componentPrefix option for Microgrammar.fromString specs to specify component prefix. Defaults to former $.

Changed

  • Breaking Unified "block" support to a handle C family languages in a consistent manner, rather than just Java
  • Fixed skipTo where target matcher is a non-terminal
  • Fixed Integer to accept 0 but not accept a pattern with a leading 0

0.5.1 - 2017-07-09

Bug fix - remove cycle

Changed

  • Breaking Break is now for internal use, to avoid cycle with Concat. Use functions in Skip to achieve Break behavior.

0.5.0 - 2017-07-09

Config and context overhaul release

Added

  • Added flatten method for working with Opt
  • Tiered contexts for current parse and current match
  • Convenience functions atLeastOne and zeroOrMore for working with repetition
  • RestOfLine convenience matcher function

Changed

  • Breaking Configuration properties are now added to definition literals directly
  • Breaking Regex now adds a start anchor if none is specified
  • Breaking Concat moved to matchers directory as it should not be used directly by end users in most cases
  • Matches should now support JSON stringification with circularity

0.4.1 - 2017-07-04

Bugfix

Changed

  • Literal and Span were not fully implementing the matchPrefix of the MatchingLogic interface

0.4.0 - 2017-07-02

API clarification release

Added

  • exactMatch method on Microgrammar to insist on matching entire input.

Changed

  • Breaking Introduced matchers package. Broke skip and snobol functionality into own packages under it. Moved java under it.
  • Breaking Introduced spi and internal packages to clearly specify user API
  • Breaking Matcher properties with names starting with _ are no longer bound to the pattern match

0.3.11 - 2017-06-29

Performance release

Changed

  • Various performance improvements

0.2.0 - 2017-06-21

Alt release

Changed

  • Make Alt accept any number of alternatives

0.1.0 - 2017-06-20

Initial release