Skip to content

Commit

Permalink
chore: promote from @next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 25, 2023
1 parent fb1e691 commit 4181e8d
Show file tree
Hide file tree
Showing 24 changed files with 78 additions and 119 deletions.
6 changes: 0 additions & 6 deletions .changeset/bright-bees-press.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/bright-jokes-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-apricots-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-clouds-taste.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-papayas-laugh.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/hot-papayas-relate.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/lovely-chicken-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mighty-stingrays-pay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/popular-turkeys-sleep.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-dryers-repeat.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/silent-kiwis-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-squids-fail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-cats-vanish.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @headstartwp/core

## 1.1.0

### Minor Changes

- 4275962b: Introducing `usePostOrPosts`.
- df3e65ce: Introduces `SafeHtml` and `HtmlDecoder` components.
- e9064d69: Introducing the `useSeo` hook.
- d3ec9d83: Introduces the `decodeHtmlSpecialChars` function.

### Patch Changes

- e6a0c231: Lower compilation target
- 24f8a99f: Fix theme.json handling in `useBlockColors` and `useBlockTypography`.

Thanks @riccardodicurti @dhamibirendra for [the bug report](https://github.com/10up/headstartwp/issues/541).

- bb39a603: Fixes useSearch error when Yoast SEO plugin is deactivated.
- 569662b6: Improves the Next.js preview cookie handling and fixes a bug where the locale was not properly being passed from WP when previewing.

First of all, it sets the preview cookie to expire within 5 minutes which aligns with the JWT token expiration.

Secondly, it will narrow the cookie to the post path being previewed so that `context.preview` is not true for other paths and thus avoiding bypassing getStaticProps until the cookies are cleared (either expires or the browser closes).

- 56ddf9be: Fix theme.json handling for block settings
- 1494a332: Further Optimize next.js props by removing yoast seo bloat.

## 1.1.0-next.5

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@headstartwp/core",
"version": "1.1.0-next.5",
"version": "1.1.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",
Expand Down
30 changes: 30 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @headstartwp/next

## 1.1.0

### Minor Changes

- 4275962b: Introducing `usePostOrPosts`.
- 569662b6: Improves the Next.js preview cookie handling and fixes a bug where the locale was not properly being passed from WP when previewing.

First of all, it sets the preview cookie to expire within 5 minutes which aligns with the JWT token expiration.

Secondly, it will narrow the cookie to the post path being previewed so that `context.preview` is not true for other paths and thus avoiding bypassing getStaticProps until the cookies are cleared (either expires or the browser closes).

### Patch Changes

- e6a0c231: Lower compilation target
- 232f4e68: Fix: only convertUrls if url starts with sourceUrl
- 90d5fa3c: Fix typo in files to be published to npm
- 1494a332: Further Optimize next.js props by removing yoast seo bloat.
- 866551f2: Fix an annoying bug that would require deleting the .next/cache folder after changing headless.config.js or .env files. Now you only need to restart the next.js server after changing those files.
- Updated dependencies [e6a0c231]
- Updated dependencies [24f8a99f]
- Updated dependencies [bb39a603]
- Updated dependencies [4275962b]
- Updated dependencies [569662b6]
- Updated dependencies [df3e65ce]
- Updated dependencies [e9064d69]
- Updated dependencies [56ddf9be]
- Updated dependencies [1494a332]
- Updated dependencies [d3ec9d83]
- @headstartwp/core@1.1.0

## 1.1.0-next.3

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@headstartwp/next",
"version": "1.1.0-next.3",
"version": "1.1.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",
Expand Down Expand Up @@ -49,7 +49,7 @@
},
"dependencies": {
"deepmerge": "^4.3.1",
"@headstartwp/core": "^1.1.0-next.4",
"@headstartwp/core": "^1.1.0",
"modify-source-webpack-plugin": "^4.1.0",
"loader-utils": "^3.2.0",
"schema-utils": "^4.0.0"
Expand Down
4 changes: 2 additions & 2 deletions projects/wp-multisite-i18n-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"lint": "eslint ."
},
"dependencies": {
"@headstartwp/core": "^1.1.0-next.5",
"@headstartwp/next": "^1.1.0-next.3",
"@headstartwp/core": "^1.1.0",
"@headstartwp/next": "^1.1.0",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
"@linaria/react": "^4.3.8",
Expand Down
4 changes: 2 additions & 2 deletions projects/wp-multisite-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"lint": "eslint ."
},
"dependencies": {
"@headstartwp/core": "^1.1.0-next.5",
"@headstartwp/next": "^1.1.0-next.3",
"@headstartwp/core": "^1.1.0",
"@headstartwp/next": "^1.1.0",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
"@linaria/react": "^4.3.8",
Expand Down
4 changes: 2 additions & 2 deletions projects/wp-nextjs-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"lint": "eslint ."
},
"dependencies": {
"@headstartwp/core": "^1.1.0-next.5",
"@headstartwp/next": "^1.1.0-next.3",
"@headstartwp/core": "^1.1.0",
"@headstartwp/next": "^1.1.0",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
"@linaria/react": "^4.3.8",
Expand Down
4 changes: 2 additions & 2 deletions projects/wp-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"lint": "eslint ."
},
"dependencies": {
"@headstartwp/core": "^1.1.0-next.5",
"@headstartwp/next": "^1.1.0-next.3",
"@headstartwp/core": "^1.1.0",
"@headstartwp/next": "^1.1.0",
"@10up/next-redis-cache-provider": "^0.1.5",
"@linaria/babel-preset": "^4.4.5",
"@linaria/core": "^4.2.10",
Expand Down
10 changes: 10 additions & 0 deletions wp/headless-wp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @headstartwp/headstartwp

## 1.0.9

### Patch Changes

- 569662b6: Improves the Next.js preview cookie handling and fixes a bug where the locale was not properly being passed from WP when previewing.

First of all, it sets the preview cookie to expire within 5 minutes which aligns with the JWT token expiration.

Secondly, it will narrow the cookie to the post path being previewed so that `context.preview` is not true for other paths and thus avoiding bypassing getStaticProps until the cookies are cleared (either expires or the browser closes).

## 1.0.9-next.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion wp/headless-wp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@headstartwp/headstartwp",
"version": "1.0.9-next.0",
"version": "1.0.9",
"private": true,
"description": "10up Headless WordPress Plugin",
"homepage": "https://github.com/10up/headstartwp/blob/develop/wp/headless-wp/README.md",
Expand Down

0 comments on commit 4181e8d

Please sign in to comment.