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.38 #82

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 Type Update Change
github.com/99designs/gqlgen require patch v0.17.24 -> v0.17.38

Release Notes

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

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://togithub.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://togithub.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 (#​2590)

Currently gqlgen sets Content-Type header to 'application/json'. There's
no easy way to change it or add additional headers.

This commit adds struct variable ResponseHeaders that can hold any
headers you want to be returned with response. It is standard
map[string][]string variable.

If user does not set this map, we default to the Content-Type
header with 'application/json' value - nothing will be changed
for existing users.

Usage:

as simple as:

headers := map[string][]string{
    "Content-Type": {"application/json; charset: utf8"},
    "Other-Header": {"dummy-post-header","another-value"},
}

h.AddTransport(transport.POST{ResponseHeaders: headers})

Added tests in transport/headers_test.go.

  • 65ec8b5 Add Changelog entry for v0.17.27

  • a3400ff v0.17.27 postrelease bump

v0.17.27

Compare Source

05500c9d POST transport: missing return and unnecessary logs (#​2584)
  • Add missing return in HTTP POST transport

  • Remove HTTP POST transport logs

622039cb feat: support ApolloSandbox playground (#​2581)
  • feat: support ApolloSandbox playground

  • add initialState to be same behavior as others

  • add docs link of configuration values

v0.17.26

Compare Source

dcd75559 Revert issue 2470 (#​2577) (closes #​2471, #​2523, #​2541)

This reverts commit 5cb6e3e.

  • misspell lint fix

  • cac5f0f Post release version bump for examples

  • 9e9af41 Update Changelog

  • a8f647c v0.17.25 postrelease bump

v0.17.25

Compare Source

c5dfc26b Update lru package (#​2570)
  • update

  • Adjust example go mod and go sum


a9e42e16 Move minimum supported version to Go 1.18 (#​2556)
  • Move minimum supported version to Go 1.18

  • Update matrix to use strings instead of floats

  • Change test to match Go order

  • lint on Go 1.19 and Go 1.20

  • Attempt to limit github action concurrency


01d46b85 Bump undici from 5.14.0 to 5.19.1 in /integration (#​2557)

Bumps undici from 5.14.0 to 5.19.1.


updated-dependencies:

  • dependency-name: undici
    dependency-type: indirect
    ...
cf1607ad Add ability to customize resolvergen behavior using additional plugins (#​2516)
  • Add ability to customize resolvergen behavior using additional plugins

  • Add field.GoResultName()


356f4f90 prepend goTag directive on struct tags and omit overridden duplicate struct tags per #​2514 (#​2533)
  • Change to prepend goTag directive

  • Fix test for field_hooks_are_applied to prepend


5b85e93e fix #​2524 basic alias Byte was not binded properly (#​2528)
  • add tests for defined types as []byte and []rune

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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 66e16f3 to 5d0b60b Compare March 8, 2023 01:15
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.25 fix(deps): update module github.com/99designs/gqlgen to v0.17.26 Mar 8, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.26 fix(deps): update module github.com/99designs/gqlgen to v0.17.27 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 5d0b60b to aba321e Compare March 20, 2023 19:19
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.27 fix(deps): update module github.com/99designs/gqlgen to v0.17.28 Apr 3, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from aba321e to a97da2e Compare April 3, 2023 20:08
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from a97da2e to 9b26812 Compare April 11, 2023 20:24
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.28 fix(deps): update module github.com/99designs/gqlgen to v0.17.29 Apr 11, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 9b26812 to 84bd3ec Compare April 21, 2023 19:38
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.29 fix(deps): update module github.com/99designs/gqlgen to v0.17.30 Apr 21, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 84bd3ec to 0cbbda8 Compare May 11, 2023 03:05
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.30 fix(deps): update module github.com/99designs/gqlgen to v0.17.31 May 11, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.31 fix(deps): update module github.com/99designs/gqlgen to v0.17.32 Jun 6, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 0cbbda8 to 389e3fa Compare June 6, 2023 19:07
@renovate renovate bot changed the title fix(deps): update module github.com/99designs/gqlgen to v0.17.32 fix(deps): update module github.com/99designs/gqlgen to v0.17.33 Jun 13, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 389e3fa to 5e8c58d Compare June 13, 2023 22:58
@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 23, 2023
@renovate renovate bot force-pushed the renovate/github.com-99designs-gqlgen-0.x branch from 5e8c58d to 87b192e Compare June 23, 2023 22:04
@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/github.com-99designs-gqlgen-0.x branch from 87b192e to 18d0282 Compare July 16, 2023 01:50
@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/github.com-99designs-gqlgen-0.x branch from 18d0282 to 854d713 Compare July 27, 2023 21:11
@stale
Copy link

stale bot commented Sep 3, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 3, 2023
@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/github.com-99designs-gqlgen-0.x branch from 854d713 to 63ee76a Compare September 8, 2023 16:48
@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/github.com-99designs-gqlgen-0.x branch from 63ee76a to 5b7c545 Compare September 19, 2023 14:37
@stale stale bot closed this Oct 3, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Oct 3, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v0.17.38). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/github.com-99designs-gqlgen-0.x branch October 3, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants