Skip to content

API Extractor now validates release tags and autogenerates constructor summaries - #242

Merged
Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/ae-new-validation
Jun 20, 2017
Merged

Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/ae-new-validation

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

API Extractor now has two new features:

  1. If a top-level package export is missing a release tag (@alpha, @beta, @public, @internal), this is reported as an error.
  2. If a constructor is missing its summary, a default summary is generated: "Constructs a new instance of the ____ class"

Both of these features require the ability to examine parent nodes in the ApiItem tree, also introduced by this PR.

"changes": [
{
"packageName": "@microsoft/gulp-core-build",
"comment": "Added missing release tags for API Extractor",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added [](start = 18, length = 5)

Add

@@ -101,10 +101,10 @@ export default class ApiDefinitionReference {
* and deconstructs it into an IApiDefinitionReference interface object.

@chackman Chris Hackmann (chackman) Jun 20, 2017 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also document the behavior when an error is encountered - return value is undefined, error is logged via reportError delegate. #Resolved

@qz2017

QZ (qz2017) commented Jun 20, 2017 •

Copy link
Copy Markdown
Contributor

:shipit:

Approved with PullApprove Approved with PullApprove

@chackman

Copy link
Copy Markdown
Member

:shipit:

…new-validation

# Conflicts:
#	common/changes/@microsoft/api-extractor/pgonzal-ae-error-strings_2017-06-19-18-55.json
#	common/changes/@microsoft/api-extractor/pgonzal-ae-pipe-bug_2017-06-19-19-29.json
#	common/changes/@microsoft/api-extractor/pgonzal-ae-underscore-prefix_2017-06-19-20-20.json
@octogonz
Pete Gonzalez (octogonz) merged commit 7bc5a65 into master Jun 20, 2017
@octogonz
Pete Gonzalez (octogonz) deleted the pgonzal/ae-new-validation branch July 3, 2017 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants