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

Update Rust crate async-graphql to v7 #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2024

Mend Renovate

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.3

  • Sort schema fields & enums if required #​1475
  • Change the type_name of EmptySubscription 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 of async-trait in most traits. #​1468
  • Upgrade base64 to 0.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

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 to 0.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 and ListAccessor::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 for std::sync::Weak #​1334

v6.0.1

v6.0.0

  • Bump syn from 1.0 to 2.0
  • Bump darling from 0.14 to 0.20
  • Bump indexmap from 1.6.2 to 2
  • 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

#[derive(Interface)]
#[graphql(field(name = "id", ty = "&i32"))] // rename from type to ty
enum Node {
    MyObj(MyObj),
}
  • Change the parameter location of the macro Directive 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 has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Apr 16, 2024

⚠ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants