Releases: Sage/streamlinejs
v0.10.1
No new features but bug fixes on 0.10.0
#133: register extensions before starting the REPL
#168, #171 and #172: callbacks getting called twice
#174: compiled flows._js
#175: compilation fails with sourcemap if file does not contain async calls
#177: client side examples and unit tests broken by recent changes
I strongly recommend upgrading to 0.10.1 because it fixes an important bug introduced by 0.10.0 (callbacks getting called twice). You should also upgrade if you used the master branch between 0.10.0 and 0.10.1 because some unit tests were broken and only fixed by #177
v0.10.0
WARNING: The "futures" syntax has changed!!! You can activate the old syntax with the --old-style-futures option. See issue #164 for details.
#111 Support non empty case clause that flows into next clause
#115 Compile to JS without further dependencies
#133 Streamline REPL!
#164 Enforce explicit syntax for futures
#165 Support options to require 'streamline/register'
via opts file
#166 New source map options: --map
#168 Bug: callback gets called twice on error in callbacks mode
#169 command.getOptions() API (for coffeeCoverage)
#170 Bug: fibers mode not preserving line numbers when invoking non-streamline functions, if the call spans multiple lines
I did not much have time to test the last features (REPL, --standalone option) but please try them out and submit issues. I'll release a 0.10.1 with bug fixes.
v0.8.1
v0.8.0
I just created a new stable branch and published 0.8.0 to NPM.
List is not very long but there are some nice features:
- sourcemap support (special thanks to Geoffry Song)
- fast mode (see https://github.com/Sage/streamlinejs/wiki/Fast-mode)
- [_] syntax to handle callbacks with multiple results (see README).
- cacheDir option to configure location of cache directory
- warning on modules that contain top-level async calls (only active in verbose mode)
I moved a few modules to separate packages:
- streams wrappers -> streamline-streams
- doctool utility -> streamline-doctool
I also did a bit of cleanup and removed some obsolete features:
- the require('streamline/module')(module) hack to enable streamline in *.js files
- the *_.js syntax for streamline source files.
In short, you have to switch to the *._js and *._coffee extensions if you were using older ways to activate streamline on *.js files.
v0.6.0
This is the beginning of a new stable branch. I reviewed all the diffs between the v0.4 branch and master and I merged all the fixes from both into 0.6.0.
I moved the "futures timeout and cancellation API" experiment to a separate branch. So all the experimental features (*) are now in feature branches and the master is aligned on 0.6.0 (except for the version number which is bumped to 0.7.0 in the master). There is no guarantee that any of these experiments will ever get published in a stable version.
(*) except for the --generators option that I am now including by default because it passes all unit tests and seems pretty solid.
This version fixes some recently reported issues:
#149 streamline-express broken with fibers; works with callbacks (Brian Downing)
#148 _getEncoding() should be less aggressive in returning utf8 (Anurag Biyani)
#147 Support harmony generators
#146 Different behavior with and without fibers, at least in mocha (Brian Downing)
I have also done some cleanup and debugging on the stacktrace feature. In callbacks and generators modes, the stack string now contains both the reconstructed stack and the raw stack and they are clearly delimited. In fibers mode, I fixed a bug which caused incomplete stacktrace when execeptions were thrown from futures. The "stack-test" unit tests now pass in the 3 modes.