Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 1.0.0 #774

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

1.0.0 (2024-02-26)

⚠ BREAKING CHANGES

  • replace source-map with @jridgewell/trace-mapping (#685)
  • deps: minimum Node version bumped to 10.
  • istanbul-lib-instrument no longer uses babel
  • MapStore#transformCoverage is now async and returns a the coverage data only. The sourceFinder method is now async and provided directly on the MapStore instance.
  • The defaults for autoWrap, preserveComments, esModules and produceSourceMap are now true. This applies only to the stand-alone instrumenter, the visitor does not use these options.
  • sourceStore and tmpdir options are removed.
  • Existing istanbul-lib-report API's have been changed
  • Node.js 8 is now required
  • Remove configuration loading functionality
  • The istanbul-api module is now deprecated. Any modules which use istanbul-api should migrate.
  • coverage output can now contain Infinity, when a range extends past the source in a file.
  • Requires node >= 6.
  • This updated configuration requires babel-plugin-istanbul 5.0.0.
  • Support for Node.js 4.x is dropped.
  • the closure provied to hookRequire, hookRunInThisContext, etc., is now passed an object with a filename member, rather than a string representing filename.
  • a null prototype is now used in several places rather than the default {} assignment.
  • babel@7 drops Node@4 support

test-exclude

Features

  • ability to skip rows with full coverage (#170) (bbcdc07)
  • Accept SourceStore and sourceStoreOpts options (#482) (0dc45a6)
  • Add addInputSourceMapsSync and getSourceMapSync methods (#484) (dd7048e)
  • add additional patterns to default excludes (#133) (4cedf63)
  • Add bigInt and importMeta to default parser plugins. (#356) (fb4d6ed), closes #338
  • add filter to HTML report (#650) (eab47f7)
  • add line back to lcov.json (e31d2cb)
  • add line back to lcov.json (3a38ff2)
  • add nyc-config-babel preset config (8f6df0b)
  • add nyc-config-typescript (#282) (f1fb688)
  • Add option plugins (#205) (312f81f)
  • add possibility to filter coverage maps when running reports post-hoc (#24) (e1c99d6)
  • add skip-empty option for html & text reports (#140) (d2a4262)
  • add support for ignoring entire files (#108) (f12da65)
  • add support for object-spread syntax (#82) (28d5566)
  • add support for optional catch binding (#175) (088dd9f)
  • Add support for projectRoot option (#492) (177fd45)
  • Add TestExclude.globSync to find all files (#309) (2d7ea72)
  • add tests, README, etc (#4) (18417be)
  • add uncovered block navigation (#136) (c798930)
  • added named anchors to code coverage line numbers. (#149) (98e1c50)
  • adds line number property back to coverage.json (b03b927)
  • allow an input source-map to be passed to instrumentSync() (#23) (b08e4f5)
  • allow custom reporters to be loaded (#155) (6d89cca)
  • allow FileCoverage to be initialized with logical tracking (#644) (4cb5af1)
  • allows an array of ignored method names to be provided (#127) (67918e2)
  • Convert to async API (#489) (f8ebbc9)
  • Create @istanbul/nyc-config-hook-run-in-this-context. (#332) (3111b9d)
  • dont skip for loop initialization instrumentation (#188) (2e0258e)
  • Enable classProperties and classPrivateProperties parsers and coverage. (#379) (c09dc38)
  • exclude Empty Object and Arrays in Truthy Detection (#666) (e279684)
  • explicitly call babel-register (0d4ebbd)
  • Honor summarizer for text report (#599) (c155900)
  • hook vm.runInContext (#90) (9659936)
  • hookRunInThisContext now takes options object rather than filename (#99) (1504374)
  • Ignore babel.config.js. (#279) (24af6eb)
  • ignore files under tests directories by default (#419) (8ad5fd2)
  • implement function to extract empty coverage data from an instrumented file (#28) (06d0ef6)
  • istanbul-reports: Enable keyboard shortcuts on HTML report file listing view (#265) (f49b355)
  • Modern html report (#345) (95ebaf1)
  • once 100% line coverage is achieved, missing branch coverage is now shown in text report (#45) (8a809f8)
  • option to evaluate logical truthiness, for applications such as fuzzing (#629) (a743b84)
  • preserve inferred function names (#38) (312666e)
  • pull in debug module, to make debug messages optional (#36) (189519d)
  • read and apply any input source maps stored with coverage data (#4) (aea405b)
  • Refactor istanbul-lib-report so report can choose summarizer (#408) (0f328fd)
  • Remove configuration loading functionality (#398) (f5c93c3), closes #392
  • set medium colour to yellow (#306) (ed40be7)
  • support excluding files on writing coverage reports (#275) (752be13)
  • support tracking Logic Truthiness as additional metric in coverage API (#639) (0967c80)
  • Support turning of node_modules default exclude via flag (#213) (9b4b34c)
  • text report: Optimize output to show more missing lines (#341) (c4e8b8e)
  • text: Coalesce ranges of missing lines (#511) (54636fc)
  • Update babel to 7.0.0. (#215) (8a96613)
  • Update dependencies, require Node.js 8 (#401) (bf3a539)
  • Update for babel 7. (#190) (3ef809b)
  • update pinned babel version to latest release. (#189) (ac8ec07)
  • Use @istanbuljs/schema to pull defaults (#485) (87e27f3)
  • use extended babylon support; adding features such as jsx (#22) (11c2438)

Bug Fixes

  • "E" is not showing in the HTML reporter for "implicit else" branches after pull 633 (#663) (7818922)
  • #753 (c4895bb)
  • new Date() such that it works with MockDate library (#688) (85905f9)
  • 1.2.x should have been a breaking change (#181) (2872835)
  • Add "missed" column to html-spa report (#597) (e03c464)
  • Add favicon to html report (#493) (5afe203)
  • add files key to package.json (#17) (141f801)
  • Add missing dependency on istanbul-lib-report (#490) (95a2b2f)
  • Add missing semver dependency (#394) (dbfb631)
  • add more general support for negated exclude rules (#58) (08445db)
  • add placeholder to fix Implicit Else (#679) (0516f51)
  • Add ts-ignore to reassignment of generated function (#557) (817efb0)
  • address issue with class instrumentation (#111) (cbd1c14)
  • address regression discussed in 3.1.1 breaks coverage runs babel-plugin-istanbul#78 (#40) (7f458a3)
  • Always call coverage initialization function (#524) (c6536c1)
  • Avoid corrupting HTML report's arrow png during copy (#343) (ce664c7)
  • Be more friendly to ts-node. (#352) (40d15f5), closes #336
  • broken mapped coverage report (#6) (d9dd738)
  • build: allow merge to work consistently on windows (#429) (030d355)
  • build: verfiy automated publication (b232690)
  • build: verfiy automated publication (74c96bd)
  • bump fileset version (#7) (8750735)
  • changed column header from "Uncovered Lines" to "Uncovered Line #s" (#138) (7ba7760)
  • clover report metrics must be an inline xml element (#226) (e290c95)
  • clover: always close last open tag (07c6ea6)
  • cobertura reports in root folder (#571) (596f6ff)
  • cobertura should escape invalid characters (#534) (4fd5114)
  • compatibility with babel 7 (#135) (6cac849)
  • correct variable name in source-map transform (#257) (de9c921)
  • correctly calculate end position of sourcemap statement (f97ffc7)
  • coverage.branchMap else location. (#633) (eb4b4ec)
  • default value for ignorelassMethods (#151) (5dd88e8)
  • Deprecate istanbul-api. (#378) (7e3319c), closes #321
  • deps: update deps addressing CVE-2023-45133 (e67a405)
  • deps: update make-dir CVE-2022-25883 (eab82a9)
  • deps: upgrade semver CVE-2022-25883 (#731) (d8399f3)
  • discard more bad source map positions (#3) (ed7b27f)
  • Do not export index.json (#508) (a01a2b8)
  • Don't ignore src/visitor.js for self test. (#194) (71b815d)
  • don't instrument a file if it has already been instrumented (#38) (9c38e4e)
  • Drop unneeded coverage data from nyc --all (#456) (f6bb0b4)
  • Eliminate babel hoisting of the coverage variable (#481) (8dfbcba), closes #92
  • ensure using correct context (#168) (df102fd)
  • explicit upgrade to version of istanbul-lib-hook with fix for ts-node (a4af720)
  • fail gracefully if structuredText[startLine] is undefined (#10) (bed1d13)
  • function declaration assignment now retains function name (#33) (2d781da)
  • functionMap is sometimes missing a key from functions (#253) (399f215)
  • getBranchCoverageByLine() was looking for line coverage using wrong object structure (bf36658)
  • globalThis with CSP compatibility (#734) (8b1baa8)
  • guard against invalid loc (#16) (23ebfc3)
  • guard against missing statement (76aad99)
  • handle edge-case surrounding merging two file coverage reports (22e154c)
  • handle error when inputSourceMap is not a plain object (#662) (3e3611f)
  • handle instrumentation when a function is called Function (#131) (b12a07e)
  • handle merging '0' indexed coverage with '1' indexed coverage (5dac2bc), closes #632
  • handle reports with "loc" but no "decl" (#637) (cdc28f3), closes #322
  • hoist coverage variable to very top of file (#26) (0225e8c)
  • hoist statement counter for class variables, so that name is preserved (#60) (120d221)
  • Honor ignore hints in chained if statements (#469) (a629770), closes #468
  • Honor istanbul ignore next hints placed before export statement. (#298) (f24795d), closes #297
  • html-spa: Filter only exact paths (#431) (bbc85f6), closes #426
  • Branch merging broken when multiple files source-map to same origin file v8-to-istanbul#233 (288888f)
  • if LEAST_UPPER_BOUND returns null, try GREATEST_LOWER_BOUND (#375) (72b0f05)
  • Ignore insignificant lines when coalesce (#525) (d7d7cfa)
  • Ignore tests matching *.cjs, *.mjs and *.ts by default (#381) (0f077c2)
  • Increase precision when calculating coverage percent (#594) (6ddb374), closes #593
  • Initialize cols for HTML report sorting (#369) (28f61de)
  • Instrument ObjectMethod's. (#182) (126f09d)
  • istanbul-reports: Remove isRoot check causing incorrect report formatting (#66). (#382) (df6e994)
  • lcov reporter crash when missing branches (#613) (d34981c)
  • loc is sometimes not defined, so loc.start fails see #99 (#18) (df85ba6)
  • magic-value: make incrementing magic value a manual step (#641) (823010b)
  • Map unique files once, regardless of path separator (#287) (39a1e56)
  • mappedCoverage.addStatement is not a function (#500) (d77cc14)
  • merge branch/statement/functionMap's together when merging two coverage reports (#617) (ff1b5e9)
  • merge ranges properly when contained by other ranges in set (#750) (288888f)
  • name of function is now preserved or named exports (#79) (2ce8974)
  • nested summarizer error with no files (#230) (07724bf)
  • only hoist counter for a smaller subset of function declarations (9f8931e)
  • package: update append-transform to version 2.0.0 (#466) (7344b2b)
  • package: update rimraf to version 3.0.0 (b6e7953)
  • package: update supports-color to version 7.0.0 (#420) (631029d)
  • parenthesize superClass on non-idetifier case (#158) (6202c88)
  • pass correct args to tranformer (#153) (#154) (2b2250f)
  • Populate lastFileCoverage for already instrumented files (#470) (ea6d779)
  • position validation shouldn't throw away locations with 0 (#5) (ac4b72c)
  • preserve escape char of json key path on Windows (#12) (4e5266e)
  • prevent branch highlighting from extending pass the end of a line (#80) (f490377)
  • Prevent readInitialCoverage from reading babel config (#562) (49b4745)
  • process.cwd is a function not a string (#163). (#171) (9c7802c)
  • Produce properly merged source-maps when inputSourceMap is provided (#487) (8f8c88e)
  • Proper data validation in findNearestContainer (#754) (c4895bb), closes #753
  • proper passing of the preserveComments option to babel (#122) (470bb0e)
  • Properly combine directories in nested summarizer (#380) (50afdbb)
  • rel="noopener" to the link in the generated html reports (f234bb3)
  • Remove **/node_modules/** from defaultExclude. (#351) (deb3963), closes #347
  • remove call to mkdirp.sync() in constructor so when used for ConsoleWriter (#104) (58eb79d)
  • Remove handlebars (#503) (aa8ae7f), closes #476
  • remove stray div tag from HTML report (68d9c74)
  • remove unnecessary peer dependencies (8a18fa1)
  • remove unused dependencies. (#2) (baca0e6)
  • require more performant babel-generator (#15) (21b2563)
  • reverse tabnabbing vulnerability in URLs (#591) (4eceb9e)
  • Set opts.file = '-' on text-lcov (#424) (4be56b2)
  • should import @babel/template (85a0d1a)
  • skip branch if meta does not exist (fixes speedskater/babel-plugin-rewire#165) (#11) (62bae2f)
  • source mapping for branch statements (#518) (3833708)
  • sourceFinder cannot be async. (#501) (094f1b8)
  • specify absolute mocha path in npm test script (#9) (06196e5)
  • support conditional expression for superClass (#106) (aae256f)
  • support ESM when reading coverage (#692) (fc509cc)
  • Teamcity reporter modified to send proper coverage values (#8) (4147f50)
  • update append-transform to version that fixes issues run into by ts-node (f4aaf79)
  • update default args test guard to work on supported versions. (#185) (955511a)
  • update dependendencies due to vulnerabilities (#294) (4c14fed)
  • update fixtures to reflect new heading (36801d3)
  • update increment operator to appropriate expression type (#74) (dc69e66)
  • update instrument, account for lack of arrow expression (#119) (#125) (0968206)
  • Update to support nyc 15. (#515) (c62c16a)
  • upgrade istanbul-lib-coverage (eb9b1f6)
  • upgrade micromatch (#142) (24104a7)
  • Use @babel/core for all babel imports. (#555) (a99a13e)
  • use allGeneratedPositionsFor for more accurate source map transforms (#768) (c6d0982)
  • use allGeneratedPositionsFor for more accurate source map transforms (#771) (dde947c)
  • use blank ignore, so that the behavior of fileset is non-breaking (7659ef9)
  • use null prototype for map objects (#177) (9a5a30c)
  • Use path.posix.relative to generate URL's for html reports (#472) (05dc22c)
  • ux: address bug with firefox event handling (2207a87)
  • win32: Detect files on different drive as outside project (#422) (5b4ee88), closes #418
  • windows: preserve escape char of json-summary key path (4d71d5e)

Performance Improvements

Miscellaneous Chores

Code Refactoring

  • istanbul-lib-instrument no longer uses babel (8d3badb)
  • replace source-map with @jridgewell/trace-mapping (#685) (293f8b9)

This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment