Integrating Carbon v11 styles (prereleases) #1872
Replies: 2 comments
-
First prerelease was made: v1.0.0-next.0. 👋 See updated notes above along with the contribution guide. |
Beta Was this translation helpful? Give feedback.
-
Summary - for the remainder of this prerelease phase, we'll try to avoid breaking changes unless they directly relate to v11 styles and behaviours. Regarding breaking changesI'm bringing in conversations from #1889 (comment) and #1895 (review) for better visibility and posterity. Since we only have 2 part-time volunteer maintainers working outside IBM, and the scope of carbon-components-svelte is very large, it may take a very long time to get us to v1.0.0. Releasing v11 styles incrementally is also not viable since it impacts their entire library, so this prerelease initiative was made to make it easier to solicit contributions and track changes until full component coverage is met. We anticipate folks using these pre-releases would do so for the sake of testing, contributing, or raising concerns during this period since they are unstable and not production-ready. Though we had tried to implement Carbon v11 styles earlier in 2023, it turned out to be a larger effort than expected; and by introducing pre-releases after the initial setup made in #1881, it should be straightforward to make adjustments one component at a time now that all CSS and theming is in order. Addressing concerns
I agree in principal: breaking changes should be as few and far in between as possible for both reviewers and consumers. Though we cannot commit to "enterprise-grade" release cadences, perhaps a new approach is needed. Here are the trade-offs I see:
Ideally, we would have an auto-migration codemod to help with refactoring, but we cannot commit to such tooling at this time. Up until now, I have been eager to proceed with (1) because it would get us to v1.0.0 faster. However, I see the advantages of (2): despite having the excuse of being in a The contribution guide above has been updated accordingly. |
Beta Was this translation helpful? Give feedback.
-
Update 12 January 2024: Contribution guide
Update 19 January 2024: Fewer breaking changes in contributing guide
At a glance
@carbon/styles@1
) one component at a time.next
tag. You may try them out by installing as:npm install carbon-components-svelte
will use thelatest
stable tag.The plan
In an effort to get us closer to carbon-components-svelte v1, we will be making pre-releases that incrementally implement Carbon v11 styles across all components. The proposed workflow being:
next/v11-styles
branch.next
tag; with pre-release tags using thev1.0.0-next.0
convention.master
during this period will be ported to thev11
branch.v11
ontomaster
and the next release will use thev1.0.0-beta.0
convention until the v1.0.0 milestone is completeWith these releases, it will become easier to test v11 components and styles in your projects and make contributions to all yet-tested components (tracked in #1629). We aim to ship the first pre-release by early January 2024.
Contributing
Contributions are welcome! We recommend contributing one component at a time to the
next/v11-styles
branch during this period; let us know in the discussion here or in #1629 which component you wish to integrate.How to contribute:
next/v11-styles
npm
, runnpm install
(see CONTRIBUTING.md)kind
if they are directly impacted by v11 styles or behaviours. We can address Standardize props, events, and slots #1621 and other tickets after v11 styles are released and stable, and before the release of[email protected]
next/v11-styles
as the target branchSee also
Tagging potentially interested folks: @eltigerchino, @gregorw, @brunnerh, @SimpleProgrammingAU
Beta Was this translation helpful? Give feedback.
All reactions