diff --git a/.changeset/chatty-suns-mix.md b/.changeset/chatty-suns-mix.md deleted file mode 100644 index 5d303dce..00000000 --- a/.changeset/chatty-suns-mix.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@pantheon-systems/pcc-sdk-core": patch ---- - -Fixed issue where some GQL parameters would not be passed to the API in -`getAllArticles` diff --git a/.changeset/ninety-ladybugs-tell.md b/.changeset/ninety-ladybugs-tell.md deleted file mode 100644 index cb7951f4..00000000 --- a/.changeset/ninety-ladybugs-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pantheon-systems/pcc-react-sdk": patch ---- - -Gracefully handle implementation edge case where a smart component map was provided to the ArticlerRenderer but without defining the react components that should be used. diff --git a/.changeset/tough-melons-dream.md b/.changeset/tough-melons-dream.md deleted file mode 100644 index 52a3bc2a..00000000 --- a/.changeset/tough-melons-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pantheon-systems/pcc-cli": patch ---- - -Don't notify the user that an update is available, if it is only a pre-release. diff --git a/.changeset/tough-zebras-pull.md b/.changeset/tough-zebras-pull.md deleted file mode 100644 index 7a2cdbbd..00000000 --- a/.changeset/tough-zebras-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pantheon-systems/pcc-cli": minor ---- - -New command: site delete. diff --git a/.changeset/young-maps-fly.md b/.changeset/young-maps-fly.md deleted file mode 100644 index e0265aee..00000000 --- a/.changeset/young-maps-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pantheon-systems/pcc-sdk-core": patch ---- - -PCC-GRANT (preview token) cookie now set with most relaxed security so that preview-pages can be shown in iframes. diff --git a/.husky/pre-commit b/.husky/pre-commit index 89d7972e..e5d7f7cc 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ +pnpm prettier ./**/*.md -w pnpm pre-commit diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 8a129c33..5b4eaf93 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,13 @@ # @pantheon-systems/pcc-browser-sdk +## 3.7.0 + +### Patch Changes + +- Updated dependencies [11e0509] +- Updated dependencies [87fdf27] + - @pantheon-systems/pcc-sdk-core@3.7.0 + ## 3.6.1 ### Patch Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index c25a5aaa..69557ea1 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-browser-sdk", "author": "@pantheon-systems", "description": "Pantheon Content Cloud Browser SDK", - "version": "3.6.1", + "version": "3.7.0", "main": "dist/index.js", "files": [ "dist", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 969da6d0..169f5c06 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,19 @@ # @pantheon-systems/pcc-cli +## 3.7.0 + +### Minor Changes + +- fc9b0dd: New command: site delete. + +### Patch Changes + +- a388ad0: Don't notify the user that an update is available, if it is only a + pre-release. +- Updated dependencies [11e0509] +- Updated dependencies [87fdf27] + - @pantheon-systems/pcc-sdk-core@3.7.0 + ## 3.6.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 29c80071..1bea7742 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-cli", "author": "@pantheon-systems", "description": "Pantheon Content Cloud CLI", - "version": "3.6.1", + "version": "3.7.0", "type": "module", "license": "MIT", "keywords": [ diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b8d66238..e778274f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,14 @@ # @pantheon-systems/pcc-sdk-core +## 3.7.0 + +### Patch Changes + +- 11e0509: Fixed issue where some GQL parameters would not be passed to the API + in `getAllArticles` +- 87fdf27: PCC-GRANT (preview token) cookie now set with most relaxed security + so that preview-pages can be shown in iframes. + ## 3.6.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index e9a0dae4..70347264 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-sdk-core", "author": "@pantheon-systems", "description": "Pantheon Content Cloud SDK Core", - "version": "3.6.1", + "version": "3.7.0", "license": "MIT", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/packages/react-sample-library/CHANGELOG.md b/packages/react-sample-library/CHANGELOG.md index 3df6b5f6..62e237b9 100644 --- a/packages/react-sample-library/CHANGELOG.md +++ b/packages/react-sample-library/CHANGELOG.md @@ -1,5 +1,15 @@ # @pantheon-systems/pcc-vue-sdk +## 3.7.0 + +### Patch Changes + +- Updated dependencies [11e0509] +- Updated dependencies [e7d5252] +- Updated dependencies [87fdf27] + - @pantheon-systems/pcc-sdk-core@3.7.0 + - @pantheon-systems/pcc-react-sdk@3.7.0 + ## 3.6.1 ### Patch Changes diff --git a/packages/react-sample-library/package.json b/packages/react-sample-library/package.json index be73ac97..cc4b1e33 100644 --- a/packages/react-sample-library/package.json +++ b/packages/react-sample-library/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-react-sample-library", "author": "@pantheon-systems", "description": "Pantheon Content Cloud Sample Component Library for React", - "version": "3.6.1", + "version": "3.7.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/react-sdk/CHANGELOG.md b/packages/react-sdk/CHANGELOG.md index 7e3a778f..8f959ffa 100644 --- a/packages/react-sdk/CHANGELOG.md +++ b/packages/react-sdk/CHANGELOG.md @@ -1,5 +1,16 @@ # @pantheon-systems/pcc-react-sdk +## 3.7.0 + +### Patch Changes + +- e7d5252: Gracefully handle implementation edge case where a smart component + map was provided to the ArticlerRenderer but without defining the react + components that should be used. +- Updated dependencies [11e0509] +- Updated dependencies [87fdf27] + - @pantheon-systems/pcc-sdk-core@3.7.0 + ## 3.6.1 ### Patch Changes diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index e8f825d1..a9d92c17 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-react-sdk", "author": "@pantheon-systems", "description": "Pantheon Content Cloud React SDK", - "version": "3.6.1", + "version": "3.7.0", "license": "MIT", "keywords": [ "pcc", diff --git a/packages/vue-sdk/CHANGELOG.md b/packages/vue-sdk/CHANGELOG.md index deaf6f33..568caf99 100644 --- a/packages/vue-sdk/CHANGELOG.md +++ b/packages/vue-sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # @pantheon-systems/pcc-vue-sdk +## 3.7.0 + +### Patch Changes + +- Updated dependencies [11e0509] +- Updated dependencies [87fdf27] + - @pantheon-systems/pcc-sdk-core@3.7.0 + ## 3.6.1 ### Patch Changes diff --git a/packages/vue-sdk/package.json b/packages/vue-sdk/package.json index 736c8e67..e9dc69d3 100644 --- a/packages/vue-sdk/package.json +++ b/packages/vue-sdk/package.json @@ -2,7 +2,7 @@ "name": "@pantheon-systems/pcc-vue-sdk", "author": "@pantheon-systems", "description": "Pantheon Content Cloud Vue SDK", - "version": "3.6.1", + "version": "3.7.0", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/starters/gatsby-starter-ts/README.md b/starters/gatsby-starter-ts/README.md index 3c09b37b..408526fe 100644 --- a/starters/gatsby-starter-ts/README.md +++ b/starters/gatsby-starter-ts/README.md @@ -54,14 +54,21 @@ npm init pantheon-decoupled-kit -- gatsby-pcc ## Serverside Rendering -This starter uses Gatsby's [createPages API](https://www.gatsbyjs.com/docs/creating-and-modifying-pages/) to pre-render the pages on the server. See `gatsby-node.mjs` file for the implementation details. +This starter uses Gatsby's +[createPages API](https://www.gatsbyjs.com/docs/creating-and-modifying-pages/) +to pre-render the pages on the server. See `gatsby-node.mjs` file for the +implementation details. -You could also use the provided client-side hooks in @pantheon-systems/pcc-react-sdk (`useArticles` and `useArticle`) to render the pages on the client. +You could also use the provided client-side hooks in +@pantheon-systems/pcc-react-sdk (`useArticles` and `useArticle`) to render the +pages on the client. ## Pantheon @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk are included as dependencies in this project. This allows developers to make use of utility functions to simplify the -process of building and maintaining a Front-End site on Pantheon. +Pantheon's @pantheon-systems/gatsby-kit and @pantheon-systems/pcc-react-sdk are +included as dependencies in this project. This allows developers to make use of +utility functions to simplify the process of building and maintaining a +Front-End site on Pantheon. Full documentation can be found at: https://github.com/pantheon-systems/decoupled-kit-js/tree/canary/web/docs/Packages diff --git a/starters/gatsby-starter-ts/package.json b/starters/gatsby-starter-ts/package.json index ed1c0920..445b3432 100644 --- a/starters/gatsby-starter-ts/package.json +++ b/starters/gatsby-starter-ts/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@mdx-js/react": "^2.3.0", - "@pantheon-systems/pcc-react-sdk": "~3.6.1", + "@pantheon-systems/pcc-react-sdk": "~3.7.0", "@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55", "autoprefixer": "^10.4.17", "gatsby": "^5.13.5", diff --git a/starters/gatsby-starter/package.json b/starters/gatsby-starter/package.json index 845cc7d8..97711267 100644 --- a/starters/gatsby-starter/package.json +++ b/starters/gatsby-starter/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@mdx-js/react": "^2.3.0", - "@pantheon-systems/pcc-react-sdk": "~3.6.1", + "@pantheon-systems/pcc-react-sdk": "~3.7.0", "@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55", "autoprefixer": "^10.4.17", "gatsby": "^5.13.5", diff --git a/starters/nextjs-starter-approuter-ts/CHANGELOG.md b/starters/nextjs-starter-approuter-ts/CHANGELOG.md index ae73fb8f..6eb0a50e 100644 --- a/starters/nextjs-starter-approuter-ts/CHANGELOG.md +++ b/starters/nextjs-starter-approuter-ts/CHANGELOG.md @@ -1,5 +1,12 @@ # @pantheon-systems/next-pcc-starter +## 1.1.6 + +### Patch Changes + +- Updated dependencies [e7d5252] + - @pantheon-systems/pcc-react-sdk@3.7.0 + ## 1.1.5 ### Patch Changes diff --git a/starters/nextjs-starter-approuter-ts/README.md b/starters/nextjs-starter-approuter-ts/README.md index 50efbbf5..ad66e4b2 100644 --- a/starters/nextjs-starter-approuter-ts/README.md +++ b/starters/nextjs-starter-approuter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/nextjs-starter-approuter-ts/package.json b/starters/nextjs-starter-approuter-ts/package.json index 246ccf7c..884dbf10 100644 --- a/starters/nextjs-starter-approuter-ts/package.json +++ b/starters/nextjs-starter-approuter-ts/package.json @@ -1,6 +1,6 @@ { "name": "@pantheon-systems/next-approuter-pcc-starter-ts", - "version": "1.1.5", + "version": "1.1.6", "private": true, "license": "GPL-3.0-or-later", "description": "", @@ -23,7 +23,7 @@ "coverage": "vitest run --coverage" }, "dependencies": { - "@pantheon-systems/pcc-react-sdk": "~3.6.0", + "@pantheon-systems/pcc-react-sdk": "~3.7.0", "@tailwindcss/typography": "^0.5.10", "classnames": "^2.5.1", "dotenv": "^16.4.5", diff --git a/starters/nextjs-starter-ts/README.md b/starters/nextjs-starter-ts/README.md index aacdd4a3..e5705712 100644 --- a/starters/nextjs-starter-ts/README.md +++ b/starters/nextjs-starter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/nextjs-starter-ts/package.json b/starters/nextjs-starter-ts/package.json index de8ac7bd..27aeda44 100644 --- a/starters/nextjs-starter-ts/package.json +++ b/starters/nextjs-starter-ts/package.json @@ -23,7 +23,7 @@ "coverage": "vitest run --coverage" }, "dependencies": { - "@pantheon-systems/pcc-react-sdk": "~3.6.1", + "@pantheon-systems/pcc-react-sdk": "~3.7.0", "@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55", "@tailwindcss/typography": "^0.5.10", "classnames": "^2.5.1", diff --git a/starters/nextjs-starter/README.md b/starters/nextjs-starter/README.md index 4d1eeb63..58e49d38 100644 --- a/starters/nextjs-starter/README.md +++ b/starters/nextjs-starter/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own @@ -26,7 +25,8 @@ pcc init ./my-new-site --template=nextjs ## Pantheon's @pantheon-systems/pcc-react-sdk -Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this project. +Pantheon's @pantheon-systems/pcc-react-sdk is included as a dependency in this +project. ## Tests diff --git a/starters/nextjs-starter/package.json b/starters/nextjs-starter/package.json index ad50ecce..904a2149 100644 --- a/starters/nextjs-starter/package.json +++ b/starters/nextjs-starter/package.json @@ -23,7 +23,7 @@ "coverage": "vitest run --coverage" }, "dependencies": { - "@pantheon-systems/pcc-react-sdk": "~3.6.1", + "@pantheon-systems/pcc-react-sdk": "~3.7.0", "@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55", "@tailwindcss/typography": "^0.5.10", "classnames": "^2.5.1", diff --git a/starters/vue-starter-ts/CHANGELOG.md b/starters/vue-starter-ts/CHANGELOG.md index ad99b5fd..5d04f6b8 100644 --- a/starters/vue-starter-ts/CHANGELOG.md +++ b/starters/vue-starter-ts/CHANGELOG.md @@ -1,5 +1,11 @@ # @pantheon-systems/vue-pcc-starter-ts +## 1.1.1 + +### Patch Changes + +- @pantheon-systems/pcc-vue-sdk@3.7.0 + ## 1.1.0 ### Minor Changes diff --git a/starters/vue-starter-ts/README.md b/starters/vue-starter-ts/README.md index b18556b3..65b7a208 100644 --- a/starters/vue-starter-ts/README.md +++ b/starters/vue-starter-ts/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own diff --git a/starters/vue-starter-ts/package.json b/starters/vue-starter-ts/package.json index a9cdd41d..e86e2081 100644 --- a/starters/vue-starter-ts/package.json +++ b/starters/vue-starter-ts/package.json @@ -21,7 +21,7 @@ "vue-router": "^4.3.0" }, "dependencies": { - "@pantheon-systems/pcc-vue-sdk": "~3.6.0" + "@pantheon-systems/pcc-vue-sdk": "~3.7.0" }, - "version": "1.1.0" + "version": "1.1.1" } diff --git a/starters/vue-starter/CHANGELOG.md b/starters/vue-starter/CHANGELOG.md index 76867c94..a67c0d75 100644 --- a/starters/vue-starter/CHANGELOG.md +++ b/starters/vue-starter/CHANGELOG.md @@ -1,5 +1,11 @@ # @pantheon-systems/vue-pcc-starter +## 1.1.1 + +### Patch Changes + +- @pantheon-systems/pcc-vue-sdk@3.7.0 + ## 1.1.0 ### Minor Changes diff --git a/starters/vue-starter/README.md b/starters/vue-starter/README.md index fd2907c3..91997eae 100644 --- a/starters/vue-starter/README.md +++ b/starters/vue-starter/README.md @@ -2,12 +2,11 @@ ## Getting Started -To get started with the -Next Pantheon Content Cloud Starter, use our `pcc` (command-line interface tool -we have created). Full documentation for this npm package based on -[npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can be found -[here](https://www.npmjs.com/package/@pantheon-systems/pcc) on -our docs site. +To get started with the Next Pantheon Content Cloud Starter, use our `pcc` +(command-line interface tool we have created). Full documentation for this npm +package based on [npm init](https://docs.npmjs.com/cli/v8/commands/npm-init) can +be found [here](https://www.npmjs.com/package/@pantheon-systems/pcc) on our docs +site. ## Deploy your own diff --git a/starters/vue-starter/package.json b/starters/vue-starter/package.json index 2289d44e..b44de7cd 100644 --- a/starters/vue-starter/package.json +++ b/starters/vue-starter/package.json @@ -21,7 +21,7 @@ "vue-router": "^4.3.0" }, "dependencies": { - "@pantheon-systems/pcc-vue-sdk": "~3.6.0" + "@pantheon-systems/pcc-vue-sdk": "~3.7.0" }, - "version": "1.1.0" + "version": "1.1.1" }