[release] v0.0.68 #5
bradleyboy
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋 A new version of Nokkio is available–v0.0.68. It mainly includes optimizations and fixes for Nokkio endpoints.
Most of the changes are transparent to you, but one notable quality-of-life improvement is that endpoint handlers now longer require a promise to be returned. Previously, endpoint handlers looked something like this:
Notice the function is
async
, even though nothing in the body of the function requires it to be. Previous versions of Nokkio required these functions to always return a Promise, but in v0.0.68 that is no longer the case, meaning you can just write:Beta Was this translation helpful? Give feedback.
All reactions