Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.41 KB

CHANGELOG.md

File metadata and controls

42 lines (32 loc) · 1.41 KB

ChangeLog

1.3.1 - Nov 14, 2015

  • Fixed only able to set one var at at time.

1.3.0 - Nov 12, 2015

  • Auto wrapping of generators now throws a TypeError if an undefined value is used. ** This is useful for large grammars because having undefined values is almost always a coding error.
  • Further clarified behavior of pep.str(). ** Now will always convert input arg to string, even if the arg is undefined.
  • Changed opt and many and many1 to throw a RangeError instead of a custom error type.
  • Allow seqa to take any array-ish object instead of requiring a real array.

1.2.0 - Nov 10, 2015

  • Expose getRandom to get the current random number generator.

1.1.1 - Nov 10, 2015

  • Allow undefined to be used as default value in get.

1.1.0 - Nov 9, 2015

  • Added seqa generator. ** Same as seq but takes an array-ish of generators.
  • Use array literals to express sequences in grammars: ** pep.choice(['a', 3], ['b', 4]) Yields either 'a' then '3', or 'b' then '4'.

1.0.3 - Nov 9, 2015

  • Further perf improvements for run.

1.0.2 - Nov 9, 2015

  • Perf improvements and internal cleanup.
  • Remove need for babel-polyfill dep.
  • Allow generators to be directly as iterators. ** `Array.from(pep.seq(1, 2, 3)) === ['1', '2', '3']

1.0.1 - Nov 8, 2015

  • Corrected babel-polyfill being listed as a dev dep.

1.0.0 - Nov 8, 2015

  • Real initial release.

0.0.0 - Nov 7, 2015

  • Initial Release