Skip to content

Releases: wpengine/faustjs

@faustwp/core@2.1.1

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/react@0.15.13

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

Patch Changes

  • 6b71e32: Add deprecation notices
  • Updated dependencies [6b71e32]
    • @faustjs/core@0.15.13

@faustjs/next@0.15.13

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

Patch Changes

  • 6b71e32: Add deprecation notices
  • Updated dependencies [6b71e32]
    • @faustjs/react@0.15.13
    • @faustjs/core@0.15.13

@faustjs/core@0.15.13

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

Patch Changes

@faustwp/core@2.1.0

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

  • 085c30d: Fixed a bug that made a request to the token endpoint on every page in @faustwp/core@2.0.0

@faustwp/wordpress-plugin@1.2.0

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/core@2.0.0

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.

@faustwp/cli@2.0.0

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

Major Changes

  • c163fa5: BREAKING: Removed telemetry CLI commands for faust telemetry enable/disable/status for managing and viewing telemetry opt-in status. Telemetry functionality has been moved to the Faust WordPress plugin. Sites that previously opted in from CLI will no longer send telemetry data unless someone opts in from the WordPress side.

Patch Changes

  • c163fa5: Adds block_editor_utils and experimental_app_router to telemetry events.

@faustwp/block-editor-utils@0.1.0

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

Minor Changes

  • 8dcda28: Add support for RichText control fields.

    Add a source and selector in your block attributes string field:

    ...
    "attributes": {
    		"richText": {
    			"type": "string",
    			"source": "html",
    			"selector": ".rich-text",
    			"default": "Hello World"
    		}
    	}

    Then in your component definition make sure the selector specifier matches the component you want to render as rich text:

    <div
      style={styles}
      className="rich-text"
      dangerouslySetInnerHTML={{ __html: attributes.richText }}
    />

    Once the blocks are synced you will be able to use it as a RichText field.

Patch Changes

@faustwp/wordpress-plugin@1.1.2

06 Dec 18:05
22a64b6
Compare
Choose a tag to compare

Patch Changes

  • 78a061a: Fixed a bug that caused links to files in wp-content to be rewritten to the Faust Front-end site URL when they should not have been.
  • 2559958: Bug Fix: Fixed missing call to autosave when using Post/Page previews.
  • 75f5c80: Fixed a bug where links were rewritten to the Faust Front-end Site URL when using the post editor, resulting in those rewritten links being saved to the post content and guid fields when they shouldn't be. These links are now saved with the URL pointing to the WP site, as they should be. They are still rewritten at runtime to link to the Front-end Site URL when appropriate.