Skip to content

Commit c4d8766

Browse files
committed
Fill up CHANGELOG for juniper_codegen crate
1 parent b6db430 commit c4d8766

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

juniper_codegen/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,28 @@ All user visible changes to `juniper_codegen` crate will be documented in this f
1010

1111
### BC Breaks
1212

13+
- `#[derive(ScalarValue)]` macro: ([#1327])
14+
- Renamed `#[value(as_bool)]` attribute as `#[value(to_bool)]`.
15+
- Renamed `#[value(as_float)]` attribute as `#[value(to_float)]`.
16+
- Renamed `#[value(as_int)]` attribute as `#[value(to_int)]`.
17+
- Renamed `#[value(as_string)]` attribute as `#[value(to_string)]`.
18+
- Removed `#[value(into_string)]` attribute.
19+
- Removed `#[value(allow_missing_attributes)]` attribute.
20+
- `From` and `Display` implementations are not derived anymore.
21+
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros: ([#1327])
22+
- Made provided `from_input()` function to accept `ScalarValue` directly instead of `InputValue`.
1323
- Bumped up [MSRV] to 1.85. ([#1272], [1b1fc618])
1424

1525
### Added
1626

17-
- Support of top-level `#[value(from_displayable_with = ...)]` attribute in `derive(ScalarValue)`. ([#1324])
27+
- Support of top-level `#[value(from_displayable_with = ...)]` attribute in `#[derive(ScalarValue)]` macro. ([#1324])
28+
- `#[derive(GraphQLScalar)]` and `#[graphql_scalar]` macros: ([#1327])
29+
- Support for specifying concrete types as input argument in provided `from_input()` function.
30+
- Support for non-`Result` return type in provided `from_input()` function.
1831

1932
[#1272]: /../../pull/1272
2033
[#1324]: /../../pull/1324
34+
[#1327]: /../../pull/1327
2135
[1b1fc618]: /../../commit/1b1fc61879ffdd640d741e187dc20678bf7ab295
2236

2337

0 commit comments

Comments
 (0)