UNPKG

43.4 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## [13.1.0](https://github.com/documentationjs/documentation/compare/v13.0.2...v13.1.0) (2020-10-24)
6
7
8### Features
9
10* Add event members to md output ([#1336](https://github.com/documentationjs/documentation/issues/1336)) ([bc3233f](https://github.com/documentationjs/documentation/commit/bc3233fe7e414e65756cf50450ebad069e37506a))
11
12### [13.0.2](https://github.com/documentationjs/documentation/compare/v13.0.1...v13.0.2) (2020-07-02)
13
14
15### Bug Fixes
16
17* Additional safety around detecting functions in HTML output ([a8b6ce1](https://github.com/documentationjs/documentation/commit/a8b6ce144ea380ad21ba99f03574f6258be10666))
18
19### [13.0.1](https://github.com/documentationjs/documentation/compare/v13.0.0...v13.0.1) (2020-06-04)
20
21
22### Bug Fixes
23
24* 🐛 Error with flow opaque type and readme command ([78db9a4](https://github.com/documentationjs/documentation/commit/78db9a443a65bbe8ff202083351655e0cfa60004)), closes [#1322](https://github.com/documentationjs/documentation/issues/1322)
25* 🐛 Fixes an issue when using object spread and $Exact ([106945c](https://github.com/documentationjs/documentation/commit/106945c6354f0b70335adf737c7b7fa296952cc3)), closes [#1324](https://github.com/documentationjs/documentation/issues/1324)
26
27<a name="13.0.0"></a>
28# [13.0.0](https://github.com/documentationjs/documentation/compare/v12.3.0...v13.0.0) (2020-05-09)
29
30
31### Chores
32
33* Update Node minimum version to 10 ([45a5257](https://github.com/documentationjs/documentation/commit/45a5257))
34
35
36### BREAKING CHANGES
37
38* documentation.js will now require node 10 or later.
39
40
41
42<a name="12.3.0"></a>
43# [12.3.0](https://github.com/documentationjs/documentation/compare/v12.2.0...v12.3.0) (2020-04-07)
44
45
46### Features
47
48* upgrade babel dependencies ([d0ec029](https://github.com/documentationjs/documentation/commit/d0ec029))
49
50
51
52<a name="12.2.0"></a>
53# [12.2.0](https://github.com/documentationjs/documentation/compare/v12.1.4...v12.2.0) (2020-03-31)
54
55
56### Features
57
58* support for the [@see](https://github.com/see) tag in Markdown & HTML ([48bb7a2](https://github.com/documentationjs/documentation/commit/48bb7a2))
59
60
61
62<a name="12.1.4"></a>
63## [12.1.4](https://github.com/documentationjs/documentation/compare/v12.1.3...v12.1.4) (2019-11-15)
64
65
66
67<a name="12.1.3"></a>
68## [12.1.3](https://github.com/documentationjs/documentation/compare/v12.1.2...v12.1.3) (2019-11-04)
69
70
71### Bug Fixes
72
73* upgrade git-url-parse to fix a parsing issue ([#1296](https://github.com/documentationjs/documentation/issues/1296)) ([344e804](https://github.com/documentationjs/documentation/commit/344e804))
74
75
76
77<a name="12.1.2"></a>
78## [12.1.2](https://github.com/documentationjs/documentation/compare/v12.1.1...v12.1.2) (2019-09-09)
79
80
81### Bug Fixes
82
83* check for empty diff ([#1273](https://github.com/documentationjs/documentation/issues/1273)) ([3e0958b](https://github.com/documentationjs/documentation/commit/3e0958b))
84
85
86
87<a name="12.1.1"></a>
88## [12.1.1](https://github.com/documentationjs/documentation/compare/v12.1.0...v12.1.1) (2019-08-01)
89
90
91### Bug Fixes
92
93* Git submodule support for repo names with a dot ([#1271](https://github.com/documentationjs/documentation/issues/1271)) ([27a29be](https://github.com/documentationjs/documentation/commit/27a29be))
94
95
96
97<a name="12.1.0"></a>
98# [12.1.0](https://github.com/documentationjs/documentation/compare/v12.0.3...v12.1.0) (2019-07-31)
99
100
101### Features
102
103* Add git submodules support to github linking ([#1270](https://github.com/documentationjs/documentation/issues/1270)) ([ec36b41](https://github.com/documentationjs/documentation/commit/ec36b41))
104
105
106
107<a name="12.0.3"></a>
108## [12.0.3](https://github.com/documentationjs/documentation/compare/v12.0.2...v12.0.3) (2019-07-22)
109
110
111### Bug Fixes
112
113* Allow skipped array arguments in destructuring. Fixes [#1247](https://github.com/documentationjs/documentation/issues/1247) ([#1266](https://github.com/documentationjs/documentation/issues/1266)) ([f9039e9](https://github.com/documentationjs/documentation/commit/f9039e9))
114
115
116
117<a name="12.0.2"></a>
118## [12.0.2](https://github.com/documentationjs/documentation/compare/v12.0.1...v12.0.2) (2019-07-16)
119
120
121
122<a name="12.0.1"></a>
123## [12.0.1](https://github.com/documentationjs/documentation/compare/v12.0.0...v12.0.1) (2019-07-10)
124
125
126### Bug Fixes
127
128* Crash when called with no inputs. yargs now variadic positional arguments undefined instead of [] ([821a15e](https://github.com/documentationjs/documentation/commit/821a15e))
129
130
131
132<a name="12.0.0"></a>
133# [12.0.0](https://github.com/documentationjs/documentation/compare/v11.0.1...v12.0.0) (2019-07-10)
134
135
136* Formatted with Prettier ([8f36e75](https://github.com/documentationjs/documentation/commit/8f36e75))
137
138
139### BREAKING CHANGES
140
141* The next release will require Node 8
142
143
144
145<a name="11.0.1"></a>
146## [11.0.1](https://github.com/documentationjs/documentation/compare/v11.0.0...v11.0.1) (2019-06-12)
147
148
149### Bug Fixes
150
151* toc with children getting displayed as "note" ([#1253](https://github.com/documentationjs/documentation/issues/1253)) ([14298bb](https://github.com/documentationjs/documentation/commit/14298bb))
152
153
154
155<a name="11.0.0"></a>
156# [11.0.0](https://github.com/documentationjs/documentation/compare/v10.1.0...v11.0.0) (2019-05-08)
157
158
159### Bug Fixes
160
161* Fix parsing of optional parameters with annotations ([ca17de5](https://github.com/documentationjs/documentation/commit/ca17de5))
162
163
164### Features
165
166* Enable all parser plugins ([fa1b0b5](https://github.com/documentationjs/documentation/commit/fa1b0b5))
167* Support exportNamespaceFrom in parser ([8fa141d](https://github.com/documentationjs/documentation/commit/8fa141d))
168
169
170### BREAKING CHANGES
171
172* this removes support for legacy decorators, because
173in one place we had legacy and in another we didn't.
174
175
176
177<a name="10.1.0"></a>
178# [10.1.0](https://github.com/documentationjs/documentation/compare/v10.0.0...v10.1.0) (2019-04-25)
179
180
181### Features
182
183* TypeScript support & inference ([3773e02](https://github.com/documentationjs/documentation/commit/3773e02))
184
185
186
187<a name="10.0.0"></a>
188# [10.0.0](https://github.com/documentationjs/documentation/compare/v10.0.0-alpha.0...v10.0.0) (2019-04-18)
189
190
191### Features
192
193* Add flow inference for generators ([7947e97](https://github.com/documentationjs/documentation/commit/7947e97))
194* Support async functions ([d31c3b7](https://github.com/documentationjs/documentation/commit/d31c3b7))
195* Support classPrivateProperties in parser ([64ef671](https://github.com/documentationjs/documentation/commit/64ef671)), closes [#1216](https://github.com/documentationjs/documentation/issues/1216)
196* Support generator functions ([8e3cd47](https://github.com/documentationjs/documentation/commit/8e3cd47))
197
198
199
200<a name="10.0.0-alpha.0"></a>
201# [10.0.0-alpha.0](https://github.com/documentationjs/documentation/compare/v9.3.1...v10.0.0-alpha.0) (2019-03-12)
202
203
204### Features
205
206* Support custom babel config ([#1205](https://github.com/documentationjs/documentation/issues/1205)) ([746d0a9](https://github.com/documentationjs/documentation/commit/746d0a9))
207
208
209### BREAKING CHANGES
210
211* this may change babel configuration loading, and is a
212major change to the documentation.js approach to Babel.
213
214
215
216<a name="9.3.1"></a>
217## [9.3.1](https://github.com/documentationjs/documentation/compare/v9.3.0...v9.3.1) (2019-03-12)
218
219
220
221<a name="9.3.0"></a>
222# [9.3.0](https://github.com/documentationjs/documentation/compare/v9.2.1...v9.3.0) (2019-02-27)
223
224
225### Features
226
227* Add inner section ([#1212](https://github.com/documentationjs/documentation/issues/1212)) ([64c9ca6](https://github.com/documentationjs/documentation/commit/64c9ca6))
228
229
230
231<a name="9.2.1"></a>
232## [9.2.1](https://github.com/documentationjs/documentation/compare/v9.2.0...v9.2.1) (2019-02-26)
233
234
235
236<a name="9.2.0"></a>
237# [9.2.0](https://github.com/documentationjs/documentation/compare/v9.1.1...v9.2.0) (2019-02-22)
238
239
240### Bug Fixes
241
242* **default theme:** only render either note or section (fixes [#1113](https://github.com/documentationjs/documentation/issues/1113)) ([#1206](https://github.com/documentationjs/documentation/issues/1206)) ([fb0a27f](https://github.com/documentationjs/documentation/commit/fb0a27f))
243
244
245### Features
246
247* Add favicon option ([#1207](https://github.com/documentationjs/documentation/issues/1207)) ([5b045f2](https://github.com/documentationjs/documentation/commit/5b045f2))
248
249
250
251<a name="9.1.1"></a>
252## [9.1.1](https://github.com/documentationjs/documentation/compare/v9.1.0...v9.1.1) (2018-12-21)
253
254
255### Bug Fixes
256
257* inferred properties duplicating explicitly specified ones ([2d0bd0e](https://github.com/documentationjs/documentation/commit/2d0bd0e))
258
259
260
261<a name="9.1.0"></a>
262# [9.1.0](https://github.com/documentationjs/documentation/compare/v9.0.0...v9.1.0) (2018-12-17)
263
264
265### Features
266
267* support spead types ([ca5a681](https://github.com/documentationjs/documentation/commit/ca5a681))
268
269
270
271<a name="9.0.0"></a>
272# [9.0.0](https://github.com/documentationjs/documentation/compare/v9.0.0-alpha.1...v9.0.0) (2018-12-10)
273
274
275### Features
276
277* Support for the logical assignment operator ([58d2a2f](https://github.com/documentationjs/documentation/commit/58d2a2f)), closes [#1172](https://github.com/documentationjs/documentation/issues/1172)
278
279
280
281<a name="9.0.0-alpha.1"></a>
282# [9.0.0-alpha.1](https://github.com/documentationjs/documentation/compare/v9.0.0-alpha.0...v9.0.0-alpha.1) (2018-10-24)
283
284
285### Bug Fixes
286
287* **package:** update [@babel](https://github.com/babel)/parser to version 7.1.3 ([4dbb406](https://github.com/documentationjs/documentation/commit/4dbb406)), closes [#1145](https://github.com/documentationjs/documentation/issues/1145)
288* add node-resolve to module-deps ([a033547](https://github.com/documentationjs/documentation/commit/a033547))
289* add tests ([a4107dc](https://github.com/documentationjs/documentation/commit/a4107dc))
290
291
292### Features
293
294* add support for node resolve algo ([ddd675d](https://github.com/documentationjs/documentation/commit/ddd675d))
295
296
297
298<a name="9.0.0-alpha.0"></a>
299# [9.0.0-alpha.0](https://github.com/documentationjs/documentation/compare/v8.1.2...v9.0.0-alpha.0) (2018-09-21)
300
301
302### Features
303
304* Babel 7 support ([49c0f72](https://github.com/documentationjs/documentation/commit/49c0f72))
305
306
307### BREAKING CHANGES
308
309* This moves documentation.js to Babel 7. From now on,
310documentation.js will only support Babel 7: please stick to older
311releases if you need to support Babel 6. Additionally, this work
312temporarily disables support for following dynamic imports.
313
314
315
316<a name="8.1.2"></a>
317## [8.1.2](https://github.com/documentationjs/documentation/compare/v8.1.1...v8.1.2) (2018-08-23)
318
319
320### Bug Fixes
321
322* membership infering for methods ([#1122](https://github.com/documentationjs/documentation/issues/1122)) ([40b1783](https://github.com/documentationjs/documentation/commit/40b1783))
323
324
325
326<a name="8.1.1"></a>
327## [8.1.1](https://github.com/documentationjs/documentation/compare/v8.1.0...v8.1.1) (2018-08-17)
328
329
330### Bug Fixes
331
332* Serve on correct port ([4d59f6f](https://github.com/documentationjs/documentation/commit/4d59f6f))
333
334
335
336<a name="8.1.0"></a>
337# [8.1.0](https://github.com/documentationjs/documentation/compare/v8.0.2...v8.1.0) (2018-08-03)
338
339
340### Bug Fixes
341
342* **package:** update get-port to version 4.0.0 ([9ca8c06](https://github.com/documentationjs/documentation/commit/9ca8c06))
343
344
345### Features
346
347* added project description ([45a9ea9](https://github.com/documentationjs/documentation/commit/45a9ea9))
348
349
350
351<a name="8.0.2"></a>
352## [8.0.2](https://github.com/documentationjs/documentation/compare/v8.0.1...v8.0.2) (2018-07-20)
353
354
355### Bug Fixes
356
357* **package:** update git-url-parse to version 10.0.1 ([91ade89](https://github.com/documentationjs/documentation/commit/91ade89))
358
359
360
361<a name="8.0.1"></a>
362## [8.0.1](https://github.com/documentationjs/documentation/compare/v8.0.0...v8.0.1) (2018-07-16)
363
364
365### Bug Fixes
366
367* **package:** update read-pkg-up to version 4.0.0 ([c700d3f](https://github.com/documentationjs/documentation/commit/c700d3f))
368
369
370
371<a name="8.0.0"></a>
372# [8.0.0](https://github.com/documentationjs/documentation/compare/v7.1.0...v8.0.0) (2018-06-04)
373
374
375### Features
376
377* Semantic markdown headings ([#1087](https://github.com/documentationjs/documentation/issues/1087)) ([ca6217f](https://github.com/documentationjs/documentation/commit/ca6217f))
378
379
380### BREAKING CHANGES
381
382* changes Markdown output
383
384
385
386<a name="7.1.0"></a>
387# [7.1.0](https://github.com/documentationjs/documentation/compare/v7.0.0...v7.1.0) (2018-05-26)
388
389
390### Features
391
392* support flow comment types ([85d50f9](https://github.com/documentationjs/documentation/commit/85d50f9))
393
394
395
396<a name="7.0.0"></a>
397# [7.0.0](https://github.com/documentationjs/documentation/compare/v6.3.3...v7.0.0) (2018-05-22)
398
399
400### Features
401
402* Auto-detect readme filename ([4fd776b](https://github.com/documentationjs/documentation/commit/4fd776b))
403
404
405### BREAKING CHANGES
406
407* the --readme-file option now has a smart default value
408
409
410
411<a name="6.3.3"></a>
412## [6.3.3](https://github.com/documentationjs/documentation/compare/v6.3.2...v6.3.3) (2018-05-14)
413
414
415
416<a name="6.3.2"></a>
417## [6.3.2](https://github.com/documentationjs/documentation/compare/v6.3.1...v6.3.2) (2018-04-24)
418
419
420### Bug Fixes
421
422* **vue:** Make vue parser tolerant of components that don't contain scripts ([#1061](https://github.com/documentationjs/documentation/issues/1061)) ([8f9bc7b](https://github.com/documentationjs/documentation/commit/8f9bc7b)), closes [#1060](https://github.com/documentationjs/documentation/issues/1060)
423
424
425
426<a name="6.3.1"></a>
427## [6.3.1](https://github.com/documentationjs/documentation/compare/v6.3.0...v6.3.1) (2018-04-23)
428
429
430### Bug Fixes
431
432* adding vue support broke tests that are not file based ([#1058](https://github.com/documentationjs/documentation/issues/1058)) ([9d7bd2e](https://github.com/documentationjs/documentation/commit/9d7bd2e)), closes [#1057](https://github.com/documentationjs/documentation/issues/1057)
433
434
435
436<a name="6.3.0"></a>
437# [6.3.0](https://github.com/documentationjs/documentation/compare/v6.2.0...v6.3.0) (2018-04-20)
438
439
440### Bug Fixes
441
442* **package:** update git-url-parse to version 9.0.0 ([94a1fb6](https://github.com/documentationjs/documentation/commit/94a1fb6))
443
444
445### Features
446
447* Vue Support ([f60d90c](https://github.com/documentationjs/documentation/commit/f60d90c))
448
449
450
451<a name="6.2.0"></a>
452# [6.2.0](https://github.com/documentationjs/documentation/compare/v6.1.0...v6.2.0) (2018-04-11)
453
454
455### Bug Fixes
456
457* get rid of shelljs dependency ([630625d](https://github.com/documentationjs/documentation/commit/630625d))
458
459
460### Features
461
462* **doctrine:** Support decorator syntax in examples ([b309d39](https://github.com/documentationjs/documentation/commit/b309d39)), closes [#1016](https://github.com/documentationjs/documentation/issues/1016)
463* **inferTypes:** Support class properties ([22d8740](https://github.com/documentationjs/documentation/commit/22d8740)), closes [#1043](https://github.com/documentationjs/documentation/issues/1043)
464
465
466
467<a name="6.1.0"></a>
468# [6.1.0](https://github.com/documentationjs/documentation/compare/v6.0.0...v6.1.0) (2018-03-08)
469
470
471### Bug Fixes
472
473* lends with object property using literal key ([#1035](https://github.com/documentationjs/documentation/issues/1035)) ([99ad49b](https://github.com/documentationjs/documentation/commit/99ad49b))
474
475
476### Features
477
478* Support class property [@type](https://github.com/type) tag ([#1028](https://github.com/documentationjs/documentation/issues/1028)) ([4ed5edf](https://github.com/documentationjs/documentation/commit/4ed5edf))
479
480
481
482<a name="6.0.0"></a>
483# [6.0.0](https://github.com/documentationjs/documentation/compare/v5.5.0...v6.0.0) (2018-03-02)
484
485
486### Features
487
488* documentation.js now requires node v6 or newer. ([#1034](https://github.com/documentationjs/documentation/issues/1034)) ([ccce516](https://github.com/documentationjs/documentation/commit/ccce516))
489
490
491### BREAKING CHANGES
492
493* documentation.js requires node v6 or newer.
494
495
496
497<a name="5.5.0"></a>
498# [5.5.0](https://github.com/documentationjs/documentation/compare/v5.4.0...v5.5.0) (2018-03-02)
499
500
501### Bug Fixes
502
503* github links for [@typedef](https://github.com/typedef) comments should link to comment, not context ([#1024](https://github.com/documentationjs/documentation/issues/1024)) ([37a91b2](https://github.com/documentationjs/documentation/commit/37a91b2))
504* Make documentation.js compatible with node 4.x for one more version ([#1033](https://github.com/documentationjs/documentation/issues/1033)) ([5067ee0](https://github.com/documentationjs/documentation/commit/5067ee0))
505
506
507### Features
508
509* Support `--shallow` argument for `lint` command. Closes [#956](https://github.com/documentationjs/documentation/issues/956) ([#995](https://github.com/documentationjs/documentation/issues/995)) ([64f660d](https://github.com/documentationjs/documentation/commit/64f660d))
510* Support the .mjs extension by default. ([#1023](https://github.com/documentationjs/documentation/issues/1023)) ([b8a7e0d](https://github.com/documentationjs/documentation/commit/b8a7e0d))
511* use reference links for Markdown output, improving brevity ([ab494dd](https://github.com/documentationjs/documentation/commit/ab494dd))
512
513
514
515<a name="5.4.0"></a>
516# [5.4.0](https://github.com/documentationjs/documentation/compare/v5.3.5...v5.4.0) (2018-02-10)
517
518
519### Bug Fixes
520
521* **package:** update remark-toc to version 5.0.0 ([0bb3d0d](https://github.com/documentationjs/documentation/commit/0bb3d0d))
522
523
524### Features
525
526* add support for class param declarations at the constructor ([#1013](https://github.com/documentationjs/documentation/issues/1013)) ([05c5279](https://github.com/documentationjs/documentation/commit/05c5279))
527
528
529
530<a name="5.3.5"></a>
531## [5.3.5](https://github.com/documentationjs/documentation/compare/v5.3.4...v5.3.5) (2017-12-12)
532
533
534### Bug Fixes
535
536* **globals-docs:** Remove en-US from MDN links. ([#973](https://github.com/documentationjs/documentation/issues/973)) ([aa661ff](https://github.com/documentationjs/documentation/commit/aa661ff)), closes [#964](https://github.com/documentationjs/documentation/issues/964)
537
538
539
540<a name="5.3.4"></a>
541## [5.3.4](https://github.com/documentationjs/documentation/compare/v5.3.3...v5.3.4) (2017-12-12)
542
543
544### Bug Fixes
545
546* **package:** update babelify to version 8.0.0 ([10dff6f](https://github.com/documentationjs/documentation/commit/10dff6f))
547* **package:** update read-pkg-up to version 3.0.0 ([d8fbf2c](https://github.com/documentationjs/documentation/commit/d8fbf2c))
548* **package:** update remark-html to version 7.0.0 ([9842814](https://github.com/documentationjs/documentation/commit/9842814))
549* **package:** update vinyl-fs to version 3.0.0 ([#966](https://github.com/documentationjs/documentation/issues/966)) ([1d6fe80](https://github.com/documentationjs/documentation/commit/1d6fe80))
550
551
552
553<a name="5.3.3"></a>
554## [5.3.3](https://github.com/documentationjs/documentation/compare/v5.3.2...v5.3.3) (2017-10-12)
555
556
557### Bug Fixes
558
559* **html:** Display all levels of parameter properties. ([#933](https://github.com/documentationjs/documentation/issues/933)) ([7a548eb](https://github.com/documentationjs/documentation/commit/7a548eb))
560* **package:** update github-slugger to version 1.2.0 ([2b74956](https://github.com/documentationjs/documentation/commit/2b74956))
561* Fix the split in HTML at 33/67% instead of calculating percentages ([#939](https://github.com/documentationjs/documentation/issues/939)) ([e4781eb](https://github.com/documentationjs/documentation/commit/e4781eb)), closes [#927](https://github.com/documentationjs/documentation/issues/927)
562
563
564
565<a name="5.3.2"></a>
566## [5.3.2](https://github.com/documentationjs/documentation/compare/v5.3.1...v5.3.2) (2017-09-15)
567
568
569### Bug Fixes
570
571* special property names in flowtypes ([7fc6ca8](https://github.com/documentationjs/documentation/commit/7fc6ca8))
572
573
574
575<a name="5.3.1"></a>
576## [5.3.1](https://github.com/documentationjs/documentation/compare/v5.3.0...v5.3.1) (2017-09-07)
577
578
579### Bug Fixes
580
581* cover more hideconstructor cases ([5bdbf1f](https://github.com/documentationjs/documentation/commit/5bdbf1f))
582* Enable dynamicImport plugin to support import() syntax ([#903](https://github.com/documentationjs/documentation/issues/903)) ([b97241f](https://github.com/documentationjs/documentation/commit/b97241f)), closes [#902](https://github.com/documentationjs/documentation/issues/902)
583* regression in toc causing crash ([125a577](https://github.com/documentationjs/documentation/commit/125a577))
584
585
586
587<a name="5.3.0"></a>
588# [5.3.0](https://github.com/documentationjs/documentation/compare/v5.2.2...v5.3.0) (2017-09-04)
589
590
591### Bug Fixes
592
593* [@name](https://github.com/name) tag disconnects comment ([#897](https://github.com/documentationjs/documentation/issues/897)) ([a04b6fd](https://github.com/documentationjs/documentation/commit/a04b6fd))
594
595
596### Features
597
598* groups in toc ([#895](https://github.com/documentationjs/documentation/issues/895)) ([c94412a](https://github.com/documentationjs/documentation/commit/c94412a))
599* implement [@hideconstructor](https://github.com/hideconstructor) ([#898](https://github.com/documentationjs/documentation/issues/898)) ([7a07d51](https://github.com/documentationjs/documentation/commit/7a07d51))
600
601
602
603<a name="5.2.2"></a>
604## [5.2.2](https://github.com/documentationjs/documentation/compare/v5.2.1...v5.2.2) (2017-08-22)
605
606
607### Bug Fixes
608
609* **$compile:** prevent babel from transpiling non-module scripts in default_theme's assets ([1286a1f](https://github.com/documentationjs/documentation/commit/1286a1f))
610
611
612
613<a name="5.2.1"></a>
614## [5.2.1](https://github.com/documentationjs/documentation/compare/v5.2.0...v5.2.1) (2017-08-12)
615
616
617
618<a name="5.2.0"></a>
619# [5.2.0](https://github.com/documentationjs/documentation/compare/v5.1.1...v5.2.0) (2017-08-09)
620
621
622### Bug Fixes
623
624* alphabetical sort and add flow notation to sort file ([#861](https://github.com/documentationjs/documentation/issues/861)) ([aa3496a](https://github.com/documentationjs/documentation/commit/aa3496a)), closes [#838](https://github.com/documentationjs/documentation/issues/838)
625* make html and markdown second option optional ([#871](https://github.com/documentationjs/documentation/issues/871)) ([0324865](https://github.com/documentationjs/documentation/commit/0324865)), closes [#869](https://github.com/documentationjs/documentation/issues/869)
626
627
628### Features
629
630* convert Flow's ThisTypeAnnotation to a doctrine NameExpression ([#870](https://github.com/documentationjs/documentation/issues/870)) ([23aa981](https://github.com/documentationjs/documentation/commit/23aa981))
631
632
633
634<a name="5.1.1"></a>
635## [5.1.1](https://github.com/documentationjs/documentation/compare/v5.1.0...v5.1.1) (2017-08-04)
636
637
638### Bug Fixes
639
640* **theme:** Remove dead stepsibling navigation code ([dccb151](https://github.com/documentationjs/documentation/commit/dccb151))
641* cli options should override package.json options ([ecf16bd](https://github.com/documentationjs/documentation/commit/ecf16bd)), closes [#845](https://github.com/documentationjs/documentation/issues/845)
642
643
644
645<a name="5.1.0"></a>
646# [5.1.0](https://github.com/documentationjs/documentation/compare/v5.0.1...v5.1.0) (2017-07-31)
647
648
649### Bug Fixes
650
651* **scripts:** Remove changelog package.json task ([dddac19](https://github.com/documentationjs/documentation/commit/dddac19))
652
653
654### Features
655
656* **theme:** Flexible sidebar for default theme ([6509ae8](https://github.com/documentationjs/documentation/commit/6509ae8))
657
658
659
660<a name="5.0.1"></a>
661## [5.0.1](https://github.com/documentationjs/documentation/compare/v5.0.0...v5.0.1) (2017-07-28)
662
663
664
665<a name="5.0.0"></a>
666# [5.0.0](https://github.com/documentationjs/documentation/compare/v4.0.0...v5.0.0) (2017-07-27)
667
668
669### Reverts
670
671* **polyglot:** Remove polyglot mode ([5b373ff](https://github.com/documentationjs/documentation/commit/5b373ff)), closes [#850](https://github.com/documentationjs/documentation/issues/850) [#731](https://github.com/documentationjs/documentation/issues/731) [#702](https://github.com/documentationjs/documentation/issues/702) [#132](https://github.com/documentationjs/documentation/issues/132)
672
673
674### BREAKING CHANGES
675
676* **polyglot:** I'd like to still support C++ and other languages in the future! But I'm much
677happier doing so by separating the extraction & input phases to the degree that documentation.js can
678read the output of another module that extracts JSDoc comments from C++ code, rather than having CPP
679support in it.
680
681
682
683<a name="4.0.0"></a>
684# [4.0.0](https://github.com/documentationjs/documentation/compare/v4.0.0-rc.1...v4.0.0) (2017-07-27)
685
686
687### Bug Fixes
688
689* **html output:** Fix links between navigation and items in HTML documentation ([5fb77bc](https://github.com/documentationjs/documentation/commit/5fb77bc))
690* **package:** update babel-generator to version 6.25.0 ([#804](https://github.com/documentationjs/documentation/issues/804)) ([65f5a37](https://github.com/documentationjs/documentation/commit/65f5a37))
691* **package:** update chalk to version 2.0.0 ([#833](https://github.com/documentationjs/documentation/issues/833)) ([2329db4](https://github.com/documentationjs/documentation/commit/2329db4))
692* **package:** update github-slugger to version 1.1.3 ([#793](https://github.com/documentationjs/documentation/issues/793)) ([74392cc](https://github.com/documentationjs/documentation/commit/74392cc))
693* Show () for callbacks ([61968c7](https://github.com/documentationjs/documentation/commit/61968c7))
694* **package:** update micromatch to version 3.0.0 ([#792](https://github.com/documentationjs/documentation/issues/792)) ([3f2bf90](https://github.com/documentationjs/documentation/commit/3f2bf90))
695* **package:** update remark to version 8.0.0 ([1ae8136](https://github.com/documentationjs/documentation/commit/1ae8136))
696* Fix filtering in the default theme ([473f317](https://github.com/documentationjs/documentation/commit/473f317))
697* Report nesting errors instead of throwing them as errors ([ea69608](https://github.com/documentationjs/documentation/commit/ea69608)), closes [#832](https://github.com/documentationjs/documentation/issues/832)
698* **package:** update remark-html to version 6.0.1 ([#815](https://github.com/documentationjs/documentation/issues/815)) ([e472550](https://github.com/documentationjs/documentation/commit/e472550))
699* **package:** update vfile-reporter to version 4.0.0 ([a3e1fb8](https://github.com/documentationjs/documentation/commit/a3e1fb8))
700
701
702
703<a name="4.0.0-rc.1"></a>
704# [4.0.0-rc.1](https://github.com/documentationjs/documentation/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2017-05-01)
705
706
707### Bug Fixes
708
709* Infer parameters for classes from constructors ([355038d](https://github.com/documentationjs/documentation/commit/355038d)), closes [#689](https://github.com/documentationjs/documentation/issues/689)
710* **document-exported:** Ensure that document-exported does not document constructors separately ([96a6d13](https://github.com/documentationjs/documentation/commit/96a6d13))
711* **flow:** Fix inference of Flow types with properties ([#751](https://github.com/documentationjs/documentation/issues/751)) ([7c00acc](https://github.com/documentationjs/documentation/commit/7c00acc)), closes [#749](https://github.com/documentationjs/documentation/issues/749)
712* **params:** Parameters with default use = not ? ([3cc4426](https://github.com/documentationjs/documentation/commit/3cc4426)), closes [#737](https://github.com/documentationjs/documentation/issues/737)
713
714
715### Features
716
717* **lint:** Identify explicit tags that don't match inference in lint stage ([ed5c2a0](https://github.com/documentationjs/documentation/commit/ed5c2a0))
718
719
720
721<a name="4.0.0-rc.0"></a>
722# [4.0.0-rc.0](https://github.com/documentationjs/documentation/compare/v4.0.0-beta.19...v4.0.0-rc.0) (2017-04-21)
723
724
725### Bug Fixes
726
727* **html output:** Fix github links in HTML output ([#745](https://github.com/documentationjs/documentation/issues/745)) ([9554b2f](https://github.com/documentationjs/documentation/commit/9554b2f)), closes [#738](https://github.com/documentationjs/documentation/issues/738)
728* **params:** added code path for type RestElement ([6961ee8](https://github.com/documentationjs/documentation/commit/6961ee8))
729
730
731### Code Refactoring
732
733* **nest:** Better nesting implementation ([#732](https://github.com/documentationjs/documentation/issues/732)) ([7374730](https://github.com/documentationjs/documentation/commit/7374730))
734
735
736### BREAKING CHANGES
737
738* **nest:** referencing inferred destructure params without
739renaming them, like $0.x, from JSDoc comments will no longer
740work. To reference them, instead add a param tag to name the
741destructuring param, and then refer to members of that name.
742
743Before:
744
745```js
746/**
747 * @param {number} $0.x a member of x
748 */
749function a({ x }) {}
750```
751
752After:
753
754```js
755/**
756 * @param {Object} options
757 * @param {number} options.x a member of x
758 */
759function a({ x }) {}
760```
761
762* Address review comments
763
764* Reduce testing node requirement back down to 4
765
766* Don't output empty properties, reduce diff noise
767
768* Rearrange and document params
769
770* Simplify param inference, update test fixtures. This is focused around Array destructuring: documenting destructured array elements with indices instead of names, because the names are purely internal details
771
772* Use temporary fork to get through blocker
773
774
775
776<a name="4.0.0-beta.19"></a>
777# [4.0.0-beta.19](https://github.com/documentationjs/documentation/compare/v4.0.0-beta.18...v4.0.0-beta.19) (2017-04-10)
778
779
780### Bug Fixes
781
782* **inference:** Refactor membership inference ([84c9215](https://github.com/documentationjs/documentation/commit/84c9215))
783* **inference:** Robust parsing for shorthand object methods ([802dc4c](https://github.com/documentationjs/documentation/commit/802dc4c))
784* **scopes:** Support inner scope ([#665](https://github.com/documentationjs/documentation/issues/665)) ([8cc34b6](https://github.com/documentationjs/documentation/commit/8cc34b6))
785
786
787### Features
788
789* **core:** Support Flow interface declarations ([e2915dc](https://github.com/documentationjs/documentation/commit/e2915dc))
790* **core:** Switch to Promises everywhere. Adopt Node v4 ES6 ([#648](https://github.com/documentationjs/documentation/issues/648)) ([631c692](https://github.com/documentationjs/documentation/commit/631c692))
791* **markdown:** Add `[@see](https://github.com/see)` tag output in Markdown ([#682](https://github.com/documentationjs/documentation/issues/682)) ([f07285a](https://github.com/documentationjs/documentation/commit/f07285a))
792
793
794
795<a name="4.0.0-beta.18"></a>
796# [4.0.0-beta.18](https://github.com/documentationjs/documentation/compare/v4.0.0-beta.17...v4.0.0-beta.18) (2016-12-29)
797
798
799### Bug Fixes
800
801* **cli:** Fix error reporting in the CLI ([88c8f9a](https://github.com/documentationjs/documentation/commit/88c8f9a))
802* **markdown:** Start headings in Markdown at h2 (#644) ([2ae5d8f](https://github.com/documentationjs/documentation/commit/2ae5d8f))
803
804### Features
805
806* **bin:** Support globs on windows and use smarter recursion (#629) ([cb8fdfa](https://github.com/documentationjs/documentation/commit/cb8fdfa)), closes [#607](https://github.com/documentationjs/documentation/issues/607)
807* **markdown:** Add table of contents support for Markdown mode (#645) ([4c66fb1](https://github.com/documentationjs/documentation/commit/4c66fb1))
808
809### Performance Improvements
810
811* **dependencies:** Move standard-changelog to devDependencies (#636) ([7a66b3f](https://github.com/documentationjs/documentation/commit/7a66b3f))
812
813
814
815<a name="4.0.0-beta.17"></a>
816# [4.0.0-beta.17](https://github.com/documentationjs/documentation/compare/v4.0.0-beta16...v4.0.0-beta.17) (2016-12-23)
817
818This release also fixes a mistake I was making with semver: pre-v4 beta
819releases will be called `beta.17` and `beta.18` and so on, rather than
820non-standard `beta16` without the `.`.
821
822
823### Bug Fixes
824
825* **hierarchy:** collect events from static and instance members (#628) ([f1e0267](https://github.com/documentationjs/documentation/commit/f1e0267)), closes [#486](https://github.com/documentationjs/documentation/issues/486)
826
827
828
829<a name="4.0.0-beta16"></a>
830# [4.0.0-beta16](https://github.com/documentationjs/documentation/compare/v4.0.0-beta15...v4.0.0-beta16) (2016-12-07)
831
832
833### Bug Fixes
834
835* **bin:** Remove dead code in documentation.js command (#627) ([ab16a20](https://github.com/documentationjs/documentation/commit/ab16a20))
836* **extractors:** Document export default value (#623) ([363a108](https://github.com/documentationjs/documentation/commit/363a108)), closes [#543](https://github.com/documentationjs/documentation/issues/543)
837* **parser:** Avoid error about deoptimization on very large files (#621) ([846ab94](https://github.com/documentationjs/documentation/commit/846ab94))
838
839### Features
840
841* **build:** load passed in config option (#625) ([89fb67f](https://github.com/documentationjs/documentation/commit/89fb67f))
842* **output:** Display type information for typedefs in Markdown and HTML ([8b04029](https://github.com/documentationjs/documentation/commit/8b04029))
843
844
845
846
847<a name="4.0.0-beta15"></a>
848# [4.0.0-beta15](https://github.com/documentationjs/documentation/compare/v4.0.0-beta14...v4.0.0-beta15) (2016-11-23)
849
850### Fixes
851
852* Infer class augments tag in cases like `Foo extends React.Component`
853
854### Features
855
856* **config:** add file property for notes ([#614](https://github.com/documentationjs/documentation/issues/614)) ([d96aa47](https://github.com/documentationjs/documentation/commit/d96aa47)), closes [#609](https://github.com/documentationjs/documentation/issues/609)
857
858
859
860## 4.0.0-beta14
861
862* Highlight all Markdown, not just examples. Fixes #610
863* Fix for `--config` only strip comments on json files (#611)
864* Merge inferred return type like we do for params. Refs #359 (#604)
865* Support webpack's System.import with nice handy babel plugin (#603)
866* Format optional types with ? instead of [] (#538)
867* Fix membership assignment for old-fashioned prototype members (#599)
868* Update Node API documentation to include only exposed API surface
869* Add too-much-inference troubleshooting topic
870
871## 4.0.0-beta13
872
873* Fix linker null reference error
874
875## 4.0.0-beta12
876
877* Update Doctrine to handle more JSDoc types
878* Fix ReferenceError in default theme
879* Show GitHub link for nested elements in default theme
880* Fix linking resolution order
881
882## 4.0.0-beta11
883
884* Improved support for Flow: function types, object types, mixed types, null,
885 void, typedefs
886* New option: [sort-order](https://github.com/documentationjs/documentation/pull/535)
887* Updates to Babylon 6.10.x
888* Updates to dependencies, including yargs.
889* [`document-exported` now traverses only exported code](https://github.com/documentationjs/documentation/pull/533).
890
891## 4.0.0-beta10
892
893* Lower memory consumption when dealing with large codebases
894* Better support for detecting names and kinds of ES6-exported values
895* New `document-exported` flag allows you to automatically document
896 ES6-exported values, without even a comment! [490](https://github.com/documentationjs/documentation/pull/490)
897
898## 4.0.0-beta5
899
900* Add decorator support (zacharygolba)
901* Add support to infer whether functions are private based on their name,
902 like starting with `_` (arv)
903* Improve internal documentation
904
905## 4.0.0-beta4
906
907* Fix minor dependency mistake
908
909## 4.0.0-beta3
910
911* Updates theme to a much-improved design
912* Fix augments tag display in HTML
913* Improve name detection of ES6-exported methods and variables
914* Allow documentation of Object.prototype methods
915
916## 4.0.0-beta2
917
918Minor fixes
919
920* Fixes `export { foo } from './bar'` style export
921* Fixed CLI usage examples to simply say `documentation` instead of `/usr/bin/documentation` or
922 similar.
923
924## 4.0.0-beta1
925
926**Now using Babel 6!**
927
928Much long-awaited upgrade makes documentation.js compatible with fresh
929new Babel-using codebases.
930
931And also:
932
933* GitHub Enterprise support
934* New tag support: abstract, override, readonly, interface, variation, see, todo
935 (only in parsing phase, not yet in all outputs)
936* Parses jsx and es6 extensions by default, as well as .js
937* Fixes polyglot mode
938* Now shows the `@throws` tag content in Markdown output
939* Support for example captions
940
941## 4.0.0-beta
942
943**Revitalized documentation.js command line interface!**
944
945The `documentation` utility now takes commands:
946
947* `documentation build` extracts and formats documentation
948* `documentation serve` provides an auto-reloading server ([#236](https://github.com/documentationjs/documentation/pull/236))
949* `documentation lint` reviews files for inconsistencies
950* `documentation readme` patches API documentation into a readme ([#313](https://github.com/documentationjs/documentation/pull/313) by @anandthakker)
951
952This functionality was previously included in `dev-documentation` and has
953been folded into `documentation` proper.
954
955**Much more flexible themes**
956
957Themes are now much more customizable. In documentation.js 3.x and before, themes
958were required to use Handlebars templates and produce a single page. In
959documentation.js 4.x and beyond, they are JavaScript modules that can use
960any template engine and produce any number of files. See the
961[new theme documentation](https://github.com/documentationjs/documentation/blob/master/docs/THEMING.md) for
962details.
963
964**More precise traversal**
965
966Inference in 4.x is stricter than in 3.x: comments must be adjacent
967to the statements they document. This should make documentation generation
968much more predictable.
969
970**Support for the revealing module pattern**
971
972```js
973/** Foo */
974function Foo() {
975 /** Test */
976 function bar() {}
977 return {
978 bar: bar
979 };
980}
981````
982
983New support for the [JavaScript module pattern](http://www.macwright.org/2012/06/04/the-module-pattern.html)!
984This was implemented in [#324](https://github.com/documentationjs/documentation/pull/324)
985by [Charlie Brown](https://github.com/carbonrobot).
986
987**Breaking changes**
988
989* documentation.js now follows the [JSDoc standard's interpretation of the @name tag](http://usejsdoc.org/tags-name.html):
990 specifying a name tag will turn off inference. If you still want inference
991 but want to call code something else, use the [@alias tag](http://usejsdoc.org/tags-alias.html) instead.
992
993## 3.0.4
994
995* Allow parameter types to be mixed into explicit parameter documentation. (#239 and #232)
996* Support GitHub links in Markdown output (#238)
997
998## 3.0.3
999
1000* Infer typedefs from Flow type aliases. Fixes #227
1001* Fix type-annotated rest expressions, raised in #230
1002
1003## 3.0.2
1004
1005* Infer rest parameters. Fixes #223
1006* Avoid filtering comments in lint mode. Fixes #186
1007* Nest both properties and params. Fixes #164
1008
1009## 3.0.1
1010
1011* BUGFIX: Fix default theme resolution [#212](https://github.com/documentationjs/documentation/pull/212)
1012
1013## 3.0.0
1014
1015The largest change to documentation.js so far.
1016
1017**Dropping streams**
1018
1019This a major refactor of the documentation.js interface with a focus on
1020simplifying the system. Up until this point, documentation.js was built around
1021[node.js streams](https://nodejs.org/api/stream.html), which are low-level
1022representations of asynchronous series of data. While this abstraction was
1023appropriate for the input and github streams, which are asynchronous, the
1024majority of documentation.js's internals are simple and synchronous functions
1025for which basic functional composition makes more sense than stream
1026semantics.
1027
1028Documentation 3.0.0 uses simple functional composition for operations like
1029parmameter inference, rather than streams.
1030
1031**Stronger support for ES6, ES7, and Flow**
1032
1033We've switched to [Babel](https://babeljs.io/) as our source code parser,
1034which means that we have much broader support of new JavaScript features,
1035including import/export syntax and new features in ES6.
1036
1037Babel also parses [Flow type annotations](http://flowtype.org/docs/type-annotations.html),
1038and new inference code means that we can infer
1039
1040* Parameter names & types
1041* Return types
1042
1043Without any explicit JSDoc tags. This means that for many simple functions,
1044we can generate great documentation with less writing.
1045
1046**Stronger module support**
1047
1048Documentation.js now has much better inference for membership and names of symbols
1049exported via `exports` or `module.exports`.
1050
1051**Support for nested symbols**
1052
1053The parent/child relationship between symbols is now fully hierarchical, and
1054symbols can be nested to any depth. For instance:
1055
1056```
1057/**
1058 * A global Parent class.
1059 */
1060var Parent = function () {};
1061
1062/**
1063 * A Child class.
1064 */
1065Parent.Child = function () {};
1066
1067/**
1068 * A Grandchild class.
1069 */
1070Parent.Child.Grandchild = function () {};
1071```
1072
1073In addition, filtering by access is now applied to the entire hierarchy: if you
1074mark a class as `@private`, neither it nor its children will be included in the
1075output by default, regardless of the access specifiers of the children.
1076
1077**mdast-based Markdown output**
1078
1079We've switched from templating Markdown output with [Handlebars.js](http://handlebarsjs.com/)
1080to generating an [abstract syntax tree](https://en.wikipedia.org/wiki/Abstract_syntax_tree)
1081of desired output and stringifying it with [mdast](https://github.com/wooorm/mdast).
1082This lets documentation.js output complex Markdown without having to worry
1083about escaping and properly formatting certain elements.
1084
1085**Test coverage 100%**
1086
1087documentation.js returns to 100% test coverage, so every single line
1088of code is covered by our large library of text fixtures and specific tests.
1089
1090**--lint mode**
1091
1092Specifying the `--lint` flag makes documentation.js check for non-standard
1093types, like `String`, or missing namespaces. If the encountered files have
1094any problems, it pretty-prints helpful debug messages and exits with status 1,
1095and otherwise exits with no output and status 0.
1096
1097**Breaking changes**
1098
1099* The `--version` flag is now `--project-version`. `--version` now outputs
1100 documentation.js's version
1101
1102## 2.0.1
1103
1104* Fixes `@param` tags that refer to properties of unmentioned objects: these
1105 will warn instead of crashing. For instance, `/** @param {boolean} foo.bar */`.
1106* Expose `--shallow` option in CLI
1107
1108## 2.0.0
1109
1110* Breaking: Removes `docset` support from documentation.js: this will be supported
1111 by a 3rd party tool in the future. This removal means that we no longer have
1112 node-sqlite3 as a dependency, and documentation can be installed on systems
1113 without a compile toolchain.
1114* JSDoc parse errors are now printed to stderr.
1115* Parameter tags that document sub-parameters, such as `@param {Type} options.option`,
1116 are now nested under their parent parameter.
1117* HTML output now includes events.
1118* Error messages now include source file name and line number.
1119* @typedef names are now inferred correctly.
1120
1121## 1.4.0
1122
1123* Output for the `@throws` tag.
1124* Output in HTML for the `@properties` tag.
1125
1126## 1.3.0
1127
1128* Now infers `name` from `class` and `event` tags
1129* Support for documenting C++ code with the `polyglot` option and `--polyglot` CLI option
1130* Fixed github linking
1131* Support for [JSDoc3-style bracketed optional parameters](http://usejsdoc.org/tags-param.html#optional-parameters-and-default-values), like
1132
1133```js
1134/**
1135 * @param {Type} [param=defaultValue]
1136 */
1137```
1138
1139## 1.2.0
1140
1141* Transforms in package.json `browserify.transform` fields are now applied to
1142 source code so that babel, etc can be supported.
1143* Fixes crash caused by requiring JSON files
1144
1145## 1.1.0
1146
1147* Add `external` option that allows the user to whitelist specific external
1148 modules to be included in with documentation.
1149
1150## 1.0.7
1151
1152* Fixes sorting order of documentation
1153* Switches order of static and instance members in output