JSCover Changelog

What's new in JSCover 2.0.19

Jan 2, 2024
  • Upgrade closure-compiler v20230502 to v20231112
  • Update documentation and manual for Java 11
  • Internal: HtmlUnit 2.70.0 to 3.9.0, Mockito 5.3.1 to 5.8.0, JaCoCo 0.8.10 to 0.8.11

New in JSCover 2.0.18 (May 9, 2023)

  • Update documentation and samples

New in JSCover 2.0.16 (Nov 2, 2022)

  • Fix instruments in lit-html template (#311)
  • Fix "this" is undefined in header.js in strict mode (#293)
  • Upgrade closure-compiler v20220405 to v20220601, gson 2.9.0 to 2.10
  • Internal: HtmlUnit 2.61.0 to 2.66.0, Mockito 4.5.1 to 4.8.1

New in JSCover 2.0.13 (Jan 4, 2022)

  • 404 with large query headers
  • Fix eval('this') handling
  • Upgrade closure-compiler v20210601 to v20211006
  • Upgrade GSON 2.8.7 to 2.8.9
  • Internal: HtmlUnit 2.51.0 to 2.54.0, Mockito 3.11.2 to 4.0.0, Jasmine 3.8.0 to 3.9.0

New in JSCover 2.0.12 (Jul 22, 2021)

  • Proxy Server: Get request is not ending rn (https://github.com/tntim96/JSCover/issues/302)
  • Upgrade closure-compiler v20210202 to v20210601
  • Upgrade GSON 2.8.6 to 2.8.7
  • Update all pages links to github.io
  • Internal: JUnit 4.13.1 tp 4.13.2, Mockito 3.7.7 to 3.11.2, HtmlUnit 2.47.1 to 2.51.0, Jasmine 3.7.1 to 3.8.0

New in JSCover 2.0.11 (Mar 31, 2021)

  • Upgrade closure-compiler v20200628 to v20210202
  • Add GSON dependency, com.google.code.gson:gson:2.8.6, removed from closure-compiler
  • Internal: HtmlUnit 2.42 to 2.47.1, Mockito 3.2.4 to 3.7.7, Rhino 1.7.12 to 1.7.13, JaCoCo 0.8.5 to 0.8.6, Jasmine 3.5.0 to 3.6.0, JUnit 4.13 tp 4.13.1

New in JSCover 2.0.10 (Sep 14, 2020)

  • Replace 'eval' with 'JSON.parse' (https://github.com/tntim96/JSCover/issues/290)
  • Upgrade closure-compiler v20200101 to v20200628, Rhino 1.7.11 to 1.7.12
  • Internal: HtmlUnit 2.36 to 2.42.0, Mockito 3.2.4 to 3.4.2
  • Replace deprecated Maven Ant Tasks with Maven Artifact Resolver Ant Tasks (https://github.com/tntim96/JSCover/issues/285)

New in JSCover 1.0.18 (Apr 18, 2015)

  • Swap back to official Rhino release 1.7.6 with merged fixes
  • Set minimum Java version to 1.6
  • Fix web-server generated paths
  • Internal: Upgrade to Cobertura 2.0.3->2.1.1

New in JSCover 1.0.17 (Feb 7, 2015)

  • Add time-stamp to report
  • Include Rhino fix for empty switch statements
  • Improve memory usage when merging
  • Sort files in web-server

New in JSCover 1.0.16 (Jan 6, 2015)

  • Fix view source failures in Internet Explorer
  • Add option to exclude coalesce from conditional coverage
  • Fix labelled loop with continue issue
  • Internal: Upgrade to JUnit 4.12, Jasmine 2.1.3, Mockito 1.10.17

New in JSCover 1.0.15 (Oct 17, 2014)

  • Fix instrumentation for label without braces

New in JSCover 1.0.14 (Sep 22, 2014)

  • Fix instrumentation for some cases without braces
  • Remove proxy headers to avoid persistent connections
  • Decode URI in proxy mode
  • Add logging to merge and report code
  • Internal: Upgrade to Jasmine 2.0.3

New in JSCover 1.0.13 (Jul 14, 2014)

  • Fix Java 5 compatibility
  • Don't copy non-report files
  • Internal: Remove checked exception from public API

New in JSCover 1.0.12 (Jul 3, 2014)

  • Add --save-json-only to only save coverage data
  • Allow merging if no original-src directory exists
  • Include jscoverage-clear-local-storage.html in file-system output if using HTML5 localStorage
  • Internal:
  • Fix tests failing with non-english locale
  • Remove checked exception from public API

New in JSCover 1.0.11 (Jun 5, 2014)

  • Improve error when 'Class-Path' not in manifest
  • Don't try to cover empty condition in loop

New in JSCover 1.0.10 (Jun 5, 2014)

  • Add shutdown hook
  • Upgrade to Jasmine 2, HtmlUnit 2.15
  • Internal: Minor modifications to assist with Maven plugin

New in JSCover 1.0.7 (Feb 25, 2014)

  • Add sort by file name in the coverage report web UI
  • Fix handling of 'N/A' when sorting by line coverage
  • Proxy Mode: Add support for other HTTP methods
  • FireFox 27.0.1 Request To http://localhost:8080/ failing
  • Internal: Upgrade selenium to 2.40 Use tntim96 Maven repository version of Rhino Add more UI tests Remove need for user to add maven-ant-tasks-2.1.3.jar to their ant lib directory

New in JSCover 1.0.6 (Nov 5, 2013)

  • Fix JSON creation where object may have added properties
  • Adding support for single file instrumentation via stdio
  • Internal: Minor modifications to assist with Maven plugin

New in JSCover 1.0.5 (Oct 28, 2013)

  • Using HTML5 localStorage instead of an iframe
  • Provide URI to File-System Path Translation
  • Fix LogFormatterTest time zone issue
  • Internal: Add check-style plugin to Maven POM and code quality improvements

New in JSCover 1.0.4 (Oct 28, 2013)

  • Support 'include-unloaded-js' in proxy mode
  • Fix inclusion logic for unloaded-js
  • Improve error message when invalid CL option supplied

New in JSCover 1.0.3 (Oct 28, 2013)

  • Add enhanced logging using JUL
  • Add '--only-instrument-reg=URL' switch
  • Fix POSTs hanging due to persistent connections
  • Internal: Move WebDriver samples to a separate project Set up infrastructure to remove some code duplication

New in JSCover 1.0.2 (Oct 28, 2013)

  • Proxy stream now forwarded exactly as received
  • Encoding problem with proxied binary data - fix by KPesendorfer
  • Document some ways to save a report in file-system mode

New in JSCover 1.0.1 (Oct 28, 2013)

  • Empty JS Source not viewable
  • Empty JS source causes exception upon storing
  • Add WebDriver samples with FireFox, PhantomJS, Internet Explorer and Google Chrome

New in JSCover 1.0.0 (Oct 28, 2013)

  • Remove difference in web-server and file-system instrumentation
  • Use Semantic Versioning 2.0.0 Guidelines
  • Reduce branch data JSON size
  • Add 'Stop Server' Button to UI
  • Allow -fs to be last option
  • Internal: Move common JavaScript functions to common JavaScript file Remove unused JavaScript functions

New in JSCover 0.3.1 (Oct 28, 2013)

  • Add function data to jscoverage_report(dir) function call
  • Merging Empty Branches Causes IllegalStateException
  • Different Line Count When Unloaded
  • Null Pointer Exception when performing --merge
  • Internal: Use Maven for dependency management

New in JSCover 0.3.0 (Oct 28, 2013)

  • Add function coverage
  • Include branch and function statistics from unloaded JavaScript
  • Include branch coverage by default. Replace '--branch' switch with '--no-branch'
  • Remove instrumentation code from branch data source
  • Make 'jscoverage.html' XHTML compliant
  • Website - handle direct links to HTML pages

New in JSCover 0.2.7 (Oct 28, 2013)

  • Add regular expression based path switch support
  • Add HTTP Server support for XML MIME type
  • Remember UI sort order
  • Disallow invalid web-server document-root