Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b350e31
Initial sketch
augustuswm Mar 16, 2023
ed29957
Remove trait. Update test
augustuswm Mar 17, 2023
4e5a917
Do not generate empty serde attributes
augustuswm Mar 23, 2023
7ba8507
Fix spec and root server
augustuswm Mar 28, 2023
503ad48
Fix sendgrid send_plain_text (#65)
iterion Mar 28, 2023
f4b615b
Add test
augustuswm Mar 28, 2023
7949a8b
Bump version
augustuswm Mar 28, 2023
3857d5c
Fix empty serde attributes
augustuswm Mar 28, 2023
bd06591
Fix chrono call
augustuswm Mar 29, 2023
3cd69f6
Fix deprecation
augustuswm Mar 29, 2023
556521c
Chrono fix
augustuswm Mar 31, 2023
e5b27a8
Align spec urls with previously used urls
augustuswm Mar 31, 2023
c721b4e
Update drive traits to use url method
augustuswm Mar 31, 2023
252c8e6
Fmt
augustuswm Mar 31, 2023
a564954
Fix intro docs for client with multiple root servers
augustuswm Mar 31, 2023
2b097ba
Merge branch 'fix-sendgrid' into anyhow
augustuswm Apr 14, 2023
e1a78a6
Merge branch 'fix-github-serde' into anyhow
augustuswm Apr 14, 2023
a2be8c4
Fix created param format for GitHub workflow listing
augustuswm Apr 14, 2023
0f98a89
Rebuild
augustuswm Apr 14, 2023
498a51f
Bump h2
augustuswm Apr 14, 2023
52f0c2a
Bump openssl
augustuswm Apr 14, 2023
776b949
Fix h2 ck
augustuswm Apr 14, 2023
f9800b1
Add openssl-macros
augustuswm Apr 14, 2023
6d602e3
Comment and derive cleanup
augustuswm May 4, 2023
b26faf8
Derive default on fully qualified path
augustuswm May 4, 2023
32a59fb
Merge branch 'main' into response-type
augustuswm May 30, 2023
7cd8fe5
Merge branch 'anyhow' into response-type
augustuswm May 30, 2023
92a3fe0
Bump base64
augustuswm May 30, 2023
0b1fcff
Bump reqwest-middleware
augustuswm May 30, 2023
4e9baf5
Merge branch 'main' into rc-build
augustuswm May 30, 2023
4eb04d3
Remove default opentel feature
augustuswm May 30, 2023
8cb5018
Update trait responses
augustuswm Jun 1, 2023
a4d160d
Fmt
augustuswm Jun 1, 2023
d5f3e2b
Update versions
augustuswm Jun 1, 2023
e9c257f
Add changelog
augustuswm Jun 1, 2023
30ba5f2
Add headers to errors
augustuswm Jun 1, 2023
f57a7f4
Rust indicators
augustuswm Jun 5, 2023
ea3e149
Add change not about default features
augustuswm Jun 5, 2023
ad3de90
Add redirect policy to remaining clients
augustuswm Jun 5, 2023
14be1f3
Re-export reqwest types
augustuswm Jun 7, 2023
bfeb445
Clarify response values
augustuswm Jun 8, 2023
b6e954d
Clarify new env fns
augustuswm Jun 8, 2023
32fd38c
Clarify docs for constructors and panics
augustuswm Jun 8, 2023
6956fab
Remove tokio full feature
augustuswm Jun 8, 2023
17581fe
Fix Google clients with command urls
augustuswm Jun 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

## 0.7.0-rc.1

This update refactors all of the clients and changes the way responses are handled. Previously methods that make calls to a third party service would return an `anyhow::Result<T>` over some structured interpretation of the response body (i.e. a deserialized struct, a unit type, or a raw string). Methods now return a `Result<Response<T>, ClientError>` where a `Response` contains the body type that was previously returned along with the status code and headers that were sent from the third party service. When requesting unfolded paginated results the status code and headers returned will be the values returned from the final request made to the service. `ClientError` now provides a more structure error type than the previous `anyhow` error.

### Fixes
* Fix missing default deserialization on `HashMap`s with fully qualified types.

### Breaking Changes

* Methods now return `Result<Response<T>, ClientError>` instead of `anyhow::Result<T>`. The body can be accessed via `response.body`.
* Structured errors are now returned instead of `anyhow::Error`.
* Redirects are no longer followed by default. Previously if a 3xx response code was returned by a service, the inner client would follow it. This prevented services from returning meaningful 3xx responses. Methods that receive 3xx responses will now return them immediately and not attempt to follow them.
* Updates to 0.2 `reqwest-middleware` ecosystem.
* OpenTelemetry is no longer a default feature. To enable OpenTelemetry tracing add `reqwest-tracing` with the appropriate version feature enabled to the target project.
Loading