Releases: wundergraph/graphql-go-tools
Releases · wundergraph/graphql-go-tools
v2.0.0-rc.126
2.0.0-rc.126 (2024-11-18)
Bug Fixes
v2.0.0-rc.125
v2.0.0-rc.124
2.0.0-rc.124 (2024-11-16)
Bug Fixes
execution: v1.1.0
1.1.0 (2024-11-14)
Features
- add data source ID to trace (#870) (beb8720)
- add further apollo-compatible error support (#939) (2d08eb6)
- add query plans (#871) (da79d7e)
- expose acquire resolver wait time in loader hooks (#854) (b85148d)
- expose compose method of engine federation config factory (#878) (95e943e)
- improve performance and memory usage of loader & resolbable (#851) (27670b7)
- improve resolve performance by solving merge abstract nodes in postprocessing (#826) (6566e02)
- include subgraph name in ART (#929) (fc0993d)
- rewrite variable renderer to use astjson (#946) (0d2d642)
- subgraph error propagation improvements (#883) (13cb695)
- support multiple pubsub providers (#788) (ea8b3d3)
- validate returned enum values (#936) (7aa4add)
Bug Fixes
- argument and variable validation during execution (#902) (895e332)
- correctly render trace and query plan together (#874) (2fc364f)
- execution validation order, do not reuse planner (#925) (3ffce8b)
- ignore empty errors (#890) (4c5556f)
- improve ws subprotocol selection (1fc0dd9)
- improve ws subprotocol selection (#795) (ad67dbb)
- keep scalar order when merging fields in post processing (#835) (d27fb6e)
- keep unused variables during normalization (#802) (15ae7b3)
- level of null data propagation (#810) (537f4d6)
- merging fields correctly (0dfb6a2)
- merging fields correctly (#836) (3c4cb17)
- merging response nodes (#772) (5e89693)
- planning of provides, parent entity jump, conditional implicit keys, handling of external fields (#818) (fe6ffd6), closes #830 #847
- return empty data when all root fields was skipped (#910) (4607dc0)
- variables normalization for the anonymous operations (#965) (267aef8)
v2.0.0-rc.123
2.0.0-rc.123 (2024-11-14)
Bug Fixes
v2.0.0-rc.122
What's Changed
- fix: processing websockets dials asynchronously by @StarpTech in #831
- feat: improve resolve performance by solving merge abstract nodes in postprocessing by @jensneuse in #826
- chore: improve minify by @jensneuse in #833
- fix: keep scalar order when merging fields in post processing by @jensneuse in #834
- fix: keep scalar order when merging fields in post processing by @jensneuse in #835
- fix: merging fields correctly by @jensneuse in #836
- feat: more efficient use of buffers in http client by @jensneuse in #840
- fix: properly merge representations on the same type but with different nested selections by @devsergiy in #841
- feat: sort arguments and directives on fields, directives on inline fragments by @jensneuse in #842
- fix: improve trigger metrics and do not cancel trigger on subscription completion by @StarpTech in #838
- feat: improve memory management with local buffer caches by @jensneuse in #845
- chore: remove legacy usage of internal JSON Schema validation by @jensneuse in #846
- fix: nil pointer on operation rule valid argument by @jackchuka in #844
- CHORE: Fix minor typos across the repo by @SoulPancake in #849
- fix: JSON block string encoding by @mattjohnsonpint in #843
- feat: improve performance and memory usage of loader & resolbable by @jensneuse in #851
- fix: only set object null if path is not empty by @jensneuse in #852
- fix: return fast when object is nullable in case children are non nullable by @jensneuse in #853
- feat: expose acquire resolver wait time in loader hooks by @StarpTech in #854
- fix: extract default variable into list when variable definition is list and value is non-list by @jensneuse in #856
- fix: include skip with defaults by @jensneuse in #858
- Fix/improve planning time by @devsergiy in #859
- chore: update execution deps and sync workspace by @devsergiy in #862
- feat: expose input list coercion as external module by @jensneuse in #863
- fix: excessive memory usage through pre allocation buffer size too big by @jensneuse in #864
- chore: update readme with packages descriptions by @devsergiy in #867
- chore: wip refactor fetch tree by @jensneuse in #865
- feat: extract nested variables in normalization by @jensneuse in #869
- feat: add data source ID to trace by @jensneuse in #870
- feat: add query plans by @jensneuse in #871
- fix: ensure tools are freed on panic by @StarpTech in #872
- fix: normalizing optional variables with missing value by @devsergiy in #873
- fix: correctly render trace and query plan together by @jensneuse in #874
- Update README.md by @devsergiy in #875
- chore: replace fastjson with forked version astjson by @devsergiy in #877
- feat: expose compose method of engine federation config factory by @devsergiy in #878
- Sergiy/eng 5533 introspection data source does not support typename by @devsergiy in #879
- chore: update astjson by @devsergiy in #880
- fix: planning of provides, parent entity jump, conditional implicit keys, handling of external fields by @devsergiy in #818
- fix panic when there are no available node selection by @devsergiy in #882
- feat: Add configurable size limit for parsers in pool by @jfroundjian in #881
- feat: ensure that correctly parse backslashes by @df-wg in #884
- feat: subgraph error propagation improvements by @StarpTech in #883
- fix: required default value validation by @Aenimus in #888
- fix: gracefully wait for trigger to async shut down subscription by @jensneuse in #889
- fix: ignore empty errors by @devsergiy in #890
- feat: add __typename validation in resolvable by @jensneuse in #891
- feat: add apollo compatibility for valueCompletion by @jensneuse in #893
- chore: place __typename inside entity fragment within entities query by @devsergiy in #894
- fix: planning of consecutive fragments and fragments on union by @devsergiy in #897
- fix: simplify error string by @StarpTech in #896
- fix readme documentation for Validator by @nogates in #895
- fix: allow to collect DS information per operation and ensure corrected errors are passed by @StarpTech in #899
- chore: fix ds info deduplication by @devsergiy in #900
- fix: preserve typename field position during query expanding by @devsergiy in #903
- fix: reset valueCompletion after use by @jensneuse in #904
- fix: goroutine leak and deadlock in ws event loop by @StarpTech in #905
- fix: preserving __typename in a union selection during query rewrite by @devsergiy in #906
- feat: include indirect interface names on field info by @jensneuse in #907
- feat: add apollo compatibility truncate floats by @jensneuse in #908
- fix: return empty data when all root fields was skipped by @devsergiy in #910
- fix: value completion typename errors shape compatibility by @devsergiy in #909
- fix: argument and variable validation during execution by @mattjohnsonpint in #902
- feat: omit custom fields in subgraph errors by @thisisnithin in #912
- fix: remove log by @thisisnithin in #913
- feat: allow list for subgraph error fields by @thisisnithin in #914
- fix: allow path by default in subgraph error by @thisisnithin in #915
- feat: add non-nullable field errors to value completion extension for compatibility mode by @Aenimus in #911
- fix: propogate typenames when inteface field is used by @JivusAyrus in #901
- feat: Add Heartbeat to updater by @df-wg in #916
- feat: add option to suppress fetch errors for apollo compatibility mode by @Aenimus in #919
- Fix/planning conditionally external field by @devsergiy in #920
- fix: provides edge cases by @devsergiy in #923
- fix: execution validation order, do not reuse planner by @devsergiy in #925
- chore: remove quotations from value completion field coordinates by @Aenimus in #927
- fix: extension propagation by @devsergiy in #926
- fix: requires+provides edge case by @devsergiy in #928
- feat: improve planning time by @jensneuse in https://github.com/wundergraph/graphql-go-tools/pu...
v2.0.0-rc.50: feat: support file upload in router (#758)
This PR makes possible to support a file upload according to spec: https://github.com/jaydenseric/graphql-multipart-request-spec With this PR merged to main and released we can discuss and work on PR to support the feature in cosmo router: https://github.com/wundergraph/cosmo/pull/652 Basically, this PR makes possible to pass a temporary file information stored in file system to structures responsible for graphql resolve operation. Additionally, introduces a method in nethttpclient.go to actually perform the multipart http request. --------- Co-authored-by: pedraumcosta <costa@hcx.us> Co-authored-by: thisisnithin <nithinkumar5353@gmail.com>
v1.67.0
Move to new organization, Add repeatable directives, Bump dependencies
What's Changed
- Bump follow-redirects from 1.14.1 to 1.14.9 in /examples/chat by @dependabot in #351
- Bump url-parse from 1.5.1 to 1.5.10 in /examples/chat by @dependabot in #352
- playground: Change to use stdlib embed instead of packr by @tmc in #360
- Bump async from 2.6.3 to 2.6.4 in /examples/chat by @dependabot in #365
- fix plain renderer for string types by @jensneuse in #369
- Feature/add repeatable directives by @jensneuse in #370
- migrate to new repository by @StarpTech in #371
New Contributors
- @tmc made their first contribution in #360
- @StarpTech made their first contribution in #371
Full Changelog: v1.51.0...v1.52.0
extend normalization
It's now possible to remove unused variables via normalization using extra options.
(currently used in the GraphQL DataSource to avoid sending invalid queries to upstreams)