From c389de727bddb62a3a76dc69c590eaf37127f6fb Mon Sep 17 00:00:00 2001 From: Taran Vohra Date: Fri, 21 Feb 2025 16:59:18 +0530 Subject: [PATCH] Version Packages (#719) Co-authored-by: github-actions[bot] --- .changeset/afraid-readers-smash.md | 5 -- .changeset/clean-cycles-camp.md | 5 -- .changeset/curvy-cooks-smash.md | 5 -- .changeset/grumpy-scissors-join.md | 5 -- .changeset/pretty-lions-flash.md | 5 -- integrations/formspree/CHANGELOG.md | 19 +++-- integrations/formspree/package.json | 2 +- integrations/openapi/CHANGELOG.md | 14 ++++ integrations/openapi/package.json | 2 +- packages/api/CHANGELOG.md | 6 ++ packages/api/package.json | 2 +- packages/document/CHANGELOG.md | 12 +++ packages/document/package.json | 2 +- packages/runtime/CHANGELOG.md | 117 +++++++++++++++------------- packages/runtime/package.json | 2 +- 15 files changed, 114 insertions(+), 89 deletions(-) delete mode 100644 .changeset/afraid-readers-smash.md delete mode 100644 .changeset/clean-cycles-camp.md delete mode 100644 .changeset/curvy-cooks-smash.md delete mode 100644 .changeset/grumpy-scissors-join.md delete mode 100644 .changeset/pretty-lions-flash.md create mode 100644 integrations/openapi/CHANGELOG.md create mode 100644 packages/document/CHANGELOG.md diff --git a/.changeset/afraid-readers-smash.md b/.changeset/afraid-readers-smash.md deleted file mode 100644 index 64f55c9de..000000000 --- a/.changeset/afraid-readers-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@gitbook/integration-openapi': patch ---- - -Initial code for the OpenAPI integration diff --git a/.changeset/clean-cycles-camp.md b/.changeset/clean-cycles-camp.md deleted file mode 100644 index 969e2afa9..000000000 --- a/.changeset/clean-cycles-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@gitbook/document': minor ---- - -New package to easily create GitBook documents diff --git a/.changeset/curvy-cooks-smash.md b/.changeset/curvy-cooks-smash.md deleted file mode 100644 index b65359658..000000000 --- a/.changeset/curvy-cooks-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@gitbook/runtime': minor ---- - -Add support for computed content sources diff --git a/.changeset/grumpy-scissors-join.md b/.changeset/grumpy-scissors-join.md deleted file mode 100644 index 0c6c2d5a1..000000000 --- a/.changeset/grumpy-scissors-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@gitbook/api': minor ---- - -Bump API version to include latest customization settings diff --git a/.changeset/pretty-lions-flash.md b/.changeset/pretty-lions-flash.md deleted file mode 100644 index 94feecee0..000000000 --- a/.changeset/pretty-lions-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@gitbook/integration-openapi': patch ---- - -Update description of the integration to trigger a staging publish. diff --git a/integrations/formspree/CHANGELOG.md b/integrations/formspree/CHANGELOG.md index d4bdccd95..d6ae6ab9d 100644 --- a/integrations/formspree/CHANGELOG.md +++ b/integrations/formspree/CHANGELOG.md @@ -1,27 +1,34 @@ # @gitbook/integration-formspree +## 0.2.4 + +### Patch Changes + +- Updated dependencies [ff3ac23] + - @gitbook/runtime@0.19.0 + ## 0.2.3 ### Patch Changes -- Updated dependencies [ebfa12c] - - @gitbook/runtime@0.18.0 +- Updated dependencies [ebfa12c] + - @gitbook/runtime@0.18.0 ## 0.2.2 ### Patch Changes -- 126f152: Update images to 2x exports +- 126f152: Update images to 2x exports ## 0.2.1 ### Patch Changes -- 8a8a07d: Update preview images and old logos -- 8a8a07d: Update images +- 8a8a07d: Update preview images and old logos +- 8a8a07d: Update images ## 0.2.0 ### Minor Changes -- f0e31d7: Add a changeset for formspree +- f0e31d7: Add a changeset for formspree diff --git a/integrations/formspree/package.json b/integrations/formspree/package.json index 02df680a0..5b8f8e36f 100644 --- a/integrations/formspree/package.json +++ b/integrations/formspree/package.json @@ -1,6 +1,6 @@ { "name": "@gitbook/integration-formspree", - "version": "0.2.3", + "version": "0.2.4", "private": true, "dependencies": { "@gitbook/runtime": "workspace:*" diff --git a/integrations/openapi/CHANGELOG.md b/integrations/openapi/CHANGELOG.md new file mode 100644 index 000000000..27560eaf5 --- /dev/null +++ b/integrations/openapi/CHANGELOG.md @@ -0,0 +1,14 @@ +# @gitbook/integration-openapi + +## 0.0.1 + +### Patch Changes + +- ff3ac23: Initial code for the OpenAPI integration +- 8f02d70: Update description of the integration to trigger a staging publish. +- Updated dependencies [ff3ac23] +- Updated dependencies [ff3ac23] +- Updated dependencies [0d67d6e] + - @gitbook/document@0.1.0 + - @gitbook/runtime@0.19.0 + - @gitbook/api@0.95.0 diff --git a/integrations/openapi/package.json b/integrations/openapi/package.json index 88ef70b1c..2c924cd63 100644 --- a/integrations/openapi/package.json +++ b/integrations/openapi/package.json @@ -1,6 +1,6 @@ { "name": "@gitbook/integration-openapi", - "version": "0.0.0", + "version": "0.0.1", "private": true, "scripts": { "typecheck": "tsc --noEmit", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 513f5d032..9a0618eac 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,11 @@ # @gitbook/api +## 0.95.0 + +### Minor Changes + +- 0d67d6e: Bump API version to include latest customization settings + ## 0.94.0 ### Minor Changes diff --git a/packages/api/package.json b/packages/api/package.json index 49f9308d3..9c53159e1 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -4,7 +4,7 @@ "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", - "version": "0.94.0", + "version": "0.95.0", "sideEffects": false, "files": [ "README.md", diff --git a/packages/document/CHANGELOG.md b/packages/document/CHANGELOG.md new file mode 100644 index 000000000..08c112ad8 --- /dev/null +++ b/packages/document/CHANGELOG.md @@ -0,0 +1,12 @@ +# @gitbook/document + +## 0.1.0 + +### Minor Changes + +- ff3ac23: New package to easily create GitBook documents + +### Patch Changes + +- Updated dependencies [0d67d6e] + - @gitbook/api@0.95.0 diff --git a/packages/document/package.json b/packages/document/package.json index 5f30445a0..833dabc81 100644 --- a/packages/document/package.json +++ b/packages/document/package.json @@ -2,7 +2,7 @@ "name": "@gitbook/document", "description": "Utility to create GitBook documents", "type": "module", - "version": "0.0.0", + "version": "0.1.0", "sideEffects": false, "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index 6e662b2ff..055a5933a 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,201 +1,212 @@ # @gitbook/runtime +## 0.19.0 + +### Minor Changes + +- ff3ac23: Add support for computed content sources + +### Patch Changes + +- Updated dependencies [0d67d6e] + - @gitbook/api@0.95.0 + ## 0.18.0 ### Minor Changes -- ebfa12c: Add APIs to define and expose content sources +- ebfa12c: Add APIs to define and expose content sources ### Patch Changes -- Updated dependencies [a5d441f] - - @gitbook/api@0.92.0 +- Updated dependencies [a5d441f] + - @gitbook/api@0.92.0 ## 0.17.0 ### Minor Changes -- a1b07be: Add support for new render output types +- a1b07be: Add support for new render output types ### Patch Changes -- Updated dependencies [597ba64] - - @gitbook/api@0.67.0 +- Updated dependencies [597ba64] + - @gitbook/api@0.67.0 ## 0.16.0 ### Minor Changes -- 4842312: Add two new UI elements, configuration and stepper +- 4842312: Add two new UI elements, configuration and stepper ### Patch Changes -- Updated dependencies [0cd6eb4] - - @gitbook/api@0.65.0 +- Updated dependencies [0cd6eb4] + - @gitbook/api@0.65.0 ## 0.15.0 ### Minor Changes -- 09ac8f9: Improve typing and utilies for OAuth -- 09ac8f9: Export a `ExposableError` to show errors to the end users -- 09ac8f9: Improve overall typing and utilities for ContentKit components +- 09ac8f9: Improve typing and utilies for OAuth +- 09ac8f9: Export a `ExposableError` to show errors to the end users +- 09ac8f9: Improve overall typing and utilities for ContentKit components ## 0.14.1 ### Patch Changes -- cebbcb6: Updating inject scripts integration to support sites installations +- cebbcb6: Updating inject scripts integration to support sites installations ## 0.14.0 ### Minor Changes -- 1e3c023: return 4xx error instead of 5xx when failed to extract access token +- 1e3c023: return 4xx error instead of 5xx when failed to extract access token ## 0.13.0 ### Minor Changes -- 41fa1ec: Add support for fetch_visitor_authentication event +- 41fa1ec: Add support for fetch_visitor_authentication event ### Patch Changes -- Updated dependencies [0961cf4] - - @gitbook/api@0.31.0 +- Updated dependencies [0961cf4] + - @gitbook/api@0.31.0 ## 0.12.0 ### Minor Changes -- fe26302: Bump runtime to use the latest openAPI spec +- fe26302: Bump runtime to use the latest openAPI spec ## 0.11.0 ### Minor Changes -- 46c9686: Allow passing a `userAgent` to the API client (`@gitbook/api`) and set a default user-agent for all integrations +- 46c9686: Allow passing a `userAgent` to the API client (`@gitbook/api`) and set a default user-agent for all integrations ### Patch Changes -- Updated dependencies [46c9686] - - @gitbook/api@0.27.0 +- Updated dependencies [46c9686] + - @gitbook/api@0.27.0 ## 0.10.3 ### Patch Changes -- 95f041a: Add more logs during OAuth flow +- 95f041a: Add more logs during OAuth flow ## 0.10.2 ### Patch Changes -- dfd610b: Use status from error.code for GitBookAPIError errors +- dfd610b: Use status from error.code for GitBookAPIError errors ## 0.10.1 ### Patch Changes -- b607365: Fix worker dispatch catch handler to send a http response with the status code instead of throwing an error +- b607365: Fix worker dispatch catch handler to send a http response with the status code instead of throwing an error ## 0.10.0 ### Minor Changes -- 619e1e9: Add support for using functions as components in JSX +- 619e1e9: Add support for using functions as components in JSX ### Patch Changes -- Updated dependencies [619e1e9] - - @gitbook/api@0.14.0 +- Updated dependencies [619e1e9] + - @gitbook/api@0.14.0 ## 0.9.0 ### Minor Changes -- 4affdac: Add ContentKit support for codeblock element for input +- 4affdac: Add ContentKit support for codeblock element for input ### Patch Changes -- Updated dependencies [4affdac] - - @gitbook/api@0.9.0 +- Updated dependencies [4affdac] + - @gitbook/api@0.9.0 ## 0.8.0 ### Minor Changes -- 4b40290: Pass FetchEvent down to the integration +- 4b40290: Pass FetchEvent down to the integration ### Patch Changes -- e828239: Fixes that externalIds and space_selection is passed to the install +- e828239: Fixes that externalIds and space_selection is passed to the install ## 0.7.0 ### Minor Changes -- b2c17f4: Pass FetchEvent down to the integration +- b2c17f4: Pass FetchEvent down to the integration ## 0.6.0 ### Minor Changes -- fecaf55: Update createOAuthHandler signature to allow passing an optional options object +- fecaf55: Update createOAuthHandler signature to allow passing an optional options object ## 0.5.0 ### Minor Changes -- Update JSX for @gitbook/runtime +- Update JSX for @gitbook/runtime ## 0.4.1 ### Patch Changes -- 0768f10: Fix OAuth handler crashing due lack of optional chaining use while reading spaceInstallation +- 0768f10: Fix OAuth handler crashing due lack of optional chaining use while reading spaceInstallation ## 0.4.0 ### Minor Changes -- 2b19969: Use a JSON encoded state for OAuth state +- 2b19969: Use a JSON encoded state for OAuth state ## 0.3.0 ### Minor Changes -- 882996d: Accept application/json by default for OAuth token response +- 882996d: Accept application/json by default for OAuth token response ## 0.2.0 ### Minor Changes -- 0a17e3b: Dispatch version checked in production only +- 0a17e3b: Dispatch version checked in production only ## 0.1.0 ### Minor Changes -- b05a1dd: Publish @gitbook/runtime to NPM +- b05a1dd: Publish @gitbook/runtime to NPM ## null ### Minor Changes -- e36efa5: Remove old, unused runtime -- d762a7c: Add method element.setCache during rendering of component to define the max-age -- 9fa2838: Added a Mailchimp integration -- ce12efa: Expose createComponent and "components" option in createIntegration to define ContentKit components +- e36efa5: Remove old, unused runtime +- d762a7c: Add method element.setCache during rendering of component to define the max-age +- 9fa2838: Added a Mailchimp integration +- ce12efa: Expose createComponent and "components" option in createIntegration to define ContentKit components ### Patch Changes -- 782d91b: Allow `createOAuthHandler` to update the entire installation (including the externalIds) -- 5df9eff: Fixed a few bugs in the slack integration - - The channels endpoint didn't support pagination and that could lead to some unexpected behaviors due to the inherent weirdness of the slack API. See context here: https://github.com/GitbookIO/support-bucket/issues/961 - - The README was missing the signing secret step for publishing an integration. - - There was a bug where the signature validation code would lock the body by reading it, which made it throw once the event tried to read from it again. Solved with a request clone. - - There was an issue in the slack manifests where we would call the events path for `url_verifications`, but that should happen under `events_task`. -- Updated dependencies [f0c07cb] -- Updated dependencies [782d91b] - - @gitbook/api@null +- 782d91b: Allow `createOAuthHandler` to update the entire installation (including the externalIds) +- 5df9eff: Fixed a few bugs in the slack integration + - The channels endpoint didn't support pagination and that could lead to some unexpected behaviors due to the inherent weirdness of the slack API. See context here: https://github.com/GitbookIO/support-bucket/issues/961 + - The README was missing the signing secret step for publishing an integration. + - There was a bug where the signature validation code would lock the body by reading it, which made it throw once the event tried to read from it again. Solved with a request clone. + - There was an issue in the slack manifests where we would call the events path for `url_verifications`, but that should happen under `events_task`. +- Updated dependencies [f0c07cb] +- Updated dependencies [782d91b] + - @gitbook/api@null diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 4656e130a..856ec664a 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,7 +1,7 @@ { "name": "@gitbook/runtime", "type": "module", - "version": "0.18.0", + "version": "0.19.0", "sideEffects": false, "main": "src/index.ts", "dependencies": {