UNPKG

17.8 kBMarkdownView Raw
1# Changelog
2
3All 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## [7.7.0](https://www.github.com/bcoe/c8/compare/v7.6.0...v7.7.0) (2021-03-30)
6
7
8### Features
9
10* introduce --exclude-after-remap flag ([#293](https://www.github.com/bcoe/c8/issues/293)) ([53c4234](https://www.github.com/bcoe/c8/commit/53c42347e0ed4eb29e37b84d40768eed89bf9eb0)), closes [#224](https://www.github.com/bcoe/c8/issues/224)
11
12## [7.6.0](https://www.github.com/bcoe/c8/compare/v7.5.0...v7.6.0) (2021-02-17)
13
14
15### Features
16
17* add --skip-full ([#287](https://www.github.com/bcoe/c8/issues/287)) ([8b01b63](https://www.github.com/bcoe/c8/commit/8b01b63740d7af75fe83d0164c0f18021592e1a6))
18
19## [7.5.0](https://www.github.com/bcoe/c8/compare/v7.4.0...v7.5.0) (2021-02-01)
20
21
22### Features
23
24* **all:** handle base64 inline source maps ([#283](https://www.github.com/bcoe/c8/issues/283)) ([3f12dd4](https://www.github.com/bcoe/c8/commit/3f12dd4cd4b903b396c60c9c6d76cdf990ec6cbe))
25
26## [7.4.0](https://www.github.com/bcoe/c8/compare/v7.3.5...v7.4.0) (2020-12-31)
27
28
29### Features
30
31* support ignore start/stop comment ([#273](https://www.github.com/bcoe/c8/issues/273)) ([90949fa](https://www.github.com/bcoe/c8/commit/90949fa2deac7fccb9fc4b83ecca70f4de025ae9)), closes [#271](https://www.github.com/bcoe/c8/issues/271)
32* use debuglog rather than console.warn ([#279](https://www.github.com/bcoe/c8/issues/279)) ([7c04a4d](https://www.github.com/bcoe/c8/commit/7c04a4dc47ee9496d89fcae9062da24a6f642f39))
33
34### [7.3.5](https://www.github.com/bcoe/c8/compare/v7.3.4...v7.3.5) (2020-10-25)
35
36
37### Bug Fixes
38
39* **v8-to-istanbul:** fixes shebang handling/ignore behavior ([#267](https://www.github.com/bcoe/c8/issues/267)) ([21cd41f](https://www.github.com/bcoe/c8/commit/21cd41f5ed2b7b3ef81bbad2ae57b531934915cc))
40
41### [7.3.4](https://www.github.com/bcoe/c8/compare/v7.3.3...v7.3.4) (2020-10-15)
42
43
44### Bug Fixes
45
46* support node@v15.x.x built-in modules ([#265](https://www.github.com/bcoe/c8/issues/265)) ([1b90a22](https://www.github.com/bcoe/c8/commit/1b90a221d540354c552da10d90ef7d1f7a8e8227))
47
48### [7.3.3](https://www.github.com/bcoe/c8/compare/v7.3.2...v7.3.3) (2020-10-09)
49
50
51### Bug Fixes
52
53* **v8-to-istanbul:** revert off by one that broke TypeScript ([#262](https://www.github.com/bcoe/c8/issues/262)) ([81ab5b7](https://www.github.com/bcoe/c8/commit/81ab5b7bf0ceccef3e5c936eb6b77f06a727a109))
54
55### [7.3.2](https://www.github.com/bcoe/c8/compare/v7.3.1...v7.3.2) (2020-10-08)
56
57
58### Bug Fixes
59
60* **v8-to-istanbul:** pull in fix for missing branches ([#258](https://www.github.com/bcoe/c8/issues/258)) ([eaffa78](https://www.github.com/bcoe/c8/commit/eaffa7836155d051a0d13899f70a728819860bdb))
61
62### [7.3.1](https://www.github.com/bcoe/c8/compare/v7.3.0...v7.3.1) (2020-09-10)
63
64
65### Bug Fixes
66
67* **deps:** update dependency yargs to v16 ([#251](https://www.github.com/bcoe/c8/issues/251)) ([0436816](https://www.github.com/bcoe/c8/commit/0436816ef0ceb4cff25f65dfff1843a2bad80ca1))
68* **deps:** update dependency yargs-parser to v20 ([#252](https://www.github.com/bcoe/c8/issues/252)) ([ae845f0](https://www.github.com/bcoe/c8/commit/ae845f0bf52c5b1547263079f210ad99c6bd4d7b))
69* add missing space in text ([#245](https://www.github.com/bcoe/c8/issues/245)) ([efe6d04](https://www.github.com/bcoe/c8/commit/efe6d041aa0a1620f9b2e4717ba5d2a96da7a5a3))
70* **deps:** update dependency find-up to v5 ([#242](https://www.github.com/bcoe/c8/issues/242)) ([8a0cfd7](https://www.github.com/bcoe/c8/commit/8a0cfd702e35fa9d7e87ef99f0fd08dd92cd9614))
71* **deps:** update dependency yargs-parser to v19 ([#241](https://www.github.com/bcoe/c8/issues/241)) ([baa01df](https://www.github.com/bcoe/c8/commit/baa01df3dede86373773acfae086647da2b43549))
72
73## [7.3.0](https://www.github.com/bcoe/c8/compare/v7.2.1...v7.3.0) (2020-08-03)
74
75
76### Features
77
78* adds support for 1:many source maps ([#238](https://www.github.com/bcoe/c8/issues/238)) ([dbf94a0](https://www.github.com/bcoe/c8/commit/dbf94a0dcf8104ef8d5ec1ccd6198594bc6c2bd3))
79
80### [7.2.1](https://www.github.com/bcoe/c8/compare/v7.2.0...v7.2.1) (2020-07-11)
81
82
83### Bug Fixes
84
85* ignore missing source maps in raw coverage output ([#233](https://www.github.com/bcoe/c8/issues/233)) ([eed98af](https://www.github.com/bcoe/c8/commit/eed98afae8dc6878c64b157d5007b0d9ce3bd59f))
86
87## [7.2.0](https://www.github.com/bcoe/c8/compare/v7.1.2...v7.2.0) (2020-05-25)
88
89
90### Features
91
92* support for instrumenting files outside of current working directory ([7e53a0e](https://www.github.com/bcoe/c8/commit/7e53a0ecf93eda5467e2a8ac7d33cf8d6af84cf1))
93
94### [7.1.2](https://www.github.com/bcoe/c8/compare/v7.1.1...v7.1.2) (2020-05-04)
95
96
97### Bug Fixes
98
99* **deps:** update dependency yargs-parser to v18 ([#202](https://www.github.com/bcoe/c8/issues/202)) ([983de44](https://www.github.com/bcoe/c8/commit/983de440cf8876eb223975f06ddb658a7b8f4220))
100
101### [7.1.1](https://www.github.com/bcoe/c8/compare/v7.1.0...v7.1.1) (2020-04-29)
102
103
104### Bug Fixes
105
106* **deps:** update dependency yargs-parser to v17 ([#201](https://www.github.com/bcoe/c8/issues/201)) ([d730c63](https://www.github.com/bcoe/c8/commit/d730c63235c1292da65cdc19ba68ffcb9d316dc2))
107* escaping issue with cobertura reporter ([#203](https://www.github.com/bcoe/c8/issues/203)) ([e93747b](https://www.github.com/bcoe/c8/commit/e93747b9e9044fa14f5ceebda9d0d789aba1c655))
108
109## [7.1.0](https://www.github.com/bcoe/c8/compare/v7.0.1...v7.1.0) (2020-02-09)
110
111
112### Features
113
114* adds TypeScript definitions ([d39801b](https://www.github.com/bcoe/c8/commit/d39801bc9b2713aa56592010e6394a295bd12b0b)), closes [#195](https://www.github.com/bcoe/c8/issues/195)
115
116
117### Bug Fixes
118
119* **deps:** update dependency furi to v2 ([#193](https://www.github.com/bcoe/c8/issues/193)) ([6b9af6e](https://www.github.com/bcoe/c8/commit/6b9af6ee8cbbacd85eea91dc49bb269fe3651c12))
120* **deps:** v8-to-istanbul with patch for crasher ([#200](https://www.github.com/bcoe/c8/issues/200)) ([d4b7d80](https://www.github.com/bcoe/c8/commit/d4b7d80d78f3d1cb2e9a2e9e106af0cef327b446))
121
122### [7.0.1](https://www.github.com/bcoe/c8/compare/v7.0.0...v7.0.1) (2020-01-13)
123
124
125### Bug Fixes
126
127* all flag not propagated to check-coverage command ([#188](https://www.github.com/bcoe/c8/issues/188)) ([86eaf72](https://www.github.com/bcoe/c8/commit/86eaf72a8c7af93d6ec9699b741d11df50017a8d))
128
129## [7.0.0](https://www.github.com/bcoe/c8/compare/v6.0.1...v7.0.0) (2019-12-22)
130
131
132### ⚠ BREAKING CHANGES
133
134* new test-exclude with modified exclude rules (#179)
135* **istanbul-reports:** lcov reports now use relative paths (#168)
136
137### Features
138
139* adds --all functionality ([#158](https://www.github.com/bcoe/c8/issues/158)) ([2eb631e](https://www.github.com/bcoe/c8/commit/2eb631e460eba3d06925ee1d128e0db82ec50b6c))
140* **istanbul-reports:** lcov reports now use relative paths ([#168](https://www.github.com/bcoe/c8/issues/168)) ([35d9338](https://www.github.com/bcoe/c8/commit/35d9338b69ba803c19a19d16ff601e3ec5692fa6))
141* new test-exclude with modified exclude rules ([#179](https://www.github.com/bcoe/c8/issues/179)) ([af7d94d](https://www.github.com/bcoe/c8/commit/af7d94d715ab98d67e6b5bff5dfba19430681c9c))
142
143
144### Bug Fixes
145
146* **deps:** update dependency v8-to-istanbul to v4 ([#167](https://www.github.com/bcoe/c8/issues/167)) ([97b9769](https://www.github.com/bcoe/c8/commit/97b97699870ddc4af780cedb25cbb3a87e0eb777))
147* **deps:** update dependency yargs to v15 ([#164](https://www.github.com/bcoe/c8/issues/164)) ([e41a483](https://www.github.com/bcoe/c8/commit/e41a4831aac92591f303d48038a327e9631affee))
148* **deps:** update dependency yargs-parser to v16 ([#157](https://www.github.com/bcoe/c8/issues/157)) ([15746e5](https://www.github.com/bcoe/c8/commit/15746e51640e6e172f27f02c12056e2977342005))
149
150### [6.0.1](https://github.com/bcoe/c8/compare/v6.0.0...v6.0.1) (2019-10-26)
151
152
153### Bug Fixes
154
155* regex flags in dependency were breaking Node 8 ([a9d9645](https://github.com/bcoe/c8/commit/a9d9645858031cee985087828f5e04cfd8922868))
156
157## [6.0.0](https://github.com/bcoe/c8/compare/v5.0.4...v6.0.0) (2019-10-24)
158
159
160### ⚠ BREAKING CHANGES
161
162* Node.js' source-map and lineLength cache is now used to remap coverage output (this allows tools like ts-node to be supported, which transpile at runtime).
163
164### Features
165
166* use Node.js' source-map cache, to support tools like ts-node ([#152](https://github.com/bcoe/c8/issues/152)) ([53bba15](https://github.com/bcoe/c8/commit/53bba15bee07e8f0446fd85cc59d2b562fe34a21))
167
168
169### Bug Fixes
170
171* **deps:** update dependency yargs-parser to v15 ([#153](https://github.com/bcoe/c8/issues/153)) ([80153de](https://github.com/bcoe/c8/commit/80153de61be8e5830f1c228945184e4878f8cf0c))
172
173### [5.0.4](https://github.com/bcoe/c8/compare/v5.0.3...v5.0.4) (2019-09-06)
174
175
176### Bug Fixes
177
178* **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))
179* 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))
180* **deps:** update dependency yargs-parser to v14 ([#144](https://github.com/bcoe/c8/issues/144)) ([9b3d089](https://github.com/bcoe/c8/commit/9b3d089))
181
182### [5.0.3](https://www.github.com/bcoe/c8/compare/v5.0.2...v5.0.3) (2019-09-06)
183
184
185### Bug Fixes
186
187* **deps:** update dependency rimraf to v3 ([#132](https://www.github.com/bcoe/c8/issues/132)) ([7601748](https://www.github.com/bcoe/c8/commit/7601748))
188* **deps:** update dependency yargs to v14 ([#134](https://www.github.com/bcoe/c8/issues/134)) ([e49737f](https://www.github.com/bcoe/c8/commit/e49737f))
189* **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))
190
191### [5.0.2](https://www.github.com/bcoe/c8/compare/v5.0.1...v5.0.2) (2019-06-24)
192
193
194### Bug Fixes
195
196* 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))
197* **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))
198* **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))
199* 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))
200
201### [5.0.1](https://www.github.com/bcoe/c8/compare/v5.0.0...v5.0.1) (2019-05-20)
202
203
204### Bug Fixes
205
206* 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))
207
208## [5.0.0](https://www.github.com/bcoe/c8/compare/v4.1.5...v5.0.0) (2019-05-20)
209
210
211### ⚠ BREAKING CHANGES
212
213* temp directory now defaults to setting for report directory
214
215### Features
216
217* default temp directory to report directory ([#102](https://www.github.com/bcoe/c8/issues/102)) ([8602f4a](https://www.github.com/bcoe/c8/commit/8602f4a))
218* 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))
219
220### [4.1.5](https://github.com/bcoe/c8/compare/v4.1.4...v4.1.5) (2019-05-11)
221
222
223### Bug Fixes
224
225* exit with code 1 when report output fails ([#92](https://github.com/bcoe/c8/issues/92)) ([a27b694](https://github.com/bcoe/c8/commit/a27b694))
226* remove the unmaintained mkdirp dependency ([#91](https://github.com/bcoe/c8/issues/91)) ([a465b65](https://github.com/bcoe/c8/commit/a465b65))
227
228
229
230## [4.1.4](https://github.com/bcoe/c8/compare/v4.1.3...v4.1.4) (2019-05-03)
231
232
233### Bug Fixes
234
235* 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))
236
237
238
239## [4.1.3](https://github.com/bcoe/c8/compare/v4.1.2...v4.1.3) (2019-05-03)
240
241
242### Bug Fixes
243
244* switch to mkdirp for Node 8 ([206b83f](https://github.com/bcoe/c8/commit/206b83f))
245
246
247
248## [4.1.2](https://github.com/bcoe/c8/compare/v4.1.1...v4.1.2) (2019-05-02)
249
250
251### Bug Fixes
252
253* make tmp directory regardless of clean ([44d2185](https://github.com/bcoe/c8/commit/44d2185))
254
255
256
257## [4.1.1](https://github.com/bcoe/c8/compare/v4.1.0...v4.1.1) (2019-05-02)
258
259
260
261# [4.1.0](https://github.com/bcoe/c8/compare/v4.0.0...v4.1.0) (2019-05-02)
262
263
264### Bug Fixes
265
266* 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))
267* upgrade to @bcoe/v8-coverage with breaking regex dropped ([6c28e7f](https://github.com/bcoe/c8/commit/6c28e7f))
268
269
270### Features
271
272* add --report-dir alias (for consistency with nyc) ([0dd1b04](https://github.com/bcoe/c8/commit/0dd1b04))
273* add support for ignoring lines, functions, and blocks ([#87](https://github.com/bcoe/c8/issues/87)) ([c66950e](https://github.com/bcoe/c8/commit/c66950e))
274
275
276
277# [4.0.0](https://github.com/bcoe/c8/compare/v3.5.0...v4.0.0) (2019-05-02)
278
279
280### Features
281
282* add support for 1:1 source-maps ([#85](https://github.com/bcoe/c8/issues/85)) ([6ca4345](https://github.com/bcoe/c8/commit/6ca4345))
283* 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))
284
285
286### BREAKING CHANGES
287
288* c8 will now load source-maps if possible and remap coverage accordingly
289
290
291
292# [3.5.0](https://github.com/bcoe/c8/compare/v3.4.0...v3.5.0) (2019-04-12)
293
294
295### Features
296
297* allow --reports-dir to be configured ([#65](https://github.com/bcoe/c8/issues/65)) ([5ab31f5](https://github.com/bcoe/c8/commit/5ab31f5))
298
299
300
301<a name="3.4.0"></a>
302# [3.4.0](https://github.com/bcoe/c8/compare/v3.3.0...v3.4.0) (2019-01-24)
303
304
305### Features
306
307* support --check-coverage for reports ([#60](https://github.com/bcoe/c8/issues/60)) ([b542930](https://github.com/bcoe/c8/commit/b542930))
308
309
310
311<a name="3.3.0"></a>
312# [3.3.0](https://github.com/bcoe/c8/compare/v3.2.1...v3.3.0) (2019-01-23)
313
314
315### Bug Fixes
316
317* file URL to system path conversion ([#46](https://github.com/bcoe/c8/issues/46)) ([e7f8cf2](https://github.com/bcoe/c8/commit/e7f8cf2))
318* float patch for branch/function coverage merge bug ([#56](https://github.com/bcoe/c8/issues/56)) ([1de0cca](https://github.com/bcoe/c8/commit/1de0cca))
319* snapshot ([7fd9e13](https://github.com/bcoe/c8/commit/7fd9e13))
320
321
322### Features
323
324* add thresholds for enforcing coverage percentage ([#59](https://github.com/bcoe/c8/issues/59)) ([70e8943](https://github.com/bcoe/c8/commit/70e8943))
325* allow script wrapper length to be specified ([#51](https://github.com/bcoe/c8/issues/51)) ([a22c4e0](https://github.com/bcoe/c8/commit/a22c4e0))
326
327
328
329<a name="3.2.1"></a>
330## [3.2.1](https://github.com/bcoe/c8/compare/v3.2.0...v3.2.1) (2018-10-21)
331
332
333### Bug Fixes
334
335* address file:// issue with CJS ([#39](https://github.com/bcoe/c8/issues/39)) ([d4f9cab](https://github.com/bcoe/c8/commit/d4f9cab))
336* process coverage merging ([#37](https://github.com/bcoe/c8/issues/37)) ([67959b4](https://github.com/bcoe/c8/commit/67959b4))
337
338
339
340<a name="3.2.0"></a>
341# [3.2.0](https://github.com/bcoe/c8/compare/v3.1.0...v3.2.0) (2018-09-16)
342
343
344### Bug Fixes
345
346* make tests run on Windows ([#25](https://github.com/bcoe/c8/issues/25)) ([08e44d0](https://github.com/bcoe/c8/commit/08e44d0))
347
348
349### Features
350
351* improve test assertions ([#28](https://github.com/bcoe/c8/issues/28)) ([522720e](https://github.com/bcoe/c8/commit/522720e))
352* warn instead of throw on exception ([#29](https://github.com/bcoe/c8/issues/29)) ([a8620d4](https://github.com/bcoe/c8/commit/a8620d4))
353
354
355
356<a name="3.1.0"></a>
357# [3.1.0](https://github.com/bcoe/c8/compare/v3.0.3...v3.1.0) (2018-09-11)
358
359
360### Features
361
362* allow relative paths to be optionally included ([3806c79](https://github.com/bcoe/c8/commit/3806c79))
363
364
365
366<a name="3.0.3"></a>
367## [3.0.3](https://github.com/bcoe/c8/compare/v3.0.2...v3.0.3) (2018-09-10)
368
369
370
371<a name="3.0.2"></a>
372## [3.0.2](https://github.com/bcoe/c8/compare/v3.0.1...v3.0.2) (2018-09-10)
373
374
375
376<a name="3.0.1"></a>
377## [3.0.1](https://github.com/bcoe/c8/compare/v3.0.0...v3.0.1) (2018-09-10)
378
379
380
381<a name="3.0.0"></a>
382# [3.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v3.0.0) (2018-09-10)
383
384### Features
385
386* switch to using Node's built in coverage ([#22](https://github.com/bcoe/c8/issues/22)) ([3c1b92b](https://github.com/bcoe/c8/commit/3c1b92b))
387
388
389### BREAKING CHANGES
390
391* switches to using NODE_V8_COVERAGE rather than inspector directly
392
393
394<a name="2.0.0"></a>
395# [2.0.0](https://github.com/bcoe/c8/compare/v1.0.1...v2.0.0) (2017-12-17)
396
397
398### Bug Fixes
399
400* tweak inspector event timing ([#6](https://github.com/bcoe/c8/issues/6)) ([01f654e](https://github.com/bcoe/c8/commit/01f654e))
401
402
403### Features
404
405* first pass at functional prototype without subprocess support ([#5](https://github.com/bcoe/c8/issues/5)) ([9534f56](https://github.com/bcoe/c8/commit/9534f56))
406* implement Istanbul reporting ([#8](https://github.com/bcoe/c8/issues/8)) ([8e430bf](https://github.com/bcoe/c8/commit/8e430bf))
407* switch to stderr and default port ([#7](https://github.com/bcoe/c8/issues/7)) ([bb117b7](https://github.com/bcoe/c8/commit/bb117b7))
408
409
410### BREAKING CHANGES
411
412* dropped subprocess support for the time being, while we march towards an initial implementation.
413
414
415
416<a name="1.0.1"></a>
417## [1.0.1](https://github.com/bcoe/c8/compare/v1.0.0...v1.0.1) (2017-10-26)
418
419
420### Bug Fixes
421
422* pin to functional version of spawn-wrap ([d1ced8c](https://github.com/bcoe/c8/commit/d1ced8c))
423
424
425
426<a name="1.0.0"></a>
427# 1.0.0 (2017-10-26)
428
429
430### Features
431
432* playing around with initial implementation ([18f5471](https://github.com/bcoe/c8/commit/18f5471))