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

fix(deps): update rust crate async-graphql-actix-web to v7 #264

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 6, 2024

This PR contains the following updates:

Package Type Update Change
async-graphql-actix-web dependencies major 5.0 -> 7.0

Release Notes

async-graphql/async-graphql (async-graphql-actix-web)

v7.0.11

v7.0.10

  • add SchemeBuilder.limit_directives method to set the maximum number of directives on a single field.
  • remove needless ?Sized #​1593
  • fix: generate each variant description correctly. #​1589
  • Make From<T> for [Error] set source #​1561
  • feat(graphiql): add support for WS connection params #​1597

v7.0.9

  • add on_ping callback to WebSocket

v7.0.8

  • chore: Make Extensions nullable #​1563
  • expose rejection in async_graphql_axum #​1571
  • Updated crate time to 3.36, as it fixes a compilation error in rust 1.80 #​1572
  • Impl Debug for dynamic::FieldValue & Improve error messages for its methods #​1582
  • Support scraping #[doc = ...] attributes when generating descriptions #​1581
  • add Websocket::keepalive_timeout method to sets a timeout for receiving an acknowledgement of the keep-alive ping.

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 and OneofObject 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 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

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
}

v5.0.10

  • Upgrade opentelemetry to 0.19.0 #​1252
  • Remove internal CursorScalar type and expose Edge::cursor member #​1302

v5.0.9

  • Prevent input check stack overflow #​1293
  • Change batch requests to run concurrently #​1290

v5.0.8

  • Improve documentation on Dataloader #​1282
  • Prevent recursive input type checking from hitting stack overflow #​1284
  • update MSRV to 1.65.0

v5.0.7

  • Disable default-features in workspace.dependencies #​1232
  • Copy edit extensions section of The Book #​1234
  • disable default features for async-graphql in workspace dependencies #​1237
  • chore: make edge field and connection field shareable #​1246
  • Added 3 new fns to the ObjectAccessor. #​1244
  • Dataloader futures lose span context #​1256
  • Propagate ErrorExtensionValues when calling InputValueError.propagate #​1257
  • Correct error string for object in ValueAccessor #​1260

v5.0.6

  • docs: Tweak dataloader example and link to full example #​1194
  • docs: Mention the importance of using dataloader with federation/entities #​1194
  • chore: enable GraphiQL/Playground via feature flag #​1202
  • fix: Export directives to federation SDL so they can be composed. #​1209
  • Fix doc contents details and add AutoCorrect lint to CI. #​1210
  • fix: provide correct type for _service with dynamic schema #​1212
  • feat(subscription): support generics in MergedSubscription types #​1222
  • feat: modify Connection to allow optionally disable nodes field in gql output. #​1218
  • fixes interface type condition query #​1228
  • fixes #​1226
  • update MSRV to 1.64.0

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.

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.

0 participants