Skip to content

Commit c7bfd1a

Browse files
committed
Fill up CHANGELOGs
1 parent 20d28cb commit c7bfd1a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

juniper/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
9393
- `From` and `Display` implementations are not derived anymore (recommended way is to use [`derive_more` crate] for this).
9494
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros:
9595
- Made provided `from_input()` function to accept `ScalarValue` (or anything `FromScalarValue`-convertible) directly instead of `InputValue`. ([#1327])
96+
- Made provided `to_output()` function to return `ScalarValue` directly instead of `Value`. ([#1330])
9697
- Removed `LocalBoxFuture` usage from `http::tests::WsIntegration` trait. ([4b14c015])
9798

9899
### Added
@@ -112,18 +113,25 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
112113
- `IntoValue` and `IntoInputValue` conversion traits allowing to work around orphan rules with custom `ScalarValue`. ([#1324])
113114
- `FromScalarValue` conversion trait. ([#1329])
114115
- `TryToPrimitive` conversion trait aiding `ScalarValue` trait. ([#1327], [#1329])
116+
- `ToScalarValue` conversion trait. ([#1330])
115117
- `ScalarValue` trait:
116-
- `from_displayable()` method allowing to specialize `ScalarValue` conversion from custom string types. ([#1324], [#819])
118+
- `from_displayable()` and `from_displayable_non_static()` methods allowing to specialize `ScalarValue` conversion from/for custom string types. ([#1324], [#1330], [#819])
117119
- `try_to::<T>()` method defined by default as `FromScalarValue<T>` alias. ([#1327], [#1329])
120+
- `#[derive(ScalarValue)]` macro:
121+
- Support of top-level `#[value(from_displayable_with = ...)]` attribute. ([#1324])
122+
- Support of top-level `#[value(from_displayable_non_static_with = ...)]` attribute. ([#1330])
118123
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros:
119124
- Support for specifying concrete types as input argument in provided `from_input()` function. ([#1327])
120125
- Support for non-`Result` return type in provided `from_input()` function. ([#1327])
121126
- `Scalar` transparent wrapper for aiding type inference in `from_input()` function when input argument is generic `ScalarValue`. ([#1327])
122127
- Generating of `FromScalarValue` implementation. ([#1329])
128+
- Support for concrete and `impl Display` return types in provided `to_output()` function. ([#1330])
129+
- Generating of `ToScalarValue` implementation. ([#1330])
123130

124131
### Changed
125132

126133
- Upgraded [GraphiQL] to [5.0.0 version](https://github.com/graphql/graphiql/blob/graphiql%405.0.0/packages/graphiql/CHANGELOG.md#500). ([#1331])
134+
- Lifted `Sized` requirement from `ToInputValue` conversion trait. ([#1330])
127135

128136
### Fixed
129137

@@ -147,6 +155,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi
147155
[#1324]: /../../pull/1324
148156
[#1327]: /../../pull/1327
149157
[#1329]: /../../pull/1329
158+
[#1330]: /../../pull/1330
150159
[#1331]: /../../pull/1331
151160
[1b1fc618]: /../../commit/1b1fc61879ffdd640d741e187dc20678bf7ab295
152161
[20609366]: /../../commit/2060936635609b0186d46d8fbd06eb30fce660e3

juniper_codegen/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,25 @@ All user visible changes to `juniper_codegen` crate will be documented in this f
2121
- `From` and `Display` implementations are not derived anymore.
2222
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros:
2323
- Made provided `from_input()` function to accept `ScalarValue` directly instead of `InputValue`. ([#1327])
24+
- Made provided `to_output()` function to return `ScalarValue` directly instead of `Value`. ([#1330])
2425

2526
### Added
2627

2728
- `#[derive(ScalarValue)]` macro:
2829
- Support of top-level `#[value(from_displayable_with = ...)]` attribute. ([#1324])
30+
- Support of top-level `#[value(from_displayable_non_static_with = ...)]` attribute. ([#1330])
2931
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros:
3032
- Support for specifying concrete types as input argument in provided `from_input()` function. ([#1327])
3133
- Support for non-`Result` return type in provided `from_input()` function. ([#1327])
32-
- Generating of `FromScalarValue` implementation. ([#1329])
34+
- Generating of `FromScalarValue` implementation. ([#1329])
35+
- Support for concrete and `impl Display` return types in provided `to_output()` function. ([#1330])
36+
- Generating of `ToScalarValue` implementation. ([#1330])
3337

3438
[#1272]: /../../pull/1272
3539
[#1324]: /../../pull/1324
3640
[#1327]: /../../pull/1327
3741
[#1329]: /../../pull/1329
42+
[#1330]: /../../pull/1330
3843
[1b1fc618]: /../../commit/1b1fc61879ffdd640d741e187dc20678bf7ab295
3944

4045

0 commit comments

Comments
 (0)