Skip to content

Improve process to release stable subpackages #27128

@marcosmoura

Description

@marcosmoura

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

The current process to move a package to stable is manual, which can be a problem to new contributors and can introduce confusion and issues, as we don't have a standard/automated way of doing it.

Improvements:

  • Automated process
  • Easier to move packages from unstable to stable
  • Failproof and faster releases
  • Standard commit messages and changelogs

What could be implemented:

  • Bump package automatically
  • Update beachball disallowedChangeTypes config for package
  • Update imports (move away from @fluentui/react-PACKAGE_NAME to @fluentui/react-components)
  • Update imports on react-components package for both the main index.ts and for /unstable
  • Generate API files for react-components
  • Generate changefiles
  • Alert or removal of preview banners for storybook documentation:
    **⚠️ Preview components are considered unstable:**

Example of manual PRs created

feat: Release Table and DataGrid as stable
feat: Release Card as stable

Have you discussed this feature with our team

Yes

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions