Skip to content

Release Tracking - #251

Merged
colebemis merged 1 commit into
mainfrom
changeset-release/main
Sep 30, 2021
Merged

colebemis merged 1 commit into
mainfrom
changeset-release/main

Conversation

@primer-css

@primer-css primer-css commented Sep 28, 2021 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@primer/primitives@5.0.0

Major Changes

  • #245 65ad2df Thanks @colebemis! - All deprecated color variables have been removed. See removed variables for the complete list of removed variables.

  • #245 65ad2df Thanks @colebemis! - The deprecations directory in the dist directory has been renamed to deprecated:

    dist/
    - deprecations/
    + deprecated/

    You'll need to update your imports accordingly:

    - import deprecatedColors from '@primer/primitives/dist/deprecations/colors.json'
    + import deprecatedColors from '@primer/primitives/dist/deprecated/colors.json'

Minor Changes

  • #245 65ad2df Thanks @colebemis! - The dist directory now contains a removed directory with data about removed variables organized by category:

      dist/
        js/
        ts/
        json/
        scss/
        deprecated/
    +   removed/
    +     colors.json

    Each JSON file in the removed directory contains a mapping of removed variables to replacement variables. Example:

    // dist/removed/colors.json
    {
      "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead
      "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead
      "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it
    }

    This data will allow you to write linters to prevent usage of removed variables.

Patch Changes

@primer-css
primer-css requested a review from a team as a code owner September 28, 2021 10:44
@primer-css
primer-css requested review from simurai and removed request for a team September 28, 2021 10:44
@vercel

vercel Bot commented Sep 28, 2021 •

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

πŸ” Inspect: https://vercel.com/primer/primitives/AJGT1s3YwH5Spids9kbUpR4RszQr
βœ… Preview: https://primitives-git-changeset-release-main-primer.vercel.app

@github-actions

github-actions Bot commented Sep 28, 2021 •

Copy link
Copy Markdown
Contributor
Variables changed
No variables changed

@primer-css
primer-css force-pushed the changeset-release/main branch from 10f6e88 to 8de08c0 Compare September 29, 2021 02:29

@simurai simurai 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.

Don't merge yet!

Also, just commenting so the reminder bot πŸ€– will be satisfied.

@primer-css
primer-css force-pushed the changeset-release/main branch from 8de08c0 to c8d1c5e Compare September 30, 2021 03:56

@colebemis colebemis 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.

πŸš€

@colebemis
colebemis merged commit 7019854 into main Sep 30, 2021
@colebemis
colebemis deleted the changeset-release/main branch September 30, 2021 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants