Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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/block-editor-utils-wordpress-deps.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/restore-next-peer-range.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.14.0",
"@faustwp/cli": "^3.4.1",
"@faustwp/core": "^3.4.1",
"@faustwp/core": "^3.4.2",
"@wordpress/base-styles": "^6.15.0",
"@wordpress/block-library": "9.10.0",
"classnames": "^2.5.1",
Expand Down
36 changes: 21 additions & 15 deletions packages/block-editor-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @faustwp/block-editor-utils

## 0.3.9

### Patch Changes

- 15c4a69: Updated `@wordpress/*` dependencies to their latest majors. `@wordpress/blocks` 16 replaces `showdown`, which has unpatched cross-site scripting and ReDoS advisories, with `marked`.

## 0.3.8

### Patch Changes
Expand Down Expand Up @@ -68,15 +74,15 @@
```js
// Component.js
Component.config = {
name: 'CreateBlockBlockB',
editorFields: {
textArea: {
type: 'string',
label: 'My Message',
location: 'editor',
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
},
},
name: 'CreateBlockBlockB',
editorFields: {
textArea: {
type: 'string',
label: 'My Message',
location: 'editor',
control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor
},
},
};
```

Expand Down Expand Up @@ -110,9 +116,9 @@

```js
<div
style={styles}
className="rich-text"
dangerouslySetInnerHTML={{ __html: attributes.richText }}
style={styles}
className="rich-text"
dangerouslySetInnerHTML={{ __html: attributes.richText }}
/>
```

Expand Down Expand Up @@ -163,9 +169,9 @@
import save from './save';

registerFaustBlock(MyFirstBlock, {
blockJson: metadata,
editFn: Edit,
saveFn: save,
blockJson: metadata,
editFn: Edit,
saveFn: save,
});
```

Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustwp/block-editor-utils",
"version": "0.3.8",
"version": "0.3.9",
"description": "Faust Block Editor Utils Package",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @faustwp/blocks

## 6.1.10

### Patch Changes

- 8727c96: Restored the `next` peer dependency ranges (`>=12.1.6` for `@faustwp/core`, `^15.5.5 || ^16.0.0` for `@faustwp/blocks`) that an automated dependency bump had narrowed to `^16.3.3`.

## 6.1.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustwp/blocks",
"version": "6.1.9",
"version": "6.1.10",
"description": "Faust Blocks",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
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.4.2

### Patch Changes

- 8727c96: Restored the `next` peer dependency ranges (`>=12.1.6` for `@faustwp/core`, `^15.5.5 || ^16.0.0` for `@faustwp/blocks`) that an automated dependency bump had narrowed to `^16.3.3`.

## 3.4.1

### Patch Changes
Expand Down Expand Up @@ -154,11 +160,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 @@ -262,7 +268,7 @@

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

Expand Down Expand Up @@ -368,18 +374,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 @@ -448,9 +454,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 @@ -480,7 +486,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.4.1",
"version": "3.4.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