UNPKG

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