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 to v3 #4

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 16, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
async-graphql dependencies major 2.11 -> 3.0

Release Notes

async-graphql/async-graphql

v3.0.38

  • Update Axum integration to Axum 0.5.1 #​883
  • Support macro type in enum variant. #​884
  • Introduce process_with for input object #​817
  • Add MaybeUndefined::update_to method. #​881

v3.0.37

  • Panics when the same Rust type has the same name. #​880

v3.0.36

  • Generate @deprecated to SDL. #​874
  • Expose Connection::edges. #​871

v3.0.35

  • Make HashMap more generics for InputOutput and OutputType.
  • Add support group attribute to Object/SimpleObject/ComplexObject/Subscription macros. #​838
  • Fixed recursive generic input objects failing to compile. #​859
  • Add ErrorExtensionValues::get method. #​855

v3.0.34

  • Export @oneOf directive to SDL when Oneof type is defined. #​766

v3.0.33

  • Add support for oneof field on object. #​766

v3.0.31

  • Add OneOfObject macro to support for oneof input object.
  • Bump actix-web from 4.0.0-rc.2 to 4.0.0-rc.3.

v3.0.30

  • Implement ScalarType for time::Date. #​822

v3.0.29

  • Pass context to resolvers with flatten attribute. #​813
  • Add support for using both ComplexObject and InputObject.
  • Bump Actix-web from 4.0.0-beta.19 to 4.0.0-rc.2.

v3.0.28

  • Implement InputType and OutputType for Box<[T]> and Arc<[T]>. #​805

v3.0.27

  • Fix possible stack overflow in validator, thanks @​quapka.

v3.0.26

  • Add skip_input attribute to InputObject macro, skip_output attribute to SimpleObject macro.

v3.0.25

  • Fixed some integrations overwritten HTTP headers. #​793
  • Fixed variable type not checked when given a default value. #​795

v3.0.24

  • Remove 'static bound for impl From<T> for Error.

v3.0.23

  • Bump hashbrown from 0.11.2 to 0.12.0.
  • Implement InputType for Box<str> and Arc<str>. #​792
  • Add scalars for the time crate's datetime types. #​791
  • Add DataContext trait. #​786

[3.0.22] 2022-1-11

  • Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #​533
  • Actix integration: cbor response support + error handling improvements #​784

[3.0.21] 2022-1-11

  • Add Union and Interface support for trait objects. #​780

[3.0.20] 2022-1-5

  • Bump lru to 0.7.1. #​773
  • Align indexmap version to 1.6.2. #​776
  • Bump actix-web from 4.0.0-beta.18 to 4.0.0-beta.19.
  • Fix the generic SimpleObject can't define the lifetimes. #​774

[3.0.19] 2021-12-28

  • Add InputType / OutputType support for hashbrown crate.
  • Bump actix-web from 4.0.0-beta.14 to 4.0.0-beta.18. #​768

[3.0.18] 2021-12-26

[3.0.17] 2021-12-16

  • Bump poem to 1.2.2.

[3.0.16] 2021-12-16

  • Bump poem to 1.2.1.

[3.0.15] 2021-12-12

  • Bump actix-web from 4.0.0-beta.11 to 4.0.0-beta.14.

[3.0.14] 2021-12-06

  • [async-graphql-axum] bump axum from 0.3 to 0.4.

[3.0.13] 2021-12-06

  • No longer assumes that a subscription stream that failed to resolve has ended. #​744
  • Rework to implement InputType and OutputType for HashMap and BTreeMap.

[3.0.12] 2021-12-05

  • Fix possible deadlock in dataloader. #​555
  • Add some helper methods for BatchRequest.
    • BatchRequest::iter
    • BatchRequest::iter_mut
    • BatchRequest::variables
    • BatchRequest::data
    • BatchRequest::disable_introspection
  • Fix implicit interfaces not being exposed via the __schema introspection. #​741

[3.0.11] 2021-12-02

  • Fix panic on f32-64::INFINITE/f32-64::NEG_INFINITE/f32-64::NAN output. #​735

[3.0.10] 2021-11-30

  • Fix the custom validator cannot work on Option<Vec<T>>.

[3.0.9] 2021-11-30

  • Fix the validator cannot work on Option<Vec<T>>.

