Skip to content

build: Update API-Extractor report configurations to include @legacy and @system in API reports#24439

Merged
Josmithr merged 9 commits intomicrosoft:mainfrom
Josmithr:api-extractor/add-tags-to-reports
Apr 24, 2025
Merged

build: Update API-Extractor report configurations to include @legacy and @system in API reports#24439
Josmithr merged 9 commits intomicrosoft:mainfrom
Josmithr:api-extractor/add-tags-to-reports

Conversation

@Josmithr
Copy link
Contributor

Both @legacy and @system have breaking change implications, so including them in our API reports will offer useful context in code reviews.

@github-actions github-actions bot added area: build Build related issues area: dds Issues related to distributed data structures area: dds: propertydds area: dds: sharedstring area: dds: tree area: dev experience Improving the experience of devs building on top of fluid area: driver Driver related issues area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: odsp-driver area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc dependencies Pull requests that update a dependency file public api change Changes to a public API base: main PRs targeted against main branch labels Apr 23, 2025
@Josmithr Josmithr marked this pull request as ready for review April 23, 2025 21:57
Copilot AI review requested due to automatic review settings April 23, 2025 21:57
@Josmithr Josmithr requested a review from a team as a code owner April 23, 2025 21:57
@github-actions github-actions bot removed area: dds: propertydds area: examples Changes that focus on our examples dependencies Pull requests that update a dependency file area: dev experience Improving the experience of devs building on top of fluid labels Apr 23, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the API-Extractor report configurations by adding the @legacy annotation to various API report comments, ensuring that breaking-change implications for legacy APIs are clearly indicated.

  • Consistently adds "@legacy" to all relevant @Alpha and @Alpha @deprecated annotations.
  • Ensures that the API report files now clearly mark legacy API items, which aids code reviewers in assessing potential breaking changes.

Reviewed Changes

Copilot reviewed 59 out of 61 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/dds/task-manager/api-report/task-manager.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/shared-summary-block/api-report/shared-summary-block.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/shared-object-base/api-report/shared-object-base.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/sequence/api-report/sequence.legacy.alpha.api.md Added "@legacy" to all @Alpha and @Alpha @deprecated annotations.
packages/dds/register-collection/api-report/register-collection.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/ordered-collection/api-report/ordered-collection.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/merge-tree/api-report/merge-tree.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/matrix/api-report/matrix.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/map/api-report/map.legacy.public.api.md Added "@legacy" to all @public annotations.
packages/dds/map/api-report/map.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/dds/counter/api-report/counter.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/common/driver-definitions/api-report/driver-definitions.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/common/core-utils/api-report/core-utils.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/common/core-interfaces/api-report/core-interfaces.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/common/container-definitions/api-report/container-definitions.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
packages/common/client-utils/api-report/client-utils.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
experimental/dds/tree/api-report/experimental-tree.alpha.api.md Added "@legacy" to all @Alpha annotations.
azure/packages/azure-service-utils/api-report/azure-service-utils.legacy.alpha.api.md Added "@legacy" to all @Alpha annotations.
Files not reviewed (2)
  • common/build/build-common/api-extractor-base.json: Language not supported
  • common/build/build-common/api-extractor-report-base.esm.json: Language not supported

@Josmithr Josmithr changed the title docs: Update API-Extractor report configurations to include @legacy and @system in API reports build: Update API-Extractor report configurations to include @legacy and @system in API reports Apr 23, 2025
@Josmithr Josmithr requested review from a team and jason-ha April 23, 2025 21:58
Copy link
Contributor

@jason-ha jason-ha left a comment

Choose a reason for hiding this comment

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

Nice - especially system

@Josmithr Josmithr enabled auto-merge (squash) April 23, 2025 23:42
@github-actions
Copy link
Contributor

🔗 No broken links found! ✅

Your attention to detail is admirable.

linkcheck output


> fluid-framework-docs-site@0.0.0 ci:check-links /home/runner/work/FluidFramework/FluidFramework/docs
> start-server-and-test "npm run serve -- --no-open" 3000 check-links

1: starting server using command "npm run serve -- --no-open"
and when url "[ 'http://127.0.0.1:3000' ]" is responding with HTTP status code 200
running tests using command "npm run check-links"


> fluid-framework-docs-site@0.0.0 serve
> docusaurus serve --no-open

[SUCCESS] Serving "build" directory at: http://localhost:3000/

> fluid-framework-docs-site@0.0.0 check-links
> linkcheck http://localhost:3000 --skip-file skipped-urls.txt

Crawling...

Stats:
  163679 links
    1315 destination URLs
    1547 URLs ignored
       0 warnings
       0 errors


@Josmithr Josmithr disabled auto-merge April 24, 2025 00:12
@Josmithr Josmithr merged commit e835518 into microsoft:main Apr 24, 2025
49 checks passed
@Josmithr Josmithr deleted the api-extractor/add-tags-to-reports branch April 24, 2025 00:24
markfields pushed a commit to markfields/FluidFramework that referenced this pull request Apr 24, 2025
…` and `@system` in API reports (microsoft#24439)

Both `@legacy` and `@system` have breaking change implications, so
including them in our API reports will offer useful context in code
reviews.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues area: dds: sharedstring area: dds: tree area: dds Issues related to distributed data structures area: driver Driver related issues area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: odsp-driver area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch public api change Changes to a public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants