0.10.0 release (#236)
* Bump` juniper`, `juniper_codegen`, and `juniper_tests` versions. * Bump integration crate requirements to include 0.10.0. `juniper_iron` gets a semver breaking version as it has a breaking change but `juniper_iron` does not. * Move `juniper_rocket` changelog into one file. This aligns with `juniper_iron` and will be easier to automate in the future. * Let `juniper_warp` and `juniper_hyper` use `0.9.x` versions of Juniper. They don't rely on anything in 0.10.0 so don't require it.
This commit is contained in:
parent
842b2e36fe
commit
9c1ce1fb7a
13 changed files with 85 additions and 82 deletions
changelog
juniper
juniper_codegen
juniper_hyper
juniper_iron
juniper_rocket
juniper_tests
juniper_warp
59
changelog/0.10.0.md
Normal file
59
changelog/0.10.0.md
Normal file
|
@ -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)
|
|
@ -1,60 +1,3 @@
|
||||||
# [master] yyyy-mm-dd
|
# [master] yyyy-mm-dd
|
||||||
|
|
||||||
## Changes
|
## 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)
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "juniper"
|
name = "juniper"
|
||||||
version = "0.9.2"
|
version = "0.10.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Magnus Hallin <mhallin@fastmail.com>",
|
"Magnus Hallin <mhallin@fastmail.com>",
|
||||||
"Christoph Herzog <chris@theduke.at>",
|
"Christoph Herzog <chris@theduke.at>",
|
||||||
|
@ -32,7 +32,7 @@ default = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
juniper_codegen = { version = "0.9.2", path = "../juniper_codegen" }
|
juniper_codegen = { version = "0.10.0", path = "../juniper_codegen" }
|
||||||
|
|
||||||
fnv = "1.0.3"
|
fnv = "1.0.3"
|
||||||
indexmap = { version = "1.0.0", features = ["serde-1"] }
|
indexmap = { version = "1.0.0", features = ["serde-1"] }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "juniper_codegen"
|
name = "juniper_codegen"
|
||||||
version = "0.9.2"
|
version = "0.10.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Magnus Hallin <mhallin@fastmail.com>",
|
"Magnus Hallin <mhallin@fastmail.com>",
|
||||||
"Christoph Herzog <chris@theduke.at>",
|
"Christoph Herzog <chris@theduke.at>",
|
||||||
|
|
|
@ -12,7 +12,7 @@ serde = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
url = "1.7"
|
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 = "0.1"
|
||||||
futures-cpupool = "0.1"
|
futures-cpupool = "0.1"
|
||||||
|
@ -24,6 +24,6 @@ tokio = "0.1.8"
|
||||||
reqwest = { git = "https://github.com/seanmonstar/reqwest" }
|
reqwest = { git = "https://github.com/seanmonstar/reqwest" }
|
||||||
|
|
||||||
[dev-dependencies.juniper]
|
[dev-dependencies.juniper]
|
||||||
version = "0.9"
|
version = "0.10.0"
|
||||||
features = ["expose-test-schema", "serde_json"]
|
features = ["expose-test-schema", "serde_json"]
|
||||||
path = "../juniper"
|
path = "../juniper"
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
## [0.2.0] - TBD
|
## [master]
|
||||||
|
|
||||||
|
## [0.2.0] - 2018-09-13
|
||||||
|
|
||||||
### Changed
|
### 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
|
## [0.1.2] - 2018-02-10
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Extend iron support to 0.6
|
- Extend iron support to 0.6
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "juniper_iron"
|
name = "juniper_iron"
|
||||||
version = "0.1.2"
|
version = "0.2.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Magnus Hallin <mhallin@fastmail.com>",
|
"Magnus Hallin <mhallin@fastmail.com>",
|
||||||
"Christoph Herzog <chris@theduke.at>",
|
"Christoph Herzog <chris@theduke.at>",
|
||||||
|
@ -14,7 +14,7 @@ repository = "https://github.com/graphql-rust/juniper"
|
||||||
serde = { version = "1.0.2" }
|
serde = { version = "1.0.2" }
|
||||||
serde_json = { version = "1.0.2" }
|
serde_json = { version = "1.0.2" }
|
||||||
serde_derive = { 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" }
|
urlencoded = { version = ">= 0.5, < 0.7" }
|
||||||
iron = ">= 0.5, < 0.7"
|
iron = ">= 0.5, < 0.7"
|
||||||
|
@ -27,6 +27,6 @@ logger = "0.4"
|
||||||
url = "1.7.1"
|
url = "1.7.1"
|
||||||
|
|
||||||
[dev-dependencies.juniper]
|
[dev-dependencies.juniper]
|
||||||
version = "0.9.2"
|
version = "0.10.0"
|
||||||
features = ["expose-test-schema", "serde_json"]
|
features = ["expose-test-schema", "serde_json"]
|
||||||
path = "../juniper"
|
path = "../juniper"
|
||||||
|
|
|
@ -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
|
# juniper_rocket [0.1.2] 2018-01-13
|
||||||
|
|
||||||
## Changes
|
## Changes
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "juniper_rocket"
|
name = "juniper_rocket"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
authors = [
|
authors = [
|
||||||
"Magnus Hallin <mhallin@fastmail.com>",
|
"Magnus Hallin <mhallin@fastmail.com>",
|
||||||
"Christoph Herzog <chris@theduke.at>",
|
"Christoph Herzog <chris@theduke.at>",
|
||||||
|
@ -14,12 +14,12 @@ repository = "https://github.com/graphql-rust/juniper"
|
||||||
serde = { version = "1.0.2" }
|
serde = { version = "1.0.2" }
|
||||||
serde_json = { version = "1.0.2" }
|
serde_json = { version = "1.0.2" }
|
||||||
serde_derive = { 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 = { version = "0.3.9" }
|
||||||
rocket_codegen = { version = "0.3.9" }
|
rocket_codegen = { version = "0.3.9" }
|
||||||
|
|
||||||
[dev-dependencies.juniper]
|
[dev-dependencies.juniper]
|
||||||
version = "0.9.2"
|
version = "0.10.0"
|
||||||
features = ["expose-test-schema", "serde_json"]
|
features = ["expose-test-schema", "serde_json"]
|
||||||
path = "../juniper"
|
path = "../juniper"
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
# juniper_rocket [master] yyyy-mm-dd
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
Add your changes here...
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "juniper_tests"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
juniper = { version = "0.9.2", path = "../juniper" }
|
juniper = { version = "0.10.0", path = "../juniper" }
|
||||||
serde_json = { version = "1" }
|
serde_json = { version = "1" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -8,7 +8,7 @@ repository = "https://github.com/graphql-rust/juniper"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
warp = "0.1.2"
|
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_json = "1.0.24"
|
||||||
serde_derive = "1.0.75"
|
serde_derive = "1.0.75"
|
||||||
failure = "0.1.2"
|
failure = "0.1.2"
|
||||||
|
@ -17,7 +17,7 @@ futures = "0.1.23"
|
||||||
serde = "1.0.75"
|
serde = "1.0.75"
|
||||||
|
|
||||||
[dev-dependencies]
|
[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"
|
percent-encoding = "1.0"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -8,4 +8,4 @@ warp = "0.1.0"
|
||||||
juniper_warp = { path = "../.." }
|
juniper_warp = { path = "../.." }
|
||||||
env_logger = "0.5.11"
|
env_logger = "0.5.11"
|
||||||
log = "0.4.3"
|
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"] }
|
||||||
|
|
Loading…
Add table
Reference in a new issue