Stream: announcements

Topic: basic-webserver 0.14.0-rc1


view this post on Zulip Luke Boswell (Jul 24 2026 at 14:17):

Just wanted to announce a RC for basic-webserver just landed https://github.com/roc-lang/basic-webserver/releases/tag/0.14.0-rc1

I've worked around a few compiler bugs and left TODO's in various places... but all the examples and everything there should be working well.

I did some quick and dirty testing and the performance seems pretty great!

Please try it out, break it and help report bugs for the compiler or the platform.

Looking forward to seeing what cool things people build with this. :grinning_face_with_smiling_eyes:

view this post on Zulip Bryce Miller (Jul 25 2026 at 20:08):

Something I noticed while porting the webserver example in roc-pg is that the Tcp module in basic-webserver and basic-cli both return closed unions for some errors. So for example,

    ConnectErr : [
        CapacityExhausted,
        PermissionDenied,
        AddrInUse,
        AddrNotAvailable,
        ConnectionRefused,
        Interrupted,
        TimedOut,
        Unsupported,
        Unrecognized(Str),
    ]

should become

ConnectErr(a) : [
        CapacityExhausted,
        PermissionDenied,
        AddrInUse,
        AddrNotAvailable,
        ConnectionRefused,
        Interrupted,
        TimedOut,
        Unsupported,
        Unrecognized(Str),
         ..a,
    ]

view this post on Zulip Bryce Miller (Jul 25 2026 at 20:09):

I can file issues for these, and I might be able to get a couple PRs going too (though no guarantees on how soon I'll have time)

view this post on Zulip Bryce Miller (Jul 26 2026 at 00:37):

Issue: #171, PR: #172. This actually doesn't impact basic-cli like I thought because the error parsing functions there are not annotated.


Last updated: Aug 12 2026 at 12:35 UTC