comment
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:
1
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.
Changes
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 cousinCmd.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 withCmd.ofAsyncorCmd.performAsync.
The new functionsCmd.ofAuthorizedorCmd.performAuthorizedshould now be used instead. They are identical to the previous*Remote, except that instead of passing the response as a custom typeRemoteResponse<'T>, they use a simpleoption<'T>, which isSomeon success andNonein case of authorization failure.
Happy coding!






