New releases :tada:
Make sure to use these with the latest Roc nightly. TESTING releases are gone now.
For anyone who is upgrading a basic-webserver app, please note there is a bug that may give you a cryptic error message -- https://github.com/roc-lang/roc/issues/7022.
The API has changed to enable a Task to run before server starts listening.
main : Request -> Task Response []
server : {
init : Task Model [Exit I32 Str]_,
respond : Request, Model -> Task Response [ServerErr Str]_,
}
Last updated: Jul 26 2025 at 12:14 UTC