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
Uh oh!
There was an error while loading. Please reload this page.
-
0.17.0
This is a big release! It includes updates from
httpto v1.0,hyperto v1.0, andaxumto v0.7. It refactors the test utils to usereqwestinstead 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
httpv1.0,hyperv1.0, andaxumv0.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: Thejwksutils now usereqwestto retrieve the "known-hosts.json" file.nakago-axum: TheRouteandRoutestypes no longer take aBodytype 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::CLIENTtag, 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).reqwestinstead of the injected HTTP client.This discussion was created from the release v0.17.0.
Beta Was this translation helpful? Give feedback.
All reactions