- [fix] Try to fix EOLs.
- [fix] Upgrade
makePromise
.
- [license] Change to AGPL.
- [feature] Support
no-embed
attribute and inherit attributes for embedding.
- [feature] Add
<embed>
element to the schema.
- [fix] Fix the typedef order of extended types (nominal comes first).
- [fix] Fix how constructors are parsed and serialised.
- [fix] Fix the order when flattening.
- [feature] Read
<record>
tags. - [fix] Pass through
flatten
to extends markdown generation.
- [fix] Run
nameProcess
on the extends type. - [feature] Pass odd or even argument to the
nameProcess
when generating mdTable.
- [feature] Add the
return
property to the Property. - [doc] Update
schema
to include examples.
- [feature] Arguments for interfaces/constructors in externs.
- [feature] Template no return.
- [fix] Add constructor property on constructors/interfaces even without args.
- [fix] Add location to the template.
- [fix] Fix reading examples for
fns
.
- [fix] Read relative properties' examples.
- [feature] Relative example paths.
- [fix] Fix ordering.
- [fix] Fix examples' indentation.
- [fix] Add examples to
prop
.
- [fix] Fix variable arg param names in externs.
- [fix] Print descriptions of var args.
- [fix] Variable args names in template.
- [fix] Fix examples parsing.
- [fix] Pass
examples
to constructor prop.
- [feature] Generate classes in templates.
- [fix] Add
examples
to Type's externs.
- [fix] Indent templates with multiple lines in descriptions.
- [feature] Read and embed examples into templates.
- [feature] Allow to extend multiple supers.
- [fix] Print methods in externs as typedefs.c
- [feature] Allows to pass a directory via
-t
for source JSDoc generation.
- [fix] Fix arguments names in function assignment in externs.
- [fix] Fix JSDoc regex to pickup descriptions over multiple lines.
- [fix] Print
*
in descriptions with new lines in JSDoc rule.
- [fix] Correct
this
args count and allow to print...custom
var args in typescript types.
- [fix] Pass
this
and...args
arguments in<fn><arg>
correctly.
- [fix] Pass
useNamespace
via arguments for source (non-closure) JSDoc.
- [refactor] Create a separate class for Method which together with the Interface now extend the Type.
- [refactor] Extract all possible tags at once, fix root namespace of constructor/interfaces arguments.
- [package] Compile the library to remove dependencies.
- [fix] Better TypeScript serialisation, assume unknown return not
*
orvoid
. - [feature]
initial
attribute for constructors and interfaces in addition to default of records. - [feature] Display
constructor
property of constructors/interfaces in the table. - [feature]
@methodType
in templates. - [types] Write interfaces.
- [doc] Populate Wiki.
- [fix] Fix parsing the null return of functions.
- [feature] Display VSCode-style types in README documentation.
- [feature] Show static types at the top of typedef markdown table.
- [fix] Remove root namespace from fn args.
- [fix] Don't print static methods and properties in typedef.
- [fix] Don't specify void return in externs.
- [fix] Respect root namespace in arguments.
- [fix] Allow static properties that are not methods.
- [fix] Correct
/** */
when no description is given for properties. - [feature] Add the
namespace
flag to decouple closure from namespaces and allow writing types for VSCode. - [feature] Write
<methods>
as types, with return and async properties. - [feature] Type aliases will create a cloned type with a different name.
- [feature]
<interface>
and<constructor>
shortcuts for types. - [api] Export
getLinks
method.
- [deps] Install missing
@wrote/read
.
- [fix] Allow to template constructor methods and properties.
- [feature] Static methods and interfaces in schema.
- [feature] Generate source code from template
- [feature] Update XML schema to specify properties which are functions and their args with
<args>
. - [feature] Create externs in form of
/** * Fn desc. * @param {string} param1 Arg1 Desc * @param {boolean} param2 Arg2 Desc */ _ns.Type.prototype.fn = function(param1, param2)
- [doc] Move some documentation to wiki.
- [API]
Type.toMarkdown
now always returns { LINE, table }.
- [feature] Allow to write properties as functions.
- [fix] Indent new lines in JSDoc descriptions with
*
. - [feature] Support aliases for properties.
- [feature] Link types in a type's line tag (Closed #13).
- [feature] Link types in extends.
- [feature] Add the
link
property to be able to link types across all files. - [fix] Don't warn of global API types, such as Date, Buffer, etc.
- [fix] Don't warn of
*
usage.
- [feature] Better trimming of info from XML files.
- [feature] Aliases to types.
- [feature] Narrow table for Documentary.
- [fix] Use the
<strong>
tag in props.
- [fix] Call flatten callback.
- [feature] Write
extends
information and link to external source if present. - [feature] Flatten links, i.e., don't link on the same page but to the
link
ed location straight away, and display the description (desc
) in the title attribute. - [feature] Narrow display style, for GitHub Wiki.
- [deps] Upgrade
rexml
to 2.0.0 (major). - [fix] Print
@
(Fullwidth Commercial At) instead of@
in JSDoc tags (e.g.,@interface
) for TypeScript 3.5.
- [fix] Fix escaping
null
in property table.
- [feature] Add the
skipNsDecl
tag to prevent adding of the namespace declaration.
- [feature] Add tags (
@constructor/record/interface
) to JSDoc typedefs' description.
- [fix] Print nullability in linking.
- [fix] Group types when optional is given to prevent merging with
undefined
. - [fix] Don't escape
\\|
twice if the link to a type. - [feature] Add
title
attribute to the link to a type if it has description.
- [feature] Ignore types from the marker.
- [package] Publish again as registry does not find
v1.9.1
.
- [fix] Correct the imports with namespace printing and linking (including for the
rootNamespace
); returnImports
in from the parse method.
- [feature] Pass multiple source files.
- [feature] Pass arguments via the marker; allow to disable suppress annotations with
@suppress
.
- [feature] Pass
-t
flag to fetch types' info from a given file. - [doc] Fix import schema, discuss Structural Interfaces.
- [fix] Fix disabling the root namespace for multiple properties of a type.
- [fix] Fix multiple escapes in types' names.
- [fix] Fix order of joining function's linked args.
- [feature] Support variable arguments linking.
- [feature] Use
@typedefs/parser
for better types linking and source code warnings.
- [doc] Document schema.
- [feature] Prototypes notation,
@constructors
,@interfaces
and@records
; extends annotations.
- [feature] Basic parsing of the types in a function type, to link.
- [fix] Fix the
bin
location.
- [feature] Compile binary with Google Closure Compiler via Depack.
- [feature] Update library to support namespaces.
- [doc] Write documentation.
- [fix] Fix escape bug in property with no description.
- [deps] Unfix deps.
- [fix] Implement the
whitespace
argument, e.g., when used inside of classes.
- [package] Add module and
src
. - [fix] Escape pipes in description.
- [fix] Add space before and after
|
in piped types (todo: test when types are given inside of brackets eg(type|type2)
).
- [feature] Skip printing
Default
column when no properties have it.
- [feature] Parse types inside of the
Object.<string, Type>
construct.
- Create
typal
with [mnp
][https://mnpjs.org] - [repository]:
src
,test