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

Version Packages #2044

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from
Open

Version Packages #2044

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 18, 2025

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 canary, this PR will be updated.

Releases

@faustwp/[email protected]

Minor Changes

  • 4b1090a: ### WHAT

    Refactor: Added CoreListItem block to fix repeating sublist issue

    • Added CoreListItem block
    • Updated CoreList block
    • Updated Corelist.test to accomodate new HTML structure
    • Added a new scenario to test nested lists

    WHY

    CoreList was rendering values attribute, which happens to return nested list items multiple times.

    HOW

    You need to add new CoreListItem fragments to your queries:

    gql`
      ${blocks.CoreListItem.fragments.entry}
    `;

    Example query:

    SingleTemplate.query = gql`
      ${blocks.CoreList.fragments.entry}
      ${blocks.CoreListItem.fragments.entry}
      query GetPost(
        $uri: ID!
      ) {
        post(id: $uri, idType: URI) {
          title
          content
          editorBlocks {
            name
            __typename
            renderedHtml
            id: clientId
            parentId: parentClientId
            ...${blocks.CoreList.fragments.key}
            ...${blocks.CoreListItem.fragments.key}
          }
        }
      }
    `;

@faustwp/[email protected]

Patch Changes

  • 74e55bc: Updated code formatting config and switch to tabs. Configure your editor config settings for tab sizing preferences.

@faustwp/[email protected]

Patch Changes

  • 74e55bc: Updated code formatting config and switch to tabs. Configure your editor config settings for tab sizing preferences.

@faustwp/[email protected]

Patch Changes

  • 74e55bc: Updated code formatting config and switch to tabs. Configure your editor config settings for tab sizing preferences.

@github-actions github-actions bot requested a review from a team as a code owner February 18, 2025 18:30
@github-actions github-actions bot force-pushed the changeset-release/canary branch 3 times, most recently from db0eb94 to 768cb36 Compare February 19, 2025 21:33
@github-actions github-actions bot force-pushed the changeset-release/canary branch from 768cb36 to 339aa59 Compare February 21, 2025 16:40
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.

0 participants