All Versions
100
Latest Version
Avg Release Cycle
40 days
Latest Release
916 days ago

Changelog History
Page 1

  • v15.1.0 Changes

    June 01, 2020

    ๐Ÿ”‹ Features

    • experimental: Support using --all with node.js ESM (#1320) (992359a)
  • v15.0.1 Changes

    April 02, 2020

    ๐Ÿ› Bug Fixes

  • v15.0.0 Changes

    December 20, 2019

    โš  BREAKING CHANGES

    • ๐Ÿ”Œ The flow and jsx parser plugins are no longer 0๏ธโƒฃ enabled by default.
    • Node.js 8 is now required to run nyc
    • Remove NYC_ROOT_ID and NYC_INSTRUMENTER environmental variables.
    • ๐Ÿšš The root field has been removed from processinfo files.

    ๐Ÿ”‹ Features

    • โž• Add --use-spawn-wrap=true option (#1169) (df4de4d)
    • โž• Add .cjs, .mjs, .ts, .tsx, .jsx to default extensions (#1110) (914b776), closes #1103
    • ๐Ÿ‘ Allow nyc instrument to instrument code in place (#1149) (7783284)
    • โฌ†๏ธ Drop node.js 6, upgrade dependencies (#1134) (00c3b34)
    • Filenames relative to project cwd in coverage reports (#1212) (5258e9f)
    • ๐Ÿ‘‰ Use @istanbuljs/schema for yargs setup (#1194) (fd40d49)
    • ๐Ÿ‘‰ Use istanbul-lib-processinfo (#1145) (7943413)
    • ๐Ÿ‘‰ Use source base name to prefix cache files (#1144) (5c1b7a9)

    ๐Ÿ› Bug Fixes

    • ๐Ÿšฆ Avoid source-map module during signal-exit handler (#1191) (83eb629)
    • ๐Ÿ‘ Better error handling for main execution, reporting (#1229) (dfd629d)
    • Correct handling of source-maps for pre-instrumented files (#1216) (8411a26), closes #1208
    • โฌ‡๏ธ Drop coverage produced by nyc --all for files that were tested (#1155) (fc1bbbf), closes #1113 #1124 #1148
    • 0๏ธโƒฃ Honor eager setting (false by default) (#1179) (c18fb0a)
    • โœ‚ Remove vestigial environment variables (#1078) (cfd3da0)
  • v14.1.1 Changes

    May 09, 2019

    ๐Ÿ› Bug Fixes

    • check-coverage: make the --temp-dir option visible (#1101) (b5b67de)
    • cli: Report error if unwanted positional arguments are received (#1100) (57debc1), closes #401
  • v14.1.0 Changes

    April 24, 2019

    ๐Ÿ› Bug Fixes

    • Do not crash when nyc is run inside itself. (#1068) (c4fcf5e), closes #1067
    • Exit with code 1 when nyc doesn't know what to do. (#1070) (21fb2c8)
    • Purge source-map cache before reporting if cache is disabled. (#1080) (3d9eaa4)
    • ๐Ÿ”Œ Use correct config property for parser plugins (#1082) (a7bc7ae)

    ๐Ÿ”‹ Features

    • โž• add support for yaml configuration file (#1054) (ca37ffa)
  • v14.0.0 Changes

    April 15, 2019

    ๐Ÿ› Bug Fixes

    • โž• Add cwd option to instrument command (#1024) (051d95a)
    • โž• Add config values to hash salt (#988) (7ac325d), closes #522
    • Exclude negated not working with '--all' switch (#977) (91de23c)
    • ๐Ÿ‘‰ Make --all work for transpiled code (#1047) (18e04ba)
    • Resolve absolute paths in nyc instrument (#1012) (3cb1861), closes #1014
    • Set processinfo pid/ppid to actual numbers (#1057) (32f75b0)
    • ๐Ÿ‘‰ Use a single instance of nyc for all actions of main command. (#1059) (b909575)

    ๐Ÿ”‹ Features

    • โž• Add delete option to instrument command (#1005) (d6db551)
    • โž• Add include and exclude options to instrument command (#1007) (8da097e)
    • โž• Add processinfo index, add externalId (#1055) (8dcf180)
    • โž• Add support for nyc.config.js (#1019) (3b203c7)
    • โž• Add support to exclude files on coverage report generation (#982) (509c6aa)
    • โž• Add test-exclude args to check-coverage and report subcommands. (0fc217e)
    • ๐Ÿ— Always build the processinfo temp dir (#1061) (c213469)
    • Enable es-modules option for nyc instrument command (#1006) (596b120)
    • ๐Ÿ›  Fix excludeAfterRemap functionality. (36bcc0b)
    • Implement nyc instrument --complete-copy (#1056) (2eb13c6)
    • โœ‚ Remove bundling (#1017) (b25492a)
    • ๐Ÿ‘Œ Support turning off node_modules default exclude via exclude-node-modules option (#912) (b7e16cd)
    • โž• Add support for --exclude-node-modules to subcommands. (#1053) (e597c46)

    ๐Ÿ’ฅ BREAKING CHANGES

    • 0๏ธโƒฃ The --exclude-after-remap option is now functional and enabled by default. This causes the include, exclude and extension lists to be processed after using source maps to determine the original filename of sources.
    • โž• Add a file named 'index.json' to the .nyc_output/processinfo directory, which has a different format from the other files in this dir.
    • ๐Ÿ”„ Change the data type of the pid/ppid fields in processinfo files
    • nyc instrument now honors include and exclude settings, potentially resulting in some files that were previously instrumented being ignored.
    • ๐Ÿ”Œ The plugins option has been renamed to parser-plugins.
    • The logic involving include/exclude processing has changed. Results should be verified to ensure all desired sources have coverage data.
    • 0๏ธโƒฃ nyc instrument now enables the --es-module option by default. This can cause failures to instrument scripts which violate 'use strict' rules.
  • v13.3.0 Changes

    February 14, 2019

    ๐Ÿ› Bug Fixes

    • โšก๏ธ update dependencies due to vulnerabilities (#992) (e8cc59b), closes #991

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support nyc report --check-coverage (#984) (dd48410)
  • v13.2.0 Changes

    January 27, 2019

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • avoid hardcoded HOME for spawn-wrap working dir (#957) (ff834aa), closes #951
    • ๐Ÿ”ง document the fact that cacheDir is configurable (#968) (35cd49a)
    • ๐Ÿ”Œ Option Plugins (#948) (df2730d)
  • v13.1.0 Changes

    September 06, 2018

    ๐Ÿ”‹ Features

    • โฌ†๏ธ Bump dependencies. (#915) (0b3d2cf)
    • ๐Ÿ“‡ Rename --temp-directory option to --temp-dir (#897) (ccf42df)
  • v13.0.1 Changes

    July 24, 2018

    ๐Ÿ› Bug Fixes

    • โž• add flag to allow control of instrumenter esModules option, default to looser parsing (#863) (6b6cd5e)
    • 0๏ธโƒฃ Enable es-modules by default. (#889) (d0b76e2), closes #796
    • โšก๏ธ Update caching-transform options. (#873) (52b69ef)
    • ๐Ÿ‘‰ use uuid/v4 to generate unique identifiers. (#883) (7483ed9)