[3.0.8] 2021-11-30

  • #[graphql(validator(list))] no longer applies to max_items and min_items.
  • Implement InputValue/OutputValue for serde_json::Value.
  • Add support for SmolStr via a feature. #​730

[3.0.7] 2021-11-23

  • Fix error extensions cause stack overflow. #​719

[3.0.6] 2021-11-19

  • Custom directives. Book

[3.0.5] 2021-11-19

  • Remove skipped fields from the document before executing the query.
  • Add isRepeatable field to __Directive - [GraphQL - October 2021]

[3.0.4] 2021-11-18

  • Remove OutputJson because Json can replace it.
  • Allowed use validators on wrapper types, for example: Option<T>, MaybeUnefined<T>.

[3.0.3] 2021-11-18

  • [integrations] Make GraphQLWebSocket::new use generic stream.
  • [integrations] Add GraphQLWebSocket::new_with_pair method.

[3.0.2] 2021-11-16

  • Add url, regex and ip validators.

[3.0.1] 2021-11-17

  • Remove the ctx parameter of CustomValidator::check. #​710

[3.0.0-alpha.2] 2021-11-16

  • Change the signature of the connection::query function to allow the callback to use any type that implements Into<Error>.
  • Remove ResolverError and use Error::new_with_source instead.
  • Add ErrorExtensionValues::unset method.
  • Use the SimpleObject macro and the InputObject macro at the same time.
  • Types that are not referenced will be hidden in introspection.
  • Make the API of integrations is more consistent.
  • Remove async-graphql-tide.
  • Rework validators. Book
  • Rework guards. Book

[2.11.3] 2021-11-13

  • Implemented CursorType for i32/i64. #​701
  • An error is returned when the number fails to parse. #​704
  • Fix Federation entity union is empty during schema introspection. #​700

[2.11.2] 2021-11-11

  • Fix the problem that EmptyMutation may cause when used in MergedObject. #​694
  • If a GraphQL name conflict is detected when creating schema, it will cause panic. #​499

[2.11.1] 2021-11-07

  • Add chrono::Duration custom scalar. #​689
  • Implement From<Option<Option<T>>> for MaybeUndefined<T>.
  • Add MaybeUndefined::as_opt_ref, MaybeUndefined::as_opt_deref, MaybeUndefined::map, MaybeUndefined::map_value, MaybeUndefined::contains, MaybeUndefined::contains_value, and MaybeUndefined::transpose methods.
  • Made MaybeUndefined::is_undefined, MaybeUndefined::is_null, MaybeUndefined::is_value, MaybeUndefined::value and MaybeUndefined::as_opt_ref const.
  • Add ResolverError type. #​671
  • [async-graphql-axum] Bump axum from 0.2.5 to 0.3.
  • [async-graphql-poem] Export the HTTP headers in the Context.

[2.11.0] 2021-11-03

  • Use Rust 2021 edition.
  • Subscription typename - [GraphQL - October 2021] #​681
  • Allow directive on variable definition - [GraphQL - October 2021] #​678
  • Specified By - [GraphQL - October 2021] #​677
  • Add specified_by_url for Tz, DateTime<Tz>, Url, Uuid and Upload scalars.
  • Number value literal lookahead restrictions - [GraphQL - October 2021] #​685

[2.10.8] 2021-10-26

  • [async-graphql-poem] Bump poem to 1.0.13.

[2.10.6] 2021-10-26

  • Add derived for object & simple object & complex object. #​667 #​670
  • Respect query object field order. #​612

[2.10.5] 2021-10-22

  • Bump poem from 0.6.6 to 1.0.7.

[2.10.4] 2021-10-22

  • Implement Default for ID #​659.
  • Implement ScalarType for bson::Bson and bson::Document. #​661
  • Add CharsMinLength and CharsMaxLength validators. #​656
  • Fix the Subscription macro to work on Rust 2021. #​665

[2.10.3] 2021-10-12

  • Add visible macro argument for union type. #​655

[2.10.2] 2021-09-29

  • Add concrete names support for Object macro. #​633
  • Add Lookahead::selection_fields method. #​643

[2.10.1] 2021-09-24

  • Add DataLoader::enable_all_cache and DataLoader::enable_cache methods. #​642
  • Change the execution order of chain and race guards. #​614
  • Change log level from error to info. #​518

