Skip to content

Latest commit

 

History

History
463 lines (259 loc) · 14.3 KB

CHANGELOG.md

File metadata and controls

463 lines (259 loc) · 14.3 KB

3 February 2020

  • [fix] Try to fix EOLs.
  • [fix] Upgrade makePromise.

23 January 2020

  • [license] Change to AGPL.
  • [feature] Support no-embed attribute and inherit attributes for embedding.

22 January 2020

  • [feature] Add <embed> element to the schema.

26 December 2019

  • [fix] Fix the typedef order of extended types (nominal comes first).

21 December 2019

  • [fix] Fix how constructors are parsed and serialised.
  • [fix] Fix the order when flattening.

20 December 2019

  • [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.

19 December 2019

  • [feature] Add the return property to the Property.
  • [doc] Update schema to include examples.

18 December 2019

  • [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.

17 December 2019

  • [fix] Fix variable arg param names in externs.
  • [fix] Print descriptions of var args.
  • [fix] Variable args names in template.
  • [fix] Fix examples parsing.

16 December 2019

  • [fix] Pass examples to constructor prop.
  • [feature] Generate classes in templates.
  • [fix] Add examples to Type's externs.

15 December 2019

  • [fix] Indent templates with multiple lines in descriptions.
  • [feature] Read and embed examples into templates.

9 December 2019

  • [feature] Allow to extend multiple supers.

8 December 2019

  • [fix] Print methods in externs as typedefs.c

29 November 2019

  • [feature] Allows to pass a directory via -t for source JSDoc generation.

6 September 2019

  • [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.

5 September 2019

  • [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.

18 August 2019

  • [fix] Pass useNamespace via arguments for source (non-closure) JSDoc.

10 August 2019

  • [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 * or void.
  • [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.

7 August 2019

  • [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.

6 August 2019

  • [fix] Don't print static methods and properties in typedef.
  • [fix] Don't specify void return in externs.

5 August 2019

  • [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.

3 August 2019

  • [deps] Install missing @wrote/read.

1 August 2019

  • [fix] Allow to template constructor methods and properties.
  • [feature] Static methods and interfaces in schema.

31 July 2019

  • [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 }.

29 July 2019

  • [feature] Allow to write properties as functions.

26 July 2019

  • [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.

24 July 2019

  • [feature] Better trimming of info from XML files.
  • [feature] Aliases to types.
  • [feature] Narrow table for Documentary.

22 July 2019

  • [fix] Use the <strong> tag in props.

21 July 2019

  • [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 linked location straight away, and display the description (desc) in the title attribute.
  • [feature] Narrow display style, for GitHub Wiki.

20 June 2019

  • [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.

15 May 2019

  • [fix] Fix escaping null in property table.

9 May 2019

  • [feature] Add the skipNsDecl tag to prevent adding of the namespace declaration.

1 May 2019

  • [feature] Add tags (@constructor/record/interface) to JSDoc typedefs' description.
  • [fix] Print nullability in linking.

30 April 2019

  • [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); return Imports 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.

29 April 2019

  • [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.

24 April 2019

  • [doc] Document schema.
  • [feature] Prototypes notation, @constructors, @interfaces and @records; extends annotations.

20 April 2019

  • [feature] Basic parsing of the types in a function type, to link.

17 April 2019

  • [fix] Fix the bin location.
  • [feature] Compile binary with Google Closure Compiler via Depack.
  • [feature] Update library to support namespaces.
  • [doc] Write documentation.

4 April 2019

  • [fix] Fix escape bug in property with no description.
  • [deps] Unfix deps.

28 March 2019

  • [fix] Implement the whitespace argument, e.g., when used inside of classes.

12 March 2019

1.2.1

  • [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)).

25 September 2018

1.2.0

  • [feature] Skip printing Default column when no properties have it.

1.1.0

  • [feature] Parse types inside of the Object.<string, Type> construct.

24 September 2018

1.0.0