nteract / nteract.io

:mega: Our site! :mega:
https://nteract.io
BSD 3-Clause "New" or "Revised" License
44 stars 30 forks source link

Update dependency graphql-request to v3 #460

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-request 1.8.2 -> 3.7.0 age adoption passing confidence

Release Notes

prisma/graphql-request ### [`v3.7.0`](https://togithub.com/prisma/graphql-request/releases/3.7.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.6.1...3.7.0) ##### Features - [`b693d27`](https://togithub.com/prisma/graphql-request/commit/b693d27) allow graphql@16 as peer dependency ([#​305](https://togithub.com/prisma/graphql-request/issues/305)) - [`88ce220`](https://togithub.com/prisma/graphql-request/commit/88ce220) export more client types ([#​306](https://togithub.com/prisma/graphql-request/issues/306) ### [`v3.6.1`](https://togithub.com/prisma/graphql-request/releases/v3.6.1) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.6.0...v3.6.1) ##### Improvements - [`699d9b7`](https://togithub.com/prisma/graphql-request/commit/699d9b7) docs: add Readme section for batching ([#​294](https://togithub.com/prisma/graphql-request/issues/294)) ##### Chores - [`b9db70a`](https://togithub.com/prisma/graphql-request/commit/b9db70a) fix run yarn install with node@14 ([#​293](https://togithub.com/prisma/graphql-request/issues/293)) ### [`v3.6.0`](https://togithub.com/prisma/graphql-request/releases/v3.6.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.5.0...v3.6.0) ##### Features - [`87ec21b`](https://togithub.com/prisma/graphql-request/commit/87ec21b) set endpoint after the GraphQLClient has been initialized ([#​291](https://togithub.com/prisma/graphql-request/issues/291)) - [`2d92782`](https://togithub.com/prisma/graphql-request/commit/2d92782) add batching support with batchRequests ([#​285](https://togithub.com/prisma/graphql-request/issues/285)) ##### Fixes - [`04716a4`](https://togithub.com/prisma/graphql-request/commit/04716a4) remove wrong parameters ([#​251](https://togithub.com/prisma/graphql-request/issues/251)) ##### Chores - [`a6d1365`](https://togithub.com/prisma/graphql-request/commit/a6d1365) bump tmpl from 1.0.4 to 1.0.5 ([#​288](https://togithub.com/prisma/graphql-request/issues/288)) - [`03f04a8`](https://togithub.com/prisma/graphql-request/commit/03f04a8) bump object-path from 0.11.7 to 0.11.8 ([#​287](https://togithub.com/prisma/graphql-request/issues/287)) - [`bd78b0b`](https://togithub.com/prisma/graphql-request/commit/bd78b0b) fix TypeScript spelling ([#​286](https://togithub.com/prisma/graphql-request/issues/286)) - [`c23ffb3`](https://togithub.com/prisma/graphql-request/commit/c23ffb3) bump object-path from 0.11.5 to 0.11.7 ([#​284](https://togithub.com/prisma/graphql-request/issues/284)) ### [`v3.5.0`](https://togithub.com/prisma/graphql-request/releases/v3.5.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.4.0...v3.5.0) ##### Features - [`20f18d3`](https://togithub.com/prisma/graphql-request/commit/20f18d3) add operationName to payload if defined in gql ([#​280](https://togithub.com/prisma/graphql-request/issues/280)) - [`0b2d960`](https://togithub.com/prisma/graphql-request/commit/0b2d960) add support for get request ([#​277](https://togithub.com/prisma/graphql-request/issues/277)) - [`32cae25`](https://togithub.com/prisma/graphql-request/commit/32cae25) enable passing requestHeaders ([#​272](https://togithub.com/prisma/graphql-request/issues/272)) - [`8587e4d`](https://togithub.com/prisma/graphql-request/commit/8587e4d) passthrough headers on exported request function ([#​265](https://togithub.com/prisma/graphql-request/issues/265)) ##### Fixes - [`58a6d36`](https://togithub.com/prisma/graphql-request/commit/58a6d36) types on GraphQLError ([#​278](https://togithub.com/prisma/graphql-request/issues/278)) - [`563609f`](https://togithub.com/prisma/graphql-request/commit/563609f) remove errors from rawRequest return type ([#​174](https://togithub.com/prisma/graphql-request/issues/174)) ([#​249](https://togithub.com/prisma/graphql-request/issues/249)) - [`a8d99f5`](https://togithub.com/prisma/graphql-request/commit/a8d99f5) include headers in ClientError response ([#​245](https://togithub.com/prisma/graphql-request/issues/245)) ([#​246](https://togithub.com/prisma/graphql-request/issues/246)) ##### Improvements - [`c544c5f`](https://togithub.com/prisma/graphql-request/commit/c544c5f) refactor: remove duplicate code ([#​271](https://togithub.com/prisma/graphql-request/issues/271)) ##### Chores - [`0315018`](https://togithub.com/prisma/graphql-request/commit/0315018) update dev deps - [`9f98370`](https://togithub.com/prisma/graphql-request/commit/9f98370) refresh node version matrix ([#​273](https://togithub.com/prisma/graphql-request/issues/273)) - [`2c60842`](https://togithub.com/prisma/graphql-request/commit/2c60842) bump ws from 5.2.2 to 5.2.3 ([#​268](https://togithub.com/prisma/graphql-request/issues/268)) - [`6d790ef`](https://togithub.com/prisma/graphql-request/commit/6d790ef) bump glob-parent from 5.1.1 to 5.1.2 ([#​267](https://togithub.com/prisma/graphql-request/issues/267)) - [`27d44fb`](https://togithub.com/prisma/graphql-request/commit/27d44fb) bump lodash from 4.17.20 to 4.17.21 ([#​263](https://togithub.com/prisma/graphql-request/issues/263)) - [`2940c49`](https://togithub.com/prisma/graphql-request/commit/2940c49) bump hosted-git-info from 2.8.8 to 2.8.9 ([#​264](https://togithub.com/prisma/graphql-request/issues/264)) - [`41a5a58`](https://togithub.com/prisma/graphql-request/commit/41a5a58) bump y18n from 4.0.0 to 4.0.1 ([#​258](https://togithub.com/prisma/graphql-request/issues/258)) - [`5b233c5`](https://togithub.com/prisma/graphql-request/commit/5b233c5) bump ini from 1.3.5 to 1.3.7 ([#​236](https://togithub.com/prisma/graphql-request/issues/236)) - [`de59d7d`](https://togithub.com/prisma/graphql-request/commit/de59d7d) bump node-notifier from 8.0.0 to 8.0.1 ([#​241](https://togithub.com/prisma/graphql-request/issues/241)) ### [`v3.4.0`](https://togithub.com/prisma/graphql-request/releases/v3.4.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.3.0...v3.4.0) ##### Features - [`952e972`](https://togithub.com/prisma/graphql-request/commit/952e972) Support per-request headers ([#​33](https://togithub.com/prisma/graphql-request/issues/33)) ([#​228](https://togithub.com/prisma/graphql-request/issues/228)) ##### Chores - [`e4b3932`](https://togithub.com/prisma/graphql-request/commit/e4b3932) fix typo in README.md ([#​231](https://togithub.com/prisma/graphql-request/issues/231)) ### [`v3.3.0`](https://togithub.com/prisma/graphql-request/releases/v3.3.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.2.0...v3.3.0) ##### Features - [`37b51e1`](https://togithub.com/prisma/graphql-request/commit/37b51e1) do not enforce node version ([#​226](https://togithub.com/prisma/graphql-request/issues/226)) ##### Docs - [`4f9bf6c`](https://togithub.com/prisma/graphql-request/commit/4f9bf6c) fix broken example source links - [`c75a29a`](https://togithub.com/prisma/graphql-request/commit/c75a29a) add readme table of contents - [`e5f453a`](https://togithub.com/prisma/graphql-request/commit/e5f453a) add community section and collapsable examples ([#​227](https://togithub.com/prisma/graphql-request/issues/227)) ### [`v3.2.0`](https://togithub.com/prisma/graphql-request/releases/v3.2.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.1.0...v3.2.0) ##### Features - [`0290616`](https://togithub.com/prisma/graphql-request/commit/0290616) support custom fetch with GraphQLClient constructor ([#​212](https://togithub.com/prisma/graphql-request/issues/212)) ##### Fixes - [`c2253f2`](https://togithub.com/prisma/graphql-request/commit/c2253f2) update cross-fetch for vulnerability - [`e805be9`](https://togithub.com/prisma/graphql-request/commit/e805be9) global Headers class reference ([#​218](https://togithub.com/prisma/graphql-request/issues/218)) ##### Chores - [`d371b54`](https://togithub.com/prisma/graphql-request/commit/d371b54) update dev deps to latest - [`094fd5e`](https://togithub.com/prisma/graphql-request/commit/094fd5e) missing comma in readme ([#​217](https://togithub.com/prisma/graphql-request/issues/217)) ### [`v3.1.0`](https://togithub.com/prisma/graphql-request/releases/v3.1.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v3.0.0...v3.1.0) ##### Features - [`777cc55`](https://togithub.com/prisma/graphql-request/commit/777cc55) support GraphQL Upload Spec ([#​175](https://togithub.com/prisma/graphql-request/issues/175)) ##### Fixes - [`e666f69`](https://togithub.com/prisma/graphql-request/commit/e666f69) send headers from .setHeaders to server ([#​202](https://togithub.com/prisma/graphql-request/issues/202)) - [`f13fbb9`](https://togithub.com/prisma/graphql-request/commit/f13fbb9) remove npm lock file - [`9324747`](https://togithub.com/prisma/graphql-request/commit/9324747) add missing headers type import / export ([#​198](https://togithub.com/prisma/graphql-request/issues/198)) - [`8bdb803`](https://togithub.com/prisma/graphql-request/commit/8bdb803) remove TS 3.8+ import type syntax ([#​191](https://togithub.com/prisma/graphql-request/issues/191)) ##### Improvements - [`2b7ecbd`](https://togithub.com/prisma/graphql-request/commit/2b7ecbd) deps: update cross-fetch to latest - [`b17fd71`](https://togithub.com/prisma/graphql-request/commit/b17fd71) test: add test coverage for headers - [`10c23fa`](https://togithub.com/prisma/graphql-request/commit/10c23fa) test: refactor test modularity - [`9c36d68`](https://togithub.com/prisma/graphql-request/commit/9c36d68) test: refactor upload tests - [`762735b`](https://togithub.com/prisma/graphql-request/commit/762735b) docs: Add example for Mutations to README ([#​197](https://togithub.com/prisma/graphql-request/issues/197)) ### [`v3.0.0`](https://togithub.com/prisma/graphql-request/releases/v3.0.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v2.0.0...v3.0.0) ##### BREAKING CHANGES - Types module has moved from `dist/src/types.js` to `dist/types.js`. If you were importing from the former before you'll need to update to be the later now. - [`e757927`](https://togithub.com/prisma/graphql-request/commit/e757927) accept DocumentNode input ([#​183](https://togithub.com/prisma/graphql-request/issues/183)) `graphql-request` now requires `graphql` version 14.x or 15.x as a peer dependency. `graphql-request` uses a TypeScript type from the `graphql` package such that if you are using TypeScript to build your project and you are using `graphql-request` but don't have `graphql` installed TypeScript build will fail. Details [here](#​183 "comment"). If you are a JS user then you do not technically need to install `graphql`. However if you use an IDE that picks up TS types even for JS (like VSCode) then its still in your interest to install `graphql` so that you can benefit from enhanced type safety during development. ##### Features - [`e757927`](https://togithub.com/prisma/graphql-request/commit/e757927) (breaking) accept DocumentNode input ([#​183](https://togithub.com/prisma/graphql-request/issues/183)) - [`ad5a403`](https://togithub.com/prisma/graphql-request/commit/ad5a403) Add timeout property to RequestInit interface ([#​173](https://togithub.com/prisma/graphql-request/issues/173)) - [`5ceb388`](https://togithub.com/prisma/graphql-request/commit/5ceb388) add type param for variables ([#​143](https://togithub.com/prisma/graphql-request/issues/143)) - [`cf90a8e`](https://togithub.com/prisma/graphql-request/commit/cf90a8e) inline TypeScript fetch types - [`1610d1e`](https://togithub.com/prisma/graphql-request/commit/1610d1e) use cross-fetch as ponyfill ##### Fixes - [`49187dd`](https://togithub.com/prisma/graphql-request/commit/49187dd) bump lodash from 4.17.15 to 4.17.19 ([#​179](https://togithub.com/prisma/graphql-request/issues/179)) - [`4b02516`](https://togithub.com/prisma/graphql-request/commit/4b02516) add missing DOM types ##### Improvements - [`ccaa5a1`](https://togithub.com/prisma/graphql-request/commit/ccaa5a1) docs: touchup readme - [`7129cf5`](https://togithub.com/prisma/graphql-request/commit/7129cf5) refactor: ts strict mode - [`a3dad71`](https://togithub.com/prisma/graphql-request/commit/a3dad71) refactor: make src be root dir ##### Chores - [`3ce22ab`](https://togithub.com/prisma/graphql-request/commit/3ce22ab) update dripip - [`3f51dab`](https://togithub.com/prisma/graphql-request/commit/3f51dab) mention setHeader ([#​171](https://togithub.com/prisma/graphql-request/issues/171)) - [`3b25f6d`](https://togithub.com/prisma/graphql-request/commit/3b25f6d) fix ci, stop running lint script - [`2dd655e`](https://togithub.com/prisma/graphql-request/commit/2dd655e) use prepublishOnly script - [`f0284f4`](https://togithub.com/prisma/graphql-request/commit/f0284f4) fix readme workflow badge - [`af503af`](https://togithub.com/prisma/graphql-request/commit/af503af) stop using tslint - [`234165e`](https://togithub.com/prisma/graphql-request/commit/234165e) fix tests - [`9a8d1a3`](https://togithub.com/prisma/graphql-request/commit/9a8d1a3) use dripip for making releases - [`483119e`](https://togithub.com/prisma/graphql-request/commit/483119e) switch from ava to jest - [`0bcaa05`](https://togithub.com/prisma/graphql-request/commit/0bcaa05) upgrade typescript dep - [`a6ab58b`](https://togithub.com/prisma/graphql-request/commit/a6ab58b) improve semantic-release setup ([#​164](https://togithub.com/prisma/graphql-request/issues/164)) ### [`v2.0.0`](https://togithub.com/prisma/graphql-request/releases/v2.0.0) [Compare Source](https://togithub.com/prisma/graphql-request/compare/v1.8.2...v2.0.0) #### PLEASE NOTE: This release was accidental. The breaking change will actually be undone in 2.1. However since this project was dormant for a long time, the `2.x` version is still a safeguard against possible regressions/instability that new development will cause. #### [2.0.0](https://togithub.com/prisma/graphql-request/compare/v1.8.2...v2.0.0) (2020-05-28) ##### Bug Fixes - build ([a6e8e0a](https://togithub.com/prisma/graphql-request/commit/a6e8e0a85dbdfc9a59ac7d359318bafc23e4f0d3)) - subclass Error by explicitly setting prototype ([#​101](https://togithub.com/prisma/graphql-request/issues/101)) ([5cb1aa1](https://togithub.com/prisma/graphql-request/commit/5cb1aa17f64c3d5f0635ad97bde838212dc932ac)) ##### Features - drop cross-fetch polyfill dep ([#​127](https://togithub.com/prisma/graphql-request/issues/127)) ([c22d4b0](https://togithub.com/prisma/graphql-request/commit/c22d4b06fa170ec6b737c171486efcfac961b09c)) - drop node 8 support ([01ae7d0](https://togithub.com/prisma/graphql-request/commit/01ae7d09ff8d0527ea75f3cb2971d4a7d07cf3ae)) - export `Options` type ([#​155](https://togithub.com/prisma/graphql-request/issues/155)) ([b69791c](https://togithub.com/prisma/graphql-request/commit/b69791cba59d90a331b50274164e84ceb4380cab)) - remove dom dependency ([#​108](https://togithub.com/prisma/graphql-request/issues/108)) ([be27ac6](https://togithub.com/prisma/graphql-request/commit/be27ac6b625686ee9c4c73216606f51764af79aa)), closes [#​26](https://togithub.com/prisma/graphql-request/issues/26) [#​100](https://togithub.com/prisma/graphql-request/issues/100) - simplify typings by using full RequestInit type ([#​107](https://togithub.com/prisma/graphql-request/issues/107)) ([9d5e344](https://togithub.com/prisma/graphql-request/commit/9d5e344f7e8303ed0de7c8df742b05975688d4e4)) ##### BREAKING CHANGES - You are responsible for polyfilling your environment with `cross-fetch` if needed now.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nteract/nteract-site/B5DKvVPN4gHPJAZvUEbowWzym2yZ
✅ Preview: Failed

renovate[bot] commented 2 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 3.x releases. However, if you upgrade to 3.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.