Skip to content

Latest commit

 

History

History
458 lines (389 loc) · 21.4 KB

History.md

File metadata and controls

458 lines (389 loc) · 21.4 KB

2.0.11 / 2020-??-??

  • Upgrade closure-compiler v20200628 to v20200719
  • Internal: Mockito 3.2.4 to 3.4.4

2.0.10 / 2020-07-17

  • Replace 'eval' with 'JSON.parse' (tntim96#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 (tntim96#285)

2.0.9 / 2020-01-10

  • Add support for for...of (tntim96#276)
  • Don't instrument for..of loop code (tntim96#279)
  • Should not instrument between return of function (tntim96#280)
  • Should not instrument inside for...in (tntim96#281)
  • Upgrade closure-compiler v20190618 to v20200101
  • Internal: Mockito 2.28.2 to 3.2.4, HtmlUnit 2.35 to 2.36.0, Jacoco 0.8.4 to 0.8.5, Jasmine 3.4.0 to 3.5.0, JUnit 4.12 to 4.13

2.0.8 / 2019-06-22

  • Upgrade closure-compiler v20181210 to v20190618, Rhino 1.7.10 to 1.7.11
  • Instrumentation added in class body (tntim96#275)
  • Internal: Mockito 2.23.4 to 2.28.2, HtmlUnit 2.30 to 2.35.0, Upgrade Jasmine 3.3.0 to 3.4.0

2.0.7 / 2019-01-01

  • Upgrade closure-compiler v20180506 to v20181210
  • Internal: Mockito 2.18.3 to 2.23.4, HtmlUnit 2.31 to 2.33, Upgrade Jasmine 3.1.0 to 3.3.0
  • Internal: Swap from Cobertura to Jacoco for coverage

2.0.6 / 2018-05-28

  • Add GNU classpath exception to license (tntim96#271)
  • Upgrade closure-compiler v20180204 to v20180506
  • Bump JS language in from ECMASCRIPT8 to ES_NEXT
  • Internal: Mockito 2.18.0 to 2.18.3, HtmlUnit 2.30 to 2.31

2.0.5 / 2018-04-11

  • Upgrade closure-compiler v20180204 to v20180402
  • Internal: HtmlUnit 2.29 to 2.30, Upgrade Jasmine 3.0.0 to 3.1.0, Mockito 2.15.0 to 2.18

2.0.4 / 2018-02-17

  • Upgrade closure-compiler v20171023 to v20180204
  • Internal: Upgrade HtmlUnit 2.27 to 2.29, Mockito 2.11.0 to 2.15, Jasmine 2.8.0 to 3.0.0

2.0.3 / 2017-11-05

  • Fix instrumentation fn declaration in new operator (tntim96#265)
  • Upgrade closure-compiler v20170626 to v20171023
  • Internal: Upgrade Jasmine 2.7.0 to 2.8.0, Mockito 2.8.47 to 2.11.0

2.0.2 / 2017-08-05

  • Fix instrumentation for ES6 class members (tntim96#261)
  • Fix instrumentation for array definition across lines (tntim96#260)
  • Internal: Upgrade Jasmine 2.6.4 to 2.7.0

2.0.1 / 2017-07-23

  • Convert JSON merger from Mozilla Rhino to Google GSON (tntim96#258)

2.0.0 / 2017-07-16

  • Replace Rhino AST engine with Closure Compiler (tntim96#255)
  • Internal: Upgrade HtmlUnit 2.24 to 2.27, Mockito 2.7.5 to 2.8.47, Jasmine 2.5.2 to 2.6.4

This is a major upgrade of the AST engine. The only visible changes should be the options for --js-version have changed, as well as the default language level. See the manual for details.

1.1.0 / 2017-02-12

  • Remove conditional source from JSON (tntim96#244)
  • Wrong 'position' values (tntim96#243)
  • Minor API modifications to assist with Maven plugins
  • Internal: Upgrade HtmlUnit 2.23 to 2.24, Mockito 2.3.30 to 2.7.5

1.0.25 / 2016-12-13

  • Missing instrumentation in a 'if' in 'case' statement (tntim96#241)
  • Poor performance when used together with systemjs 0.19.37 (tntim96#235)
  • Source Error Message Not Cleared When Displaying New Source (tntim96#234)
  • Remove deprecated Synchronous XMLHttpRequest1 (tntim96#232)
  • Add asynchronous option to jscoverage_report() (tntim96#227)
  • Internal: Upgrade HtmlUnit 2.20 to 2.23, Jasmine 2.4.1 to 2.5.2, Mockito 1.10.19 to 2.3.30

1 - This means calls to jscoverage_report will need to pass in a call-back to indicate when the function has completed. See the documentation for more details.

1.0.24 / 2016-04-04

  • Upgrade to Rhino 1.7.7.1
  • Improve Logic To Determine Inverted Mode (tntim96#223)
  • Don't Switch To Inverted Mode If There's A Query String (tntim96#222)
  • Fix NullPointerException when Logger is removed while looping (tntim96#225)
  • Internal: Upgrade HtmlUnit 2.19 to 2.20

1.0.23 / 2016-01-03

  • Fix isCoalesce for return statements (tntim96#219)
  • Allow sorting by all columns (tntim96#193)
  • Provide a column with Missing statements (count) (tntim96#192)
  • Add option to generate JSCover report files (tntim96#215)
  • Fix undefined reportError error in jscoverage.js (tntim96#214)
  • Limit IE restrictions to IE7 and below
  • Upgrade Jasmine 2.3.4 to 2.4.1 and update run-jscover-jasmine2.js
  • Internal: Upgrade HtmlUnit 2.18 to 2.19

1.0.22 / 2015-09-15

  • Improve proxy logging (tntim96#210)
  • Internal: Minor API modifications to assist with Maven plugin

1.0.21 / 2015-08-23

  • Make js (-fs option) code instrumentation multithreaded (tntim96#209)
  • Include Empty Case Statements In Coverage (tntim96#202)
  • NPE when showing help for '-io' option (tntim96#205)
  • Fix syntax error caused by branch traversing instrumented nodes (tntim96#208)
  • Handle statements in switch case better in compressed files (tntim96#208)
  • Add CLI option for testing regular expressions (tntim96#206)
  • Update samples to use latest JSCover, Underscore, QUnit and YUI3
  • Internal: Upgrade HtmlUnit 2.18

1.0.20 / 2015-07-11

  • Add --include-unloaded-js for file mode (tntim96#199)
  • Add --isolate-browser to avoid automatically combining coverage (tntim96#197)
  • Update documentation for -io option
  • Internal: Upgrade HtmlUnit 2.17

1.0.19 / 2015-06-18

1.0.18 / 2015-04-18

  • Swap back to official Rhino release 1.7.6 with merged fixes
  • Set minimum Java version to 1.6
  • Fix web-server generated paths (tntim96#186)
  • Internal: Upgrade to Cobertura 2.0.3->2.1.1, Mockito 1.10.17 to 1.10.19

1.0.17 / 2015-02-07

1.0.16 / 2015-01-06

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

1.0.15 / 2014-10-17

  • Fix instrumentation for label without braces (tntim96#165)

1.0.14 / 2014-08-29

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

1.0.13 / 2014-07-08

  • Fix Java 5 compatibility (tntim96#150)
  • Don't copy non-report files (tntim96#149)
  • Internal: Remove checked exception from public API

1.0.12 / 2014-07-02

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

1.0.11 / 2014-06-05

  • Improve error when Class-Path not in manifest (tntim96#135)
  • Don't try to cover empty condition in loop (tntim96#137)

1.0.10 / 2014-06-03

1.0.9 / 2014-05-23

  • Fix some single variable branch conditions (tntim96#132)

1.0.8 / 2014-05-02

  • Fix Content-Length return wrong length (tntim96#129)
  • Exclude dependencies from Maven JSCover JAR
  • Log program arguments
  • Internal:
    • Upgrade HTMLUnit to 2.14
    • Swap from Selenium to HTMLUnit for localStorage test
    • Add drone.io CI

1.0.7 / 2014-02-22

  • Add sort by file name in the coverage report web UI (tntim96#108)
  • Fix handling of 'N/A' when sorting by line coverage (tntim96#115)
  • Proxy Mode: Add support for other HTTP methods (tntim96#117)
  • FireFox 27.0.1 Request To http://localhost:8080/ failing (tntim96#118)
  • 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

1.0.6 / 2013-11-03

  • Fix JSON creation where object may have added properties (tntim96#105)
  • Adding support for single file instrumentation via stdio (tntim96#100)
  • Internal: Minor modifications to assist with Maven plugin (tntim96#103)

1.0.5 / 2013-09-17

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

1.0.4 / 2013-09-05

  • Support include-unloaded-js in proxy mode (tntim96#93)
  • Fix inclusion logic for unloaded-js (tntim96#93)
  • Improve error message when invalid CL option supplied (tntim96#96)

1.0.3 / 2013-08-25

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

1.0.2 / 2013-07-27

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

1.0.1 / 2013-07-14

  • Empty JS Source not viewable (tntim96#79)
  • Empty JS source causes exception upon storing (tntim96#78)
  • Add WebDriver samples with FireFox, PhantomJS, Internet Explorer and Google Chrome

1.0.0 / 2013-07-13

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

0.3.1 / 2013-06-28

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

0.3.0 / 2013-05-28

  • Add function coverage (tntim96#61)
  • Include branch and function statistics from unloaded JavaScript (tntim96#63)
  • 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

0.2.7 / 2013-04-15

  • Add regular expression based path switch support (tntim96#57)
  • Add HTTP Server support for XML MIME type (tntim96#56)
  • Remember UI sort order (tntim96#59)
  • Disallow invalid web-server document-root

0.2.6 / 2013-03-11

  • Fix Cobertura report for file-system instrumentation (tntim96#50)
  • Fix continue label handling (tntim96#51)
  • Fix MIME image mappings
  • Fix proxy report for viewing source (tntim96#53)
  • Fix "Refused to set unsafe header 'Content-Length'" (tntim96#54)
  • Internal:
    • Upgrade to HTMLUnit 2.12
    • Add tests for headers in proxy for '.js' files (tntim96#49)
    • Add PhantomJS samples

0.2.5 / 2013-03-04

  • Include headers in proxy mode when fetching '.js' files (tntim96#49)

0.2.4 / 2013-02-27

0.2.3 / 2013-02-04

0.2.2 / 2013-02-01

  • Synchronize threads saving JSON to the same report directory (tntim96#40).
  • Fix logger NPE in InstrumentingRequestHandler
  • Add Cobertura XML output (tntim96#39)
  • Fix handling of comma error (tntim96#41)
  • Add documentation for integration with PhantomJS

0.2.1 / 2013-01-20

0.2.0 / 2012-12-28

  • Fix web-server for URLs with a space in them (tntim96#33)
  • Internal: Upgrade to JUnit-4.11, Hamcrest-1.3. Remove deprecated code.

0.2.0-RC1 / 2012-12-13

  • Add report merging command line interface
  • Improve unloaded JavaScript parsing error logging issue tntim96#27
  • Internal:
    • Load original JS source from file-system instead of JSON for report viewing
    • Remove source from JSON
    • Alter _$jscoverage object and JSON to elegantly accommodate branch (and other) properties
    • Alter JSONDataMerger.mergeJSONCoverageStrings to accept and array of coverage strings to merge

0.1.1 / 2012-12-02

  • Upgrade to HTMLUnit 2.11
  • Fix web-server looping issue tntim96#26

0.1.0 / 2012-11-30

  • Add infrastructure to generate other report formats with XML Summary
  • Add JSON to LCov coverage data conversion
  • Internal:
    • Update examples with v0.1.0-RC3
    • Update help text to use 'JSCover-all.jar'
    • Update YUI3/QUnit examples

0.1.0-RC3 / 2012-11-23

  • Add support for getter/setter
  • Add YUI3 server report (from running yui3/src/test/tests/unit/index.html)
  • Add branch coverage support for expression statements
  • Add line coverage handling for function in braces
  • Fix bug where URI is ignored
  • Minor - Set title/heading to JSCover. Fix 'Brance' typo in documentation

0.1.0-RC2 / 2012-11-21

  • Add proxy support for HEAD requests
  • Fix multiple NPE errors
  • Add FAQ on error log, and the manual on the error log and exit status
  • Set exit status code to 1 if any exceptions were logged in file-system mode or if invalid parameters were supplied
  • Fix bug where line is recorded as valid for line instrumentation but no instrumentation is added

0.1.0-RC1 / 2012-11-18

  • Add branch coverage
  • Improve style of web-site

0.0.13 / 2012-11-14

  • Fix detection of destination as sub-directory of source tntim96#19

0.0.12 / 2012-11-13

  • Fix error message re: destination as sub-directory of source tntim96#18
  • Fix detection of destination as sub-directory of source tntim96#16

0.0.11 / 2012-11-07

  • Use platform default encoding. Add documentation on -Dfile.encoding JVM property usage in manual.

0.0.10 / 2012-11-07

  • Flawed and download. Replaced with 0.0.11

0.0.9 / 2012-11-05

0.0.8 / 2012-10-25

  • Add simple non-instrumenting web-server used in the manual's examples
  • Improve manual to a usable state independent of JSCoverage's documentation
  • Fix bug where destination folder can be in the source folder

0.0.7 / 2012-10-23

  • Add --include-unloaded-js, only for non-proxy web-server, to scan beneath www-root for unloaded/untested JS files
  • Leading slash in --no-instrument and --exclude are ignored for consistent internal handling.
  • Double forward slashes in URLs replaced with single forward slashes
  • Internal:
    • Replace URL based proxy with sockets
    • All headers now forwarded as received.

0.0.6 / 2012-10-17

  • Fixed basic non-SSL proxy support
  • Add POST, cookie and redirect support for proxy mode

0.0.5 / 2012-10-16

  • Add proxy support (flawed and download has been replaced with 0.0.6)
  • Message 'Report stored at' changed to 'Coverage data stored at' (important for HtmlUnit/Selenium)
  • Internal:
    • Swap from NanoHTTPD to JSCover's own web-server
    • index.htm(l) no longer served automatically

0.0.4 / 2012-10-12

0.0.3 / 2012-10-09

  • Add server handling of JavaScript-programmatic triggering of report storage
  • Add more tests

0.0.2 / 2012-10-03

  • Addition of command line file instrumentation
  • Working example of QUnit test suite

0.0.1 / 2012-10-01

  • Initial release comprising of web-server