Skip to content

Commit 7f551f8

Browse files
Version Packages
1 parent 10ad814 commit 7f551f8

File tree

10 files changed

+40
-43
lines changed

10 files changed

+40
-43
lines changed

.changeset/cookie-removal-flags.md

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

.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: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @faustwp/core
22

3+
## 3.4.1
4+
5+
### Patch Changes
6+
7+
- 10ad814: fix[faustwp-core]: add path, sameSite, secure, and httpOnly flags to removeCookie() to match setCookie() attributes
8+
- b087ac3: test[faustwp-core]: add test coverage for sitemapIndexPath option in createRootSitemapIndex
9+
310
## 3.4.0
411

512
### Minor Changes
@@ -147,11 +154,11 @@
147154
export default function Sitemap() {}
148155

149156
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-
});
157+
return getSitemapProps(ctx, {
158+
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
159+
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
160+
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
161+
});
155162
}
156163
```
157164

@@ -255,7 +262,7 @@
255262
256263
```jsx
257264
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
258-
Log Out
265+
Log Out
259266
</ToolbarItem>
260267
```
261268
@@ -361,18 +368,18 @@
361368
import { FaustPage } from '@faustwp/core';
362369

363370
type GetPageData = {
364-
generalSettings: {
365-
title: string;
366-
};
371+
generalSettings: {
372+
title: string;
373+
};
367374
};
368375

369376
type PageProps = {
370-
myProp: string;
377+
myProp: string;
371378
};
372379

373380
const Page: FaustPage<GetPageData, PageProps> = (props) => {
374-
const { myProp, data } = props;
375-
return <></>;
381+
const { myProp, data } = props;
382+
return <></>;
376383
};
377384
```
378385
@@ -441,9 +448,9 @@
441448
export default function Sitemap() {}
442449

443450
export function getServerSideProps(context) {
444-
return getSitemapProps(context, {
445-
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
446-
});
451+
return getSitemapProps(context, {
452+
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
453+
});
447454
}
448455
```
449456
@@ -473,7 +480,7 @@
473480
import { FaustHooks, FaustPlugin } from '@faustwp/core';
474481

475482
export class MyPlugin implements FaustPlugin {
476-
apply(hooks: FaustHooks) {}
483+
apply(hooks: FaustHooks) {}
477484
}
478485
```
479486

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)