Skip to content

chore: deprecate preview packages already published as stable#32436

Merged
dmytrokirpa merged 16 commits intomicrosoft: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 intomicrosoft:masterfrom
dmytrokirpa:chore/deprecate-preview-packages-marked-as-stable

Conversation

@dmytrokirpa
Copy link
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
Copy link
Collaborator

fabricteam commented Sep 2, 2024

📊 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
Copy link
Contributor

@Hotell Hotell left a comment

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

@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
Copy link
Contributor

@Hotell Hotell left a comment

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

@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
Copy link
Contributor

@Hotell Hotell left a comment

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

Copy link
Contributor

@Hotell Hotell left a comment

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