chore(deps): update dependency graphql-request to v7 #21
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.6.0->7.3.1Release Notes
graffle-js/graffle (graphql-request)
v7.3.1Compare Source
Bug Fixes
graffle-js/graffle/tree/graphql-requestpathgraphql-requestbranchLinks
v7.3.0: graphql-request v7.3.0Compare Source
What's Changed
Features
anyfor easier migration and reduced type frictionPull Requests
Contributors
Thanks to @Moumouls (Antoine Cormouls) for the contribution! 🚀
Installation:
Package: https://www.npmjs.com/package/graphql-request/v/7.3.0
v7.2.0: graphql-request@7.2.0Compare Source
Features:
849c9abv7.1.2: graphql-request@7.1.2Compare Source
Fixes:
b732f45Remove reference totype-festwhich is not a dependency.v7.1.1: graphql-request@7.1.1Compare Source
Fixes
37445c8Support CJS and remove Graffle code. To use Graffle by now, you should be usingpnpm add graffle@next.v7.1.0Compare Source
Fixes
829028dmake dprint optional dep (#920)3ba32a3client sends accept headerImprovements
30b39bfimprove: update all deps to latest (#936)92ea1b2docs: mention additional requirement for TS39dfb37refactor: no mock serverdb4db92docs: TS moduleResolution requirementsGraffle
Features
c91bbc3anyware hook retries (#904)6eebe6fextension system (#871)543ffdfstatic exec and req funcs (#851)eecf7b9incremental typed client (#848)Chores
f1fd315add publint (#865)v7.0.1Compare Source
Fixes
dc299d9no node fs module in runtimeImprovements
11805c8improve: remove needless deep imports into graphqlChores
ecf5032update dependency tsx to v4.9.4 (#843)12cb8cfupdate dependency zod to v3.23.8 (#836)v7.0.0Compare Source
BREAKING CHANGES
2a121c6remove inlined graphql websocket code99a192eadd spec compliant defaultAcceptheader (#618)0e53aedreplaceGraphQLClientRequestHeaderswith built-inHeadersInittype (#616)c3a309fremove support for CommonJS (#607)6efcc0dremove cross-fetch polyfill/foo) (#745)Features
f906d22export request init extended type (#812)cc2dc55response middleware extra info (#788)2a121c6(breaking) remove inlined graphql websocket code0f1b7b5exclude operation name via a field in RequestConfig (#645)99a192e(breaking) add spec compliant defaultAcceptheader (#618)0e53aed(breaking) replaceGraphQLClientRequestHeaderswith built-inHeadersInittype (#616)c3a309f(breaking) remove support for CommonJS (#607)6efcc0d(breaking) remove cross-fetch polyfille065677export GraphQLClientRequestHeader (#558)Fixes
553006bawait response middleware (#810)54da7bdalias encoding (#809)190bdd2remove vitest import5f13401no select root types if not in schemaee66c10result types have no argsfe124deargs on interfaces and unions (#781)893ad01no infer runtime unions310f10corder independent input object defsa71c9f8order independent input object defs118d1d7no infer runtime objects1238a1cthunk list objects8a9e207exact types on query and mutation (#755)aeb6087generated code imports7d828d7allow null data0d1e1a6imports2ad3e80schema module exports pathb7c26f8schema import in generated types (#732)4af7cb4append search params (#673)a169969no GET on mutations (#663)8f926b8do not require index sig on vars (#659)0eb8a1dexportGraphQLResponsetype as part of the public API (#636)dbd7c7fdo not overwrite user-providedContent-Typeheader (#614)d6298a3refactor code so linter no longer produces warnings (#605)3b7b31fensure code formatting is correct (#604)a9fcb44add support for TypedDocumentNode to be passed to WS methods (#585)c124ec8Add ClientError to ResponseMiddleware param (#534)Improvements
b1f18c1refactor: simplify encode testsf333c1erefactor: single pass encode (#807)dbffec8refactor: modularize selection-set (#806)5b13f30refactor: organize dirs by layer (#805)bd5dddfdocs: begin new documentation05308faimprove: Node 18 tsconfig and ES2023 lib (#794)6f07a0erefactor: client modules (#791)a554328tests: refactor to one default schema (#790)893a5e0refactor: import orderb9888e2refactor: client dir1287edarefactor: schema module (#770)c77de38improve: upgrade to eslint 9 (#764)5fe1cearefactor: legacy becomes raw9dc4d81refactor: tidy signature52f4ab8improve: upgrade deps to latestcc86c34refactor: use dprint instead of prettier (#677)080346etests: case for overriding a built in headere040ec9tests: do not retest headers init4d4ac4crefactor: move existing api to legacy dir (#670)4cadba3refactor: modualarize api (#653)e5c8e7fimprove: Optimised imports from graphql to decrease bundle size (#543)Graffle (alpha)
Features
be48f1erename cli to grafflefb715d9generated namespace and client ctor (#815)e2d1888select (#816)4ac0cd1use a global namespace (#808)2a39e81rawOrThrow80e050creturnMode successData (#804)7b06232mode to return all errors (#796)ae9ab07treat schema file location as source dirb45dc60use graphql return mode & named schema547dfe5can specify error type pattern in cli2a77493isError helper functiona35be0aselect type utilities (#785)45412c2root type field methods (#779)73adae5document method (#774)98cb065select helper420a389add raw method5de618broot field methods9191249batch methodcebd26dsupport non-null interfaceb85b50bunion non-null field (#771)33a0278optional custom scalars (#768)fdca0a7index sans dollar namespace (#767)5658370custom scalar runtime codecs (#746)0e150e4format generated code with dprint34c9e25string support for custom scalars (#742)f9ad67asupport input object in selection set (#736)4318cacdisable environment input, rename flag (#731)48e4d64introduce a CLI for generating the client (#730)9640d0aintroduce an experimental typescript client (#672)v6.1.0Compare Source
Features
71af6abrestoremainfield of package.json for environments that do not supportexportsfield (#526)81c8bb2export middleware function typesImprovements
5fc0062improve: fix autocomplete for request functionb98d71brefactor: group exportsChores
6500e69regenerate TOC (#531)ae1d8afupdate pnpm to v8.5.1 (#527)da47f4eupdate pnpm to v8.5.0 (#524)ed72463update dependency @types/node to v20 (#523)efed6beupdate dependency @vitest/coverage-c8 to ^0.31.0 (#521)a91b69dupdate pnpm to v8.4.0 (#520)01d0793update dependency vitest to ^0.31.0 (#522)250e78cUpdate README.md (#516)a9bee0eupdate pnpm to v8.3.1 (#513)cee8629update pnpm to v8.3.0 (#511)dd2d3b6test that custom config is passed to fetchb7025c8do not use t-prefix type names6b3396bnormalize docs (dedupe) (#507)3a38f48upgrade dev deps to latestv6.0.0Compare Source
BREAKING CHANGES
02a5522remove file uploads feature (#501)702ef92bring TS 5 support (#480)Features
02a5522(breaking) remove file uploads feature (#501)702ef92(breaking) bring TS 5 support (#480)Fixes
8a98925change event handlers registration style (#474)Improvements
5ce990arefactor: remove default syntaxfee4476refactor: ref passthrough8467a26refactor: rename internal typeb563ad5refactor: lintChores
277bad5update dependency @vitest/coverage-c8 to ^0.30.0 (#503)4a4e85bupdate pnpm to v8.2.0 (#505)c201325update dependency vitest to ^0.30.0 (#504)37c5cc2check docs build on pr ci (#502)82e0050lint PRs (#498)e596527make use of gql taga446365update dev deps to latest3ed6436use prisma eslint configc697c5aformat8814eb8enable stale bot43a2601consolidate content under knowledge base sectionb15e948update pnpm to v8.1.1 (#494)bdebdc7update dependency happy-dom to v9 (#492)38fda1dupdate pnpm to v8.1.0 (#490)6c49eadupdate pnpm to v8 (#488)c7f8212update pnpm to v7.30.5 (#487)b520745update pnpm to v7.30.3 (#486)413bdffupdate pnpm to v7.30.1 (#485)9866249update pnpm to v7.30.0 (#483)b712346update pnpm to v7.29.3 (#479)be7e6b2make runs faster (#478)6ba1648update pnpm to v7.29.1 (#476)b18227etroubleshooting for React Native + Metro projects (#475)2d35a7bupdate pnpm to v7.29.0 (#470)v5.2.0Compare Source
Features
cb79d67make package hybrid ESM/CJS closes #192 (#455)Fixes
d5a4012batchRequests type constraint (#462)4302ba1check if property errors from response is an empty array (#454)Improvements
0fb7062refactor: introduce eslintd7d0a8drefactor: typo bathching -> batching (#425)Chores
7bf2d10fix githubToken passingff372f5update pnpm to v7.28.0 (#463)181ca5cupdate dependency @vitest/coverage-c8 to ^0.29.0 (#461)9dc1b7evscode settings for project074fb06add isuee templates29d09e5mention esm7abfa6dupdate pnpm to v7.27.1 (#456)3618169update pnpm to v7.27.0 (#452)6487093update pnpm to v7.26.3 (#450)0a65e91update pnpm to v7.26.2 (#447)a23b294update pnpm to v7.26.1 (#445)0962dd2switch to pnpm (#444)99f6763update dev deps (#443)7a644e7remove security policy9a097f2attribute owner and author to Jason Kuhrtv5.1.0Compare Source
v5.0.0Compare Source
BREAKING CHANGES
2f221a4Invoke responseMiddleware in error cases as well (#372)Features
6246ffeAllow async requestMiddleware (#379)2f221a4(breaking) Invoke responseMiddleware in error cases as well (#372)a7ac904TypedDocumentNode support & strict variable typings (#350)dec0319added middleware support (#170)Fixes
55b1bf5resolve headers when cross fetch is not available in environment (#296)988b437use GraphQLError fromgraphqlmodule (#365)Chores
d04de20bump apollo-server-core from 3.5.0 to 3.10.1 (#377)3662f38Replacing the quickstart gql query example (#374)fec536badd Readme section for GET requests (#370)dec0296add errorPolicy 'all' confition (#360)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.v1.8.2Compare Source
Bug Fixes
v1.8.1Compare Source
Bug Fixes
add esnext.asynciterable to tsconfig.json (0248511)
revert support parsed query (#97) (
ddfd0a8)v1.8.0Compare Source
Features
v1.7.0Compare Source
Bug Fixes
Features
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), 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 was generated by Mend Renovate. View the repository job log.