-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove the requests package from the TypeScript SDK #1491
Conversation
Includes removal of the deprecated node Request package WIP, build is still broken on extension SDKs
Updated readmes also
Typescript Tests 1 files - 9 28 suites - 36 24s ⏱️ - 5m 39s Results for commit 08fc612. ± Comparison against base commit cb1e948. This pull request removes 30 and adds 11 tests. Note that renamed tests count towards both.
This pull request removes 4 skipped tests and adds 1 skipped test. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Codegen Tests459 tests +41 423 ✅ +23 48s ⏱️ +5s Results for commit 08fc612. ± Comparison against base commit cb1e948. This pull request removes 17 and adds 58 tests. Note that renamed tests count towards both.
This pull request removes 2 skipped tests and adds 1 skipped test. Note that renamed tests count towards both.
This pull request skips 20 and un-skips 1 tests.
♻️ This comment has been updated with latest results. |
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.
Looks LGTM To Me
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.
I would break this CL up, it is too large to critically review. I lost my place and on second review trying to use the viewed option is not tenable with this many files.
this is an excellent POC, I would now use this as your template to make the changes first to Prettier, and then perhaps node 22, and then your fetch updates.
I will leave this as non-blocking
@@ -32,6 +32,7 @@ const ResizeObserver = require('resize-observer-polyfill'); | |||
require('@testing-library/jest-dom'); | |||
require('jest-canvas-mock'); | |||
require('jest-styled-components'); | |||
// require('jest-environment-node'); |
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.
cruft?
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.
Yes. I will have a cleanup pass in another PR that removes stale commented-out code. The prettier changes had to be made to get this PR to pass CI after code was taken from internal changes.
@@ -2,7 +2,7 @@ | |||
|
|||
MIT License | |||
|
|||
Copyright (c) 2021 Looker Data Sciences, Inc. | |||
Copyright (c) 2023 Looker Data Sciences, Inc. |
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.
weird. This was not a renamed file but a new file.
@@ -35,18 +35,15 @@ const prettierTs: prettier.Options = { | |||
semi: true, | |||
singleQuote: true, | |||
trailingComma: 'es5', | |||
arrowParens: 'always', | |||
arrowParens: 'avoid', |
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.
the primary cause of all the file reformatting in this PR. Required for compatibility with internal versions of the SDK.
@@ -2,7 +2,7 @@ | |||
|
|||
MIT License | |||
|
|||
Copyright (c) 2021 Looker Data Sciences, Inc. | |||
Copyright (c) 2023 Looker Data Sciences, Inc. |
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.
another file rename that wasn't
@@ -2,7 +2,7 @@ | |||
|
|||
MIT License | |||
|
|||
Copyright (c) 2021 Looker Data Sciences, Inc. | |||
Copyright (c) 2020 Looker Data Sciences, Inc. |
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.
not a rename
🤖 I have created a release *beep* *boop* --- <details><summary>api-explorer: 0.9.65</summary> ## [0.9.65](api-explorer-v0.9.64...api-explorer-v0.9.65) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/code-editor bumped from 0.1.31 to 0.1.32 * @looker/extension-utils bumped from 0.1.41 to 0.1.42 * @looker/run-it bumped from 0.9.64 to 0.9.65 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * devDependencies * @looker/sdk-codegen-scripts bumped from 21.5.21 to 21.5.22 * @looker/sdk-node bumped from 24.14.0 to 24.16.0 </details> <details><summary>code-editor: 0.1.32</summary> ## [0.1.32](code-editor-v0.1.31...code-editor-v0.1.32) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * devDependencies * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1 </details> <details><summary>@looker/extension-api-explorer: 22.21.22</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/api-explorer bumped from 0.9.64 to 0.9.65 * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/extension-sdk-react bumped from 24.14.0 to 24.16.0 * @looker/extension-utils bumped from 0.1.41 to 0.1.42 * @looker/run-it bumped from 0.9.64 to 0.9.65 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1 </details> <details><summary>extension-playground: 1.0.22</summary> ## [1.0.22](extension-playground-v1.0.21...extension-playground-v1.0.22) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/extension-sdk-react bumped from 24.14.0 to 24.16.0 * @looker/sdk bumped from 24.14.0 to 24.16.0 </details> <details><summary>extension-tile-playground: 1.1.9</summary> ## [1.1.9](extension-tile-playground-v1.1.8...extension-tile-playground-v1.1.9) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/extension-sdk-react bumped from 24.14.0 to 24.16.0 * @looker/sdk bumped from 24.14.0 to 24.16.0 </details> <details><summary>extension-utils: 0.1.42</summary> ## [0.1.42](extension-utils-v0.1.41...extension-utils-v0.1.42) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/code-editor bumped from 0.1.31 to 0.1.32 * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/extension-sdk-react bumped from 24.14.0 to 24.16.0 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>hackathon: 22.21.24</summary> ## [22.21.24](hackathon-v22.21.23...hackathon-v22.21.24) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/code-editor bumped from 0.1.31 to 0.1.32 * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/extension-sdk-react bumped from 24.14.0 to 24.16.0 * @looker/extension-utils bumped from 0.1.41 to 0.1.42 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * @looker/wholly-artifact bumped from 0.1.22 to 0.1.23 </details> <details><summary>run-it: 0.9.65</summary> ## [0.9.65](run-it-v0.9.64...run-it-v0.9.65) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/code-editor bumped from 0.1.31 to 0.1.32 * @looker/extension-utils bumped from 0.1.41 to 0.1.42 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1 * @looker/sdk-codegen-utils bumped from 21.0.11 to 21.0.12 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>sdk-codegen: 21.9.1</summary> ## [21.9.1](sdk-codegen-v21.9.0...sdk-codegen-v21.9.1) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * devDependencies * @looker/sdk-codegen-utils bumped from 21.0.11 to 21.0.12 </details> <details><summary>sdk-codegen-scripts: 21.5.22</summary> ## [21.5.22](sdk-codegen-scripts-v21.5.21...sdk-codegen-scripts-v21.5.22) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-codegen bumped from 21.9.0 to 21.9.1 * @looker/sdk-codegen-utils bumped from 21.0.11 to 21.0.12 * @looker/sdk-node bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>sdk-codegen-utils: 21.0.12</summary> ## [21.0.12](sdk-codegen-utils-v21.0.11...sdk-codegen-utils-v21.0.12) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * devDependencies * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * @looker/sdk bumped from 24.12.1 to 24.16.0 * @looker/sdk-node bumped from 24.12.1 to 24.16.0 </details> <details><summary>sdk-rtl: 21.6.2</summary> ## [21.6.2](sdk-rtl-v21.6.1...sdk-rtl-v21.6.2) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) </details> <details><summary>wholly-artifact: 0.1.23</summary> ## [0.1.23](wholly-artifact-v0.1.22...wholly-artifact-v0.1.23) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * @looker/sdk bumped from 24.14.0 to 24.16.0 * devDependencies * @looker/sdk-node bumped from 24.14.0 to 24.16.0 </details> <details><summary>wholly-sheet: 0.5.61</summary> ## [0.5.61](wholly-sheet-v0.5.60...wholly-sheet-v0.5.61) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * devDependencies * @looker/sdk-node bumped from 24.14.0 to 24.16.0 </details> <details><summary>sdk-codegen-all: 24.16.0</summary> ## [24.16.0](sdk-codegen-all-v24.14.0...sdk-codegen-all-v24.16.0) (2024-09-11) ### Features * generate SDKs for Looker 24.16 ([#1499](#1499)) ([109839d](109839d)) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) </details> <details><summary>looker_sdk: 24.16.0</summary> ## [24.16.0](looker_sdk-v24.14.0...looker_sdk-v24.16.0) (2024-09-11) ### Features * generate SDKs for Looker 24.16 ([#1499](#1499)) ([109839d](109839d)) </details> <details><summary>embed-components: 24.16.0</summary> ## [24.16.0](embed-components-v24.14.0...embed-components-v24.16.0) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/embed-services bumped from 24.14.0 to 24.16.0 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * devDependencies * @looker/sdk-node bumped from 24.14.0 to 24.16.0 </details> <details><summary>embed-services: 24.16.0</summary> ## [24.16.0](embed-services-v24.14.0...embed-services-v24.16.0) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 * @looker/sdk bumped from 24.14.0 to 24.16.0 * devDependencies * @looker/sdk-node bumped from 24.14.0 to 24.16.0 </details> <details><summary>extension-sdk: 24.16.0</summary> ## [24.16.0](extension-sdk-v24.14.0...extension-sdk-v24.16.0) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>extension-sdk-react: 24.16.0</summary> ## [24.16.0](extension-sdk-react-v24.14.0...extension-sdk-react-v24.16.0) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>sdk: 24.16.0</summary> ## [24.16.0](sdk-v24.14.0...sdk-v24.16.0) (2024-09-11) ### Features * generate SDKs for Looker 24.16 ([#1499](#1499)) ([109839d](109839d)) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> <details><summary>sdk-node: 24.16.0</summary> ## [24.16.0](sdk-node-v24.14.0...sdk-node-v24.16.0) (2024-09-11) ### Bug Fixes * Remove the requests package from the TypeScript SDK ([#1491](#1491)) ([670377c](670377c)), closes [#1439](#1439) ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.14.0 to 24.16.0 * @looker/sdk-rtl bumped from 21.6.1 to 21.6.2 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Removes the request package from all TypeScript SDK packages
fetch
functionfetch
functionAddresses #1439