Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 11, 2024
1 parent f1e7058 commit 5b1f8ca
Show file tree
Hide file tree
Showing 18 changed files with 99 additions and 104 deletions.
5 changes: 0 additions & 5 deletions .changeset/brave-horses-laugh.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/breezy-drinks-wink.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/eleven-elephants-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-mayflies-cough.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/sour-boxes-cheer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-shoes-lay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-jobs-belly.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/next/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@apollo/client": "^3.8.0",
"@apollo/experimental-nextjs-app-support": "^0.5.1",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/core": "^1.3.0",
"@faustwp/experimental-app-router": "^0.2.2",
"graphql": "^16.7.1",
"next": "^14.0.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/next/block-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@apollo/client": "^3.8.8",
"@faustwp/blocks": "2.0.0",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/core": "^1.3.0",
"@wordpress/base-styles": "^4.38.0",
"@wordpress/block-library": "^8.24.0",
"classnames": "^2.3.1",
Expand All @@ -26,7 +26,7 @@
},
"devDependencies": {
"@wordpress/scripts": "26.18.0",
"@faustwp/block-editor-utils": "0.0.5"
"@faustwp/block-editor-utils": "0.1.0"
},
"engines": {
"node": ">=18",
Expand Down
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.6.6",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/core": "^1.3.0",
"@wordpress/base-styles": "^4.36.0",
"@wordpress/block-library": "^7.19.0",
"classnames": "^2.3.1",
Expand Down
36 changes: 36 additions & 0 deletions packages/block-editor-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @faustwp/block-editor-utils

## 0.1.0

### Minor Changes

- 8dcda28: Add support for RichText control fields.

Add a `source` and `selector` in your block attributes string field:

```json
...
"attributes": {
"richText": {
"type": "string",
"source": "html",
"selector": ".rich-text",
"default": "Hello World"
}
}
```

Then in your component definition make sure the selector specifier matches the component you want to render as rich text:

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

Once the blocks are synced you will be able to use it as a RichText field.

### Patch Changes

- 66c1e24: Publish Readme to NPM

## 0.0.5

### Patch Changes
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.0.5",
"version": "0.1.0",
"description": "Faust Block Editor Utils Package",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down
30 changes: 30 additions & 0 deletions packages/faustwp-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @faustwp/core

## 1.3.0

### Minor Changes

- c79c8c2: Added the ability to provide multiple queries to a given Faust Template:

```js
import {GET_POST, GET_LAYOUT} from './queries.js'

export default function Component(props) {
}

Component.queries = [
{
query: GET_LAYOUT
},
{
query: GET_POST,
variables: (seedNode, ctx) {
return {
id: seedNode.databaseId,
asPreview: ctx?.asPreview
}
}
}
]
```
**Note:** Your Faust template can use either `Component.queries` or `Component.query`, but not both.
## 1.2.0
### Patch Changes
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": "1.2.0",
"version": "1.3.0",
"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
12 changes: 12 additions & 0 deletions plugins/faustwp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Faust

## 1.2.0

### Minor Changes

- 5f78b15: Requests to robots.txt on the WordPress site are now accessible and are no longer redirected to the front-end site.

### Patch Changes

- 205fb09: Improved plugin's process for handling blockset file uploads by leveraging WordPress' native [unzip_file](https://developer.wordpress.org/reference/functions/unzip_file/) function.
- 41a6d9c: Fixed issue where term URIs were rewritten from relative to absolute during GraphQL requests when they should not have been. This was causing nodeByUri queries for terms to fail.
- e725bda: Adds phpstan to CI/CD workflow. Runs as part of the lint step.

## 1.1.2

### 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.1.2
* Version: 1.2.0
* Requires PHP: 7.2
* Requires at least: 5.7
*
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.1.2",
"version": "1.2.0",
"private": true
}
24 changes: 13 additions & 11 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.4
Stable tag: 1.1.2
Stable tag: 1.2.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,18 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

== Changelog ==

= 1.2.0 =

### Minor Changes

- 5f78b15: Requests to robots.txt on the WordPress site are now accessible and are no longer redirected to the front-end site.

### Patch Changes

- 205fb09: Improved plugin's process for handling blockset file uploads by leveraging WordPress' native [unzip_file](https://developer.wordpress.org/reference/functions/unzip_file/) function.
- 41a6d9c: Fixed issue where term URIs were rewritten from relative to absolute during GraphQL requests when they should not have been. This was causing nodeByUri queries for terms to fail.
- e725bda: Adds phpstan to CI/CD workflow. Runs as part of the lint step.

= 1.1.2 =

### Patch Changes
Expand All @@ -68,14 +80,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

- b2c0fd3: Updated the settings page to improve descriptions and documentation links.

= 1.1.0 =

### Minor Changes

- c29f83d: Add blockset command in @faust/cli and faustwp plugin.

Add your blocks inside `wp-blocks` folder. Then run `faust blockset` to compile and upload the blocks into WordPress. Blocks will be available in the editor.

- d3d30aa: Added support for authenticated WPGraphQL introspection queries using FAUST_SECRET_KEY. It is no longer required to enable "Public Introspection" in WPGraphQL.

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

0 comments on commit 5b1f8ca

Please sign in to comment.