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 #1150

Merged
merged 2 commits into from
Apr 12, 2021
Merged

Release Tracking #1150

merged 2 commits into from
Apr 12, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 1, 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/components@27.0.0

Major Changes

  • db478205 #1147 Thanks @colebemis! - Type definitions are now being generated by TypeScript instead of manually maintained. These new type definitions may differ from the previous type definitions and cause breaking changes. If you experience any new TypeScript errors, feel free to create an issue or reach out in Slack (#design-systems).

    Breaking changes

    • The following types are no longer exported:

      BaseProps
      UseDetailsProps
      AnchoredPositionHookSettings
      AnchorAlignment
      AnchorSide
      PositionSettings
      PaginationHrefBuilder
      PaginationPageChangeCallback
      PositionComponentProps
      
    • Props are now defined with types instead of interfaces which means in some cases you may not be able to create interfaces that extend them. To work around this issue, you may need to convert your interfaces to types:

      import {BoxProps} from '@primer/components'
      
      - interface MyFancyBox extends BoxProps {...}
      + type MyFancyBox = BoxProps & {...}
    • Some components now expect more specific ref types. For example:

      - const ref = React.useRef<HTMLElement>(null)
      + const ref = React.useRef<HTMLButtonElement>(null)
      
      return <Button ref={ref}>...</Button>

@vercel
Copy link

vercel bot commented Apr 1, 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/primer-components/74V9oKb9T6EC8wwhWhZ6px12B8hf
✅ Preview: https://primer-components-git-changeset-release-main-primer.vercel.app

@vercel vercel bot temporarily deployed to Preview April 1, 2021 20:13 Inactive
@colebemis colebemis mentioned this pull request Apr 1, 2021
53 tasks
@vercel vercel bot temporarily deployed to Preview April 5, 2021 16:04 Inactive
@vercel vercel bot temporarily deployed to Preview April 5, 2021 17:58 Inactive
@vercel vercel bot temporarily deployed to Preview April 7, 2021 18:42 Inactive
@vercel vercel bot temporarily deployed to Preview April 7, 2021 19:39 Inactive
@vercel vercel bot temporarily deployed to Preview April 8, 2021 14:37 Inactive
@vercel vercel bot temporarily deployed to Preview April 8, 2021 19:45 Inactive
@vercel vercel bot temporarily deployed to Preview April 8, 2021 22:49 Inactive
@vercel vercel bot temporarily deployed to Preview April 12, 2021 16:02 Inactive
@colebemis colebemis merged commit 30662cf into main Apr 12, 2021
@colebemis colebemis deleted the changeset-release/main branch April 12, 2021 16:05
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.

1 participant