Skip to content

v4.0.0

Compare
Choose a tag to compare
@alexprey alexprey released this 25 Jan 15:41
· 79 commits to master since this release

[4.0.0] 25.01.2021

  • πŸ›  [Fixed] Fix Issue #42
  • πŸ›  [Fixed] Partially fixed Issue #1. Now event name correcly parsed if it provided by top-level constant of the same file. Thanks for @soft-decay
  • βœ” [Added] Support to complete parsing of component method arguments Issue #39. Thanks for @soft-decay
  • βœ” [Added] Support to parse return types and description for methods in component Issue #37. Thanks for @soft-decay
  • βœ” [Added] Options validation, thanks for @soft-decay
  • πŸ”₯ [Breaking] API rework for component methods description:
    • args property was renamed to params;
    • Change the structure of return item for methods:
      • desc property was renamed to description;
      • type property now contains the JSDocType object, instead of string type with text representation of type. This can be gets from text property of JSDocType object;
    • [Svelte2]: method arguments was presented with plain array with names, now that replaced with objects of SvelteMethodParamItem type;
  • πŸ”₯ [Breaking] Cleanup depricated code:
    • loc property was removed, please use locations instead, if you late with upgrade;
    • value property of SvelteComponentItem was removed, please use importPath instead