2018-01-13 03:34:30 -06:00
# [master] yyyy-mm-dd
2018-01-11 19:23:49 -06:00
## Changes
2018-06-07 19:45:42 -05:00
2018-03-28 22:57:28 -05:00
* Changed serialization of `NaiveDate` when using the optional `chronos` support.
2018-01-11 19:23:49 -06:00
2018-03-28 22:57:28 -05:00
**Note:** while this is not a Rust breaking change, if you relied on the serialization format (perhaps by storing serialized data in a database or making asumptions in your client code written in another language) it could be a breaking change for your application.
[#151 ](https://github.com/graphql-rust/juniper/pull/151 )
2018-05-08 02:13:49 -05:00
2018-05-23 02:25:20 -05:00
* The `GraphQLObject` , `GraphQLInputObject` , and `GraphQLEnum` custom derives will reject
2018-06-07 19:45:42 -05:00
invalid [names ](http://facebook.github.io/graphql/October2016/#Name ) at compile time.
2018-05-23 02:25:20 -05:00
[#170 ](https://github.com/graphql-rust/juniper/pull/170 )
2018-05-08 02:13:49 -05:00
* Large integers (> signed 32bit) are now deserialized as floats. Previously,
they produced the "integer out of range" error. For languages that do not
have distinction between integer and floating point types (including
javascript), this means large floating point values which do not have
fractional part could not be decoded (because they are represented without
a decimal part `.0` ).
2018-06-07 19:45:42 -05:00
[#179 ](https://github.com/graphql-rust/juniper/pull/179 )
* The `GraphQLObject` , `GraphQLInputObject` , and `GraphQLEnum` custom derives
now parse doc strings and use them as descriptions. This behavior can be
overridden by using an explicit GraphQL `description` annotation such as
`#[graphql(description = "my description")]` .
[#194 ](https://github.com/graphql-rust/juniper/issues/194 )
2018-07-12 20:24:29 -05:00
* Introduced `IntoFieldError` trait to allow custom error handling
i.e. custom result type. The error type must implement this trait resolving
the errors into `FieldError` .
[#40 ](https://github.com/graphql-rust/juniper/issues/40 )
2018-07-19 08:21:36 -05:00
* `GraphQLType` and `ToInputValue` are now implemented for Arc< T >
[#212 ](https://github.com/graphql-rust/juniper/pull/212 )
2018-08-13 08:53:52 -05:00
* Error responses no longer have a *data* field, instead, error details are stored in the *extensions* field
**Note:** while this is a breaking change, it is a necessary one to better align with the latest [GraphQL June 2018 ](https://facebook.github.io/graphql/June2018/#sec-Errors ) specification, which defines the reserved *extensions* field for error details.
[#219 ](https://github.com/graphql-rust/juniper/pull/219 )
2018-08-27 16:51:12 -05:00
* Due to newer dependencies, the oldest Rust version supported is now 1.22.0
[#231 ](https://github.com/graphql-rust/juniper/pull/231 )