Skip to content

Commit

Permalink
Merge branch 'canary' of https://github.com/wpengine/faustjs into pat…
Browse files Browse the repository at this point in the history
…ch-1
  • Loading branch information
Diego Avalon committed Oct 29, 2024
2 parents be14fbb + 9011492 commit 9fc2596
Show file tree
Hide file tree
Showing 11 changed files with 1,282 additions and 2,759 deletions.
7 changes: 7 additions & 0 deletions .changeset/smart-pumas-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@faustwp/blocks': major
---

Updates the GraphQL fragment associated with the CoreQuote component to be compatible with WordPress 6.6

Adds `legacyBehavior` to CoreButton link to work on Next.js v13.
3,958 changes: 1,236 additions & 2,722 deletions internal/legacy.faustjs.org/package-lock.json

Large diffs are not rendered by default.

14 changes: 10 additions & 4 deletions internal/legacy.faustjs.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.0.1",
"@docusaurus/plugin-client-redirects": "^3.0.1",
"@docusaurus/plugin-google-gtag": "^3.0.1",
"@docusaurus/preset-classic": "^3.0.1",
"@docusaurus/core": "^3.5.2",
"@docusaurus/plugin-client-redirects": "^3.5.2",
"@docusaurus/plugin-google-gtag": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@mdx-js/react": "^3.0.0",
"@svgr/webpack": "^8.1.0",
"clsx": "^2.0.0",
Expand All @@ -42,5 +42,11 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"overrides": {
"express": "^4.17.1",
"serve-handler": {
"path-to-regexp": "3.3.0"
}
}
}
30 changes: 10 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/blocks/src/blocks/CoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function CoreButton(props: CoreButtonFragmentProps) {
aria-label={attributes?.text}
id={attributes?.anchor}
className={attributes?.cssClassName}>
<Link href={attributes?.url}>
<Link legacyBehavior href={attributes?.url}>
<a
target={linkTarget}
className={attributes?.linkClassName}
Expand Down
4 changes: 2 additions & 2 deletions packages/blocks/src/blocks/CoreQuote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getStyles } from '../utils/index.js';

export type CoreQuoteFragmentProps = ContentBlock & {
attributes?: {
align?: string;
textAlign?: string;
anchor?: string;
backgroundColor?: string;
citation?: string;
Expand Down Expand Up @@ -52,7 +52,7 @@ CoreQuote.fragments = {
entry: gql`
fragment CoreQuoteBlockFragment on CoreQuote {
attributes {
align
textAlign
anchor
backgroundColor
citation
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"author": "WP Engine",
"license": "MIT",
"dependencies": {
"cookie": "^0.4.1",
"cookie": "^0.7.0",
"deepmerge": "^4.2.2",
"gqty": "^2.3.0",
"isomorphic-fetch": "^3.0.0",
Expand Down
6 changes: 6 additions & 0 deletions plugins/faustwp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Faust

## 1.5.0

### Minor Changes

- 011cd931: - Added a custom PluginUpdater class to enable FaustWP plugin updates from an external API endpoint.

## 1.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion plugins/faustwp/faustwp.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: faustwp
* Domain Path: /languages
* Version: 1.4.1
* Version: 1.5.0
* Requires PHP: 7.2
* Requires at least: 5.7
* Update URI: false
Expand Down
2 changes: 1 addition & 1 deletion plugins/faustwp/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@faustwp/wordpress-plugin",
"version": "1.4.1",
"version": "1.5.0",
"private": true
}
14 changes: 7 additions & 7 deletions plugins/faustwp/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: antpb, apmatthe, blakewpe, chriswiegman, claygriffiths, jasonkonen
Tags: faustjs, faust, headless, decoupled, composable-architecture
Requires at least: 5.7
Tested up to: 6.6.1
Stable tag: 1.4.1
Stable tag: 1.5.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -54,6 +54,12 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

== Changelog ==

= 1.5.0 =

### Minor Changes

- 011cd931: - Added a custom PluginUpdater class to enable FaustWP plugin updates from an external API endpoint.

= 1.4.1 =

### Patch Changes
Expand All @@ -66,10 +72,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

- 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.

= 1.3.2 =

### Patch Changes

- 84076cd1: Bug: Fixes issue with blocks not showing in the block editor when running blockset command on WP >=v6.5

[View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md)

0 comments on commit 9fc2596

Please sign in to comment.