faustjs

Faust.js™ - The Headless WordPress Framework

OTHER License

Downloads
65.5K
Stars
1.3K
Committers
47

Bot releases are visible (Hide)

faustjs - @faustwp/[email protected] Latest Release

Published by github-actions[bot] 7 months ago

Patch Changes

  • 4724719: Faust now errors if the NEXT_PUBLIC_WORDPRESS_URL matches the Headless URL in Faust Plugin settings.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • a54ce69: Fixed: FaustConfig no longer requires plugins or experimentalPlugins properties
  • 50c30cb: Fixed issue where on a preview page the user could be stuck in a logout/login loop.
  • 16b2384: Added queries property to FaustTemplate interface. Fixes an error when using multiple queries with TypeScript.
  • 8e1b5db: Faust Toolbar will now respect the Show Avatars setting in WordPress. Requires WPGraphQL version 1.22.1 or higher.
  • 9a43d50: Implemented ErrorLoggingLink class to capture GraphQL errors and server errors, providing enhanced error handling and logging capabilities.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • 4724719: Faust now errors if the NEXT_PUBLIC_WORDPRESS_URL matches the Headless URL in Faust Plugin settings.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • aee31a5: Fixed issue where Faust's route handler failed to retrieve a token when trailingSlash is set to true in next.config.js.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • 47f6bd0: Faust now warns you if the secret key in your environment is invalid or incorrect.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • aad3bbc: BREAKING CHANGE: With the deprecation of node version 16.x and it no longer being maintained we have updated our engines and workflows to only use 18+. Please update to use node version 18+.

Minor Changes

  • 0b0a88e: The Faust.js plugin system is no longer experimental. We have maintained backward compatibility as we move towards deprecating experimentalPlugins in favor of plugins in the Faust config file faust.config.js. We recommend moving over to using plugins instead of experimentalPlugins as soon as possible as a future version will remove the experimental config option.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • aad3bbc: BREAKING CHANGE: With the deprecation of node version 16.x and it no longer being maintained we have updated our engines and workflows to only use 18+. Please update to use node version 18+.

Minor Changes

  • 572b253: Added: Detect if the NEXT_PUBLIC_WORDPRESS_URL is a wpengine.com TLD and if so recommend a switch to wpenginepowered.com

Patch Changes

  • 47f6bd0: Faust now warns you if the secret key in your environment is invalid or incorrect.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • 4cba024: Changed the sameSite property on the refresh token cookie from strict to lax for requests originating from WordPress.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • aad3bbc: BREAKING CHANGE: With the deprecation of node version 16.x and it no longer being maintained we have updated our engines and workflows to only use 18+. Please update to use node version 18+.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • aad3bbc: BREAKING CHANGE: With the deprecation of node version 16.x and it no longer being maintained we have updated our engines and workflows to only use 18+. Please update to use node version 18+.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 8 months ago

Major Changes

  • f6c6b0c: BREAKING: Make attributes field on core blocks optional to comply with the WordPressBlock type interface. Thanks @traed!
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • e7745b8: Exposes viewer data for use during the useAuth hook call.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 1b495d7: Fixes a bug when navigating to a page client side that threw an error with multiple queries.
faustjs - @faustjs/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 6b71e32: Add deprecation notices
  • Updated dependencies [6b71e32]
faustjs - @faustjs/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

faustjs - @faustjs/[email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

  • 6b71e32: Add deprecation notices
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

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/[email protected]
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

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.
faustjs - @faustwp/[email protected]

Published by github-actions[bot] 9 months ago

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.