UNPKG

9.23 kBMarkdownView Raw
1# Change Log - @microsoft/tsdoc
2
3This log was last generated on Wed, 20 May 2020 22:33:27 GMT and should not be manually modified.
4
5## 0.12.20
6Wed, 20 May 2020 22:33:27 GMT
7
8### Patches
9
10- Add support for `@see` tag
11- Improve documentation for `@inheritDoc`
12
13## 0.12.19
14Fri, 27 Mar 2020 23:14:53 GMT
15
16### Patches
17
18- Add some missing entries to TSDocConfiguration.allTsdocMessageIds() which were breaking eslint-plugin-tsdoc
19- Fix an issue where "h1" was not allowed as an HTML element name
20
21## 0.12.18
22Sat, 22 Feb 2020 20:44:16 GMT
23
24### Patches
25
26- Fix an issue where JSDoc optional params were not parsed correctly
27
28## 0.12.17
29Sat, 22 Feb 2020 02:55:07 GMT
30
31### Patches
32
33- Improve the parsing of `@param` and `@typeParam` tags to recognize legacy syntaxes
34
35## 0.12.16
36Tue, 19 Nov 2019 22:01:56 GMT
37
38### Patches
39
40- Add some new TSDocMessageId definitions used by @microsoft/tsdoc-config
41
42## 0.12.15
43Sat, 09 Nov 2019 05:55:42 GMT
44
45### Patches
46
47- Add new API TSDocConfiguration.allTsdocMessageIds
48
49## 0.12.14
50Wed, 04 Sep 2019 03:30:10 GMT
51
52### Patches
53
54- Fix a regression where some API signatures were incompatible with TypeScript versions prior to 3.4
55
56## 0.12.13
57Fri, 30 Aug 2019 18:38:59 GMT
58
59### Patches
60
61- Fix an invalid regular expression.
62
63## 0.12.12
64Wed, 07 Aug 2019 23:06:02 GMT
65
66### Patches
67
68- Improve DeclarationReference.parse for module sources
69- Add a definition for the `@throws` block tag (RFC 171)
70
71## 0.12.11
72Wed, 24 Jul 2019 00:38:18 GMT
73
74### Patches
75
76- Add new meanings to DeclarationReference and fix some parsing bugs
77
78## 0.12.10
79Fri, 19 Jul 2019 02:47:09 GMT
80
81### Patches
82
83- Add beta implementation of new DeclarationReference API
84
85## 0.12.9
86Thu, 11 Apr 2019 03:58:35 GMT
87
88### Patches
89
90- Improve the wording of the error messages involving character sequences that look like TSDoc tags
91
92## 0.12.8
93Tue, 12 Mar 2019 23:18:11 GMT
94
95### Patches
96
97- Fix an issue where tsdoc-param-tag-with-invalid-name was sometimes incorrectly reported certain identifiers (issue #148)
98
99## 0.12.7
100Fri, 01 Mar 2019 06:39:52 GMT
101
102### Patches
103
104- Add new API TSDocConfiguration.isKnownMessageId()
105
106## 0.12.6
107Thu, 28 Feb 2019 01:29:39 GMT
108
109### Patches
110
111- Add a new API ParserMessage.messageId with a unique ID useful for filtering and searching for errors
112
113## 0.12.5
114Tue, 29 Jan 2019 22:49:58 GMT
115
116### Patches
117
118- Update parser to allow `$` character in `@param` names, since ECMAScript allows this in unquoted identifiers
119- Allow `$` character in declaration reference member identifiers (Example: `{@link Button.$render}`)
120
121## 0.12.4
122Tue, 20 Nov 2018 21:23:06 GMT
123
124### Patches
125
126- Add new interface `IStringBuilder`
127
128## 0.12.3
129Tue, 20 Nov 2018 07:42:17 GMT
130
131### Patches
132
133- Add a new API `PlainTextEmitter.hasAnyTextContent()`
134
135## 0.12.2
136Fri, 09 Nov 2018 15:13:13 GMT
137
138### Patches
139
140- Improve trimming of spacing for link text in `{@link}` tags
141
142## 0.12.1
143Tue, 06 Nov 2018 01:37:22 GMT
144
145### Patches
146
147- Allow HTML in a `DocSection` node
148- Fix a bug where `TSDocEmitter.renderHtmlTag()` and `TSDocEmitter.renderDeclarationReference()` were including comment framing
149- Add `DocSection.appendNodesInParagraph()` API
150
151## 0.12.0
152Sat, 03 Nov 2018 02:07:10 GMT
153
154### Minor changes
155
156- (API change) `DocErrorText` is no longer allowed in `DocSection`; instead it must be part of a `DocParagraph`
157- (API change) Rename `TSDocParserConfiguration` to `TSDocConfiguration`
158- (API change) Require an associated `TSDocConfiguration` to be included with the parameters for every `DocNode` constructor
159- Introduce `TSDocConfiguration.docNodeManager` for registering custom `DocNode` subclasses and their container relationships
160
161### Patches
162
163- Add `DocDeclarationReference.emitAsTsdoc()`, `DocHtmlStartTag.emitAsHtml()`, and `DocHtmlEndTag.emitAsHtml()`
164- Child nodes can now be specified as a second constructor parameter for `DocNodeContainer`
165
166## 0.11.0
167Sat, 27 Oct 2018 04:52:23 GMT
168
169### Minor changes
170
171- (API change) Introduce `DocParamCollection` to enable efficient lookups of parameters by name
172- (API change) Rename `DocComment.typeParamBlocks` --> `DocComment.typeParams`
173- (API change) Rename `DocComment.paramBlocks` --> `DocComment.params`
174
175## 0.10.0
176Fri, 26 Oct 2018 08:42:51 GMT
177
178### Minor changes
179
180- Add new APIs `DocComment.emitAsTsdoc()`, `TSDocEmitter`, and `StringBuilder`
181
182## 0.9.3
183Thu, 25 Oct 2018 08:29:36 GMT
184
185### Patches
186
187- Fix issue where `DocErrorText.text` returned `[object Object]` instead of the text
188
189## 0.9.2
190Wed, 17 Oct 2018 13:41:54 GMT
191
192### Patches
193
194- Fix stack overflow in DocFencedCode.language property getter
195
196## 0.9.1
197Wed, 17 Oct 2018 12:49:01 GMT
198
199### Patches
200
201- Fix a regression where the paragraph splitter was sometimes skipping blocks
202
203## 0.9.0
204Wed, 17 Oct 2018 04:47:19 GMT
205
206### Minor changes
207
208- (API change) Change `DocBlock` to have a `DocSection` property rather than inheriting from `DocSection`; this eliminates confusion about which nodes belong to the container
209- (API change) Rename `DocParticle` to `DocExcerpt`, and eliminate the `Excerpt` class
210- (API change) Eliminate `DocNodeLeaf`, since now `DocExcerpt` is the only class that can represent excerpts
211- (API change) Remove `DocNode.updateParameters()` because it is no longer needed
212- (API change) Spacing is now represented as a normal `DocExcerpt`, rather than via a special `Excerpt.spacingAfterContent`
213- (API change) Simplify `DocNodeTransforms.trimSpacesInParagraph()` to no longer merge/remap excerpts during the transformation. If we need this information, we will track it differently.
214
215## 0.8.1
216Sun, 07 Oct 2018 06:30:34 GMT
217
218### Patches
219
220- Improve error reporting for declaration references that are probably missing a `"#"` delimiter
221- Rename `DocCodeFence` to `DocFencedCode`
222
223## 0.8.0
224Wed, 03 Oct 2018 02:43:47 GMT
225
226### Minor changes
227
228- Introduce a distinction between "defined" tags (i.e. recognized) versus "supported" tags (i.e. implemented by the tool)
229- The parser optionally reports usage of undefined tags
230- The parser optionally reports usage of unsupported tags
231- The parser reports usage of inline/block syntax that is inconsistent with the tag definition
232- Code spans are now allowed to be adjacent to other text, but must contain at least one character
233- An `@deprecated` block must contain a deprecation message
234- If `@inheritDoc` is used, then the summary section must be empty, and there must not be an `@remarks` block
235
236## 0.7.0
237Tue, 02 Oct 2018 02:35:35 GMT
238
239### Minor changes
240
241- Add support for `@defaultValue` tag
242- Add support for `@typeParam` tag
243
244## 0.6.0
245Mon, 01 Oct 2018 22:11:24 GMT
246
247### Minor changes
248
249- Add support for `@link` tags using the new declaration reference syntax
250- Add support for `@inheritDoc` tags
251- Add new APIs: `DocDeclarationReference`, `DocInheritDocTag`, `DocLinkTag`, `DocMemberIdentifier`, `DocMemberReference`, `DocMemberSelector`, `DocMemberSymbol`
252- Remove `ParserContext.verbatimNodes`
253- Add `DocParticle.particleId` property
254
255## 0.5.0
256Tue, 25 Sep 2018 03:04:06 GMT
257
258### Minor changes
259
260- Add a new API `DocNode.updateParameters()` that allows a `DocNode` object to be updated after it was created; the tree nodes are no longer immutable
261- Add `DocNodeTransforms.trimSpacesInParagraphNodes()` for collapsing whitespace inside `DocParagraph` subtrees
262- Extract the `DocNode.excerpt` property into a new abstract base class `DocNodeLeaf`
263
264## 0.4.1
265Fri, 31 Aug 2018 03:32:18 GMT
266
267### Patches
268
269- Improve the error location reporting for DocErrorText objects
270- Separate the **api-demo** sample into a "simple" scenario which parses a simple text string, and an "advanced" scenario which uses the TypeScript compiler API to extract comments and parse custom TSDoc tags
271
272## 0.4.0
273Tue, 28 Aug 2018 03:17:20 GMT
274
275### Minor changes
276
277- Rename `DocCodeSpan.text` to `DocCodeSpan.code` and model the delimiters using particles
278- Add support for code fences (`DocCodeFence`)
279- `DocSection` content is now grouped into `DocParagraph` nodes; blank lines are used to indicate paragraph boundaries
280- Rename `DocComment.deprecated` to `deprecatedBlock`
281
282## 0.3.0
283Sat, 25 Aug 2018 05:53:56 GMT
284
285### Minor changes
286
287- Add TextRange.isEmpty()
288- Improve the ModifierTagSet API
289- Implement the @privateRemarks and @deprecated tags
290
291## 0.2.0
292Fri, 24 Aug 2018 01:19:56 GMT
293
294### Minor changes
295
296- Rename `CoreTags` to `StandardTags` so we can include non-core tags in the standard definitions
297- Rename `CoreModifierTagSet` to `StandardModifierTagSet` and convert properties to functions
298- Categorize the standard tags according to a `Standardization` enum, and document them
299- Add more standard tag definitions: `@deprecated`, `@eventProperty`, `@example`, `@inheritDoc`, `@link`, `@override`, `@packageDocumentation`, `@public`, `@privateRemarks`, `@sealed`, `@virtual`
300- Replace TSDocTagDefinition.singleton with TSDocTagDefinition.allowMultiple, since in practice most tags are single-usage
301
302## 0.1.0
303Thu, 16 Aug 2018 18:18:02 GMT
304
305### Minor changes
306
307- Initial release of the TSDoc library! :-)
308