diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 000000000..56dae4c26 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,31 @@ +{ + "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" + }, + "changesets": [ + "cyan-fans-clean", + "forty-apes-repair", + "funny-poems-own", + "fuzzy-cows-press", + "happy-squids-admire", + "large-spies-give", + "moody-emus-matter", + "tall-moles-accept", + "tall-peas-compete", + "tasty-waves-juggle", + "two-weeks-applaud", + "wild-toys-refuse", + "young-planes-jog" + ] +} diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 97275e1a7..8a61ad269 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,26 @@ # @headstartwp/core +## 1.5.0-next.0 + +### Minor Changes + +- 6fa9ec2: Introducing previewRouteHandler to handle preview in Next.js App Router +- 96ea386: Initial App Router Support +- e969f38: Introducing SEO handling for App Router +- 2c51bfb: Link handling +- 79ae20e: Adding support for `i18n` routing in app router +- 6fa9ec2: Introducing `revalidateRouteHandler` for handling revalidate requests in Route Handlers (App Router) +- 4f7a665: Add `forwardBlockProps` to BlocksRenderer which automatically forwards block props to children components +- ca94535: Introduce `blockContext` prop to BlocksRenderer and `handleError` in query functions +- d696703: Multisite support in App Router + +### Patch Changes + +- 14c398d: remove usage of defaultProps and intropduce the ability to attach a default test function directly to the component +- 4044248: Introducing `loadHeadstartWpConfig()` +- 9f05f3f: Fix fetch cache option +- c73d000: Fix: SEO with yoast disabled + ## 1.4.4 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index d0b885e15..dc1ea79d3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@headstartwp/core", - "version": "1.4.4", + "version": "1.5.0-next.0", "description": "`@headstartwp/core` is the core package that houses framework-agnostic components and utilities for building headless sites with WordPress.", "homepage": "https://github.com/10up/headstartwp/blob/develop/packages/core/README.md", "license": "MIT", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index f913acb08..43366a105 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,40 @@ # @headstartwp/next +## 1.5.0-next.0 + +### Minor Changes + +- 6fa9ec2: Introducing previewRouteHandler to handle preview in Next.js App Router +- 96ea386: Initial App Router Support +- e969f38: Introducing SEO handling for App Router +- 2c51bfb: Link handling +- 79ae20e: Adding support for `i18n` routing in app router +- 6fa9ec2: Introducing `revalidateRouteHandler` for handling revalidate requests in Route Handlers (App Router) +- 4f7a665: Add `forwardBlockProps` to BlocksRenderer which automatically forwards block props to children components +- ca94535: Introduce `blockContext` prop to BlocksRenderer and `handleError` in query functions +- d696703: Multisite support in App Router + +### Patch Changes + +- 14c398d: remove usage of defaultProps and intropduce the ability to attach a default test function directly to the component +- 4044248: Introducing `loadHeadstartWpConfig()` +- 9f05f3f: Fix fetch cache option +- c73d000: Fix: SEO with yoast disabled +- Updated dependencies [6fa9ec2] +- Updated dependencies [96ea386] +- Updated dependencies [e969f38] +- Updated dependencies [2c51bfb] +- Updated dependencies [79ae20e] +- Updated dependencies [14c398d] +- Updated dependencies [6fa9ec2] +- Updated dependencies [4f7a665] +- Updated dependencies [4044248] +- Updated dependencies [9f05f3f] +- Updated dependencies [ca94535] +- Updated dependencies [d696703] +- Updated dependencies [c73d000] + - @headstartwp/core@1.5.0-next.0 + ## 1.4.3 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index 4a6ba8cb3..eeb289f95 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@headstartwp/next", - "version": "1.4.3", + "version": "1.5.0-next.0", "description": "`@headstartwp/next` is the Next.js bindings for the headless framework.", "homepage": "https://github.com/10up/headstartwp/blob/develop/packages/next/README.md", "license": "MIT", @@ -58,7 +58,7 @@ "negotiator": "^0.6.3", "@formatjs/intl-localematcher": "^0.5.4", "deepmerge": "^4.3.1", - "@headstartwp/core": "^1.4.4", + "@headstartwp/core": "^1.5.0-next.0", "loader-utils": "^3.2.0", "schema-utils": "^4.0.0", "@isaacs/ttlcache": "^1.4.1" diff --git a/projects/wp-multisite-i18n-nextjs/package.json b/projects/wp-multisite-i18n-nextjs/package.json index e6694c3b3..a19db9edb 100644 --- a/projects/wp-multisite-i18n-nextjs/package.json +++ b/projects/wp-multisite-i18n-nextjs/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.4", - "@headstartwp/next": "^1.4.3", + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0", "@linaria/core": "^5.0.2", "@linaria/react": "^5.0.3", "clsx": "^1.1.1", diff --git a/projects/wp-multisite-nextjs-app/package.json b/projects/wp-multisite-nextjs-app/package.json index 6ff01d41e..9d2a75096 100644 --- a/projects/wp-multisite-nextjs-app/package.json +++ b/projects/wp-multisite-nextjs-app/package.json @@ -12,8 +12,8 @@ "react": "^18", "react-dom": "^18", "next": "^14.2.5", - "@headstartwp/core": "^1.4.3", - "@headstartwp/next": "^1.4.2" + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0" }, "devDependencies": { "@10up/eslint-config": "^4.0.0", diff --git a/projects/wp-multisite-nextjs/package.json b/projects/wp-multisite-nextjs/package.json index 580864dc3..82209f1b1 100644 --- a/projects/wp-multisite-nextjs/package.json +++ b/projects/wp-multisite-nextjs/package.json @@ -14,8 +14,8 @@ "lint": "eslint ." }, "dependencies": { - "@headstartwp/core": "^1.4.4", - "@headstartwp/next": "^1.4.3", + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0", "@linaria/core": "^5.0.2", "@linaria/react": "^5.0.3", "clsx": "^1.1.1", diff --git a/projects/wp-nextjs-app/package.json b/projects/wp-nextjs-app/package.json index 5a0d6806b..f5289699e 100644 --- a/projects/wp-nextjs-app/package.json +++ b/projects/wp-nextjs-app/package.json @@ -12,8 +12,8 @@ "react": "^18", "react-dom": "^18", "next": "^14.2.5", - "@headstartwp/core": "^1.4.3", - "@headstartwp/next": "^1.4.2" + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0" }, "devDependencies": { "@10up/eslint-config": "^4.0.0", diff --git a/projects/wp-nextjs/package.json b/projects/wp-nextjs/package.json index b3a6b24e3..3e44f0337 100644 --- a/projects/wp-nextjs/package.json +++ b/projects/wp-nextjs/package.json @@ -15,8 +15,8 @@ "tsc": "tsc --noEmit" }, "dependencies": { - "@headstartwp/core": "^1.4.4", - "@headstartwp/next": "^1.4.3", + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0", "@10up/next-redis-cache-provider": "^1.0.0", "@linaria/core": "^5.0.2", "@linaria/react": "^5.0.3", diff --git a/projects/wp-polylang-nextjs-app/package.json b/projects/wp-polylang-nextjs-app/package.json index 52395b20d..2bacc9d6b 100644 --- a/projects/wp-polylang-nextjs-app/package.json +++ b/projects/wp-polylang-nextjs-app/package.json @@ -12,8 +12,8 @@ "react": "^18", "react-dom": "^18", "next": "^14.2.5", - "@headstartwp/core": "^1.4.3", - "@headstartwp/next": "^1.4.2" + "@headstartwp/core": "^1.5.0-next.0", + "@headstartwp/next": "^1.5.0-next.0" }, "devDependencies": { "@10up/eslint-config": "^4.0.0",