diff --git a/changelog/0.10.0.md b/changelog/0.10.0.md new file mode 100644 index 00000000..d9ebb9d3 --- /dev/null +++ b/changelog/0.10.0.md @@ -0,0 +1,59 @@ +# [0.10.0] 2018-09-13 + +## Changes + +- Changed serialization of `NaiveDate` when using the optional `chronos` support. + + **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) + +- The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives will reject + invalid [names](http://facebook.github.io/graphql/October2016/#Name) at compile time. + + [#170](https://github.com/graphql-rust/juniper/pull/170) + +- 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`). + + [#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) + +- 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) + +- `GraphQLType` and `ToInputValue` are now implemented for Arc<T> + + [#212](https://github.com/graphql-rust/juniper/pull/212) + +- 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) + +* The `GraphQLObject` and `GraphQLInputObject` custom derives + now support lifetime annotations. + + [#225](https://github.com/graphql-rust/juniper/issues/225) + +* When using the `GraphQLObject` custom derive, fields now be omitted by annotating the field with `#[graphql(skip)]`. + + [#220](https://github.com/graphql-rust/juniper/issues/220) + +* Due to newer dependencies, the oldest Rust version supported is now 1.22.0 + + [#231](https://github.com/graphql-rust/juniper/pull/231) diff --git a/changelog/master.md b/changelog/master.md index d33efe3f..cacd2141 100644 --- a/changelog/master.md +++ b/changelog/master.md @@ -1,60 +1,3 @@ # [master] yyyy-mm-dd ## Changes - -* Changed serialization of `NaiveDate` when using the optional `chronos` support. - - **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) - -* The `GraphQLObject`, `GraphQLInputObject`, and `GraphQLEnum` custom derives will reject - invalid [names](http://facebook.github.io/graphql/October2016/#Name) at compile time. - - [#170](https://github.com/graphql-rust/juniper/pull/170) - -* 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`). - - [#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) - -* 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) - -* `GraphQLType` and `ToInputValue` are now implemented for Arc<T> - - [#212](https://github.com/graphql-rust/juniper/pull/212) - -* 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) - - -* The `GraphQLObject` and `GraphQLInputObject` custom derives - now support lifetime annotations. - - [#225](https://github.com/graphql-rust/juniper/issues/225) - -* When using the `GraphQLObject` custom derive, fields now be omitted by annotating the field with `#[graphql(skip)]`. - - [#220](https://github.com/graphql-rust/juniper/issues/220) - -* Due to newer dependencies, the oldest Rust version supported is now 1.22.0 - - [#231](https://github.com/graphql-rust/juniper/pull/231) diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index be2a1dd0..838c47a2 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "juniper" -version = "0.9.2" +version = "0.10.0" authors = [ "Magnus Hallin <mhallin@fastmail.com>", "Christoph Herzog <chris@theduke.at>", @@ -32,7 +32,7 @@ default = [ ] [dependencies] -juniper_codegen = { version = "0.9.2", path = "../juniper_codegen" } +juniper_codegen = { version = "0.10.0", path = "../juniper_codegen" } fnv = "1.0.3" indexmap = { version = "1.0.0", features = ["serde-1"] } diff --git a/juniper_codegen/Cargo.toml b/juniper_codegen/Cargo.toml index 88149f1a..c70fadfd 100644 --- a/juniper_codegen/Cargo.toml +++ b/juniper_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "juniper_codegen" -version = "0.9.2" +version = "0.10.0" authors = [ "Magnus Hallin <mhallin@fastmail.com>", "Christoph Herzog <chris@theduke.at>", diff --git a/juniper_hyper/Cargo.toml b/juniper_hyper/Cargo.toml index 10285d3d..2a56ca39 100644 --- a/juniper_hyper/Cargo.toml +++ b/juniper_hyper/Cargo.toml @@ -12,7 +12,7 @@ serde = "1.0" serde_json = "1.0" serde_derive = "1.0" url = "1.7" -juniper = { version = "0.9" , default-features = false, path = "../juniper"} +juniper = { version = ">=0.9, 0.10.0" , default-features = false, path = "../juniper"} futures = "0.1" futures-cpupool = "0.1" @@ -24,6 +24,6 @@ tokio = "0.1.8" reqwest = { git = "https://github.com/seanmonstar/reqwest" } [dev-dependencies.juniper] -version = "0.9" +version = "0.10.0" features = ["expose-test-schema", "serde_json"] path = "../juniper" diff --git a/juniper_iron/CHANGELOG.md b/juniper_iron/CHANGELOG.md index 6cee5c0f..ee253871 100644 --- a/juniper_iron/CHANGELOG.md +++ b/juniper_iron/CHANGELOG.md @@ -1,12 +1,13 @@ -## [0.2.0] - TBD +## [master] + +## [0.2.0] - 2018-09-13 ### Changed -* (**breaking**) `context_factory` now returns `IronResult<Context>` instead of `Context`. +- (**breaking**) `context_factory` now returns `IronResult<Context>` instead of `Context`. ## [0.1.2] - 2018-02-10 ### Changed -* Extend iron support to 0.6 - +- Extend iron support to 0.6 diff --git a/juniper_iron/Cargo.toml b/juniper_iron/Cargo.toml index 19b94ea1..7df578ed 100644 --- a/juniper_iron/Cargo.toml +++ b/juniper_iron/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "juniper_iron" -version = "0.1.2" +version = "0.2.0" authors = [ "Magnus Hallin <mhallin@fastmail.com>", "Christoph Herzog <chris@theduke.at>", @@ -14,7 +14,7 @@ repository = "https://github.com/graphql-rust/juniper" serde = { version = "1.0.2" } serde_json = { version = "1.0.2" } serde_derive = { version = "1.0.2" } -juniper = { version = "0.9.2", path = "../juniper" } +juniper = { version = ">=0.9, 0.10.0", path = "../juniper" } urlencoded = { version = ">= 0.5, < 0.7" } iron = ">= 0.5, < 0.7" @@ -27,6 +27,6 @@ logger = "0.4" url = "1.7.1" [dev-dependencies.juniper] -version = "0.9.2" +version = "0.10.0" features = ["expose-test-schema", "serde_json"] path = "../juniper" diff --git a/juniper_rocket/changelog/0.1.2.md b/juniper_rocket/CHANGELOG.md similarity index 89% rename from juniper_rocket/changelog/0.1.2.md rename to juniper_rocket/CHANGELOG.md index b9cd81d0..5d6305c2 100644 --- a/juniper_rocket/changelog/0.1.2.md +++ b/juniper_rocket/CHANGELOG.md @@ -1,3 +1,9 @@ +# [master] + +# juniper_rocket [0.1.3] 2018-09-13 + +- Add `juniper-0.10.0` compatibility. + # juniper_rocket [0.1.2] 2018-01-13 ## Changes diff --git a/juniper_rocket/Cargo.toml b/juniper_rocket/Cargo.toml index b4dc8835..f08611fd 100644 --- a/juniper_rocket/Cargo.toml +++ b/juniper_rocket/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "juniper_rocket" -version = "0.1.2" +version = "0.1.3" authors = [ "Magnus Hallin <mhallin@fastmail.com>", "Christoph Herzog <chris@theduke.at>", @@ -14,12 +14,12 @@ repository = "https://github.com/graphql-rust/juniper" serde = { version = "1.0.2" } serde_json = { version = "1.0.2" } serde_derive = { version = "1.0.2" } -juniper = { version = "0.9.2" , default-features = false, path = "../juniper"} +juniper = { version = ">=0.9, 0.10.0" , default-features = false, path = "../juniper"} rocket = { version = "0.3.9" } rocket_codegen = { version = "0.3.9" } [dev-dependencies.juniper] -version = "0.9.2" +version = "0.10.0" features = ["expose-test-schema", "serde_json"] path = "../juniper" diff --git a/juniper_rocket/changelog/master.md b/juniper_rocket/changelog/master.md deleted file mode 100644 index 8729e3be..00000000 --- a/juniper_rocket/changelog/master.md +++ /dev/null @@ -1,6 +0,0 @@ -# juniper_rocket [master] yyyy-mm-dd - -## Changes - -Add your changes here... - diff --git a/juniper_tests/Cargo.toml b/juniper_tests/Cargo.toml index 04441bf5..563d6ec4 100644 --- a/juniper_tests/Cargo.toml +++ b/juniper_tests/Cargo.toml @@ -3,7 +3,7 @@ name = "juniper_tests" version = "0.1.0" [dependencies] -juniper = { version = "0.9.2", path = "../juniper" } +juniper = { version = "0.10.0", path = "../juniper" } serde_json = { version = "1" } [dev-dependencies] diff --git a/juniper_warp/Cargo.toml b/juniper_warp/Cargo.toml index e04c3164..0782adce 100644 --- a/juniper_warp/Cargo.toml +++ b/juniper_warp/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/graphql-rust/juniper" [dependencies] warp = "0.1.2" -juniper = { path = "../juniper", version = "0.9.2", default-features = false } +juniper = { path = "../juniper", version = ">=0.9, 0.10.0", default-features = false } serde_json = "1.0.24" serde_derive = "1.0.75" failure = "0.1.2" @@ -17,7 +17,7 @@ futures = "0.1.23" serde = "1.0.75" [dev-dependencies] -juniper = { path = "../juniper", version = "0.9.2", features = ["expose-test-schema", "serde_json"] } +juniper = { path = "../juniper", version = "0.10.0", features = ["expose-test-schema", "serde_json"] } percent-encoding = "1.0" [workspace] diff --git a/juniper_warp/examples/warp_server/Cargo.toml b/juniper_warp/examples/warp_server/Cargo.toml index 8c295aa0..b1149ad5 100644 --- a/juniper_warp/examples/warp_server/Cargo.toml +++ b/juniper_warp/examples/warp_server/Cargo.toml @@ -8,4 +8,4 @@ warp = "0.1.0" juniper_warp = { path = "../.." } env_logger = "0.5.11" log = "0.4.3" -juniper = { path = "../../../juniper", version = "0.9.2", features = ["expose-test-schema", "serde_json"] } +juniper = { path = "../../../juniper", version = ">=0.9, 0.10.0", features = ["expose-test-schema", "serde_json"] }