1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 |
|
5 | ### [5.0.4](https://github.com/bcoe/c8/compare/v5.0.3...v5.0.4) (2019-09-06)
|
6 |
|
7 |
|
8 | ### Bug Fixes
|
9 |
|
10 | * **deps:** merging failed when the same script occurred multiple times in the same report ([#147](https://github.com/bcoe/c8/issues/147)) ([1ebcaf9](https://github.com/bcoe/c8/commit/1ebcaf9))
|
11 | * don't load JSON that does not look like coverage ([#146](https://github.com/bcoe/c8/issues/146)) ([a6481f1](https://github.com/bcoe/c8/commit/a6481f1))
|
12 | * **deps:** update dependency yargs-parser to v14 ([#144](https://github.com/bcoe/c8/issues/144)) ([9b3d089](https://github.com/bcoe/c8/commit/9b3d089))
|
13 |
|
14 | ### [5.0.3](https://www.github.com/bcoe/c8/compare/v5.0.2...v5.0.3) (2019-09-06)
|
15 |
|
16 |
|
17 | ### Bug Fixes
|
18 |
|
19 | * **deps:** update dependency rimraf to v3 ([#132](https://www.github.com/bcoe/c8/issues/132)) ([7601748](https://www.github.com/bcoe/c8/commit/7601748))
|
20 | * **deps:** update dependency yargs to v14 ([#134](https://www.github.com/bcoe/c8/issues/134)) ([e49737f](https://www.github.com/bcoe/c8/commit/e49737f))
|
21 | * **deps:** update deps to address warning in cross-spawn ([#141](https://www.github.com/bcoe/c8/issues/141)) ([4b66221](https://www.github.com/bcoe/c8/commit/4b66221))
|
22 |
|
23 | ### [5.0.2](https://www.github.com/bcoe/c8/compare/v5.0.1...v5.0.2) (2019-06-24)
|
24 |
|
25 |
|
26 | ### Bug Fixes
|
27 |
|
28 | * HTML report now has correct source positions for Node >10.16.0 ([#125](https://www.github.com/bcoe/c8/issues/125)) ([c49fa7f](https://www.github.com/bcoe/c8/commit/c49fa7f))
|
29 | * **deps:** update dependency find-up to v4 ([#119](https://www.github.com/bcoe/c8/issues/119)) ([c568d96](https://www.github.com/bcoe/c8/commit/c568d96))
|
30 | * **deps:** update dependency yargs-parser to v13 ([#124](https://www.github.com/bcoe/c8/issues/124)) ([1eb3394](https://www.github.com/bcoe/c8/commit/1eb3394))
|
31 | * do not override NODE_V8_COVERAGE if set ([#70](https://www.github.com/bcoe/c8/issues/70)) ([8bb67b0](https://www.github.com/bcoe/c8/commit/8bb67b0))
|
32 |
|
33 | ### [5.0.1](https://www.github.com/bcoe/c8/compare/v5.0.0...v5.0.1) (2019-05-20)
|
34 |
|
35 |
|
36 | ### Bug Fixes
|
37 |
|
38 | * temporary files should be in tmp folder ([#106](https://www.github.com/bcoe/c8/issues/106)) ([64dd2e6](https://www.github.com/bcoe/c8/commit/64dd2e6))
|
39 |
|
40 | ## [5.0.0](https://www.github.com/bcoe/c8/compare/v4.1.5...v5.0.0) (2019-05-20)
|
41 |
|
42 |
|
43 | ### ⚠ BREAKING CHANGES
|
44 |
|
45 | * temp directory now defaults to setting for report directory
|
46 |
|
47 | ### Features
|
48 |
|
49 | * default temp directory to report directory ([#102](https://www.github.com/bcoe/c8/issues/102)) ([8602f4a](https://www.github.com/bcoe/c8/commit/8602f4a))
|
50 | * load .nycrc/.nycrc.json to simplify migration ([#100](https://www.github.com/bcoe/c8/issues/100)) ([bd7484f](https://www.github.com/bcoe/c8/commit/bd7484f))
|
51 |
|
52 | ### [4.1.5](https://github.com/bcoe/c8/compare/v4.1.4...v4.1.5) (2019-05-11)
|
53 |
|
54 |
|
55 | ### Bug Fixes
|
56 |
|
57 | * exit with code 1 when report output fails ([#92](https://github.com/bcoe/c8/issues/92)) ([a27b694](https://github.com/bcoe/c8/commit/a27b694))
|
58 | * remove the unmaintained mkdirp dependency ([#91](https://github.com/bcoe/c8/issues/91)) ([a465b65](https://github.com/bcoe/c8/commit/a465b65))
|
59 |
|
60 |
|
61 |
|
62 | ## [4.1.4](https://github.com/bcoe/c8/compare/v4.1.3...v4.1.4) (2019-05-03)
|
63 |
|
64 |
|
65 | ### Bug Fixes
|
66 |
|
67 | * we were not exiting with 1 if mkdir failed ([#89](https://github.com/bcoe/c8/issues/89)) ([fb02ed6](https://github.com/bcoe/c8/commit/fb02ed6))
|
68 |
|
69 |
|
70 |
|
71 | ## [4.1.3](https://github.com/bcoe/c8/compare/v4.1.2...v4.1.3) (2019-05-03)
|
72 |
|
73 |
|
74 | ### Bug Fixes
|
75 |
|
76 | * switch to mkdirp for Node 8 ([206b83f](https://github.com/bcoe/c8/commit/206b83f))
|
77 |
|
78 |
|
79 |
|
80 | ## [4.1.2](https://github.com/bcoe/c8/compare/v4.1.1...v4.1.2) (2019-05-02)
|
81 |
|
82 |
|
83 | ### Bug Fixes
|
84 |
|
85 | * make tmp directory regardless of clean ([44d2185](https://github.com/bcoe/c8/commit/44d2185))
|
86 |
|
87 |
|
88 |
|
89 | ## [4.1.1](https://github.com/bcoe/c8/compare/v4.1.0...v4.1.1) (2019-05-02)
|
90 |
|
91 |
|
92 |
|
93 | # [4.1.0](https://github.com/bcoe/c8/compare/v4.0.0...v4.1.0) (2019-05-02)
|
94 |
|
95 |
|
96 | ### Bug Fixes
|
97 |
|
98 | * exclude coverage of the CJS-ESM bridge from results ([#83](https://github.com/bcoe/c8/issues/83)) ([da2c945](https://github.com/bcoe/c8/commit/da2c945))
|
99 | * upgrade to @bcoe/v8-coverage with breaking regex dropped ([6c28e7f](https://github.com/bcoe/c8/commit/6c28e7f))
|
100 |
|
101 |
|
102 | ### Features
|
103 |
|
104 | * add --report-dir alias (for consistency with nyc) ([0dd1b04](https://github.com/bcoe/c8/commit/0dd1b04))
|
105 | * add support for ignoring lines, functions, and blocks ([#87](https://github.com/bcoe/c8/issues/87)) ([c66950e](https://github.com/bcoe/c8/commit/c66950e))
|
106 |
|
107 |
|
108 |
|
109 | # [4.0.0](https://github.com/bcoe/c8/compare/v3.5.0...v4.0.0) (2019-05-02)
|
110 |
|
111 |
|
112 | ### Features
|
113 |
|
114 | * add support for 1:1 source-maps ([#85](https://github.com/bcoe/c8/issues/85)) ([6ca4345](https://github.com/bcoe/c8/commit/6ca4345))
|
115 | * foreground-child's done() method was not being called ([#82](https://github.com/bcoe/c8/issues/82)) ([fde596e](https://github.com/bcoe/c8/commit/fde596e))
|
116 |
|
117 |
|
118 | ### BREAKING CHANGES
|
119 |
|
120 | * c8 will now load source-maps if possible and remap coverage accordingly
|
121 |
|
122 |
|
123 |
|
124 | # [3.5.0](https://github.com/bcoe/c8/compare/v3.4.0...v3.5.0) (2019-04-12)
|
125 |
|
126 |
|
127 | ### Features
|
128 |
|
129 | * allow --reports-dir to be configured ([#65](https://github.com/bcoe/c8/issues/65)) ([5ab31f5](https://github.com/bcoe/c8/commit/5ab31f5))
|
130 |
|
131 |
|
132 |
|
133 | <a name="3.4.0"></a>
|
134 | # [3.4.0](https://github.com/bcoe/c8/compare/v3.3.0...v3.4.0) (2019-01-24)
|
135 |
|
136 |
|
137 | ### Features
|
138 |
|
139 | * support --check-coverage for reports ([#60](https://github.com/bcoe/c8/issues/60)) ([b542930](https://github.com/bcoe/c8/commit/b542930))
|
140 |
|
141 |
|
142 |
|
143 | <a name="3.3.0"></a>
|
144 | # [3.3.0](https://github.com/bcoe/c8/compare/v3.2.1...v3.3.0) (2019-01-23)
|
145 |
|
146 |
|
147 | ### Bug Fixes
|
148 |
|
149 | * file URL to system path conversion ([#46](https://github.com/bcoe/c8/issues/46)) ([e7f8cf2](https://github.com/bcoe/c8/commit/e7f8cf2))
|
150 | * float patch for branch/function coverage merge bug ([#56](https://github.com/bcoe/c8/issues/56)) ([1de0cca](https://github.com/bcoe/c8/commit/1de0cca))
|
151 | * snapshot ([7fd9e13](https://github.com/bcoe/c8/commit/7fd9e13))
|
152 |
|
153 |
|
154 | ### Features
|
155 |
|
156 | * add thresholds for enforcing coverage percentage ([#59](https://github.com/bcoe/c8/issues/59)) ([70e8943](https://github.com/bcoe/c8/commit/70e8943))
|
157 | * allow script wrapper length to be specified ([#51](https://github.com/bcoe/c8/issues/51)) ([a22c4e0](https://github.com/bcoe/c8/commit/a22c4e0))
|
158 |
|
159 |
|
160 |
|
161 | <a name="3.2.1"></a>
|
162 | ## [3.2.1](https://github.com/bcoe/c8/compare/v3.2.0...v3.2.1) (2018-10-21)
|
163 |
|
164 |
|
165 | ### Bug Fixes
|
166 |
|
167 | * address file:// issue with CJS ([#39](https://github.com/bcoe/c8/issues/39)) ([d4f9cab](https://github.com/bcoe/c8/commit/d4f9cab))
|
168 | * process coverage merging ([#37](https://github.com/bcoe/c8/issues/37)) ([67959b4](https://github.com/bcoe/c8/commit/67959b4))
|
169 |
|
170 |
|
171 |
|
172 | <a name="3.2.0"></a>
|
173 | # [3.2.0](https://github.com/bcoe/c8/compare/v3.1.0...v3.2.0) (2018-09-16)
|
174 |
|
175 |
|
176 | ### Bug Fixes
|
177 |
|
178 | * make tests run on Windows ([#25](https://github.com/bcoe/c8/issues/25)) ([08e44d0](https://github.com/bcoe/c8/commit/08e44d0))
|
179 |
|
180 |
|
181 | ### Features
|
182 |
|
183 | * improve test assertions ([#28](https://github.com/bcoe/c8/issues/28)) ([522720e](https://github.com/bcoe/c8/commit/522720e))
|
184 | * warn instead of throw on exception ([#29](https://github.com/bcoe/c8/issues/29)) ([a8620d4](https://github.com/bcoe/c8/commit/a8620d4))
|
185 |
|
186 |
|
187 |
|
188 | <a name="3.1.0"></a>
|
189 | # [3.1.0](https://github.com/bcoe/c8/compare/v3.0.3...v3.1.0) (2018-09-11)
|
190 |
|
191 |
|
192 | ### Features
|
193 |
|
194 | * allow relative paths to be optionally included ([3806c79](https://github.com/bcoe/c8/commit/3806c79))
|
195 |
|
196 |
|
197 |
|
198 | <a name="3.0.3"></a>
|
199 | ## [3.0.3](https://github.com/bcoe/c8/compare/v3.0.2...v3.0.3) (2018-09-10)
|
200 |
|
201 |
|
202 |
|
203 | <a name="3.0.2"></a>
|
204 | ## [3.0.2](https://github.com/bcoe/c8/compare/v3.0.1...v3.0.2) (2018-09-10)
|
205 |
|
206 |
|
207 |
|
208 | <a name="3.0.1"></a>
|
209 | ## [3.0.1](https://github.com/bcoe/c8/compare/v3.0.0...v3.0.1) (2018-09-10)
|
210 |
|
211 |
|
212 |
|
213 | <a name="3.0.0"></a>
|
214 | # [3.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v3.0.0) (2018-09-10)
|
215 |
|
216 | ### Features
|
217 |
|
218 | * switch to using Node's built in coverage ([#22](https://github.com/bcoe/c8/issues/22)) ([3c1b92b](https://github.com/bcoe/c8/commit/3c1b92b))
|
219 |
|
220 |
|
221 | ### BREAKING CHANGES
|
222 |
|
223 | * switches to using NODE_V8_COVERAGE rather than inspector directly
|
224 |
|
225 |
|
226 | <a name="2.0.0"></a>
|
227 | # [2.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v2.0.0) (2017-12-17)
|
228 |
|
229 |
|
230 | ### Bug Fixes
|
231 |
|
232 | * tweak inspector event timing ([#6](https://github.com/bcoe/c8/issues/6)) ([01f654e](https://github.com/bcoe/c8/commit/01f654e))
|
233 |
|
234 |
|
235 | ### Features
|
236 |
|
237 | * first pass at functional prototype without subprocess support ([#5](https://github.com/bcoe/c8/issues/5)) ([9534f56](https://github.com/bcoe/c8/commit/9534f56))
|
238 | * implement Istanbul reporting ([#8](https://github.com/bcoe/c8/issues/8)) ([8e430bf](https://github.com/bcoe/c8/commit/8e430bf))
|
239 | * switch to stderr and default port ([#7](https://github.com/bcoe/c8/issues/7)) ([bb117b7](https://github.com/bcoe/c8/commit/bb117b7))
|
240 |
|
241 |
|
242 | ### BREAKING CHANGES
|
243 |
|
244 | * dropped subprocess support for the time being, while we march towards an initial implementation.
|
245 |
|
246 |
|
247 |
|
248 | <a name="1.0.1"></a>
|
249 | ## [1.0.1](https://github.com/bcoe/c8/compare/v1.0.0...v1.0.1) (2017-10-26)
|
250 |
|
251 |
|
252 | ### Bug Fixes
|
253 |
|
254 | * pin to functional version of spawn-wrap ([d1ced8c](https://github.com/bcoe/c8/commit/d1ced8c))
|
255 |
|
256 |
|
257 |
|
258 | <a name="1.0.0"></a>
|
259 | # 1.0.0 (2017-10-26)
|
260 |
|
261 |
|
262 | ### Features
|
263 |
|
264 | * playing around with initial implementation ([18f5471](https://github.com/bcoe/c8/commit/18f5471))
|