v4.1.0
[4.1.0] 19.02.2021
- π [Misc] Update the ReadMe by @soft-decay.
- β [Added] Implement support of imported types parsing, f.ex.
@type {import('../typings.d.ts').ExternalTypeClass}
. In order to do this, new fieldimportPath
introduced toJSDocType
, in the name property now it returns imported class name, f.ex.:ExternalTypeClass
. - π [Fixed] Complete fix of Issue #1: Support parsing event names from top-level constant objects with accessing to their properties by naming strings. Introduce the new issue Issue #48 about supporting parse of event names by external references.
- π [Fixed] Fix the Issue #47, now all comments in markup are parsed correctly and attached to required items in document. Support JSDoc comment markup parsing in all places where comment can be used.
- π [Fixed] Fix the Issue #61, now slot parameter items enrich with all detailed information that was parsed from markup comment.
- π [Fixed] Spec: add the module definition typings to
typings.d.ts
file. - π [Fixed] Fix some edge-cases in script parsing logic.
- π [Tech] Refactor internal parser logic to make it easy to introduce new features, moves forward to TS support! ;)
- π₯ [Breaking] Spec: change the
SvelteSlotParameter
definition, to supportname
,description
,type
fields, instead of many not relevant fields that was inherited fromISvelteItem
interface. - π₯ [Breaking] Spec: change the
SvelteSlotItem
definition, to improve consistency:- Rename
parameters
property toparams
to be most likely the same asSvelteMethodItem
. Old field still available until 5.* release.
- Rename
Thanks a lot @soft-decay for contributing in this release!