Skip to content

chore: deprecate preview packages already published as stable#32436

Merged
dmytrokirpa merged 16 commits into
microsoft:masterfrom
dmytrokirpa:chore/deprecate-preview-packages-marked-as-stable
Sep 26, 2024
Merged

chore: deprecate preview packages already published as stable#32436
dmytrokirpa merged 16 commits into
microsoft:masterfrom
dmytrokirpa:chore/deprecate-preview-packages-marked-as-stable

Conversation

@dmytrokirpa

Copy link
Copy Markdown
Contributor

Previous Behavior

It was not possible to deprecate the preview packages once they had been published as stable.

New Behavior

  1. Manual Trigger: Implemented a new pipeline that deprecates packages supplied through an environment variable on ADO, adhering to the npm deprecate command arguments (https://docs.npmjs.com/cli/v10/commands/npm-deprecate).

  2. Automated Trigger During v9 Release: Introduced a script that runs during the v9 release. It reviews change files for a particular change type and message to identify the transition from preview to stable, and then carries out the npm deprecate command accordingly.

Related Issue(s)

@fabricteam

fabricteam commented Sep 2, 2024

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

✅ No changes found

@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch 2 times, most recently from 4b3e97d to c95c9ae Compare September 3, 2024 07:03
@dmytrokirpa dmytrokirpa marked this pull request as ready for review September 3, 2024 08:06
@dmytrokirpa dmytrokirpa requested a review from a team as a code owner September 3, 2024 08:06

@Hotell Hotell left a comment

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.

looking really forward to finally land this !

couple of things that we need to address/redo though. ty

Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
Comment thread azure-pipelines.deprecate-preview.yml
Comment thread azure-pipelines.deprecate-preview.yml Outdated
Comment thread azure-pipelines.deprecate-preview.yml
Comment thread azure-pipelines.release-vnext.yml Outdated
Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
Comment thread scripts/executors/src/check-for-deprecated-preview-packages.ts Outdated
@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch from 23f8c21 to 0d7d4ac Compare September 4, 2024 12:48
@dmytrokirpa dmytrokirpa requested a review from Hotell September 4, 2024 12:57

@Hotell Hotell left a comment

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.

left additional batch of comments, after resolved we are good to go. ty

Comment thread azure-pipelines.deprecate-package.yml Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch from 958a47b to 068e9ea Compare September 12, 2024 10:30
@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch from 068e9ea to fab5492 Compare September 12, 2024 10:31
@dmytrokirpa dmytrokirpa requested a review from Hotell September 23, 2024 14:43
@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch from 6d88f88 to 676bf1a Compare September 24, 2024 11:47

@Hotell Hotell left a comment

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 comments.

note: some of them need to be addressed within this PR

ty

Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.spec.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.spec.ts Outdated
Comment thread scripts/executors/src/deprecate-react-components-preview-packages.spec.ts Outdated

@Hotell Hotell left a comment

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.

LGTM

@dmytrokirpa dmytrokirpa force-pushed the chore/deprecate-preview-packages-marked-as-stable branch from 0292fe7 to 16f51ee Compare September 26, 2024 10:00
@dmytrokirpa dmytrokirpa enabled auto-merge (squash) September 26, 2024 11:06
@dmytrokirpa dmytrokirpa merged commit 99fb265 into microsoft:master Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Internal] Deprecate -preview packages already published as stable

3 participants