Releases: wpengine/faustjs
Releases · wpengine/faustjs
@faustwp/[email protected]
@faustwp/[email protected]
Patch Changes
- 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs.
@faustwp/[email protected]
Patch Changes
- e7745b8: Exposes viewer data for use during the useAuth hook call.
@faustwp/[email protected]
Patch Changes
- 1b495d7: Fixes a bug when navigating to a page client side that threw an error with multiple queries.
@faustjs/[email protected]
Patch Changes
- 6b71e32: Add deprecation notices
- Updated dependencies [6b71e32]
- @faustjs/[email protected]
@faustjs/[email protected]
Patch Changes
- 6b71e32: Add deprecation notices
- Updated dependencies [6b71e32]
- @faustjs/[email protected]
- @faustjs/[email protected]
@faustjs/[email protected]
Patch Changes
- 6b71e32: Add deprecation notices
@faustwp/[email protected]
Minor Changes
- 085c30d: Added a new
skip
config option touseAuth
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]
@faustwp/[email protected]
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]
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
orComponent.query
, but not both.