Faust.js™ - The Headless WordPress Framework
OTHER License
Bot releases are visible (Hide)
Published by github-actions[bot] 9 months ago
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.Published by github-actions[bot] 9 months ago
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.
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
626207b: Added: New util for fetching data on the client side. In a client component (use client
), you can now use Apollo's useQuery
to fetch data once your application is wrapped with the <FaustProvider>
component. This new component is available via:
import { FaustProvider } from '@faustwp/experimental-app-router/ssr';
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] 11 months ago
6e43598: BREAKING: Updated the following peer dependencies to new required minimums:
@apollo/experimental-nextjs-app-support
: 0.4.1
-> 0.5.0
next
: 12.1.6
-> 14.0.0
react
: 17.0.2
-> 18.0.0
react-dom
: 17.0.2
-> 18.0.0
6e43598: BREAKING: This package now requires Node 18+
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] 12 months ago
c29f83d: Add blockset command in @faust/cli and faustwp plugin.
Add your blocks inside wp-blocks
folder. Then run faust blockset
to 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.
Published by github-actions[bot] 12 months ago
x-using
header not appearing when i18n options are set in next.config.js
Published by github-actions[bot] 12 months ago
c29f83d: Add blockset command in @faust/cli and faustwp plugin.
Add your blocks inside wp-blocks
folder. Then run faust blockset
to 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.
Published by github-actions[bot] 12 months ago
Published by github-actions[bot] about 1 year ago
--skip-health-checks
argumentPublished by github-actions[bot] about 1 year ago
cjs
support. The experimental app router package now is ESM only.Published by github-actions[bot] about 1 year ago
CheckboxControl
field in block-editor-utils
.RangeControl
field in block-editor-utils
.Published by blakewilson about 1 year ago
p
and previewPathName
query arguments after saving a draft.Published by github-actions[bot] about 1 year ago
NEXT_PUBLIC_WORDPRESS_URL
environment variable was not set or 2. the GraphQL endpoint was not availablePublished by github-actions[bot] about 1 year ago
b2ad517: Added the onLogin
server action to login a user:
import { onLogin } from '@faustwp/experimental-app-router';
<form action={loginAction}>
<fieldset>
<label htmlFor="usernameEmail">Username or Email</label>
<input type="name" name="usernameEmail" />
</fieldset>
<fieldset>
<label htmlFor="password">Password</label>
<input type="password" name="password" />
</fieldset>
<button type="submit">Login</button>
</form>;
Updated dependencies [b201ba2]
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
a419252: Fixed an issue where persisted queries were not being enabled properly when setting the usePersistedQueries
flag.
cf887d3: Fixed bug where the "Edit Post" link was missing in the Faust Toolbar
795d956: Improved keyboard navigation within Toolbar menus, allowing for dropdowns to be toggled open with "enter"
Note that the ToolbarItem
component no longer uses the prop handleClick
, instead relying on pass-through props in order to separate the click event from the the key event.
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
Log Out
</ToolbarItem>