Releases: graphql-rust/juniper
Releases · graphql-rust/juniper
Version 0.8.0
Breaking changes ================ * To better comply with the specification, and to avoid weird bugs with very large positive or negative integers, support for `i64` has been completely dropped and replaced with `i32`. `i64` is no longer a valid GraphQL type in Juniper, and `InputValue`/`Value` can only represent 32 bit integers. If an incoming integer is out of range for a 32 bit signed integer type, an error will be returned to the client. ([#52](https://github.com/mhallin/juniper/issues/52), [#49](https://github.com/mhallin/juniper/issues/49)) * Serde has been updated to 1.0. If your application depends on an older version, you will need to first update your application before you can upgrade to a more recent Juniper. ([#43](https://github.com/mhallin/juniper/pull/43)) * `rustc_serialize` support has been dropped since this library is now deprecated. ([#51](https://github.com/mhallin/juniper/pull/51)) New features ============ * A new `rocket-handlers` feature now includes some tools to use the [Rocket](https://rocket.rs) framework. [A simple example](examples/rocket-server.rs) has been added to the examples folder. Bugfixes ======== * A panic in the parser has been replaced with a proper error ([#44](https://github.com/mhallin/juniper/pull/44))
Version 0.7.0
Breaking changes ================ * The `iron-handlers` feature now depends on Iron 0.5 ([#30](https://github.com/mhallin/juniper/pull/30)). Because of this, support for Rust 1.12 has been dropped. It might still work if you're not using the Iron integrations feature, however. New features ============ * Input objects defined by the `graphql_input_object!` can now be used as default values to field arguments and other input object fields.
Version 0.6.3
New features ============ * Add support for default values on input object fields ([#28](https://github.com/mhallin/juniper/issues/28))
Version 0.6.2
New features ============ * The `null` literal is now supported in the GraphQL language. ([#26](https://github.com/mhallin/juniper/pull/26)) * Rustc-serialize is now optional, but enabled by default. If you _only_ want Serde support, include Juniper without default features and enable Serde. ([#12](https://github.com/mhallin/juniper/pull/12)) * The built-in `ID` type now has a public constructor and derives a few traits (`Clone`, `Debug`, `Eq`, `PartialEq`, `From<String>`, `Deref<Target=str>`). ([#19](https://github.com/mhallin/juniper/pull/19)) * Juniper is now built and tested against all Rust compilers since version 1.12.1. Minor breaking change ===================== * Serde has been updated to 0.9. ([#25](https://github.com/mhallin/juniper/pull/25)) Bugfixes ======== * The built-in GraphiQL handler had a bug in variable serialization. ([#16](https://github.com/mhallin/juniper/pull/16)) * The example should now build and run without problems on Windows. ([#15](https://github.com/mhallin/juniper/pull/15)) * Object types now properly implement `__typename`. ([#22](https://github.com/mhallin/juniper/pull/22)) * String variables are now properly parsed into GraphQL enums. ([#17](https://github.com/mhallin/juniper/pull/17))
Version 0.6.1
New features ============ * Optional Serde support (#8) Improvements ============ * The `graphql_input_object!` macro can now be used to define input objects as public Rust structs. * GraphiQL in the Iron GraphiQL handler has been updated to 0.8.1 (#11) Minor breaking changes ====================== Some undocumented but public APIs were changed. * `to_snake_case` correctly renamed to `to_camel_case` (#9) * JSON serialization of `GraphQLError` changed to be more consistent with how other values were serialized (#10).
0.6.0
0.5.3: Fixes and improvements for usability
New features: * Helper trait and macro for producing FieldResults Improvements: * Relax iron handler trait requirements * Let RootNode be Send and Sync if Mutations/Queries are Fixes: * Return statements in field resolver functions caused syntax errors