This repository was archived by the owner on Aug 5, 2025. It is now read-only.
Update dependency graphql-request to v4 #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.2->4.3.0Release Notes
jasonkuhrt/graphql-request
v4.3.0Compare Source
v4.2.0Compare Source
Features
b01d753custom JSON serializer support (#324)Improvements
ac40083upgrade cross-fetch to fix https: //github.com/advisories/GHSA-r683-j2x4-v87g (#333)v4.1.0Compare Source
Features
24ca53binclude operationName to rawRequest payload if defined in gql (#328)26711e7parse string documents to extract the operationName (#325)Fixes
0e406ccinclude source files in package for source maps (#317)cbfa1fbcase-insensitive 'Content-type' response header detection (#315)Improvements
cf0aea9improve: drop official node 12 supportChores
d71028cuse dripip reusable workflowa99293cupdate workflow action versionsd740cdcbump simple-get from 3.1.0 to 3.1.1 (#320)v4.0.0Compare Source
BREAKING CHANGES:
Features:
v3.7.0Compare Source
Features
b693d27allow graphql@16 as peer dependency (#305)88ce220export more client types (#306v3.6.1Compare Source
Improvements
699d9b7docs: add Readme section for batching (#294)Chores
b9db70afix run yarn install with node@14 (#293)v3.6.0Compare Source
Features
87ec21bset endpoint after the GraphQLClient has been initialized (#291)2d92782add batching support with batchRequests (#285)Fixes
04716a4remove wrong parameters (#251)Chores
a6d1365bump tmpl from 1.0.4 to 1.0.5 (#288)03f04a8bump object-path from 0.11.7 to 0.11.8 (#287)bd78b0bfix TypeScript spelling (#286)c23ffb3bump object-path from 0.11.5 to 0.11.7 (#284)v3.5.0Compare Source
Features
20f18d3add operationName to payload if defined in gql (#280)0b2d960add support for get request (#277)32cae25enable passing requestHeaders (#272)8587e4dpassthrough headers on exported request function (#265)Fixes
58a6d36types on GraphQLError (#278)563609fremove errors from rawRequest return type (#174) (#249)a8d99f5include headers in ClientError response (#245) (#246)Improvements
c544c5frefactor: remove duplicate code (#271)Chores
0315018update dev deps9f98370refresh node version matrix (#273)2c60842bump ws from 5.2.2 to 5.2.3 (#268)6d790efbump glob-parent from 5.1.1 to 5.1.2 (#267)27d44fbbump lodash from 4.17.20 to 4.17.21 (#263)2940c49bump hosted-git-info from 2.8.8 to 2.8.9 (#264)41a5a58bump y18n from 4.0.0 to 4.0.1 (#258)5b233c5bump ini from 1.3.5 to 1.3.7 (#236)de59d7dbump node-notifier from 8.0.0 to 8.0.1 (#241)v3.4.0Compare Source
Features
952e972Support per-request headers (#33) (#228)Chores
e4b3932fix typo in README.md (#231)v3.3.0Compare Source
Features
37b51e1do not enforce node version (#226)Docs
4f9bf6cfix broken example source linksc75a29aadd readme table of contentse5f453aadd community section and collapsable examples (#227)v3.2.0Compare Source
Features
0290616support custom fetch with GraphQLClient constructor (#212)Fixes
c2253f2update cross-fetch for vulnerabilitye805be9global Headers class reference (#218)Chores
d371b54update dev deps to latest094fd5emissing comma in readme (#217)v3.1.0Compare Source
Features
777cc55support GraphQL Upload Spec (#175)Fixes
e666f69send headers from .setHeaders to server (#202)f13fbb9remove npm lock file9324747add missing headers type import / export (#198)8bdb803remove TS 3.8+ import type syntax (#191)Improvements
2b7ecbddeps: update cross-fetch to latestb17fd71test: add test coverage for headers10c23fatest: refactor test modularity9c36d68test: refactor upload tests762735bdocs: Add example for Mutations to README (#197)v3.0.0Compare Source
BREAKING CHANGES
Types module has moved from
dist/src/types.jstodist/types.js. If you were importing from the former before you'll need to update to be the later now.e757927accept DocumentNode input (#183)graphql-requestnow requiresgraphqlversion 14.x or 15.x as a peer dependency.graphql-requestuses a TypeScript type from thegraphqlpackage such that if you are using TypeScript to build your project and you are usinggraphql-requestbut don't havegraphqlinstalled TypeScript build will fail. Details here. If you are a JS user then you do not technically need to installgraphql. However if you use an IDE that picks up TS types even for JS (like VSCode) then its still in your interest to installgraphqlso that you can benefit from enhanced type safety during development.Features
e757927(breaking) accept DocumentNode input (#183)ad5a403Add timeout property to RequestInit interface (#173)5ceb388add type param for variables (#143)cf90a8einline TypeScript fetch types1610d1euse cross-fetch as ponyfillFixes
49187ddbump lodash from 4.17.15 to 4.17.19 (#179)4b02516add missing DOM typesImprovements
ccaa5a1docs: touchup readme7129cf5refactor: ts strict modea3dad71refactor: make src be root dirChores
3ce22abupdate dripip3f51dabmention setHeader (#171)3b25f6dfix ci, stop running lint script2dd655euse prepublishOnly scriptf0284f4fix readme workflow badgeaf503afstop using tslint234165efix tests9a8d1a3use dripip for making releases483119eswitch from ava to jest0bcaa05upgrade typescript depa6ab58bimprove semantic-release setup (#164)v2.0.0Compare Source
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.xversion is still a safeguard against possible regressions/instability that new development will cause.2.0.0 (2020-05-28)
Bug Fixes
Features
Optionstype (#155) (b69791c)BREAKING CHANGES
cross-fetchif needed now.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.