Skip to content

Commit 862a1f8

Browse files
committed
Update CHANGELOG and contributors
1 parent d3e855e commit 862a1f8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3838

3939
- The CLI now supports the `--authorization` flag to pass the contents of an `Authorization` header. Thanks to @h-michael for the [PR](https://github.com/tomhoule/graphql-client/pull/92)!
4040

41-
- Improved some codegen error messages, giving more context. Thank @mathstuf!
41+
- Improved some codegen error messages, giving more context. Thanks @mathstuf!
4242

43-
- Aliases in queries are now supported.
43+
- Aliases in queries are now supported. Beyond the ergonomics, this is an important feature since it allows to query the same field on an object multiple times with different arguments, as shown in the [official guide](https://graphql.org/learn/queries/#aliases). Thanks a lot @mathstuf!
4444

45-
- The traits in `response_derives` are now used for input types as well.
45+
- The traits in `response_derives` are now used for input types (variables) as well. In the future we may want to separate the options, but we will first experiment this way.
46+
47+
- Most of the `graphql-query-derive` crate was factored out into a new `graphql-client-codegen` crate that should enable code generation through means other than custom derives (CLI, build scripts...). Thanks @h-michael for this important refactoring!
4648

4749
### Fixed
4850

4951
- Handle all Rust keywords as field names in codegen by appending `_` to the generated names, so a field called `type` in a GraphQL query will become a `type_` field in the generated struct. Thanks to @scrogson!
5052

53+
- [Some error message improvements](https://github.com/tomhoule/graphql-client/pull/100).
54+
5155
## [0.4.0] - 2018-08-23
5256

5357
There are a number of breaking changes due to the new features, read the `Added` section attentively if you are upgrading.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Warmest thanks to all those who contributed in any way (not only code) to this p
150150
- Christian Legnitto (@LegNeato)
151151
- Dirkjan Ochtman (@djc)
152152
- Fausto Nunez Alberro (@brainlessdeveloper)
153+
- Hirokazu Hata (@h-michael)
153154
- Peter Gundel (@peterfication)
154155
- Sonny Scroggin (@scrogson)
155156
- Sooraj Chandran (@SoorajChandran)

0 commit comments

Comments
 (0)