diff --git a/juniper/CHANGELOG.md b/juniper/CHANGELOG.md index c61c9734..70ba3183 100644 --- a/juniper/CHANGELOG.md +++ b/juniper/CHANGELOG.md @@ -6,6 +6,8 @@ ## Breaking Changes +- Remove deprecated `ScalarValue` custom derive (renamed to GraphQLScalarValue) + - `graphql_union!` macro removed, replaced by `#[graphql_union]` proc macro - ScalarRefValue trait removed diff --git a/juniper/src/lib.rs b/juniper/src/lib.rs index 9f06479b..9062c2a7 100644 --- a/juniper/src/lib.rs +++ b/juniper/src/lib.rs @@ -111,7 +111,6 @@ extern crate uuid; // functionality automatically. pub use juniper_codegen::{ graphql_union, object, GraphQLEnum, GraphQLInputObject, GraphQLObject, GraphQLScalarValue, - ScalarValue, }; // Internal macros are not exported, // but declared at the root to make them easier to use. diff --git a/juniper_codegen/src/lib.rs b/juniper_codegen/src/lib.rs index b2427f7f..f2036079 100644 --- a/juniper_codegen/src/lib.rs +++ b/juniper_codegen/src/lib.rs @@ -106,12 +106,6 @@ pub fn derive_scalar_value(input: TokenStream) -> TokenStream { gen.into() } -#[deprecated(note = "ScalarValue has been renamed to GraphQLScalarValue")] -#[proc_macro_derive(ScalarValue)] -pub fn derive_scalar_value_deprecated(input: TokenStream) -> TokenStream { - derive_scalar_value(input) -} - #[proc_macro_derive(GraphQLScalarValueInternal)] #[doc(hidden)] pub fn derive_scalar_value_internal(input: TokenStream) -> TokenStream {