Skip to content

Releases: bigeasy/cadence

Cadence v4.0.0-alpha.6

01 Feb 04:52
Compare
Choose a tag to compare
Pre-release
  • Update LICENSE for current year.

Closes #386.

Cadence v4.0.0-alpha.5

17 Oct 15:36
Compare
Choose a tag to compare
Pre-release
  • Fix property read of null.

Closes #385.

Cadence v4.0.0-alpha.4

23 Jul 04:06
Compare
Choose a tag to compare
Pre-release
  • Build with Node.js 16 on GitHub Actions.
  • Build with Node.js 16 on Travis CI.

Closes #384.

Cadence v4.0.0-alpha.3

23 Mar 05:15
Compare
Choose a tag to compare
Pre-release
  • Fix Thenable misconceptions.

Closes #382.

Cadence v4.0.0-alpha.2

23 Mar 03:19
Compare
Choose a tag to compare
Pre-release
  • No longer building with Node.js 10 on CI/CD.

Closes #381.

Cadence v4.0.0-alpha.1

22 Mar 16:46
Compare
Choose a tag to compare
Pre-release
  • Caret pin Proof.
  • Build with Node.js 14, 15 on GitHub Actions.
  • Build with Node.js 14, 15 on Travis CI.
  • Update LICENSE for 2021.

Closes #380.

Cadence v4.0.0-alpha.0

02 Nov 04:52
Compare
Choose a tag to compare
Pre-release
  • Add support for promises. Closes #378.
  • Convert README.md to Markdown. Closes #372.
  • Tidy .gitignore. See #372.
  • Update .travis.yml for Proof 9.0.2. See #376.
  • Build with Actions, ship coverage to Codecov. Closes #375. Closes #374.
  • Build with Node.js 12 at Travis CI. Closes #377.
  • Upgrade proof to 9.0.2. Closes #376.
  • Update LICENSE for 2020. Closes #373.

Closes #379.

Cadence 0.0.42.

20 Sep 16:22
Compare
Choose a tag to compare

Object Extensions

If the first argument is an object with a method named step, invoke the step method with the step function and the variadic arguments. This is an extension mechanism. I've create an example event extension method.

Frames Tidy

Only use the frames array where necessary; when invoking the _step method and when jumping back to the start at the end of a loop.

Callback Creation Tidy

Arrayed or anonymous responses will create a callback from an arrayed creator an invoke it immediately. This is in lieu of using -1 as a special index value that means push to the end. Simplifies the code by eliminating special cases. Complicates the code by creating wrapper functions, but the wrapper functions are built on top of meaningful abstractions, not side-effects.

Reduce the minified and gzipped size of Cadence by converting a the named function createArray that is called once into an anonymous function.

The counter that determines when a step is finished was duplicated. It has been moved into a sub function.

Loops Always Expect an Array or Terminal

A loop always expects either an array to loop over or a terminal that will stop a count from zero. If the terminal is null, -1 or Infinity it will loop forever. The the terminal is some other unreachable nonsense, like an object, it will loop forever.

Catching undefined

Encountered a missing property error triggered when someone throws undefined. To fix, there must always be an errors array, even at the root caller frame.

  • Test that you can catch undefined. #218.
  • Unreachable counter means loop forever. #226.
  • Use frames stack only where necessary. #244.
  • Move callback counting into single function. #246.
  • Implement arrayed or optional responses without push. #235.
  • Remove createArray. #245.
  • Use frames stack only where necessary. #244.
  • Upgrade Proof to 0.0.48. #243.
  • Bouncier trampoline. #242.
  • Use assert in tests. #240.
  • Implement event extension. #241.
  • Implement extension via objects. #237.

Cadence 0.0.37.

03 Jun 06:31
Compare
Choose a tag to compare

Fix Looping Over Arrays of Arrays

Cadence was incorrectly flattening arrays of arrays passed to loops.

Issue by Issue

  • Release 0.0.37. #208.
  • Cadence loops flatten arrays of arrays. #207.
  • Add AMD bandages. #206.

Cadence 0.0.36

27 Feb 07:05
Compare
Choose a tag to compare

Issue by Issue

  • Release version 0.0.36. #204.
  • Remove unused fs from all tests. #203.
  • Add .todo.txt to .gitignore. #202.
  • Upgrade Proof to 0.0.42. #201.
  • Remove unused errors variable. #200.
  • Test arrayed step property assignment. #199.
  • Implement callbacked break out. #198.
  • Implement callbacked break up. #197.
  • Implement break up. #196.
  • Remove Label class. #195.
  • Implement jump out. #194.
  • Variable arguments last to counted or each loops. #193.