Skip to content

Releases: wpengine/faustjs

@faustwp/blocks@6.1.0

24 Feb 12:45
1f8838c
Compare
Choose a tag to compare

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/block-editor-utils@0.3.1

24 Feb 12:45
1f8838c
Compare
Choose a tag to compare

Patch Changes

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

@faustwp/wordpress-plugin@1.7.1

07 Feb 15:47
6eeedd2
Compare
Choose a tag to compare

Patch Changes

  • 4dddd20: Bug: Fixed an issue with the function content_replacement throwing a 500 error for a null value.

@faustwp/wordpress-plugin@1.7.0

27 Jan 16:54
fc8bd26
Compare
Choose a tag to compare

Minor Changes

  • 33dda2e: ### Fixes

    • Fixes various issues with content replacement callback functions and replacing the site_url and media_urls
    • Fixed an issue with content replacement when media replacement was disabled and rewrites enabled, it was overwriting and updating the media URL to the frontend URL rather than leaving it as the original site URL

    Added

    • Added 6.6 and 6.7 to Github Actions
    • Added 2 new filters for faustwp_get_wp_site_urls and faustwp_get_wp_site_media_urls to allow users add/remove/edit site and media URLS for the content replacement.

Patch Changes

@faustwp/core@3.2.0

27 Jan 16:54
fc8bd26
Compare
Choose a tag to compare

Minor Changes

  • 8f133f5: The Experimental Toolbar feature is being deprecated. You may continue using it but no further bug fixes will be provided.

@faustwp/wordpress-plugin@1.6.0

14 Jan 11:06
d57b88a
Compare
Choose a tag to compare

Minor Changes

@faustwp/experimental-app-router@0.6.0

14 Jan 11:06
d57b88a
Compare
Choose a tag to compare

Minor Changes

  • 5457479: ---

    '@faustwp/experimental-app-router': minor

    Update @faustwp/experimental-app-router to account for next 15 changes to cookies and update NextResponse import

    Notable changes:

    • Adding await to all cookies requests as per Next documentation: https://nextjs.org/docs/app/api-reference/functions/cookies

      import { cookies } from 'next/headers'

      export default async function Page() {
      const cookieStore = await cookies()
      const theme = cookieStore.get('theme')
      return '...'
      }

    • Files changed:

      • packages/experimental-app-router/src/server-actions/logoutAction.ts
      • packages/experimental-app-router/src/server-actions/utils/setRefreshToken.ts
      • packages/experimental-app-router/src/server/auth/fetchTokens.ts
      • packages/experimental-app-router/src/server/routeHandler/tokenHandler.ts
    • Updated Next App Router example to use latest next version and React 19 RC.

    • Updated Example Login form using React 19s useActionState

    • Updated Awaiting of params for Next 15

    • Files Changed:

      • examples/next/app-router/app/login/page.tsx
      • examples/next/app-router/package.json
      • examples/next/app-router/[slug]hasPreviewProps.ts (made async)
      • examples/next/app-router/[slug]page.tsx

@faustwp/blocks@6.0.0

14 Jan 11:05
d57b88a
Compare
Choose a tag to compare

Major Changes

  • 99b5793: Update of the CoreParagraph block to support the native WP anchor attribute. GitHub issue: "[feat] Add anchor attribute to core/paragraph block"

    Introduces new field to core/paragraph block: anchor. This field allows users to add an anchor to the paragraph block. The anchor is used to create a link to a specific part of the page. The anchor is added to the block's wrapper element as an ID attribute.

    Files changed:

    • packages/blocks/src/blocks/CoreParagraph.tsx (added anchor attribute)
    • packages/blocks/package.json (updated package version to 6.0.0)

Patch Changes

  • bdb7d7f: Bug: Fixed an issue an issue with WordPressBlocksProvider and the theme argument to allow it to be optional and not throw an error. By default theme is now an empty object

@faustwp/experimental-app-router@0.5.0

07 Nov 19:17
e17d318
Compare
Choose a tag to compare

Minor Changes

  • e22b87d: @faustwp/cli: Migrates glob-promise dependency to Promise support.

    @faustwp/experimental-app-router: Update peer dependency of @apollo/experimental-nextjs-app-support >=0.11.5.

@faustwp/cli@3.1.1

07 Nov 19:17
e17d318
Compare
Choose a tag to compare

Patch Changes

  • e22b87d: @faustwp/cli: Migrates glob-promise dependency to Promise support.

    @faustwp/experimental-app-router: Update peer dependency of @apollo/experimental-nextjs-app-support >=0.11.5.