UNPKG

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