tauri-plugin-graphql
tauri-plugin-graphql copied to clipboard
Update Rust crate async-graphql to v7
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
async-graphql | dependencies | major | ^5.0.0 -> ^7.0.0 |
Release Notes
async-graphql/async-graphql (async-graphql)
v7.0.7
- Support raw values from serde_json #1554
- The custom directive
ARGUMENT_DEFINITION
is not being output at the appropriate location in SDL #1559 - Support for JSON extended representations of BSON ObjectId and Uuid #1542
- feat: get directives from SelectionField #1548
- Support Directives on Subscriptions #1500
- fix subscription err typo #1556
v7.0.6
- add license files to each project #1523
- Improve alignment of directive behavior with GraphQL spec #1524
- dynamic schema: pass default vals to ResolverContext #1527
- Add altair source #1530
- feat: Add support for using
Interface
andOneofObject
on the same struct #1534
v7.0.5
- Fix compiler and clippy warnings #1501
- Added support for deploying to wasm targets with axum - (without subscriptions) #1517
- Bump opentelemetry (0.21.0 -> 0.22.0) #1513
- Update lru dependency #1504
- Support TypeDirective for ArgumentDefinition, Enum, EnumValue, InputFieldDefinition, InputObject, Interface #1509
- Add
display
attribute for Enum macro #1518
v7.0.3
- Sort schema fields & enums if required #1475
- Change the
type_name
ofEmptySubscription
fix #1435 #1475 - add
Request::set_parsed_query
method #1483 - Upgrade strum to 0.26 #1485
- Fix validation of non-nullable variables with default values #1491
- add
NextExecute::run_with_data
method to attach context data before execution - feat: add registry method in dynamic::Registry #1492
- Allow non-scalars to be used as directive arguments #1493
- fix: add description to __schema introspection result #1489
v7.0.2
- Fix
#[derive(OneofObject)]
rejecting enums where the type comes from a macro subsitution #1473 - Optimize object proc-macro codegen #1470
- Use
impl Future
instead ofasync-trait
in most traits. #1468 - Upgrade
base64
to0.21
#1466 - Standardize space between Args, Lists and Binary items #1392
- feat: support bigdecimal 0.4.x #1358
v7.0.1
- Add
Shareable
Attribute To InputObjectField #1459 - Feature Generic Unions #1424
- Address axum integration compilation error with non-Sync body #1460
- fix: date cursor precision string format #1462
v7.0.0
- upgrade to
http1
- Feature extend ResolveInfo with field attribute #1428
v6.0.11
- Clean up example docs #1411
- Run batch requests concurrently #1420
- Update opentelemetry to
v0.21.x
#1422
v6.0.10
- bump opentelemetry
0.20.0
#1406 - fix check for serial #1405
- fixes complexity visitor
- bump Rocket from
0.5.0-rc.2
to0.5.0-rc.4
v6.0.9
- add support uploading files in dynamic schema #1384
- Include
@composeDirective
in Federation's_service
field and document#[TypeDirective]
#1400
v6.0.7
- initialize source field in tracing extension parse_query method #1367
- test(variables): empty object passes but empty array fails #1377
- Add support for entities without a reference resolver #1378
- Fixes #1356
v6.0.6
- fixed SDL formatting for resolver argument comments regressed #1363
v6.0.5
- Implement exporting argument documentation #1352
- Add
ValueAccessor::as_value
andListAccessor::as_values_slice
methods #1353 - dynamic: fixes key not found when using entity resolver #1362
- fix panic in complexity visitor #1359
- update MSRV to
1.70.0
v6.0.4
- Parse "repeatable" in directive definitions. #1336
- add support
multipart/mixed
request. #1348 - async-graphql-actix-web: add
GraphQL
handler. - async-graphql-axum: add
GraphQL
service.
v6.0.3
- dynamic: fix the error that some methods of
XXXAccessor
return reference lifetimes that are smaller than expected. - dynamic: no longer throws an error if the Query object does not contain any fields but the schema contains entities.
- chore: make accessors public and reexport indexmap #1329
- feat: added
OutputType
implementation forstd::sync::Weak
#1334
v6.0.1
- Clean up example docs #1411
- Run batch requests concurrently #1420
- Update opentelemetry to
v0.21.x
#1422
v6.0.0
- Bump
syn
from1.0
to2.0
- Bump
darling
from0.14
to0.20
- Bump
indexmap
from1.6.2
to2
- Attributes
guard
,process_with
,complexity
support expression or string as value #1295 - Schema (type) level directive support with optional support of federation composeDirective #1308
- Add support for generic structs derriving InputObject and SimpleObject #1313
- chore: trim up some unnecessary code #1324
- Adds
Dataloader::get_cached_values
method to the dataloader cache so that callers can access the contents of the cache without knowing the keys. #1326
Breaking Changes
-
Since
syn 2.0
no longer supports keywords as meta path, rename the parameter used to specify interface field types fromtype
toty
.https://github.com/dtolnay/syn/issues/1458 https://github.com/TedDriggs/darling/issues/238/238
#[derive(Interface)]
#[graphql(field(name = "id", ty = "&i32"))] // rename from type to ty
enum Node {
MyObj(MyObj),
}
- Change the parameter
location
of the macroDirective
to PascalCase
// #[Directive(location = "field")]
#[Directive(location = "Field")]
pub fn lowercase() -> impl CustomDirective {
LowercaseDirective
}
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 was generated by Mend Renovate. View the repository job log.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
Updating crates.io index
error: failed to select a version for `async-graphql`.
... required by package `tauri-plugin-graphql v2.1.0 (/tmp/renovate/repos/github/JonasKruckenberg/tauri-plugin-graphql)`
... which satisfies path dependency `tauri-plugin-graphql` (locked to 2.1.0) of package `app v0.1.0 (/tmp/renovate/repos/github/JonasKruckenberg/tauri-plugin-graphql/examples/preact-app/src-tauri)`
versions that meet the requirements `^7.0.0` are: 7.0.3, 7.0.2, 7.0.1, 7.0.0
the package `tauri-plugin-graphql` depends on `async-graphql`, with features: `uuid08` but `async-graphql` does not have these features.
failed to select a version for `async-graphql` which could resolve this conflict