Releases: graphql-rust/graphql-client
Releases · graphql-rust/graphql-client
0.15.0
What's Changed
- doc: fix multiple operations example in readme by @obayemi in #497
- style: Remove unused structs by @caspermeijn in #495
- Update reqwest by @Sytten in #499
- fix: Use consistent reference to graphql_client crate in codegen by @cameronpickham in #484
- extend introspection schema to include oneOf and specifiedByURL by @jimmystewpot in #501
- style: Remove explicit lifetimes by @caspermeijn in #504
- Fix RUSTSEC-2022-0074 / GHSA-gfgm-chr3-x6px moderate security issue in examples by @jimmystewpot in #502
- build(deps): update
heckto 0.5 by @caspermeijn in #503 - Allow using
#[derive(GraphQLQuery)]without depending on serde by @swlynch99 in #487 - ci: Use explicit clippy version by @caspermeijn in #505
- codegen: enable ids to be deserialized from strings or integers by @willfindlay in #476
- refs #439. Fix skip_serializing_none for root level variables by @elimirks in #485
- split rustfmt and clippy checks into separate jobs by @danieleades in #472
- Add MSRV check to CI by @danieleades in #465
- chore(deps): bump clap from 3.2.25 to 4.5.27 by @danieleades in #514
- Upgrade Syn and add cli option for extern enums by @jimmystewpot in #520
- codegen: fix required ID deserialization by @ajwerner in #523
- Update dependency env_logger from 0.6 to 0.10.2 by @jimmystewpot in #521
- fix formatting by @danieleades in #526
- chore(deps): bump tokio from 1.43.0 to 1.44.2 by @dependabot[bot] in #534
- chore(deps): bump openssl from 0.10.69 to 0.10.72 by @dependabot[bot] in #532
- Add support for custom variable and response types by @markrileybot in #536
- Correctly set minimal versions for graphql_client by @DanielVoogsgerd in #541
- feat: Adding deprecation fields to InputValue by @lpessoa in #553
- Add changelog ahead of 0.15.0 by @tomhoule in #557
- Release 0.15.0 by @tomhoule in #558
New Contributors
- @obayemi made their first contribution in #497
- @caspermeijn made their first contribution in #495
- @Sytten made their first contribution in #499
- @cameronpickham made their first contribution in #484
- @jimmystewpot made their first contribution in #501
- @swlynch99 made their first contribution in #487
- @willfindlay made their first contribution in #476
- @elimirks made their first contribution in #485
- @ajwerner made their first contribution in #523
- @dependabot[bot] made their first contribution in #534
- @markrileybot made their first contribution in #536
- @DanielVoogsgerd made their first contribution in #541
- @lpessoa made their first contribution in #553
Full Changelog: 0.14.0...0.15.0
2018 edition, web feature in graphql_client
See CHANGELOG.md for details.
graphql_client_web initial release, CLI improvements, fixes
0.6.0 Move examples directory back to the repo root
0.5.0
Custom scalars, arbitrary custom derives, operation selection and bug fixes
There are a number of breaking changes due to the new features, read the Added section attentively if you are upgrading.
Added
- (breaking) Control over which types custom scalars deserialize to is given to the user: you now have to provide type aliases for the custom scalars in the scope of the struct under derive.
- (breaking) Support for multi-operations documents. You can select a particular operation by naming the struct under derive after it. In case there is no match, we revert to the current behaviour: select the first operation.
- (breaking) Support arbitrary derives on the generated response types via the response_derives option on the graphql attribute. If you were relying on the Debug impl on generated structs before, you need to add response_derives = "Debug" in the #[graphql()] attributes in your structs.
Fixed
Fixed codegen of fields with leading underscores - they were ignored, leading to wrong derived types for deserialization.
Better documentation, error extensions, bug fixes
See the changelog for more details.
Subscriptions and rustdoc support
See CHANGELOG.md
Initial release
See CHANGELOG.md