Skip to content

Latest commit

 

History

History
124 lines (79 loc) · 3.95 KB

CHANGELOG.md

File metadata and controls

124 lines (79 loc) · 3.95 KB

coffee-coverage Changelog

v3.0.0

  • This version works with CoffeeScript v2

v2.0.0

  • Add support for nyc.

v1.0.2

v1.0.0

  • #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.

v0.7.0

v0.5.3

v0.5.2

  • Fix weird corner case if statement.
  • Better streamline support.
  • Add support for caching files between runs.

v0.5.1

  • Fix for istanbul instrumentation for if expressions that are implicit returns and are missing an else.

v0.5.0

  • 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 the COFFEECOV_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.

v0.4.5

  • Compatibility fix for coffee-script 1.9.1 (thanks technogeek00)

v0.4.4

  • Make the behavior of "skip" be consistent between CLI and dynamic compilation.
  • Drop use of Cakefile for builds.

v0.4.3

  • Add coffee-coverage/register for easier mocha testing (thanks devongovett)

v0.4.2

  • Fix exclude bug when dynamically instrumenting files.

v0.4.1

  • Fix async bug when creating new directories (thanks can3p).

v0.4.0

  • Add support for literate CoffeeScript (thanks frozenice-).

v0.3.0

  • Add support for dynamically compiling .coffee and ._coffee files on the fly. (Special thanks to sivad77 for the suggestion.)
  • Experimental support for streamlinejs.

v0.2.0

  • Force coffeescript to disable chaining of if/else if statements during compile. This fix is required for coffee-script 1.6.3 and higher.

v0.1.4

  • Add '--bare' option (thanks effata!)

v0.1.3

  • Update to Coffee-Script >=1.6.2.

v0.1.2

  • Update to Coffee-Script 1.6.1.

v0.1.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.

v0.1.0

-Switch over to official Coffee-Script (v.1.5.0 or higher) -Bug fix from vslinko for writing files synchronously.

v0.0.6

-Bug fix from dstokes for recursively creating directories.

v0.0.5

-Fix bug in "abbr" paths when path is absolute (starts with "/").

v0.0.3

-Fix bug which stopped -i option from working.

v0.0.2

  • 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.