Skip to content

Commit

Permalink
Version Packages (#1672)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 11, 2024
1 parent c163fa5 commit 5bad238
Show file tree
Hide file tree
Showing 24 changed files with 117 additions and 125 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/famous-steaks-enjoy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-snails-melt.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.

5 changes: 0 additions & 5 deletions .changeset/thick-pugs-appear.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/next/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"dependencies": {
"@apollo/client": "^3.8.0",
"@apollo/experimental-nextjs-app-support": "^0.5.1",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/cli": "^2.0.0",
"@faustwp/core": "^2.0.0",
"@faustwp/experimental-app-router": "^0.2.2",
"graphql": "^16.7.1",
"next": "^14.0.1",
Expand Down
6 changes: 3 additions & 3 deletions examples/next/block-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dependencies": {
"@apollo/client": "^3.8.8",
"@faustwp/blocks": "2.0.0",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/cli": "^2.0.0",
"@faustwp/core": "^2.0.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
4 changes: 2 additions & 2 deletions examples/next/faustwp-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@apollo/client": "^3.6.6",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.2.0",
"@faustwp/cli": "^2.0.0",
"@faustwp/core": "^2.0.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
4 changes: 2 additions & 2 deletions packages/experimental-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"devDependencies": {
"@apollo/client": "^3.8.0",
"@apollo/experimental-nextjs-app-support": "^0.5.1",
"@faustwp/cli": "^1.2.1",
"@faustwp/core": "^1.1.2",
"@faustwp/cli": "^2.0.0",
"@faustwp/core": "^2.0.0",
"@testing-library/jest-dom": "^5.17.0",
"@types/node": "^20.4.6",
"concurrently": "^8.2.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/faustwp-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @faustwp/cli

## 2.0.0

### Major Changes

- c163fa5: **BREAKING**: Removed telemetry CLI commands for `faust telemetry enable/disable/status` for managing and viewing telemetry opt-in status. Telemetry functionality has been moved to the Faust WordPress plugin. Sites that previously opted in from CLI will no longer send telemetry data unless someone opts in from the WordPress side.

### Patch Changes

- c163fa5: Adds block_editor_utils and experimental_app_router to telemetry events.

## 1.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/faustwp-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@faustwp/cli",
"version": "1.2.1",
"version": "2.0.0",
"description": "This modules provides a CLI to develop, build, and serve your Faust apps",
"main": "dist/index.js",
"type": "module",
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

## 2.0.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": "2.0.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
13 changes: 13 additions & 0 deletions plugins/faustwp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# 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.
- c163fa5: Added support for anonymous opt-in telemetry. Previously this functionality was in the Faust CLI package, but has been moved to the WordPress plugin instead. All telemetry collection is optional and anonymous, and it is disabled by default. If you were previously opted in from Faust CLI, once you update the Faust CLI packages your site will no longer send telemetry data unless you opt in again from the WordPress plugin.

### 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
}
25 changes: 14 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,19 @@ 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.
- c163fa5: Added support for anonymous opt-in telemetry. Previously this functionality was in the Faust CLI package, but has been moved to the WordPress plugin instead. All telemetry collection is optional and anonymous, and it is disabled by default. If you were previously opted in from Faust CLI, once you update the Faust CLI packages your site will no longer send telemetry data unless you opt in again from the WordPress plugin.

### 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 +81,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 5bad238

Please sign in to comment.