fix(deps): update dependency graphql-request to v7#1485
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency graphql-request to v7#1485renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
dfa0d13 to
c76e0db
Compare
bcd7d55 to
2d34ccf
Compare
0058298 to
57a79aa
Compare
b0b4249 to
2f77db1
Compare
70fd846 to
a7bf6ad
Compare
b3bf93f to
900a3d2
Compare
6b32775 to
c79ade0
Compare
344844e to
e7338f5
Compare
e7338f5 to
91b8152
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
6.1.0→7.4.0Release Notes
graffle-js/graffle (graphql-request)
v7.4.0Compare Source
What's Changed
Features
headersandbodyproperties toGraphQLResponseandGraphQLClientResponsetypes, making it easier to access non-GraphQL response data (e.g., 401/403/503 errors that return plain JSON instead of GraphQL).Contributors
Full Changelog: graffle-js/graffle@7.3.5...7.4.0
v7.3.5Compare Source
What's Changed
Full Changelog: graffle-js/graffle@v7.3.0...v7.3.5
v7.3.4Compare Source
Bug Fixes
Changes
Breaking Changes
None - this release maintains backwards compatibility while adding support for accessing GraphQL errors from 4xx/5xx responses.
v7.3.3Compare Source
Bug Fixes
"Invalid execution result: result is not object or array"(#1459, closes #1458)What Changed
Version 7.3.2 introduced a bug where the ELSE branch in
parseResultFromResponsewould pass raw strings (HTML, plain text) to a parser expecting objects/arrays. This only surfaced when:text/html,text/plain)This is now fixed with graceful error handling and clear error messages.
v7.3.2Compare Source
Bug Fixes
HTTP Error Handling: Fixed regression from v6 to v7 where HTTP 4xx/5xx responses would not include GraphQL errors from response body in
ClientError(#1457, closes #1281)error.response.errorseven with non-2xx status codesgraphql-codegen Compatibility: Added support for
TypedDocumentStringfrom@graphql-codegenwhen usingdocumentMode: 'string'(#1456, closes #1453)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)Configuration
📅 Schedule: Branch creation - "after 4am and before 8am on saturday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ Rebasing: Whenever PR is behind base branch, 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.