- 5ce074a: Tested Faust on WordPress 6.8.1
- 8684b83: Fixed issue in content_replacement when site_url() contains port
- 089ea0a: Fix for adding assets to the correct release for Github Actions. Small fix for Github actions to upload assets to the correct release
- b1898f8: Fix for adding assets to the correct release for Github Actions.
- 700f96e: bug: Fixes for Github workflow for faustwp releases. Added WPE info.json and automated for the release.
- 134f823: Added minor fixes for release process.
-
aedd100: chore: Updated FaustWP to create a preview link for all draft post types.
Removed actions
rest_prepare_postandrest_prepare_pagefrom the callback functions. Added a new action forrest_api_initto addrest_prepare_{$post_type}action for all publicably queryable post types including custom post types.
- 413fe9a: Added tested up to WordPress 6.7.2 for the FaustWP plugin.
- 3bf8104: Added author for FaustWP plugin.
- 4cee2d1: Fixed the token variable name for Github actions
- 4f82c31: Chore update faustwp release process
- 4dddd20: Bug: Fixed an issue with the function content_replacement throwing a 500 error for a null value.
-
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 6.6 and 6.7 to Github Actions
- Added 2 new filters for
faustwp_get_wp_site_urlsandfaustwp_get_wp_site_media_urlsto allow users add/remove/edit site and media URLS for the content replacement.
- ab06786: Updated the package
lucatume/wp-browserto fix a security vulnurability fornesbot/carbon. See https://github.com/briannesbitt/Carbon/releases/tag/2.72.6
- 28f1f83: Added new filter
faustwp_public_redirect_status_code, allowing WordPress plugins and themes to choose the HTTP status code to use when generating redirects when the enable public route redirects setting is active.
- 011cd931: - Added a custom PluginUpdater class to enable FaustWP plugin updates from an external API endpoint.
- e80d80af: Tested up to WordPress v6.6.1
- 9ff1df86: Introduces a new setting on the Faust settings page that allows users to opt-in or out of Faust removing Nav Menu Locations that are not registered on the Faust Settings page.
- 84076cd1: Bug: Fixes issue with blocks not showing in the block editor when running blockset command on WP >=v6.5
- c28624c: Improve domain_match function to handle port checks and Add Comprehensive Test Cases
- a478997: The default settings for
enable_image_sourcehas been changed to "on" for new installs.
- bced682: Ensure's any related translations will properly load by calling
load_text_domain
- 4724719: Faust now errors if the NEXT_PUBLIC_WORDPRESS_URL matches the Headless URL in Faust Plugin settings.
- 47f6bd0: Faust now warns you if the secret key in your environment is invalid or incorrect.
- 05cc940: Fix: swap traditional custom post type URLs in WordPress admin for the headless frontend custom post type URLs.
- 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.
- 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.
- 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.
- b2c0fd3: Updated the settings page to improve descriptions and documentation links.
-
c29f83d: Add blockset command in @faust/cli and faustwp plugin.
Add your blocks inside
wp-blocksfolder. Then runfaust blocksetto compile and upload the blocks into WordPress. Blocks will be available in the editor. -
d3d30aa: Added support for authenticated WPGraphQL introspection queries using FAUST_SECRET_KEY. It is no longer required to enable "Public Introspection" in WPGraphQL.
- fcc6d37: Fixed a bug in the block editor screen where the preview link was missing the
pandpreviewPathNamequery arguments after saving a draft.
- 188bd75: Auto-update enqueued asset versions whenenever the plugin is updated.
- 0c9f9b5: Image URLs (and any URLs with file extensions) are now excluded from the replacement that Faust does in the GraphQL query results.
- 9ed3c40: Bug: Fixed an issue where the preview button could crash the browser
- 7952ebe: Transitioned to Semantic Versioning. There are no breaking changes in this release.
- ef92d02: Added
wp-graphql-content-blocksversion to the telemetry endpoint.
- 2eeb366: The default plugin setting for "Disable WordPress Theme Admin Pages" is now unchecked, requiring a user to opt-in after initial activation.
- 02f7f78: Registered a new GraphQL field,
globalStylesheet, that returns wp_get_global_stylesheet and provides the same arguments as the core WordPress function.
- eaa5e48: Added the
shouldShowFaustToolbarfield on theviewerWPGraphQL type to determine if the Faust toolbar should be shown based on user preferences.
- 43205e1: Bug Fix: "Post and Category URL rewrites" setting ignores protocol of configured front-end site URL
- c4696ef: - Added new filter
faustwp_exclude_from_public_redirect, allowing WordPress plugins and themes to exclude certain routes from being redirected when the enable public route redirects setting is active.
- 4dce6dc: Added support for FAUST_SECRET_KEY in addition to the pre-existing FAUSTWP_SECRET_KEY.
- c016c9f: Update plugin title in changelog
- b59d6c0: Renamed plugin from
FaustWPtoFaust. - b59d6c0: Updated settings menu text from Headless to Faust.
- b3c70a4: Prevent WordPress RSS feeds from redirecting to the front-end application.
- 88ce018: Fix generate endpoint when WordPress is installed within a subdirectory. Props to @kermage for the fix!
- 0c757a2: Remove unnecessary config from wordpress.org zip.
- 4ab6cdf: Fix menu paths when activated within a multisite using subdirectories.
- ccb7ff3: Fix page preview links
- bb59263: The plugin's default settings are now working when activated within a multisite installation.
- 6c04567: Fixes a conflict between public route redirects and the full site editor
- d12f938: Updates an icon on the settings page
- 8942b83: Adds warning when known incompatible plugins are active.
- 6d3f5de: Fix conflict with PublishPress that caused preview links to fail
- 6a75593: Fixes a PHP 8 warning that occured on post types not registered with WP GraphQL #812
- 420d0b4: Remove trailing slash from frontend uri.
- 037b57b: Ensure sitemap URLs use the WordPress domain and not the headless frontend domain. Fixes a conflict with Yoast SEO that prevented post links from being added to the posts sitemap.
- b7af359: Simplify generation of preview links. Fixes an issue where preview links were missing slashes with certain permalink structures. Thanks @torounit!
- 662c377: Plugin settings are now validated and sanitized before saving.
- c730348: Disables access to the site editor when themes are disabled
- 1dcd987: Removes unused event callbacks for rewrite rule and post status changes. The
is_events_enabled()function has also been removed. - 5c69b68: ConditionalTags has been deprecated as it was introduced in an older version of the framework when routing was done from the NextTemplateLoader. Now that we are using Next.js pages for routing, conditionalTags are no longer needed.
- 7d156ba: Add a documentation link that explains "Features" checkbox settings in more detail
- ab4a661: Fixed issue where file editor was unable to save
- 4cff9dc: feat: add link to Settings page on Installed Plugins list page
- 3c1280b: Adds the GraphQL
Typename to the preview URL to avoid making a request to get the content type in the Faust.js packages
- f948c04: Fixed plugin icon SVG display issue in Chrome #683
- Changed the plugin name to FaustWP.
- Changed all internal PHP function names to use namespaces.
- Changed the WP_HEADLESS_SECRET_KEY constant to FAUSTWP_SECRET_KEY.
- Changed the authentication endpoint namespace from
wpac/v1tofaustwp/v1 - Changed settings option name from
wpe_headlesstofaustwp_settings - Changed the following filter names:
wpe_headless_settingtofaustwp_settingwpe_headless_settingstofaustwp_settingswpe_headless_domain_replacement_enabledtofaustwp_domain_replacement_enabled
- Changed the text domain to
faustwp. - Changed minimum required PHP version to 7.2.
- Changed minimum required WordPress version to 5.7.
- Changed the hook used for public route redirection.
- Fixed the "headless post preview" link on the FaustWP settings page.
- Fixed "unexpected output" error during plugin activation.
- Fixed skipped domain replacement in GraphQL responses that include
generalSettings. - Added LICENSE file.
- Fixed the headless options page sidebar links to new Faust.js documentation site.
- [Breaking Change] Added support for access/refresh token based auth flow in the authorize endpoint.
- Added
page_idquery param to preview pages when the content type ispage
- Lowering link filter priority to allow other plugins to run prior to swapping the domain
- Updated settings page docs links
- Added an admin notice on the Headless settings page to prompt users to configure permalinks if they are not set
- Fixes an issue where the templates hierarchy from the templates hierarchy filter was not being returned.
- Prevents the frontend site URL being prepended to post URI paths in GraphQL responses if “Enable Post and Category URL rewrites” is checked.
- Prevents authentication failures when using an authorization header to authenticate with WPGraphQL JWT Authentication or similar.
Requires the @wpengine/headless package 0.6.3+ for features such as post previews. https://www.npmjs.com/package/@wpengine/headless
- Fixes post previews for frontend apps running from a subfolder.
Requires the @wpengine/headless package 0.6.2+ for features such as post previews. https://www.npmjs.com/package/@wpengine/headless
- Fixes an issue that could cause a 404 response for post previews.
Requires the @wpengine/headless package 0.6.1+ for features such as post previews. https://www.npmjs.com/package/@wpengine/headless
- The site URL is longer rewritten as the app URL in WPGraphQL responses for general settings queries.
- WPE_HEADLESS_SECRET_KEY has been renamed to WP_HEADLESS_SECRET_KEY.
- Fixed potential authentication issue with WP GraphQL
- Redesigned settings page.
- Proof of concept