Skip to content
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(deps): update module github.com/99designs/gqlgen to v0.17.43 - autoclosed #52

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 28, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/99designs/gqlgen v0.17.24 -> v0.17.43 age adoption passing confidence

Release Notes

99designs/gqlgen (github.com/99designs/gqlgen)

v0.17.43

Compare Source

What's Changed

New Contributors

Full Changelog: 99designs/gqlgen@v0.17.42...v0.17.43

v0.17.42

Compare Source

c811d47e fix: avoid panic from tracing on bad request (#​2871)

This fixes a panic which arises from the tracing components when a request has some defect which results in an error when creating the operation context. The transports consistently handle this by calling DispatchError(graphql.WithOperationContext(ctx, rc), err) where rc is the OperationContext which was not correctly constructed. This seems dangerous, because middleware may assume that if there in an OperationContext in the context.Context than they are being invoked on a normal codepath and can assume their other interceptors have been invoked in the normal order. Also, using a value returned by a function which also returned a non-nil error is very unusual. However, I have no idea what the impact of changing that dangerous behavior in the transports would be, so I opted to make the tracing component more resilient instead.

24ea195c vikstrous/dataloadgen replaces recommended dataloader package in example docs (#​2770)
  • update example for dataloadgen

  • improved example with link to example repo

  • undo unnecessary changes

  • fix wrong signature

  • fix creation of loader

  • Update docs/content/reference/dataloaders.md

42f6e39d Allow fields that return root level definitions (#​2858)
  • generate structs for root level definitions to support fields that return Query, Mutation or Subscription

  • removed unnecessary comment

  • re-ran go generate


  • 682a58d Add go generate for examples so contributors never forget (#​2859)
e080a96d Modify to prevent unreachable code from occurring (#​2846)
  • fix: 型の数でソートする処理を追加

  • 戻し

  • fix: case文の最初にスーパークラスが来ないようにする

  • testdata追加

  • fix: Added sorting by number of types.

  • fix: Prevent superclass from appearing at the beginning of case statement

v0.17.41

Compare Source

5e98a16a fix fieldset.New bug when prefix slice has len < cap (#​2851)
  • fix fieldset.New bug when prefix slice has len < cap

  • ignore gocritic warning

bd9657f3 Improve ResolverImplementer.Implment (#​2850)
  • improve resolver implement render

  • add error when multiple implementors

  • add initial test

cb3c1c89 Updated apollo sandbox (#​2849)

Added all supported options to new window.EmbeddedSandbox object

eb5cea72 Small template fix to save space in the generated file (#​2841)
  • Small template fix to save space in the generated file

  • Re-generate


132ec1ce Updated GraphiQL 3.0.1 => 3.0.6 (#​2837)
  • Updated GraphiQL 3.0.1 => 3.0.6

  • Added unit tests to cover integrity of playgrounds

  • Updated vulnerable dependency

  • Close response body

  • 9174070 v0.17.40 postrelease bump

v0.17.40

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.39...v0.17.40

v0.17.39

Compare Source

What's Changed

New Contributors

Full Changelog: 99designs/gqlgen@v0.17.38...v0.17.39

v0.17.38

Compare Source

What's Changed
New Contributors

Full Changelog: 99designs/gqlgen@v0.17.37...v0.17.38

v0.17.37

Compare Source

153ec470 add uuid type (#​2751) (closes #​2749)
  • add uuid type

  • add uuid example

  • add uuid scalar doc

  • strconv.Quote

  • Apply suggestions from code review

  • fix


fa471180 ForceGenerate parameter to [@​goModel](https://github.com/goModel) added. (#​2780)
  • forceGenerate to docs added

11bb9b18 codegen: add support for `go_build_tags` option in gqlgen.yaml (#​2784)
  • codegen: support go_build_tags option in gqlgen.yaml

  • chore: added test

  • docs/content: update config example

  • chore: more comment

bee47dcf fix flaky test TestSubscriptions (#​2779)
  • fix flaky test TestSubscriptions

  • update other copy of the test

a1ca2204 fix typo in TESTING.md server path (#​2774)

following TESTING.md instructions, I got an error:
"stat ./server/server.go: no such file or directory"

server.go path is: integration/server/cmd/integration/server.go

1cde8c3f return internal types in schema introspection (#​2773)

according to graphql spec:

types: return the set of all named types contained within this schema.
Any named type which can be found through a field of any introspection type must be included in this set.

source: https://github.com/graphql/graphql-spec/blob/main/spec/Section%204%20--%20Introspection.md#the-\__schema-type

some clients libs (like HotChocolate for C#) depends on this behavior.

v0.17.36

Compare Source

60ec0d86 Fix plugin template resolution (#​2733) (closes #​2262)
  • According to the documentation comment for [templates.Options], if the
    Template and TemplateFS fields are empty, it Render should find
    the .gotpl files from the calling plugin. However, it looks like
    helper function. This results in broken behavior in consumers such as
    infiotinc/gqlgenc when they
    use the latest version of gqlgen as instead of finding the template
    from the plugin, the test template from this package is used which
    outputs only: this is my test package.
  • The cause for this is that runtime.Caller was still only skipping
    one stack level which means that it was finding the Render function
    instead of its caller.
febf9566 Make the resolver implementation configurable via a new template resolver.gotpl (#​2720)
  • Make an optional resolver.gotpl ResolverTemplate to implement a custom resolver

  • Add test

  • Add documetation for the new resolver option

  • Change the tab to spaces

  • remove unecessary test assertion :/

bda30260 Fixed Data Loader docs (#​2723)

Also updated to v7

16c9eb64 Fix docs (#​2722)
  • docs: fix variable names in dataloader sample

  • fix: request-scoped middleware

b233a01b docs: update dataloader docs (#​2719)
  • docs: update example

  • docs: update example

  • fix: import

v0.17.35

Compare Source

7880739d Add op ctx safety for apollo tracing (#​2709)
  • Add automated tests for both tracing and tracer to simulate a client disconnect
  • Check for existence of operation context before proceeding to avoid panic

v0.17.34

Compare Source

1a9dbadd Use "No longer supported" as the default deprecationReason for deprecations without a reason specified (#​2692)
  • fix: use "No longer supported" as the default deprecationReason for deprecated fields with no reason specified

  • test: add integration tests to ensure deprecated fields with no reason set get the default reason defined in the spec No longer supported

abc3c627 feat: always use latest apollo sandbox (#​2686)
  • feat: removeDuplicateTags() validates tags and panic with meaningful error message

  • Instead of pinning on _latest without subresource integrity check, update both url and integrity to latest

  • Update graphql/playground/apollo_sandbox_playground.go


3b295bb4 added GoInitialismsConfig which overrides the initialisms to be regarded (#​2683)
  • added GoInitialismsConfig which overrides the initialisms to be regarded

  • typo

  • adjusted examples and documentation

  • removed test with side-effects, adjustend yaml indentations, changed example entry "ID" to "CC" (again? I though I already did that)

  • comply with linter

d5080828 Reworked integration testing using vitest (#​2675)
  • Reworked integration using vitest
    Added SSE client testing
    Fixed SSE Transport parse errors not being sent as event-stream

  • Added defer testing using urql

  • Cleanup unnecessary dependencies

d16f498f fix: issue with extraFields being thrown away (#​2674)
  • fix: issue with extraFields being thrown away

  • Go fumpt on file


  • 71d16aa v0.17.33 postrelease bump

v0.17.33

Compare Source

790a72c1 issue-1372: add custom decode func (#​2666)
  • issue-1372: add custom decode func

  • issue-1372: add custom decode method

  • issue-1372: fix lint

  • issue-1372: add custom decode func

  • issue-1372: add custom decode method

  • issue-1372: fix lint

  • issue-1372: extend functionality by setting up the whole decode config instead of one nested field

  • issue-1372: rollback generated.go file

  • issue-1372: fix lint

c63c60eb Update all modules (#​2667)
  • Update all modules

  • Add gqlparser v2.5.3


4a78eb0c minor cleaning: fix some stricter lint rule warnings (#​2665)
  • Add Changelog notes

  • Some spring cleaning

  • Update golangci-lint to latest


  • 1e925f7 v0.17.32 postrelease bump

v0.17.32

Compare Source

5c19c841 Addressing few issues in defer feature (#​2656)

And fixed hasNext to only appear in the payload when there is deferred usage

  • Regenerate

  • Use go 1.18 compatible atomic operations

  • Regenerate

8e295024 Update extra fields type definition and plus docs about the feature (#​2655)
  • Update extra fields type definition and plus docs about the feature

  • Update docs

adf5da27 Make usage of omitempty tag optional (#​2649)
  • Make usage of omitempty tag optional

  • adding probably good enough test

  • some kinda docs

  • lintersssssssssssssssssssssssssssss

  • removing unnecessary fields from config

22deb8bd allow binding a GraphQL `Any` field to a struct method returning `*any` (#​2644)
  • allow binding GQL Any field to struct method returning *any

  • add singlefile tests for binding to *any case

  • add followschema tests for binding to *any case

  • make ptr_to_any binding tests follow binding conventions better

c313bf3d `[@defer](https://github.com/defer)` initial support (#​2642)
  • support returning errors with deferred fragments.

  • update integration tests.

  • fix gotpl indent and pass the correct context to deferred .Dispatch().

  • Added hasNext in the tests

  • Added back root_.gotpl

  • Regenerate

  • Regenerate recursively

  • Updated schema-expected.graphql

  • Fixed starwars_test.go

  • Cleanup

  • Add graphql response hasnext omitempty and update tests to match


4d945da2 feat(federation): update Apollo Federation v2 definitions (#​2635)
  • feat(federation): update Apollo Federation v2 definitions

Fix Apollo Federation v2 directive definitions:

  • _FieldSet was renamed FieldSet

  • regenerate examples

33fdd1b5 fix enum capitalization (#​2630)
  • fix enum capitalization

  • apply suggestion: adding comment

82a110ce Fix uint32 unmarshal (#​2631)

The string unmarshal for uint32 used ParseInt instead of ParseUint,
which would parse the wrong range of valid numbers.

  • e62a027 Add Changelog entries for v0.17.31

  • f707aa8 v0.17.31 postrelease bump

v0.17.31

Compare Source

395c362b New option to make comments on resolver optional (#​2627)
  • remove 'foo' above resolver

  • regenerate after 6a38697

  • omit resolver template comment

  • re-generate

2ad08fff Bugfix: add missing return statements in GRAPHQL and UrlEncodedForm transports. (#​2625)

Two transports (GRAPHQL and UrlEncodedForm) did not have return
statement at the end of if err block. Instead of returning
a 'could not cleanup body' error, we continued processing.

User still got an error. But instead of early 'could not cleanup'
error, user gor 'Internal system error' which happened a few
lines after the if block.

Tests are added.

v0.17.30

Compare Source

acd4b07f feat: gqlgen ver in generated file notice and entire file notice optional (#​2617)
  • feat: gqlgen ver in filenotice optional

This commit allows the user of gqlgen to configure whether or not the
version of gqlgen used to generate the files is included in the
filenotice/comment header for generated files.

  • feat: filenotice in generated files optional

  • chore: rename config var for omit gqlgen ver in file notice

v0.17.29

Compare Source

7bc1f626 Read gqlgen.yml from io.Reader. (#​2607)
  • Update config.go

Add ReadConfig

  • Add tests

  • Update config_test.go

remove extra space to fix lint checks

  • Update config.go

Need to return the config

50c2829c Transport for application/x-www-form-urlencoded content type (#​2611)
  • Renamed 'form' transport to 'form_multipart'.

There are multiple ways form data can be encoded. 'multipart' is
just one of them - there are also 'application/x-www-form-urlencoded'
(which will be added in next commit) and 'text/plain' encodings.

Let each encoding have it's own form_xxxx file and tests.

  • Adds transport for application/x-www-form-urlencoded content type.

This commit adds transport that handles form POST with content
type set to 'application/x-www-form-urlencoded'.

Form body can be json, urlencoded parameters or plain text.

Example:

 curl -X POST 'http://server/query' -d '{name}' -H "Content-Type: application/x-www-form-urlencoded"

Enable it in your GQL server with:

srv.AddTransport(transport.UrlEncodedForm{})
  • golangci-lint: change ifElseChain to switch.

No other changes but this rewrite to switch.

8b38c0e9 Add on-close handler for websockets. (#​2612)
  • working without test

  • test

45488157 Transport for application/graphql contentType (#​2592)
  • Adds application/graphql transport layer

This commit adds 'application/graphql' transport. It is based
on POST metod and has only the 'query' part in it's body.

See: https://graphql.org/learn/serving-over-http/#post-request and
it's comment about this content-type.

An example of correct application/graphql query is:

curl 'http://host/graphql' -d '{time{now}}' -H "Content-Type: application/graphql"

Some clients prefix body with 'query=':

-d 'query={time{now}}'

Some clients html encode body payload:

-d 'query=%7Btime%7Bnow%7D%7D'

We cleanup both in cleanupBody() method.

Tests are in http_graphql_test.go file.

  • Adds tests for GRAPHQL transport response headers.

GRAPHQL transport (like GET, POST and MULTIPART transports) can
have specific response headers added.

This commit adds tests for it and changes doRequest() method
so that we can set inbound Content-Type. Graphql transport
uses 'application/graphql' content-type and not 'application/json'.

  • Adds GRAPHQL transfer to the documentation.
  • 21054eb Cleanup only non-gqlgen packages when reloading all packages (#​2598)

  • 1c6bf9b v0.17.28 postrelease bump

v0.17.28

Compare Source

db534792 EntityResolver input type fix (#​2594) (closes #​2326)
  • EntityResolver input type fix

the entity resolver may be in a different package (usually model).
The fix is to pull the types.Type of the resolver input, and use
templates.CurrentImports.LookupType in order to render it correctly
(possibly adding another import)

  • entityResolver input type fix: update tests

change testdata/entityresolver/gqlgen.yml to use a dedicated package for
the model (as in the default sample yml), and run go generate.

before the input type fix, generation fails with errors like -
plugin/federation/testdata/entityresolver/generated/federation.go:338:17:
undeclared name: MultiHelloByNamesInput
plugin/federation/testdata/entityresolver/generated/federation.go:354:21:
undeclared name: MultiHelloMultipleRequiresByNamesInput
plugin/federation/testdata/entityresolver/generated/federation.go:362:17:
undeclared name: MultiHelloMultipleRequiresByNamesInput

  • 6da735c feat: removeDuplicateTags() validates tags and panic with meaningful error message (#​2597)
677d854a Allow setting headers in HTTP transports (Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 9e96cda to 233fa0d Compare March 8, 2023 01:05
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.25 Update module github.com/99designs/gqlgen to v0.17.26 Mar 8, 2023
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.26 Update module github.com/99designs/gqlgen to v0.17.27 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 233fa0d to 62c6144 Compare March 20, 2023 19:28
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.27 Update module github.com/99designs/gqlgen to v0.17.28 Apr 4, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 62c6144 to b2364d8 Compare April 4, 2023 03:57
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from b2364d8 to 8f36986 Compare April 11, 2023 23:45
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.28 Update module github.com/99designs/gqlgen to v0.17.29 Apr 11, 2023
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.29 Update module github.com/99designs/gqlgen to v0.17.31 May 28, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 8f36986 to a4acd12 Compare May 28, 2023 10:03
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.31 Update module github.com/99designs/gqlgen to v0.17.32 Jun 6, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from a4acd12 to c53c3e2 Compare June 6, 2023 19:02
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.32 Update module github.com/99designs/gqlgen to v0.17.33 Jun 14, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from c53c3e2 to 4e46e8d Compare June 14, 2023 02:24
@renovate renovate bot changed the title Update module github.com/99designs/gqlgen to v0.17.33 fix(deps): update module github.com/99designs/gqlgen to v0.17.33 Jun 15, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 4e46e8d to 1a1bf7a Compare June 15, 2023 15:08
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.33 fix(deps): update module github.com/99designs/gqlgen to v0.17.34 Jun 24, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 1a1bf7a to 9d0486c Compare June 24, 2023 00:15
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.34 fix(deps): update module github.com/99designs/gqlgen to v0.17.35 Jul 16, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 9d0486c to b46dd5a Compare July 16, 2023 00:59
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from b46dd5a to d39e3b6 Compare July 27, 2023 21:57
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.35 fix(deps): update module github.com/99designs/gqlgen to v0.17.36 Jul 27, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from d39e3b6 to bec6045 Compare August 10, 2023 18:04
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.36 fix(deps): update module github.com/99designs/gqlgen to v0.17.37 Sep 8, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from bec6045 to 4993d50 Compare September 8, 2023 17:27
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.37 fix(deps): update module github.com/99designs/gqlgen to v0.17.38 Sep 19, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 4993d50 to 6dea8ab Compare September 19, 2023 16:16
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 6dea8ab to c968180 Compare October 5, 2023 19:57
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.38 fix(deps): update module github.com/99designs/gqlgen to v0.17.39 Oct 5, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.39 fix(deps): update module github.com/99designs/gqlgen to v0.17.39 - autoclosed Oct 23, 2023
@renovate renovate bot closed this Oct 23, 2023
@renovate renovate bot deleted the renovate/git.luolix.top-99designs-gqlgen-0.x branch October 23, 2023 10:28
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.39 - autoclosed fix(deps): update module github.com/99designs/gqlgen to v0.17.39 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/git.luolix.top-99designs-gqlgen-0.x branch October 23, 2023 16:02
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.39 fix(deps): update module github.com/99designs/gqlgen to v0.17.40 Oct 24, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from c968180 to ac4af7a Compare October 24, 2023 14:07
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.40 fix(deps): update module github.com/99designs/gqlgen to v0.17.41 Dec 4, 2023
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from ac4af7a to b982bd8 Compare December 4, 2023 01:33
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from b982bd8 to 4dec1f0 Compare December 12, 2023 18:09
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 4dec1f0 to 73a19a5 Compare December 30, 2023 02:06
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.41 fix(deps): update module github.com/99designs/gqlgen to v0.17.42 Dec 30, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.42 fix(deps): update module github.com/99designs/gqlgen to v0.17.43 Jan 18, 2024
@renovate renovate bot force-pushed the renovate/git.luolix.top-99designs-gqlgen-0.x branch from 73a19a5 to 7778366 Compare January 18, 2024 17:05
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.43 fix(deps): update module github.com/99designs/gqlgen to v0.17.43 - autoclosed Jan 30, 2024
@renovate renovate bot closed this Jan 30, 2024
@renovate renovate bot deleted the renovate/git.luolix.top-99designs-gqlgen-0.x branch January 30, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants