Skip to content

Commit 37b7ced

Browse files
Version Packages
1 parent b087ac3 commit 37b7ced

File tree

9 files changed

+39
-38
lines changed

9 files changed

+39
-38
lines changed

.changeset/sitemap-index-path-tests.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/update-settings-links.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

examples/next/faustwp-getting-started/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@apollo/client": "^3.14.0",
1414
"@faustwp/cli": "^3.3.6",
15-
"@faustwp/core": "^3.4.0",
15+
"@faustwp/core": "^3.4.1",
1616
"@wordpress/base-styles": "^6.15.0",
1717
"@wordpress/block-library": "9.10.0",
1818
"classnames": "^2.5.1",

packages/faustwp-core/CHANGELOG.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @faustwp/core
22

3+
## 3.4.1
4+
5+
### Patch Changes
6+
7+
- b087ac3: test[faustwp-core]: add test coverage for sitemapIndexPath option in createRootSitemapIndex
8+
39
## 3.4.0
410

511
### Minor Changes
@@ -147,11 +153,11 @@
147153
export default function Sitemap() {}
148154

149155
export function getServerSideProps(ctx) {
150-
return getSitemapProps(ctx, {
151-
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
152-
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
153-
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
154-
});
156+
return getSitemapProps(ctx, {
157+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
158+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
159+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
160+
});
155161
}
156162
```
157163

@@ -255,7 +261,7 @@
255261
256262
```jsx
257263
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
258-
Log Out
264+
Log Out
259265
</ToolbarItem>
260266
```
261267
@@ -361,18 +367,18 @@
361367
import { FaustPage } from '@faustwp/core';
362368

363369
type GetPageData = {
364-
generalSettings: {
365-
title: string;
366-
};
370+
generalSettings: {
371+
title: string;
372+
};
367373
};
368374

369375
type PageProps = {
370-
myProp: string;
376+
myProp: string;
371377
};
372378

373379
const Page: FaustPage<GetPageData, PageProps> = (props) => {
374-
const { myProp, data } = props;
375-
return <></>;
380+
const { myProp, data } = props;
381+
return <></>;
376382
};
377383
```
378384
@@ -441,9 +447,9 @@
441447
export default function Sitemap() {}
442448

443449
export function getServerSideProps(context) {
444-
return getSitemapProps(context, {
445-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
446-
});
450+
return getSitemapProps(context, {
451+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
452+
});
447453
}
448454
```
449455
@@ -473,7 +479,7 @@
473479
import { FaustHooks, FaustPlugin } from '@faustwp/core';
474480

475481
export class MyPlugin implements FaustPlugin {
476-
apply(hooks: FaustHooks) {}
482+
apply(hooks: FaustHooks) {}
477483
}
478484
```
479485

packages/faustwp-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faustwp/core",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers",
55
"main": "dist/cjs/index.js",
66
"module": "dist/mjs/index.js",

plugins/faustwp/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Faust
22

3+
## 1.8.7
4+
5+
### Patch Changes
6+
7+
- ca1e2f4: fix[faustwp]: update documentation links in settings page to use current URL structure
8+
39
## 1.8.6
410

511
### Patch Changes

plugins/faustwp/faustwp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
* Text Domain: faustwp
1111
* Domain Path: /languages
12-
* Version: 1.8.6
12+
* Version: 1.8.7
1313
* Requires PHP: 7.4
1414
* Requires at least: 5.7
1515
* Tested up to: 6.9

plugins/faustwp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "@faustwp/wordpress-plugin",
3-
"version": "1.8.6",
3+
"version": "1.8.7",
44
"private": true
55
}

plugins/faustwp/readme.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: antpb, apmatthe, blakewpe, chriswiegman, claygriffiths, colin-murp
33
Tags: faustjs, faust, headless, decoupled, composable-architecture
44
Requires at least: 5.7
55
Tested up to: 6.9
6-
Stable tag: 1.8.6
6+
Stable tag: 1.8.7
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -54,6 +54,12 @@ plugins/faustwp/.wordpress-org/screenshot-3.png
5454

5555
== Changelog ==
5656

57+
= 1.8.7 =
58+
59+
### Patch Changes
60+
61+
- ca1e2f4: fix[faustwp]: update documentation links in settings page to use current URL structure
62+
5763
= 1.8.6 =
5864

5965
### Patch Changes
@@ -69,11 +75,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png
6975

7076
- 6bf8a7e: Add WordPress 6.9 to the CI test matrix and update the plugin "Tested up to" header to 6.9.
7177

72-
= 1.8.4 =
73-
74-
### Patch Changes
75-
76-
- 5ce074a: Tested Faust on WordPress 6.8.1
77-
- 8684b83: Fixed issue in content_replacement when site_url() contains port
78-
7978
[View the full changelog](https://github.com/wpengine/faustjs/blob/canary/plugins/faustwp/CHANGELOG.md)

0 commit comments

Comments
 (0)