Skip to content

Releases: wpengine/faustjs

@faustwp/[email protected]

12 Feb 18:21
d533780
Compare
Choose a tag to compare

Major Changes

  • f6c6b0c: BREAKING: Make attributes field on core blocks optional to comply with the WordPressBlock type interface. Thanks @traed!

@faustwp/[email protected]

30 Jan 19:25
37f8959
Compare
Choose a tag to compare

Patch Changes

  • 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs.

@faustwp/[email protected]

30 Jan 19:25
37f8959
Compare
Choose a tag to compare

Patch Changes

  • e7745b8: Exposes viewer data for use during the useAuth hook call.

@faustwp/[email protected]

22 Jan 19:03
afe03b8
Compare
Choose a tag to compare

Patch Changes

  • 1b495d7: Fixes a bug when navigating to a page client side that threw an error with multiple queries.

@faustjs/[email protected]

16 Jan 20:06
7764c37
Compare
Choose a tag to compare

Patch Changes

@faustjs/[email protected]

16 Jan 20:06
7764c37
Compare
Choose a tag to compare

Patch Changes

@faustjs/[email protected]

16 Jan 20:05
7764c37
Compare
Choose a tag to compare

Patch Changes

@faustwp/[email protected]

12 Jan 17:41
87000a3
Compare
Choose a tag to compare

Minor Changes

  • 085c30d: Added a new skip config option to useAuth to conditionally invoke the hook

Patch Changes

@faustwp/[email protected]

11 Jan 21:32
5bad238
Compare
Choose a tag to compare

Minor Changes

  • 5f78b15: Requests to robots.txt on the WordPress site are now accessible and are no longer redirected to the front-end site.
  • c163fa5: Added support for anonymous opt-in telemetry. Previously this functionality was in the Faust CLI package, but has been moved to the WordPress plugin instead. All telemetry collection is optional and anonymous, and it is disabled by default. If you were previously opted in from Faust CLI, once you update the Faust CLI packages your site will no longer send telemetry data unless you opt in again from the WordPress plugin.

Patch Changes

  • 205fb09: Improved plugin's process for handling blockset file uploads by leveraging WordPress' native unzip_file function.
  • 41a6d9c: Fixed issue where term URIs were rewritten from relative to absolute during GraphQL requests when they should not have been. This was causing nodeByUri queries for terms to fail.
  • e725bda: Adds phpstan to CI/CD workflow. Runs as part of the lint step.

@faustwp/[email protected]

11 Jan 21:32
5bad238
Compare
Choose a tag to compare

Minor Changes

  • c79c8c2: Added the ability to provide multiple queries to a given Faust Template:

    import {GET_POST, GET_LAYOUT} from './queries.js'
    
    export default function Component(props) {
    }
    
    Component.queries = [
      {
        query: GET_LAYOUT
      },
      {
        query: GET_POST,
        variables: (seedNode, ctx) {
          return {
            id: seedNode.databaseId,
            asPreview: ctx?.asPreview
          }
        }
      }
    ]

    Note: Your Faust template can use either Component.queries or Component.query, but not both.