- This version works with CoffeeScript v2
- Add support for nyc.
- #71: Accept globs as excludes Many thanks to dbartholomae for this much requested feature. Note that excludes will still match if they are prefixes (so you can still use /node_modules to eliminate everything in the /node_modules folder), but you can also use globs here.
- #64: Add
postProcessors
option toregister()
and deprecatestreamlinejs
option.
- Fix weird corner case if statement.
- Better streamline support.
- Add support for caching files between runs.
- Fix for istanbul instrumentation for
if
expressions that are implicit returns and are missing anelse
.
- Added support for Istanbul. (thanks to Carsten Klein for some help and suggestions.)
- Added support for pragmas.
- Dropped support for node.js v0.6.x.
coffee-coverage/register
now instruments all js files in the CWD by default (instead of only files which get loaded.) You can disable this behavior by setting theCOFFEECOV_INIT_ALL
environment variable to 'false'.
Breaking changes:
CoverageInstrumentor.instrumentCoffee()
now expects an absolute path for a file. It will probably continue to work, even if you pass a relative path, though.
- Compatibility fix for coffee-script 1.9.1 (thanks technogeek00)
- Make the behavior of "skip" be consistent between CLI and dynamic compilation.
- Drop use of Cakefile for builds.
- Add coffee-coverage/register for easier mocha testing (thanks devongovett)
- Fix exclude bug when dynamically instrumenting files.
- Fix async bug when creating new directories (thanks can3p).
- Add support for literate CoffeeScript (thanks frozenice-).
- Add support for dynamically compiling .coffee and ._coffee files on the fly. (Special thanks to sivad77 for the suggestion.)
- Experimental support for streamlinejs.
- Force coffeescript to disable chaining of if/else if statements during compile. This fix is required for coffee-script 1.6.3 and higher.
- Add '--bare' option (thanks effata!)
- Update to Coffee-Script >=1.6.2.
- Update to Coffee-Script 1.6.1.
-Ran into a strange bug in Coffee-Script 1.5.0 that's fixed in git, so I switched the dependency to the latest Coffee-Script for now. Basically this:
done null, _.extend
myObj: "foo"
doesn't compile the way you would expect it to.
-Switch over to official Coffee-Script (v.1.5.0 or higher) -Bug fix from vslinko for writing files synchronously.
-Bug fix from dstokes for recursively creating directories.
-Fix bug in "abbr" paths when path is absolute (starts with "/").
-Fix bug which stopped -i option from working.
- Added '-i' option to specify an 'init' file.
- Changed return value of CoverageInstrumentor.instrumentCoffee - now returns an "init" and a "js" which must be concatenated to get fully instrumented source.