Spaces:
Sleeping
Sleeping
File size: 11,743 Bytes
31248b9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | # Change Log - @microsoft/tsdoc
This log was last generated on Tue, 11 Nov 2025 00:51:42 GMT and should not be manually modified.
## 0.16.0
Tue, 11 Nov 2025 00:51:42 GMT
### Minor changes
- Normalize builtin imports.
- Standardize TypeScript's `@jsx`, `@jsxRuntime`, `@jsxFrag`, `@jsxImportSource` tags.
### Patches
- Ensure TSDocEmitter does not emit a newline for the text after `@defaultValue` tags.
- Remove test files and declaration maps from the published package.
## 0.15.1
Sat, 23 Nov 2024 00:23:35 GMT
### Patches
- Include CHANGELOG.md in published releases again
## 0.15.0
Tue, 28 May 2024 21:34:19 GMT
### Minor changes
- Minor package cleanup.
- Eliminate remaining const enums.
### Patches
- Update an image URL in the README.md file
- Upgrade dev toolchain (Heft, Webpack, TypeScript)
## 0.14.2
Wed, 14 Sep 2022 02:55:06 GMT
### Patches
- Update an internal type import to avoid a circular reference (GitHub #327 and #328)
## 0.14.1
Sat, 09 Apr 2022 02:28:41 GMT
### Patches
- Rename the "master" branch to "main."
## 0.14.0
Thu, 07 Apr 2022 22:51:07 GMT
### Minor changes
- Add `supportedHtmlElements` and `reportUnsupportedHtmlElements` options and corresponding validation
- Convert "const enum" APIs to be regular enums to enable compatibility with isolatedModules=true (GitHub #306)
## 0.13.2
Tue, 20 Apr 2021 04:25:13 GMT
### Patches
- Fix an issue where "tsdoc-inline-tag-missing-braces" and "tsdoc-tag-should-not-have-braces" were reported incorrectly
## 0.13.1
Mon, 19 Apr 2021 21:22:32 GMT
### Patches
- Add a new TSDocMessageId definition used by @microsoft/tsdoc-config
## 0.13.0
Fri, 22 Jan 2021 18:07:19 GMT
### Minor changes
- Update tsdoc.json schema to add a new field "noStandardTags"
- Add new APIs: TSDocConfiguration.clear() and TSDocTagDefinition.validateTSDocTagName()
- Add new "supportForTags" field to tsdoc.json schema
### Patches
- Update doc comments to fix some syntax issues
## 0.12.24
Thu, 03 Dec 2020 08:07:55 GMT
### Patches
- Add a missing declaration file
## 0.12.23
Thu, 03 Dec 2020 04:31:52 GMT
### Patches
- Add a definition for the `@decorator` block tag (RFC 271)
## 0.12.22
Mon, 30 Nov 2020 06:16:21 GMT
### Patches
- Update documentation to reference the new website URL
- Upgrade build tools and configuration
- Fix typo
## 0.12.21
Fri, 04 Sep 2020 15:53:27 GMT
### Patches
- Fix an issue where the line extractor's trailing whitespace trimming sometimes trimmed a non-whitespace character (GitHub #258)
- Update build system
## 0.12.20
Wed, 20 May 2020 22:33:27 GMT
### Patches
- Add support for `@see` tag
- Improve documentation for `@inheritDoc`
## 0.12.19
Fri, 27 Mar 2020 23:14:53 GMT
### Patches
- Add some missing entries to TSDocConfiguration.allTsdocMessageIds() which were breaking eslint-plugin-tsdoc
- Fix an issue where "h1" was not allowed as an HTML element name
## 0.12.18
Sat, 22 Feb 2020 20:44:16 GMT
### Patches
- Fix an issue where JSDoc optional params were not parsed correctly
## 0.12.17
Sat, 22 Feb 2020 02:55:07 GMT
### Patches
- Improve the parsing of `@param` and `@typeParam` tags to recognize legacy syntaxes
## 0.12.16
Tue, 19 Nov 2019 22:01:56 GMT
### Patches
- Add some new TSDocMessageId definitions used by @microsoft/tsdoc-config
## 0.12.15
Sat, 09 Nov 2019 05:55:42 GMT
### Patches
- Add new API TSDocConfiguration.allTsdocMessageIds
## 0.12.14
Wed, 04 Sep 2019 03:30:10 GMT
### Patches
- Fix a regression where some API signatures were incompatible with TypeScript versions prior to 3.4
## 0.12.13
Fri, 30 Aug 2019 18:38:59 GMT
### Patches
- Fix an invalid regular expression.
## 0.12.12
Wed, 07 Aug 2019 23:06:02 GMT
### Patches
- Improve DeclarationReference.parse for module sources
- Add a definition for the `@throws` block tag (RFC 171)
## 0.12.11
Wed, 24 Jul 2019 00:38:18 GMT
### Patches
- Add new meanings to DeclarationReference and fix some parsing bugs
## 0.12.10
Fri, 19 Jul 2019 02:47:09 GMT
### Patches
- Add beta implementation of new DeclarationReference API
## 0.12.9
Thu, 11 Apr 2019 03:58:35 GMT
### Patches
- Improve the wording of the error messages involving character sequences that look like TSDoc tags
## 0.12.8
Tue, 12 Mar 2019 23:18:11 GMT
### Patches
- Fix an issue where tsdoc-param-tag-with-invalid-name was sometimes incorrectly reported certain identifiers (issue #148)
## 0.12.7
Fri, 01 Mar 2019 06:39:52 GMT
### Patches
- Add new API TSDocConfiguration.isKnownMessageId()
## 0.12.6
Thu, 28 Feb 2019 01:29:39 GMT
### Patches
- Add a new API ParserMessage.messageId with a unique ID useful for filtering and searching for errors
## 0.12.5
Tue, 29 Jan 2019 22:49:58 GMT
### Patches
- Update parser to allow `$` character in `@param` names, since ECMAScript allows this in unquoted identifiers
- Allow `$` character in declaration reference member identifiers (Example: `{@link Button.$render}`)
## 0.12.4
Tue, 20 Nov 2018 21:23:06 GMT
### Patches
- Add new interface `IStringBuilder`
## 0.12.3
Tue, 20 Nov 2018 07:42:17 GMT
### Patches
- Add a new API `PlainTextEmitter.hasAnyTextContent()`
## 0.12.2
Fri, 09 Nov 2018 15:13:13 GMT
### Patches
- Improve trimming of spacing for link text in `{@link}` tags
## 0.12.1
Tue, 06 Nov 2018 01:37:22 GMT
### Patches
- Allow HTML in a `DocSection` node
- Fix a bug where `TSDocEmitter.renderHtmlTag()` and `TSDocEmitter.renderDeclarationReference()` were including comment framing
- Add `DocSection.appendNodesInParagraph()` API
## 0.12.0
Sat, 03 Nov 2018 02:07:10 GMT
### Minor changes
- (API change) `DocErrorText` is no longer allowed in `DocSection`; instead it must be part of a `DocParagraph`
- (API change) Rename `TSDocParserConfiguration` to `TSDocConfiguration`
- (API change) Require an associated `TSDocConfiguration` to be included with the parameters for every `DocNode` constructor
- Introduce `TSDocConfiguration.docNodeManager` for registering custom `DocNode` subclasses and their container relationships
### Patches
- Add `DocDeclarationReference.emitAsTsdoc()`, `DocHtmlStartTag.emitAsHtml()`, and `DocHtmlEndTag.emitAsHtml()`
- Child nodes can now be specified as a second constructor parameter for `DocNodeContainer`
## 0.11.0
Sat, 27 Oct 2018 04:52:23 GMT
### Minor changes
- (API change) Introduce `DocParamCollection` to enable efficient lookups of parameters by name
- (API change) Rename `DocComment.typeParamBlocks` --> `DocComment.typeParams`
- (API change) Rename `DocComment.paramBlocks` --> `DocComment.params`
## 0.10.0
Fri, 26 Oct 2018 08:42:51 GMT
### Minor changes
- Add new APIs `DocComment.emitAsTsdoc()`, `TSDocEmitter`, and `StringBuilder`
## 0.9.3
Thu, 25 Oct 2018 08:29:36 GMT
### Patches
- Fix issue where `DocErrorText.text` returned `[object Object]` instead of the text
## 0.9.2
Wed, 17 Oct 2018 13:41:54 GMT
### Patches
- Fix stack overflow in DocFencedCode.language property getter
## 0.9.1
Wed, 17 Oct 2018 12:49:01 GMT
### Patches
- Fix a regression where the paragraph splitter was sometimes skipping blocks
## 0.9.0
Wed, 17 Oct 2018 04:47:19 GMT
### Minor changes
- (API change) Change `DocBlock` to have a `DocSection` property rather than inheriting from `DocSection`; this eliminates confusion about which nodes belong to the container
- (API change) Rename `DocParticle` to `DocExcerpt`, and eliminate the `Excerpt` class
- (API change) Eliminate `DocNodeLeaf`, since now `DocExcerpt` is the only class that can represent excerpts
- (API change) Remove `DocNode.updateParameters()` because it is no longer needed
- (API change) Spacing is now represented as a normal `DocExcerpt`, rather than via a special `Excerpt.spacingAfterContent`
- (API change) Simplify `DocNodeTransforms.trimSpacesInParagraph()` to no longer merge/remap excerpts during the transformation. If we need this information, we will track it differently.
## 0.8.1
Sun, 07 Oct 2018 06:30:34 GMT
### Patches
- Improve error reporting for declaration references that are probably missing a `"#"` delimiter
- Rename `DocCodeFence` to `DocFencedCode`
## 0.8.0
Wed, 03 Oct 2018 02:43:47 GMT
### Minor changes
- Introduce a distinction between "defined" tags (i.e. recognized) versus "supported" tags (i.e. implemented by the tool)
- The parser optionally reports usage of undefined tags
- The parser optionally reports usage of unsupported tags
- The parser reports usage of inline/block syntax that is inconsistent with the tag definition
- Code spans are now allowed to be adjacent to other text, but must contain at least one character
- An `@deprecated` block must contain a deprecation message
- If `@inheritDoc` is used, then the summary section must be empty, and there must not be an `@remarks` block
## 0.7.0
Tue, 02 Oct 2018 02:35:35 GMT
### Minor changes
- Add support for `@defaultValue` tag
- Add support for `@typeParam` tag
## 0.6.0
Mon, 01 Oct 2018 22:11:24 GMT
### Minor changes
- Add support for `@link` tags using the new declaration reference syntax
- Add support for `@inheritDoc` tags
- Add new APIs: `DocDeclarationReference`, `DocInheritDocTag`, `DocLinkTag`, `DocMemberIdentifier`, `DocMemberReference`, `DocMemberSelector`, `DocMemberSymbol`
- Remove `ParserContext.verbatimNodes`
- Add `DocParticle.particleId` property
## 0.5.0
Tue, 25 Sep 2018 03:04:06 GMT
### Minor changes
- 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
- Add `DocNodeTransforms.trimSpacesInParagraphNodes()` for collapsing whitespace inside `DocParagraph` subtrees
- Extract the `DocNode.excerpt` property into a new abstract base class `DocNodeLeaf`
## 0.4.1
Fri, 31 Aug 2018 03:32:18 GMT
### Patches
- Improve the error location reporting for DocErrorText objects
- 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
## 0.4.0
Tue, 28 Aug 2018 03:17:20 GMT
### Minor changes
- Rename `DocCodeSpan.text` to `DocCodeSpan.code` and model the delimiters using particles
- Add support for code fences (`DocCodeFence`)
- `DocSection` content is now grouped into `DocParagraph` nodes; blank lines are used to indicate paragraph boundaries
- Rename `DocComment.deprecated` to `deprecatedBlock`
## 0.3.0
Sat, 25 Aug 2018 05:53:56 GMT
### Minor changes
- Add TextRange.isEmpty()
- Improve the ModifierTagSet API
- Implement the @privateRemarks and @deprecated tags
## 0.2.0
Fri, 24 Aug 2018 01:19:56 GMT
### Minor changes
- Rename `CoreTags` to `StandardTags` so we can include non-core tags in the standard definitions
- Rename `CoreModifierTagSet` to `StandardModifierTagSet` and convert properties to functions
- Categorize the standard tags according to a `Standardization` enum, and document them
- Add more standard tag definitions: `@deprecated`, `@eventProperty`, `@example`, `@inheritDoc`, `@link`, `@override`, `@packageDocumentation`, `@public`, `@privateRemarks`, `@sealed`, `@virtual`
- Replace TSDocTagDefinition.singleton with TSDocTagDefinition.allowMultiple, since in practice most tags are single-usage
## 0.1.0
Thu, 16 Aug 2018 18:18:02 GMT
### Minor changes
- Initial release of the TSDoc library! :-)
|