Skip to content

Commit

Permalink
Version Packages (#1999)
Browse files Browse the repository at this point in the history
* Version Packages

* Update CHANGELOG.md

* Update package.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Theofanis Despoudis <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent 99b5793 commit d57b88a
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 70 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-terms-shake.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/popular-glasses-occur.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-walls-thank.md

This file was deleted.

39 changes: 0 additions & 39 deletions .changeset/three-singers-roll.md

This file was deleted.

17 changes: 17 additions & 0 deletions packages/blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @faustwp/blocks

## 6.0.0

### Major Changes

- 99b5793: Update of the CoreParagraph block to support the native WP anchor attribute. GitHub issue: "[[feat] Add anchor attribute to core/paragraph block](https://github.com/wpengine/faustjs/issues/1954)"

Introduces new field to `core/paragraph` block: `anchor`. This field allows users to add an anchor to the paragraph block. The anchor is used to create a link to a specific part of the page. The anchor is added to the block's wrapper element as an ID attribute.

**Files changed:**

- packages/blocks/src/blocks/CoreParagraph.tsx (added anchor attribute)
- packages/blocks/package.json (updated package version to 6.0.0)

### Patch Changes

- bdb7d7f: Bug: Fixed an issue an issue with WordPressBlocksProvider and the theme argument to allow it to be optional and not throw an error. By default theme is now an empty object

## 5.0.0

### Major Changes
Expand Down
40 changes: 40 additions & 0 deletions packages/experimental-app-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @faustwp/experimental-app-router

## 0.6.0

### Minor Changes

- 5457479: ---

## '@faustwp/experimental-app-router': minor

Update @faustwp/experimental-app-router to account for next 15 changes to cookies and update NextResponse import

Notable changes:

- Adding await to all cookies requests as per Next documentation: https://nextjs.org/docs/app/api-reference/functions/cookies

```
import { cookies } from 'next/headers'
export default async function Page() {
const cookieStore = await cookies()
const theme = cookieStore.get('theme')
return '...'
}
```

- Files changed:

- packages/experimental-app-router/src/server-actions/logoutAction.ts
- packages/experimental-app-router/src/server-actions/utils/setRefreshToken.ts
- packages/experimental-app-router/src/server/auth/fetchTokens.ts
- packages/experimental-app-router/src/server/routeHandler/tokenHandler.ts

- Updated Next App Router example to use latest next version and React 19 RC.
- Updated Example Login form using React 19s useActionState
- Updated Awaiting of params for Next 15
- Files Changed:
- examples/next/app-router/app/login/page.tsx
- examples/next/app-router/package.json
- examples/next/app-router/[slug]hasPreviewProps.ts (made async)
- examples/next/app-router/[slug]page.tsx

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/experimental-app-router/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@faustwp/experimental-app-router",
"type": "module",
"version": "0.5.0",
"version": "0.6.0",
"description": "Experimental: A Faust package to support Next.js' App Router",
"exports": {
".": "./dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions plugins/faustwp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Faust

## 1.6.0

### Minor Changes

- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.

## 1.5.0

### Minor 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.5.0
* Version: 1.6.0
* Requires PHP: 7.2
* Requires at least: 5.7
* Update URI: false
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.5.0",
"version": "1.6.0",
"private": true
}
14 changes: 7 additions & 7 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.6.1
Stable tag: 1.5.0
Stable tag: 1.6.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,12 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

== Changelog ==

= 1.6.0 =

### Minor Changes

- 28f1f83: Added new filter `faustwp_public_redirect_status_code`, allowing WordPress plugins and themes to choose the [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) to use when generating redirects when the [enable public route redirects](https://faustjs.org/docs/faustwp/settings#enabling-public-route-redirects) setting is active.

= 1.5.0 =

### Minor Changes
Expand All @@ -66,10 +72,4 @@ plugins/faustwp/.wordpress-org/screenshot-3.png

- e80d80af: Tested up to WordPress v6.6.1

= 1.4.0 =

### Minor Changes

- 9ff1df86: Introduces a new setting on the Faust settings page that allows users to opt-in or out of Faust removing Nav Menu Locations that are not registered on the Faust Settings page.

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

0 comments on commit d57b88a

Please sign in to comment.