Changelog
3.2.2 (November 2013)
...!string
(a repeatable, non-nullable string) is now parsed correctly. (#502)prototype
, the parameter is no longer renamed during
parsing. (#505)Changelog
3.2.1 (October 2013)
processingComplete
event after JSDoc has completed all
post-processing of the parse results. This event has a doclets
property containing an array of
doclets. (#421)parseComplete
event, the event now includes a doclets
property
containing an array of doclets. (#431)source.exclude
option. Relative
paths will be resolved relative to the current working directory. (#405)@default
tag, and its default value is an object literal, this value is now
stored as a string, and the doclet will have a defaultvaluetype
property containing the string
object
. This change enables templates to show the default value with appropriate syntax
highlighting. (#419){@link}
tags can now contain newlines. (#441)#!/usr/bin/env node
),
the hashbang is now ignored when the file is parsed. (#499)let
. (#477)function[]
is now parsed correctly. (#493)@module
and @param
, if a hyphen is used to separate the
name and description, the hyphen must appear on the same line as the name. This change prevents a
Markdown bullet on the followng line from being interpreted as a separator. (#459)@param
tag with an invalid type expression no longer causes a
crash. (#448)@requires
tag can now contain an inline tag in its tag text. (#486)@returns
tag can now contain inline tags even if a type is not specified. (#444)@returns
tag with no value no longer causes a crash. (#451)@type
tag now works correctly with type expressions that span multiple lines. (#427){@link}
tags preceded by bracketed link text (for example,
[test]{@link Test#test}
), HTML links are now generated correctly even if the string contains other
bracketed text. (#470)templates.default.outputSourceFiles: false
to your conf.json
file. (#454)-e/--encoding
option. (#496)@default
tag is added to a symbol whose default value is an object, the value is now
displayed in the output file. (#419)Changelog
3.2.0 (May 2013)
--lenient
(-l
) command-line option. (Multiple issues)@listens
tag to indicate that a symbol listens for an event. (#273)The parser now fires a parseBegin
event before it starts parsing files, as well as a
parseComplete
event after all files have been parsed. Plugins can define event handlers for these
events, and parseBegin
handlers can modify the list of files to parse. (#299)
Event handlers for jsdocCommentFound
events can now modify the JSDoc comment. (#228)
You can now exclude tags from Markdown processing using the new option markdown.excludeTags
in
the configuration file. (#337)
You can now use the marked Markdown parser by setting the
configuration property markdown.parser
to marked
. In addition, if markdown.parser
is set to
gfm
, JSDoc will now use the "marked" parser instead. (#385)
The @typedef
tag no longer requires a name when used with a Closure Compiler-style type
definition. For example, the following type definition will automatically get the name Foo.Bar
:
```javascript
/** @typedef {string} */
Foo.Bar;
```
(#391)
You can now use an inline {@type}
tag in a parameter's description. If this tag is present,
JSDoc will assume that the parameter uses the type specified in the inline {@type}
tag. For
example, the following @param
tag would cause myParam
's type to be documented as Foo
:
```
@param {(boolean|string)} myParam - My special parameter. {@type Foo}
```
(#152)
The console.log
function now behaves the same way as on Node.js. In addition, the functions
console.info
, console.error
, console.warn
, and console.trace
have been implemented. (#298)
You can now use npm to install JSDoc globally by running npm install -g
. Note: JSDoc will
still run under Mozilla Rhino, not Node.js. (#374)
The jsVersion
configuration property has been removed. (#390)
--explain
(-X
) option now runs much more quickly, and it outputs valid JSON to the
console. (#298)--lenient
(-l
) option now prints warnings on STDERR rather than STDOUT. (#298){@link}
tag now works correctly when @link
is followed by a tab. (#359)overloadHelper
plugin makes it easier to link to overloaded methods. (#179)markdown
plugin now converts Markdown links in the @see
tag. (#297)templates.default.staticFiles
to copy additional
static files to the output directory. (#393)@property
tag does not identify the property's name, the template no longer throws an
error. (#373)@typedef
is now displayed. (#391)@see
tag contains a URL (for example, @see http://example.com
or
@see <http://example.com>
), the tag text is now converted to a link. (#371)