We are happy to announce the release of Bolero version 0.7. Bolero is a library that enables writing full-stack applications in F#, whose client side runs in WebAssembly using Blazor.
This release requires the .NET Core SDK version 3.0.100-preview7, which you can download here for Windows, OSX or Linux.
Install the latest project template with:
dotnet new -i Bolero.Templates
If you have an existing Bolero project, you can check the upgrade guide to learn how to update your project for Bolero 0.7.
In addition to the API changes inherent to the upgrade to Blazor 3.0-preview7, which you can read about in the upgrade guide, here is what's new in Bolero 0.7:
Bolero.HotReload, the HTML template hot reload library, had been blocked from upgrade by a dependency; it is now available again for the latest Bolero.
Cmd.ofRemoteand its cousin
Cmd.performRemotehave been deprecated. We felt that these function names were misleading, because they are only useful when calling authorized remote functions. Remote functions without user authorization can be simply called with
The new functions
Cmd.performAuthorizedshould now be used instead. They are identical to the previous
*Remote, except that instead of passing the response as a custom type
RemoteResponse<'T>, they use a simple
option<'T>, which is
Someon success and
Nonein case of authorization failure.