All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
4.1.0 (2020-01-22)
- Updated JSDoc core dependency to v3.6.3 (latest as of Jan, 2020.)
- Added
config
option that enables passing a custom configuration to the underlying JSDoc core. This bypasses all parser options. (PR by @JustinBeaudry) - Updated other dependencies to their latest versions.
- An issue where JSDoc core (v3.6.x) produces some duplicate symbols especially when some ES2015 exporting is used within the code.
4.0.3 (2019-01-08)
filter
(orpredicate
) option now also accepts a regular expression string.- Improved
cleanName()
inner method that returns clean symbol names.
4.0.0 (2018-11-18)
- Breaking: Requires Node.js v8 or later. This change is due to the core dependency
fs-extra
update. - Minor improvements.
3.0.0 (2018-02-24)
- Breaking: Requires Node.js v6 or later. (Dropped support for Node v4.)
- Improved the symbol sorting logic. You can now sort by
scope
, byaccess
type, bykind
,grouped
oralphabetic
. See docs. .isMethod()
utility method to returnfalse
for getters/setters (which will be treated as properties, not methods).- Updated dependencies.
getKind()
utility method. This is not the same assymbol.kind
. i.e. JSDoc generates a constructor's kind as"class"
. This will return"constructor"
.$kind
property to documented symbols when parsed. Seeutils.getKind()
method to see how it's different thansymbol.kind
.- Utility methods:
getLevels()
,getParentName()
,getParent()
,getKind()
,isEvent()
,isGenerator()
,isCallback()
,isConstant()
,isInterface()
,isExternal()
,isMixin()
,isPackagePrivate()
. - More tests for
utils
.
- An issue with
utils.isClass()
method wheremeta.code.type
is not set toClassDeclaration
. .isProperty()
utility method. It'll now returnfalse
if symbol is a method/function. This also affects the following methods:.isStaticProperty()
,.isInstanceProperty()
.
2.0.2 (2018-01-18)
- Updated dependencies.
2.0.1 (2017-08-24)
options.debug
for.parse()
method. Fixes #4.
2.0.0 (2017-08-24)
- Breaking: Requires Node.js v4 or newer.
- Updated
jsdoc
core module from v3.4.3 to v3.5.4. This adds support for ES2015 code, new tags such as@hideconstructor
, etc.. (See [all JSDoc changes here][jsdoc-releases]). - Any temporary files generated are now gracefully cleaned up, after parsing is complete.
- Updated dependencies to latest versions.
- An issue where constructor could not be detected due to a JSDoc bug. For example, in ES2015 code, if the constructor is not marked with
@constructs
the longname is incorrect e.g.ClassName#ClassName
instead ofClassName
. We fixed this both forutils.getLongName()
and for constructor-detection within thehierarchy
process. - An issue where some symbols were not moved to
$members
collection because of its<anonymous>~
prefix. This has occurred when thehierarchy
option was enabled. - An issue with a rare case that occurred when a JSDoc comment contained a specific string.
utils.getLongName()
(was broken after JSDoc updated).
1.3.3 (2017-03-10)
ignored
boolean option that specifies whether to exclude symbols marked with@ignore
tag in the output.utils.isIgnored()
.utils.isDeprecated()
.
1.3.2 (2017-03-09)
- Improved symbols sorting logic/performance.
utils.getSymbolNames()
utility method.
1.3.0 (2017-03-05)
- Updated dependencies to latest versions.
- Options:
allowUnknownTags
,dictionaries
,includePattern
,excludePattern
. - JSDoc plugin support via the new
plugins
option.
1.1.0 (2016-08-13)
- Utility methods:
utils.isPublic()
,utils.isPrivate()
,utils.isProtected()
.
- Constructors would still show up in the output even though
@private
is set.
1.0.8 (2016-06-06)
- Sort options now sorts with
$longname
.
- JSDoc overwrites the
longname
andname
of the symbol, if it has analias
. Now we additionally output a$longname
property with each symbol, that returns the correct/original long name. See issue at JSDoc repo. - Utility methods:
utils.getCodeName()
,utils.isInner()
andutils.isTypeDef()
(alias:utils.isCustomType()
).
utils.getFullName()
(alias:utils.getLongName()
).
1.0.5 (2016-05-30)
- Utility methods
utils.notate()
andutils.isModule()
.
sort
option. Alsosymbol.properties
are sorted, as well as the symbols.utils.isMethod()
. Added aliasutils.isFunction()
utils.isClass()
.
1.0.2 (2016-05-10)
- Parsing an array of files was broken. Fixed. (PR #2)
1.0.1 (2016-05-07)
utils.isMethod()
.
1.0.0 (2016-05-05)
glob
support forfiles
option of.parse()
method.source
option for.parse()
method.hierarchy
option for.parse()
method.sort
option for.parse()
method..filter()
method for use with (already parsed) documentation array.utils
as a utility module for documentation symbols.
0.4.8 (2016-03-19)
- If the parent project(s) has
jsdoc
, ours won't get installed. Since we use a specific file withinjsdoc
module, we cannot find it viarequire()
. Now, fixedjsdoc
path resolver. This will either use the local or from the parent project(s) properly.
output
option to write JSON file.
- Using
child_process.spawn
instead ofexecFile
since the latter has 200kb limit.
filter
,undocumented
,undescribed
,module
options.- Jasmine tests.
- Support for both Promises and callbacks.
relativePath
option.
- Initial.