chore(deps): bump github.com/graph-gophers/graphql-go from 1.5.0 to 1.7.1
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(10 months ago)
(10 months ago)
dependencies ci-all-qa-tests auto-merge auto-retest
Bumps github.com/graph-gophers/graphql-go from 1.5.0 to 1.7.1.
Release notes
Sourced from github.com/graph-gophers/graphql-go's releases.
v1.7.1
What's Changed
- [BUGFIX] Reject object, interface, and input object type definitions that declare zero fields/input values (spec compliance) by
@pavelnikolovin graph-gophers/graphql-go#676- [IMPROVEMENT] Optimize overlapping field validation to avoid quadratic memory blowups on large sibling field lists by
@pavelnikolovin graph-gophers/graphql-go#678- [IMPROVEMENT]
SelectedFieldNamesnow returns dot-delimited nested field paths (e.g.products,products.id,products.category,products.category.id). Intermediate container object/list paths are included so resolvers can check for both a branch (products.category) and its leaves (products.category.id).HasSelectedFieldandSortedSelectedFieldNamesoperate on these paths. This aligns behavior with typical resolver projection needs and fixes missing nested selections by@pavelnikolovin graph-gophers/graphql-go#680Full Changelog: https://github.com/graph-gophers/graphql-go/compare/v1.7.0...v1.7.1
v1.7.0
What's Changed
- chore: update golangci-lint ver by
@pavelnikolovin graph-gophers/graphql-go#664- test: fuzz test schema exec by
@pavelnikolovin graph-gophers/graphql-go#666- ci(github): use GitHub actions by
@pavelnikolovin graph-gophers/graphql-go#668- feat(log): add panic logger func by
@pavelnikolovin graph-gophers/graphql-go#669- feat: allow immediate child selected fields introspection in resolvers by
@pavelnikolovin graph-gophers/graphql-go#673Important
The default branch of the repository is now
main. The previous default branch (i.e.master) is still present but will not be updated anymore.Full Changelog: https://github.com/graph-gophers/graphql-go/compare/v1.6.0...v1.7.0
v1.6.0
What's Changed
- Rename EntryPoints to RootOperationTypes by
@obeisin graph-gophers/graphql-go#542- Fix incorrect validation of zero float value by
@agnivadein graph-gophers/graphql-go#547- Add maximum query length schema option by
@pavelnikolovin graph-gophers/graphql-go#494- Update GraphiQL to v2 in examples by
@pavelnikolovin graph-gophers/graphql-go#551- Improve examples by
@pavelnikolovin graph-gophers/graphql-go#557- Separate resolvers for each operation by
@pavelnikolovin graph-gophers/graphql-go#561- Improve comments by
@pavelnikolovin graph-gophers/graphql-go#565- Add executable examples by
@pavelnikolovin graph-gophers/graphql-go#567- Conditionally allow introspection by
@pavelnikolovin graph-gophers/graphql-go#569- Refactor useFieldResolvers by
@pavelnikolovin graph-gophers/graphql-go#575- Add ASTSchema examples by
@pavelnikolovin graph-gophers/graphql-go#576- Add string descriptions example by
@pavelnikolovin graph-gophers/graphql-go#577- Refactor field resolution closer to schema types by
@dackroydin graph-gophers/graphql-go#573- Move GraphQL types to package ast by
@pavelnikolovin graph-gophers/graphql-go#584- Allow directives on schema by
@pavelnikolovin graph-gophers/graphql-go#585- Add an enum example by
@pavelnikolovin graph-gophers/graphql-go#587- Allow fragment on interface by
@pavelnikolovin graph-gophers/graphql-go#589- Rename a variable in a test by
@pavelnikolovin graph-gophers/graphql-go#590- Allow directives in the schema by
@pavelnikolovin graph-gophers/graphql-go#591- Allow directives in schema extensions by
@pavelnikolovin graph-gophers/graphql-go#592- Check for required fields while parsing the schema by
@k4n4ryin graph-gophers/graphql-go#594- Add graphql reflect tag by
@pavelnikolovin graph-gophers/graphql-go#596- Allow func fields by
@pavelnikolovin graph-gophers/graphql-go#599- Remove service field by
@pavelnikolovin graph-gophers/graphql-go#601
... (truncated)
Changelog
Sourced from github.com/graph-gophers/graphql-go's changelog.
CHANGELOG
[v1.7.1]
- [IMPROVEMENT]
SelectedFieldNamesnow returns dot-delimited nested field paths (e.g.products,products.id,products.category,products.category.id). Intermediate container object/list paths are included so resolvers can check for both a branch (products.category) and its leaves (products.category.id).HasSelectedFieldandSortedSelectedFieldNamesoperate on these paths. This aligns behavior with typical resolver projection needs and fixes missing nested selections.- [BUGFIX] Reject object, interface, and input object type definitions that declare zero fields/input values (spec compliance).
- [IMPROVEMENT] Optimize overlapping field validation to avoid quadratic memory blowups on large sibling field lists.
- [FEATURE] Add configurable safety valve for overlapping field comparison count with
OverlapValidationLimit(n)schema option (0 disables the cap). When exceeded validation aborts early with ruleOverlapValidationLimitExceeded. Disabled by default.- [TEST] Add benchmarks & randomized overlap stress test for mixed field/fragment patterns.
v1.7.0 Release v1.7.0
- [FEATURE] Add resolver field selection inspection helpers (
SelectedFieldNames,HasSelectedField,SortedSelectedFieldNames). Helpers are available by default and compute results lazily only when called. An explicit opt-out (DisableFieldSelections()schema option) is provided for applications that want to remove even the minimal context insertion overhead when the helpers are never used.v1.5.0 Release v1.5.0
- [FEATURE] Add specifiedBy directive in #532
- [IMPROVEMENT] In this release we improve validation for primitive values, directives, repeat directives, #515, #516, #525, #527
- [IMPROVEMENT] Fix minor unreachable code caused by t.Fatalf #530
- [BUG] Fix __type queries sometimes not returning data in #540
- [BUG] Allow deprecated directive on arguments by
@pavelnikolovin #541- [DOCS] Add array input example #536
v1.4.0 Release v1.4.0
- [FEATURE] Add basic first step for Apollo Federation. This does NOT include full subgraph specification. This PR adds support only for
_serviceschema level field. This library is long way from supporting the full sub-graph spec and we do not plan to implement that any time soon.v1.3.0 Release v1.3.0
- [FEATURE] Support custom panic handler #468
- [FEATURE] Support interfaces implementing interfaces #471
- [BUG] Support parsing nanoseconds time properly #486
- [BUG] Fix a bug in maxDepth fragment spread logic #492
v1.2.0 Release v1.2.0
- [DOCS] Added examples of how to add JSON map as input scalar type. The goal of this change was to improve documentation #467
v1.1.0 Release v1.1.0
- [FEATURE] Add types package #437
- [FEATURE] Expose
packer.Unmarshalerasdecode.Unmarshalerto the public #450- [FEATURE] Add location fields to type definitions #454
- [FEATURE]
errors.Errorfpreserves original error similar tofmt.Errorf#456- [BUGFIX] Fix duplicated __typename in response (fixes #369) #443
v1.0.0 Initial release
Commits
ae5f988Merge pull request #680 from graph-gophers/selected-subfields1ade1abtest(selections): update selection example02ff008Bump changelog ver to v1.7.1d3e47f5feat(selections): add nested selected paths754f8e9Merge pull request #678 from graph-gophers/optimize-validation7f8ddb1perf(validation): optimize field overlap check5ca91cbMerge pull request #676 from graph-gophers/disallow-empty-field-lists0c87ff7fix: disallow empty field lists2f4ec30Merge pull request #675 from graph-gophers/dependabot/npm_and_yarn/example/fe...e8bb6f1Bump sha.js in /example/federation/integration/gateway- Additional commits viewable in compare view
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
|---|---|
| github.com/graph-gophers/graphql-go | [>= 1.4.a, < 1.5] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-3
Package Dependencies
github.com/graph-gophers/graphql-go
go
1.5.0 → 1.7.1
Minor
Technical Details
| ID: | 5911665 |
| UUID: | 2780629476 |
| Node ID: | PR_kwDOGd6UEM6lvQnk |
| Host: | GitHub |
| Repository: | stackrox/stackrox |
| Merge State: | Unknown |