v0.17.0 #76
Closed
bkonkle
announced in
Announcements
v0.17.0
#76
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.17.0
This is a big release! It includes updates from
http
to v1.0,hyper
to v1.0, andaxum
to v0.7. It refactors the test utils to usereqwest
instead of the minimal hyper Client that is changing in v1.0. There are a number of small behind-the-scenes changes to support these new versions, and Nakago is currently relying on a few temporary forks as the community catches up to the big releases in recent weeks.Changed
http
v1.0,hyper
v1.0, andaxum
v0.7 across the board.nakago-axum
:AxumApplication.run()
now returns a tuple with the server and the actual address that it is bound to.nakago-axum
: Thejwks
utils now usereqwest
to retrieve the "known-hosts.json" file.nakago-axum
: TheRoute
andRoutes
types no longer take aBody
type parameter.nakago-axum
: Moved the test HTTP utilities toreqwest
, eliminating the need for an injected HTTP test client.nakago-async-graphql
: Moved the test HTTP utilities toreqwest
, and made the integration with the plain HTTP test utils more seamless.Removed
nakago-axum
: Removed thetest::CLIENT
tag, because it is no longer needed.Upgrade Guide
To update your project from Nakago v0.16 to v0.17:
Update all Nakago crates to v0.17.
Update usages of
AxumApplication.run()
to use the new return type, which is a tuple of(Server, SocketAddr)
.reqwest
instead of the injected HTTP client.This discussion was created from the release v0.17.0.
Beta Was this translation helpful? Give feedback.
All reactions