WebSharper 4 beta-7 released

Andras Janko

Andras Janko

Jun 09, 2017

Reading time:

2 mins

Share via:

WebSharper 4 beta now has F# 4.1 and C# 7 language support.

Latest Visual Studio template installers compatible with VS2015/2017 is available here.

Enhancements

  • #689 Added support for F# 4.1 and C# 7 new language features.
  • #596 Automatic download of remote web resources to serve from locally. Set <WebSharperDownloadResources>True</WebSharperDownloadResources> in your project file to have WebSharper download all remote js/css defined in current project and all references. Add <add key="UseDownloadedResources" value="True" /> to your <appSettings> section in web.config.
  • #696 Parameterless union cases of a JavaScript-annotated union translate to a singleton instance for performance. Equality checks are optimized for these cases to just check the tag.
  • #638 Added Warn attribute, calls to annotated member will generate a warning wherever it is called from client-side code.
  • #693 F# multi-type trait calls translate but still are not supporting overloads. F# + and - operators properly translate to the operator defined by the type.
  • #703 Stub classes with a base class do not emit a new class overwriting outside one.

UI.Next

Fixes

  • #697 Union with Constant case will have no prototype implicitly (instance methods compiled to static)
  • #598 RPC signature hash computing is now platform-independent.
  • #702 C# conditional compilation symbols are properly respected for translation with WebSharper.
  • #705 JQuery is linked from https

Read more from

Can’t find what you were looking for? Drop us a line.

Andras Janko
Found a typo?

This blog post is hosted on GitHub here. Feel free to file a ticket or send a PR.

Newsletter

We will not spam you or give your details to anyone.