-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to develop, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `develop` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `develop`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @headstartwp/[email protected] ### Minor Changes - df3e65c: Introduces `SafeHtml` and `HtmlDecoder` components. - d3ec9d8: Introduces the `decodeHtmlSpecialChars` function. ### Patch Changes - 24f8a99: Fix theme.json handling in `useBlockColors` and `useBlockTypography`. Thanks @riccardodicurti @dhamibirendra for [the bug report](#541). - 569662b: 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). ## @headstartwp/[email protected] ### Minor Changes - 569662b: 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 - Updated dependencies [24f8a99] - Updated dependencies [569662b] - Updated dependencies [df3e65c] - Updated dependencies [d3ec9d8] - @headstartwp/[email protected] ## @headstartwp/[email protected] ### Patch Changes - 569662b: 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).
- Loading branch information
Showing
12 changed files
with
83 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "next", | ||
"initialVersions": { | ||
"@headstartwp/core": "1.0.6", | ||
"@10up/react-hooks": "1.2.3", | ||
"@headstartwp/next": "1.0.6", | ||
"@10up/next-redis-cache-provider": "0.1.5", | ||
"@10up/headless-docs": "1.0.0", | ||
"@10up/wp-multisite-i18n-nextjs": "0.2.0", | ||
"@10up/wp-multisite-nextjs": "0.2.0", | ||
"@10up/wp-nextjs": "0.2.0", | ||
"@10up/wp-nextjs-ts": "0.2.1-next.2", | ||
"@headstartwp/headstartwp": "1.0.8" | ||
}, | ||
"changesets": [ | ||
"bright-jokes-learn", | ||
"lovely-chicken-sparkle", | ||
"mighty-stingrays-pay", | ||
"two-cats-vanish" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f5e4df9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
headstarwp – ./
headstartwp.vercel.app
headstarwp-git-develop-tenup-internal.vercel.app
headstarwp-tenup-internal.vercel.app