dgeni-packages
Advanced tools
Changelog
0.21.4 28 September 2017
Changelog
0.21.3 22 September 2017
Changelog
0.21.2 11 September 2017
Changelog
0.21.1 4 September 2017
Changelog
0.21.0 4 September 2017
extands
and implements
ancestor info d7c29603## BREAKING CHANGES:
Previously, the doc.implementsClauses
and doc.extendsClauses
were arrays
of strings, describing the text of the clause.
Now, these properties are of type HeritageInfo
:
class HeritageInfo {
symbol: Symbol | undefined;
doc: ClassLikeExportDoc | undefined;
type: ExpressionWithTypeArguments;
text: string;
}
where the text
property holds the value that was previously provided.
You need to change your code/templates to access the text of the heritage clause from:
{% for clause in doc.extendsClauses %}{$ clause $}{% endfor %}
to:
{% for clause in doc.extendsClauses %}{$ clause.text $}{% endfor %}
Changelog
0.20.1 16 August 2017
Changelog
0.20.0 27 July 2017
This is the full release of 0.20.0 - the list of changes below includes all the beta and release candidate changes.
realFilePath
/realProjectRelativePath
to FileInfo
c7d1b54c_
are privatePreviously to 0.20.0 the service where you registered namespaces not to strip
was called ignoreTypeScriptNamespaces
and took an array of regular expressions.
Now this service is called namespacesToInclude
, which better reflects its
purpose. Also it is now an array of strings, since there was little benefit in it
being a regular expression.
The typescript package has been completely rewritten in TypeScript. One benefit of this is that typings should be available for the API doc types in your own projects.
Along the way there are some changes to the properties that are attached to the API docs that are generated. Here is a list of the things that might affect you:
_
are no longer considered private. You should filter them out in a
custom processor if you do not want them to appear in the docs.returnType
but that did not make sense for non-functions. This property is renamed to type
.heritage
,
which was a string representation containing both "implements" and "extends" clauses. These have now
been split into two properties implementsClauses
and extendsClauses
, which each contain an array
of strings.Changelog
0.20.0-rc.6 14 July 2017
typescript: add type parameters to function export docs c2c29270