Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/huge-walls-raise.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/next/faustwp-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@apollo/client": "^3.10.4",
"@faustwp/cli": "^3.3.1",
"@faustwp/core": "^3.3.1",
"@faustwp/core": "^3.3.2",
"@wordpress/base-styles": "^5.10.0",
"@wordpress/block-library": "^9.10.0",
"classnames": "^2.5.1",
Expand Down
38 changes: 22 additions & 16 deletions packages/faustwp-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @faustwp/core

## 3.3.2

### Patch Changes

- b5c208f: #2181 - Sanitize URL in cookie key to make it RFC 6265 sec 4.1.1 compliant.

## 3.3.1

### Patch Changes
Expand Down Expand Up @@ -62,11 +68,11 @@
export default function Sitemap() {}

export function getServerSideProps(ctx) {
return getSitemapProps(ctx, {
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
});
return getSitemapProps(ctx, {
sitemapIndexPath: '/sitemap_index.xml', // RankMath changes the default sitemap path to this
frontendUrl: process.env.NEXT_PUBLIC_SITE_URL,
sitemapPathsToIgnore: ['/wp-sitemap-users-*'],
});
}
```

Expand Down Expand Up @@ -170,7 +176,7 @@

```jsx
<ToolbarItem onKeyDown={handleKeyDown} onClick={handleClick}>
Log Out
Log Out
</ToolbarItem>
```

Expand Down Expand Up @@ -276,18 +282,18 @@
import { FaustPage } from '@faustwp/core';

type GetPageData = {
generalSettings: {
title: string;
};
generalSettings: {
title: string;
};
};

type PageProps = {
myProp: string;
myProp: string;
};

const Page: FaustPage<GetPageData, PageProps> = (props) => {
const { myProp, data } = props;
return <></>;
const { myProp, data } = props;
return <></>;
};
```

Expand Down Expand Up @@ -356,9 +362,9 @@
export default function Sitemap() {}

export function getServerSideProps(context) {
return getSitemapProps(context, {
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
});
return getSitemapProps(context, {
frontendUrl: process.env.FRONTEND_URL, // Set the FRONTEND_URL as an env var
});
}
```

Expand Down Expand Up @@ -388,7 +394,7 @@
import { FaustHooks, FaustPlugin } from '@faustwp/core';

export class MyPlugin implements FaustPlugin {
apply(hooks: FaustHooks) {}
apply(hooks: FaustHooks) {}
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/faustwp-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustwp/core",
"version": "3.3.1",
"version": "3.3.2",
"description": "Faust is a framework that aims to make headless WordPress as streamlined as classic WordPress for both developers and publishers",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down