Skip to content

Commit

Permalink
Merge branch 'develop' into feature/gutenberg-primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Oct 14, 2024
2 parents fbb5234 + 00e85bd commit 2f4c5fd
Show file tree
Hide file tree
Showing 483 changed files with 24,948 additions and 26,398 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-hairs-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@headstartwp/next": patch
---

[Pages Router] Add support for `wyw-in-js` and latest version of linaria
10 changes: 9 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,13 @@
"baseBranch": "trunk",
"updateInternalDependencies": "patch",
"privatePackages": { "version": true, "tag": false },
"ignore": ["@10up/wp-nextjs", "@10up/wp-nextjs-ts", "@10up/wp-multisite-nextjs", "@10up/wp-multisite-i18n-nextjs", "@10up/headless-docs"]
"ignore": [
"@10up/wp-nextjs",
"@10up/wp-nextjs-app",
"@10up/wp-polylang-nextjs-app",
"@10up/wp-multisite-nextjs-app",
"@10up/wp-multisite-nextjs",
"@10up/wp-multisite-i18n-nextjs",
"@headstartwp/vite-react-test"
]
}
6 changes: 6 additions & 0 deletions .changeset/cyan-fans-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Introducing previewRouteHandler to handle preview in Next.js App Router
6 changes: 6 additions & 0 deletions .changeset/famous-apples-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

Allow overriding fetch strategy
6 changes: 6 additions & 0 deletions .changeset/forty-apes-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Initial App Router Support
6 changes: 6 additions & 0 deletions .changeset/forty-planets-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

Fix: return config from queryPostOrPosts
6 changes: 6 additions & 0 deletions .changeset/funny-poems-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Introducing SEO handling for App Router
6 changes: 6 additions & 0 deletions .changeset/fuzzy-cows-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Link handling
5 changes: 5 additions & 0 deletions .changeset/happy-bugs-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@headstartwp/next": patch
---

Opt into image.remotePatters for Next.js versions that supports it
6 changes: 6 additions & 0 deletions .changeset/happy-squids-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Adding support for `i18n` routing in app router
5 changes: 5 additions & 0 deletions .changeset/heavy-bikes-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@headstartwp/core": patch
---

Fix: only run parseBlockAttribute when forwardBlockAttribute is set for nodes that represent wp blocks
6 changes: 6 additions & 0 deletions .changeset/itchy-cooks-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/next": patch
---

Fixed - Fixed isValidLocale function to validate against the configuration
Added - New test condition for technically valid, but unsupported locale
6 changes: 6 additions & 0 deletions .changeset/large-spies-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

remove usage of defaultProps and intropduce the ability to attach a default test function directly to the component
6 changes: 6 additions & 0 deletions .changeset/late-rings-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/headstartwp": patch
---

Fix: do not cast menu item ids to number as they are strings
6 changes: 6 additions & 0 deletions .changeset/moody-emus-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Introducing `revalidateRouteHandler` for handling revalidate requests in Route Handlers (App Router)
5 changes: 5 additions & 0 deletions .changeset/perfect-pumas-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@headstartwp/core": patch
---

Fix TS type for link component in SettingsContextProps
6 changes: 6 additions & 0 deletions .changeset/poor-donkeys-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

RSC compatible image block for next.js
43 changes: 43 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"@headstartwp/core": "1.4.4",
"@headstartwp/next": "1.4.3",
"@10up/next-redis-cache-provider": "1.0.0",
"@10up/wp-multisite-i18n-nextjs": "0.2.0",
"@10up/wp-multisite-nextjs": "0.2.0",
"@10up/wp-multisite-nextjs-app": "0.1.0",
"@10up/wp-nextjs": "0.2.0",
"@10up/wp-nextjs-app": "0.1.0",
"@10up/wp-polylang-nextjs-app": "0.1.0",
"@headstartwp/headstartwp": "1.1.3",
"@headstartwp/vite-react-test": "0.0.0"
},
"changesets": [
"blue-hairs-warn",
"cyan-fans-clean",
"famous-apples-knock",
"forty-apes-repair",
"forty-planets-fix",
"funny-poems-own",
"fuzzy-cows-press",
"happy-bugs-obey",
"happy-squids-admire",
"heavy-bikes-join",
"itchy-cooks-tap",
"large-spies-give",
"late-rings-design",
"moody-emus-matter",
"perfect-pumas-approve",
"poor-donkeys-march",
"shiny-onions-camp",
"strong-scissors-shout",
"tall-moles-accept",
"tall-peas-compete",
"tasty-waves-juggle",
"two-weeks-applaud",
"wild-toys-refuse",
"young-planes-jog"
]
}
6 changes: 6 additions & 0 deletions .changeset/shiny-onions-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
---

Added - Support for custom menu item CSS classes.
Added - `menu-item-has-children` CSS class for menu item with children.
5 changes: 5 additions & 0 deletions .changeset/strong-scissors-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@headstartwp/next": patch
---

Fix: #861 wrapper removing custom images remotePatterns
6 changes: 6 additions & 0 deletions .changeset/tall-moles-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Add `forwardBlockProps` to BlocksRenderer which automatically forwards block props to children components
6 changes: 6 additions & 0 deletions .changeset/tall-peas-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

Introducing `loadHeadstartWpConfig()`
6 changes: 6 additions & 0 deletions .changeset/tasty-waves-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

Fix fetch cache option
6 changes: 6 additions & 0 deletions .changeset/two-weeks-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Introduce `blockContext` prop to BlocksRenderer and `handleError` in query functions
6 changes: 6 additions & 0 deletions .changeset/wild-toys-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": minor
"@headstartwp/next": minor
---

Multisite support in App Router
6 changes: 6 additions & 0 deletions .changeset/young-planes-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@headstartwp/core": patch
"@headstartwp/next": patch
---

Fix: SEO with yoast disabled
32 changes: 32 additions & 0 deletions .github/workflows/esm-build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ESM Build Test

on: [pull_request]

jobs:
esm-build-test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18, 20, 22]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Setup npm cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Build Vite Test Project
run: npm run build -- --filter=@headstartwp/vite-react-test
Loading

0 comments on commit 2f4c5fd

Please sign in to comment.