[2.10.0] 2021-09-17

  • Add support for graphql-ws pings. #​635
  • Add feature gate websocket for async-graphql-tide. #​636
  • Implement GraphQL enum to Value conversion. #​617
  • Implement ScalarType for HashMap/BTreeMap to use ToString/FromStr. #​585

[2.9.15] 2021-09-10

  • Added Axum error handling. #​629
  • Bump bson from 2.0.0-beta.1 to 2.0.0. #​628

[2.9.14] 2021-09-03

[2.9.13] 2021-09-01

[2.9.12] 2021-08-24

  • Add integration for Poem.
  • Ignore items flagged @skip in SelectionField and Lookahead. #​605

[2.9.11] 2021-08-22

  • Implement From<MaybeUndefined<T>> for Option<Option<T>>. #​599
  • Add human readable for serializer. #​604

[2.9.10] 2021-08-05

  • Change GraphQLPlaygroundConfig::with_setting to accept impl Into<Value> #​583
  • Remove unnecessary unwrap in multipart handler #​594

[2.9.9] 2021-07-20

  • Add binary types to ConstValue and Value. #​569
  • Implemented OutputType for Bytes.
  • Changed Lookahead to support multiple fields. #​574
  • Implement TryFrom<&[SelectionField<'a>]> for Lookahead<'a>. #​575
  • Attach custom HTTP headers to the response when an error occurs. #​572
  • Allow field visible to support paths. #​578
  • Add list attribute to the input value validator. #​579

[2.9.8] 2021-07-12

  • Add Extensions in Error of InputValueValidator. #​564

  • Fix SDL print is not stable. #​547

[2.9.7] 2021-07-04

  • Add support for generic ComplexObject. #​562

[2.9.6] 2021-07-02

  • Implement From<SelectionField> for Lookahead. #​557

  • Add Decimal scalar (from rust_decimal crate) #​559

[2.9.5] 2021-06-29

  • Allows to get the actual field name and alias in ResolveInfo. #​551

[2.9.4] 2021-06-21

  • Fix the bug that MergedObject may cause panic. #​539

[2.9.3] 2021-06-17

  • Bump upstream crate bson from v1.2.0 to v2.0.0-beta.1. #​516

  • Add serial attribute for Object, SimpleObject and MergedObject macros. #​539

  • Remove the static constraint of the receive_body and receive_batch_body functions. #​544

  • Implement InputType and OutputType for [T; N] array.

[2.9.2] 2021-06-10

  • Allow field guards to support paths. #​536

  • Add the operation_name to Extension::execute method. #​538

[2.9.1] 2021-06-08

  • Rework error propagation. #​531

[2.9.0] 2021-06-07

  • Add support for returning multiple resolver errors. #​531

  • Bump upstream crate multer from v1.2.2 to v2.0.0.

  • Aligned NaiveDateTime formatting with DateTime. #​535

[2.8.6] 2021-06-01

  • Allow the ability to set GraphQL Playground settings. #​508

  • WebSocket is now generic in graphql_subscription_upgrade functions. #​530

  • Removed Copy trait from initializer in graphql_subscription_with_data. #​530

[2.8.5] 2021-05-11

  • If InputObject contains an unnamed field, the correct error message will be given. #​498

  • Added Websocket::with_message_stream for client message customization. #​501

  • Added the Secret type using secrecy crate.

[2.8.4] 2021-04-23

  • Fix the problem that the ComplexObject macro cannot work due to the secret attribute.

[2.8.3] 2021-04-12

  • Fixed an error in exporting Federation SDL.

[2.8.2] 2021-04-09

  • Now when the resolver returns the Result type, E can be all types that implement async_graphql::Into<Error>.

[2.8.1] 2021-04-08

Fixed
  • Fix stack overflow during Registry::create_type for recursive type while running Schema::build. #​474
Added
  • Add secret attribute for arguments, they will not appear in the log.
#[Object]
impl Query {
    async fn login(&self, username:String, #[graphql(secret)] password: String) -> i32 {
        todo!()
    }
}

[2.8.0] 2021-04-05

Changed
  • Rework Extension, now fully supports asynchronous, better to use than before, and can achieve more features, it contains a lot of changes. (if you don't have a custom extension, it will not cause the existing code to fail to compile)
Added
  • Add async_graphql_warp::graphql_protocol, async_graphql_warp::graphql_subscription_upgrade and async_graphql_warp::graphql_subscription_upgrade_with_data to control WebSocket subscription more finely.

[2.7.4] 2021-04-02

  • Add the BuildHasher generic parameter to dataloader::HashMapCache to allow custom hashing algorithms. #​455

[2.7.3] 2021-04-02

Added

  • Add cache support for DataLoader. #​455
  • Implements ScalarType for serde_json::Value.
  • Add SelectionField::alias and SelectionField::arguments methods.

Fixed

  • Prevent Warp WS Close, Ping, and Pong messages from being parsed as GraphQL #​459
  • Fix Schema::sdl() does not include subscription definitions. #​464

[2.7.2] 2021-04-01

Removed

  • Remove SchemaBuilder::override_name method. #​437

Added

  • Add name and visible attributes for Newtype macro for define a new scalar. #​437
  • NewType macro now also implements From<InnerType> and Into<InnerType>.

[2.7.1] 2021-03-31

  • Add Request::disable_introspection method. #​456

[2.7.0] 2021-03-27

Fixed

  • Fix chrono-tz integration. #​452

Changed

  • Rework Extension & TracingExtension & OpenTelemetryExtension

[2.6.5] - 2021-03-24

  • In websocket, if the client sends start before connection_init, the connection will be immediately disconnected and return 1011 error. #​451

[2.6.4] - 2021-03-22

  • Fix docs.

[2.6.3] - 2021-03-22

Added
  • Add extension::OpenTelemetry.
Removed
  • Remove TracingConfig, now Request span always takes the current span as the parent, so this option is no longer needed.
  • Remove multipart feature.
Changed
  • Now all features are not activated by default.

[2.6.2] - 2021-03-20

  • Add SchemaBuilder::enable_subscription_in_federation method. #​449

[2.6.1] - 2021-03-19

  • Fix tracing extension doesn't work with async code. #​448

[2.6.0] - 2021-03-18

[2.5.14] - 2021-03-14

  • Add DataLoader::loader method. #​441
  • Fix the validation does not work on some inline fragments.

[2.5.13] - 2021-03-09

  • Support generics in Subscription types. #​438

[2.5.12] - 2021-03-09

  • Remove unnecessary Box from WebSocket messages.
  • Export subscription type to Federation SDL. (for GraphGate 😁)
  • Add extends attribute for derive macros Subscription and MergedSubscription.
  • Add SchemaBuilder::override_name method. #​437

[2.5.11] - 2021-03-07

  • Execute _entity requests in parallel. #​431

[2.5.10] - 2021-03-06

  • Add descriptions for the exported Federation SDL.

[2.5.9] - 2021-02-28

Changed
  • Moved Variables from async_graphql::context::Variables to async_graphql::Variables.

[2.5.8] - 2021-02-27

Added
  • Allow the deprecation attribute to have no reason.

    #[derive(SimpleObject)]
    struct MyObject {
        #[graphql(deprecation)]
        a: i32,
    
        #[graphql(deprecation = true)]
        b: i32,
    
        #[graphql(deprecation = false)]
        c: i32,
    
        #[graphql(deprecation = "reason")]
        d: i32,
    }

[2.5.7] - 2021-02-23

Fixed
  • Fix the problem that the borrowing lifetime returned by the Context::data function is too small.

[2.5.6] - 2021-02-23

Changed
  • When introspection is disabled, introspection related types are no longer registered.

[2.5.5] - 2021-02-22

Added

[2.5.4] - 2021-02-15

Fixed
  • Fixed the error that the directive locations FIELD_DEFINITION and ENUM_VALUE cannot be parsed.

[2.5.3] - 2021-02-13

Fixed

[2.5.2] - 2021-02-06

Added
Fixed
  • Fixed the bug that can accept subscription requests during the initialization of WebSocket.
  • Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #​406

v3.0.22

  • Add support flatten attribute for SimpleObject, ComplexObject and Object macros. #​533
  • Actix integration: cbor response support + error handling improvements #​784

v3.0.21

  • Add Union and Interface support for trait objects. #​780

v3.0.20

  • Bump lru to 0.7.1. #​773
  • Align indexmap version to 1.6.2. #​776
  • Bump actix-web from 4.0.0-beta.18 to 4.0.0-beta.19.
  • Fix the generic SimpleObject can't define the lifetimes. #​774

v3.0.19

  • Add InputType / OutputType support for hashbrown crate.
  • Bump actix-web from 4.0.0-beta.14 to 4.0.0-beta.18. #​768

v3.0.18

v3.0.17

  • Bump poem to 1.2.2.

v3.0.16

  • Bump poem to 1.2.1.

v3.0.15

Compare Source

  • Bump actix-web from 4.0.0-beta.11 to 4.0.0-beta.14.

v3.0.14

  • [async-graphql-axum] bump axum from 0.3 to 0.4.

v3.0.13

  • No longer assumes that a subscription stream that failed to resolve has ended. #​744
  • Rework to implement InputType and OutputType for HashMap and BTreeMap.

v3.0.12

Compare Source

  • Fix possible deadlock in dataloader. #​555
  • Add some helper methods for BatchRequest.
    • BatchRequest::iter
    • BatchRequest::iter_mut
    • BatchRequest::variables
    • BatchRequest::data
    • BatchRequest::disable_introspection
  • Fix implicit interfaces not being exposed via the __schema introspection. #​741

v3.0.11

Compare Source

  • Fix panic on f32-64::INFINITE/f32-64::NEG_INFINITE/f32-64::NAN output. #​735

v3.0.10

Compare Source

  • Fix the custom validator cannot work on Option<Vec<T>>.

v3.0.9

Compare Source

  • Fix the validator cannot work on Option<Vec<T>>.

v3.0.8

Compare Source

  • #[graphql(validator(list))] no longer applies to max_items and min_items.
  • Implement InputValue/OutputValue for serde_json::Value.
  • Add support for SmolStr via a feature. #​730

v3.0.7

Compare Source

  • Fix error extensions cause stack overflow. #​719

v3.0.6

Compare Source

  • Custom directives. Book

v3.0.5

Compare Source

  • Remove skipped fields from the document before executing the query.
  • Add isRepeatable field to __Directive - [GraphQL - October 2021]

v3.0.4

Compare Source

  • Remove OutputJson because Json can replace it.
  • Allowed use validators on wrapper types, for example: Option<T>, MaybeUnefined<T>.

v3.0.3

Compare Source

  • Update Axum integration to Axum 0.5.1 #​883
  • Support macro type in enum variant. #​884
  • Introduce process_with for input object #​817
  • Add MaybeUndefined::update_to method. #​881

v3.0.2

Compare Source

  • Pass context to resolvers with flatten attribute. #​813
  • Add support for using both ComplexObject and InputObject.
  • Bump Actix-web from 4.0.0-beta.19 to 4.0.0-rc.2.

v3.0.1

Compare Source

  • Add InputType / OutputType support for hashbrown crate.
  • Bump actix-web from 4.0.0-beta.14 to 4.0.0-beta.18. #​768

v3.0.0

Compare Source

  • Change the signature of the connection::query function to allow the callback to use any type that implements Into<Error>.
  • Remove ResolverError and use Error::new_with_source instead.
  • Add ErrorExtensionValues::unset method.
  • Use the SimpleObject macro and the InputObject macro at the same time.
  • Types that are not referenced will be hidden in introspection.
  • Make the API of integrations is more consistent.
  • Remove async-graphql-tide.
  • Rework validators. Book
  • Rework guards. Book

v2.11.3

Compare Source

  • Implemented CursorType for i32/i64. #​701
  • An error is returned when the number fails to parse. #​704
  • Fix Federation entity union is empty during schema introspection. #​700

v2.11.2

Compare Source

  • Fix the problem that EmptyMutation may cause when used in MergedObject. #​694
  • If a GraphQL name conflict is detected when creating schema, it will cause panic. #​499

v2.11.1

Compare Source

  • Add chrono::Duration custom scalar. #​689
  • Implement From<Option<Option<T>>> for MaybeUndefined<T>.
  • Add MaybeUndefined::as_opt_ref, MaybeUndefined::as_opt_deref, MaybeUndefined::map, MaybeUndefined::map_value, MaybeUndefined::contains, MaybeUndefined::contains_value, and MaybeUndefined::transpose methods.
  • Made MaybeUndefined::is_undefined, MaybeUndefined::is_null, MaybeUndefined::is_value, MaybeUndefined::value and MaybeUndefined::as_opt_ref const.
  • Add ResolverError type. #​671
  • [async-graphql-axum] Bump axum from 0.2.5 to 0.3.
  • [async-graphql-poem] Export the HTTP headers in the Context.

Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

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.

1 participant