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

Changesets: Version Packages #1234

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Changesets: Version Packages #1234

merged 1 commit into from
Sep 1, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 1, 2023

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

@lekoarts/gatsby-theme-minimal-blog@6.2.0

Minor Changes

  • #1232 d1a23dc5 Thanks @renovate! - This theme uses prism-react-renderer for its code blocks. The version was updated from 1.3.5 to 2.0.6 and it contains some breaking changes in regards to the API surface.

    If you modified the theme in any way (e.g. by shadowing or adding additional Prism languages) you need to apply those changes, too.

    Change of module imports

    - import Highlight, { defaultProps } from "prism-react-renderer";
    + import { Highlight } from "prism-react-renderer"
    
    const Content = (
    -  <Highlight {...defaultProps} code={exampleCode} language="jsx">
    +  <Highlight code={exampleCode} language="jsx">

    Custom languages

    import { Highlight, Prism } from "prism-react-renderer";
    
    (typeof global !== "undefined" ? global : window).Prism = Prism;
    await import("prismjs/components/prism-applescript");
    /** or **/
    require("prismjs/components/prism-applescript");

    Theme imports

    - import vsDark from "prism-react-renderer/themes/vsDark"
    + import { themes } from "prism-react-renderer"
    + const { vsDark } = themes
    
    - const theme = require('prism-react-renderer/themes/vsDark')
    + const theme = require('prism-react-renderer').themes.vsDark

@netlify
Copy link

netlify bot commented Sep 1, 2023

Deploy Preview for gatsby-themes canceled.

Name Link
🔨 Latest commit c088b03
🔍 Latest deploy log https://app.netlify.com/sites/gatsby-themes/deploys/64f19c2af56a820008cdcfd7

@LekoArts LekoArts merged commit 7a392d1 into main Sep 1, 2023
5 checks passed
@LekoArts LekoArts deleted the changeset-release/main branch September 1, 2023 08:12
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