Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Tracking #251

Merged
merged 1 commit into from
Sep 30, 2021
Merged

Release Tracking #251

merged 1 commit into from
Sep 30, 2021

Conversation

primer-css
Copy link
Contributor

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

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

vercel bot commented Sep 28, 2021

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

github-actions bot commented Sep 28, 2021

Variables changed
No variables changed

Copy link
Contributor

@simurai simurai left a comment

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.

Copy link
Contributor

@colebemis colebemis left a comment

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