All Versions
100
Latest Version
Avg Release Cycle
49 days
Latest Release
1109 days ago

Changelog History
Page 9

  • v4.0.0-beta15 Changes

    November 23, 2016

    ๐Ÿ›  Fixes

    • Infer class augments tag in cases like Foo extends React.Component

    ๐Ÿ”‹ Features

  • v4.0.0-beta14 Changes

    • ๐Ÿ›  Highlight all Markdown, not just examples. Fixes #610
    • ๐Ÿ›  Fix for --config only strip comments on json files (#611)
    • ๐Ÿ”€ Merge inferred return type like we do for params. Refs #359 (#604)
    • ๐Ÿ‘Œ Support webpack's System.import with nice handy babel plugin (#603)
    • Format optional types with ? instead of
    • ๐Ÿ›  Fix membership assignment for old-fashioned prototype members (#599)
    • ๐Ÿ“š Update Node API documentation to include only exposed API surface
    • โž• Add too-much-inference troubleshooting topic
  • v4.0.0-beta13 Changes

    • ๐Ÿ›  Fix linker null reference error
  • v4.0.0-beta12 Changes

    • โšก๏ธ Update Doctrine to handle more JSDoc types
    • ๐Ÿ›  Fix ReferenceError in default theme
    • 0๏ธโƒฃ Show GitHub link for nested elements in default theme
    • ๐Ÿ›  Fix linking resolution order
  • v4.0.0-beta11 Changes

  • v4.0.0-beta10 Changes

    • Lower memory consumption when dealing with large codebases
    • ๐Ÿ‘ Better support for detecting names and kinds of ES6-exported values
    • ๐Ÿ†• New document-exported flag allows you to automatically document ES6-exported values, without even a comment! 490
  • v4.0.0-beta1 Changes

    Now using Babel 6!

    ๐Ÿ“š Much long-awaited upgrade makes documentation.js compatible with fresh ๐Ÿ†• new Babel-using codebases.

    And also:

    • ๐Ÿ‘ GitHub Enterprise support
    • ๐Ÿ†• New tag support: abstract, override, readonly, interface, variation, see, todo (only in parsing phase, not yet in all outputs)
    • 0๏ธโƒฃ Parses jsx and es6 extensions by default, as well as .js
    • ๐Ÿ›  Fixes polyglot mode
    • Now shows the @throws tag content in Markdown output
    • ๐Ÿ‘Œ Support for example captions
  • v4.0.0-beta Changes

    ๐Ÿ“š Revitalized documentation.js command line interface!

    ๐Ÿ“š The documentation utility now takes commands:

    • ๐Ÿ“š documentation build extracts and formats documentation
    • ๐Ÿ“š documentation serve provides an auto-reloading server (#236)
    • ๐Ÿ“š documentation lint reviews files for inconsistencies
    • ๐Ÿ“š documentation readme patches API documentation into a readme (#313 by @anandthakker)

    ๐Ÿ“š This functionality was previously included in dev-documentation and has ๐Ÿ“š been folded into documentation proper.

    Much more flexible themes

    ๐Ÿ“š Themes are now much more customizable. In documentation.js 3.x and before, themes were required to use Handlebars templates and produce a single page. In ๐Ÿ“š documentation.js 4.x and beyond, they are JavaScript modules that can use ๐Ÿ‘€ any template engine and produce any number of files. See the ๐Ÿ“š new theme documentation for details.

    More precise traversal

    Inference in 4.x is stricter than in 3.x: comments must be adjacent ๐Ÿ“š to the statements they document. This should make documentation generation much more predictable.

    ๐Ÿ‘Œ Support for the revealing module pattern

    /** Foo */
    function Foo() {
      /** Test */
      function bar() {}
      return {
        bar: bar
      };
    }
    

    ๐Ÿ†• New support for the JavaScript module pattern! ๐Ÿ“š This was implemented in #324 by Charlie Brown.

    ๐Ÿ’ฅ Breaking changes

  • v3.0.4 Changes

    • ๐Ÿ‘ Allow parameter types to be mixed into explicit parameter documentation. (#239 and #232)
    • ๐Ÿ‘Œ Support GitHub links in Markdown output (#238)
  • v3.0.3 Changes

    • ๐Ÿ›  Infer typedefs from Flow type aliases. Fixes #227
    • ๐Ÿ›  Fix type-annotated rest expressions, raised in #230