mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
2.6 KiB
2.6 KiB
JSDoc 3 change history
This file describes notable changes in each version of JSDoc 3. To download a specific version of JSDoc 3, see GitHub's tags page.
3.1.0 (TBD)
NOTE: This change history is a work in progress.
Major changes
- JSDoc now provides a
-l/--lenientoption that tells JSDoc to continue running if it encounters a non-fatal error. (Multiple issues)
Enhancements
- If a
README.mdfile is passed to JSDoc, its contents will be included on theindex.htmlpage of the generated documentation. (#128) - The
@extendstag now supports undocumented objects such aswindow.XMLHttpRequest. In addition, you can now use@hostas a synonym for@extends. (#145) - The
@lendstag is now supported in multiline doclets. (#163) - The
jsdocandjsdoc.cmdscripts now work correctly with paths that include spaces. (#127, #130) - On Windows,
jsdoc.cmdnow provides the same options as thejsdocshell script. (#127)
Bug fixes
- JSDoc now provides default options for the values in
conf.json. (#129) - Doclets for getters and setters are now parsed appropriately. (#150)
Plugins
- The new
partialplugin adds support for a@partialtag, which links to an external file that contains JSDoc comments. (#156) - The new
verboseplugin logs the name of each input file to the console. (#157)
Template improvements
- The default template now omits the "Classes" header when no classes are documented. (
eb0186b9)
3.0.1 (June 2012)
Enhancements
- The
conf.jsonfile may now containsource.includeandsource.excludeproperties. (#56)source.includespecifies files or directories that JSDoc should always check for documentation.source.excludespecifies files or directories that JSDoc should never check for documentation. These settings take precedence over thesource.includePatternandsource.excludePatternproperties, which contain regular expressions that JSDoc uses to search for source files.
- The
-t/--templateoption may now specify the absolute path to a template. (#122)
Bug fixes
- JSDoc no longer throws exceptions when a symbol has a special name, such as
hasOwnProperty. (1ef37251) - The
@aliastag now works correctly when documenting inner classes as globals. (810dd7f7)
Template improvements
- The default template now sorts classes by name correctly when the classes come from several modules. (
4ce17195) - The Haruki template now correctly supports
@example,@members, and@returnstags. (6580e176,59655252,31c8554d)
3.0.0 (May 2012)
Initial release.