Skip to content

This is a bugfix release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.11.310

Templates for Visual Studio 2017/2019: http://websharper.com/installers/WebSharper.4.5.11.310.vsix

Fixes

  • #1053 fixed build error "You must provide assembly output path" on netcore sdk 2.1.600+

Enhancements

  • Updated to FSharp.Compiler.Service 28.0.0.
Assets 2

@Jand42 Jand42 released this Mar 13, 2019 · 3 commits to master since this release

This is a bugfix release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.10.303

Templates for Visual Studio 2017/2019: http://websharper.com/installers/WebSharper.4.5.10.303.vsix

Fixes

  • #1035 #1050 In server-side inferred routing, fix respecting union case order while parsing end of URL as tailing empty string segments.
Assets 2

@Jand42 Jand42 released this Feb 26, 2019 · 6 commits to master since this release

This is a minor release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.9.301

Templates for Visual Studio 2017/2019: http://websharper.com/installers/WebSharper.4.5.9.301.vsix

Fixes

  • #1045 Assembly version mismatch in package WebSharper.FSharp, causing build fauilures.

Enhancements

  • #1046 Added client-side support for anonymous F# records.
Assets 2

@Jand42 Jand42 released this Feb 26, 2019 · 12 commits to master since this release

This is a minor release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.8.297

Templates for Visual Studio 2017/2019: http://websharper.com/installers/WebSharper.4.5.8.297.vsix

Fixes

  • #1041 Add missing constructor to WebSharper.JavaScript.Dom.MutationObserver.
  • #1029 No more build warnings about An error occurred while reading the F# metadata node...

Enhancements

  • #1043 Support new FSharp.Core 4.6 functions on the client side (ValueOption type and module, List/Seq/Array.tryExactlyOne).
  • Updated to use FSharp.Compiler.Service version 26.0.1. Anonymous records are not supported yet on the client side.
  • Visual Studio templates now support 2019 Preview.
Assets 2

@Tarmil Tarmil released this Feb 11, 2019 · 18 commits to master since this release

This is a bugfix release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.7.291

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.7.291.vsix

Fixes

  • #1042 Fix the assembly redirects on wsfsc.exe. This enables compiling a project referencing FSharp.Core 4.6.
Assets 2

@Jand42 Jand42 released this Jan 15, 2019 · 19 commits to master since this release

This is a bugfix release for WebSharper 4.5.

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.6.290

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.6.290.vsix

Fixes

  • #1039 Badly formatted Cookie header in request no longer causes server exception.
Assets 2

@Tarmil Tarmil released this Oct 30, 2018 · 21 commits to master since this release

This is a bugfix release for WebSharper 4.5. See the associated WebSharper.UI release

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.5.283

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.5.283.vsix

Fixes

  • #1034 Router: accept an empty final fragment if a route expects a string
Assets 2

@Jand42 Jand42 released this Oct 26, 2018 · 24 commits to master since this release

This is a minor release for WebSharper 4.5. See the associated WebSharper.UI release

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.4.278

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.4.278.vsix

Breaking changes

  • #1028 Simplified and unified class names in WebSharper.JavaScript.Dom, stripping DOM prefix where there was one.

Features

  • #999: Added Content.Cors, a helper for checking for Cross-Origin Resource Sharing headers.
  • #1025 Added Router.FetchWithand Router.AjaxWith that are taking a RequestOptions to customize the request sent to an automatically routed WebSharper endpoint.

Fixes

  • #1021 Fixed parsing FormData when using Router.Infer.
  • #1027 Added classList on Dom.Element.
  • #1030 Use invariant number format for floats in routing. Fixes failing to parse decimal point character in URLs created on the client when the server system settings use another character instead of point.
  • #1031 Handle NoWarn+TreatWarningsAsErrors well for F# compilation.
  • #1032 Fix skipping pre-translating some server-side quoted event handlers. In particular, this caused issues in server-side WebSharper.UI templates where one could not use both ws-onxxx and .OnYyy() with the same template.
  • #1033 Fix inconsistent behavior of HtmlTextWriter between netfx and netstandard. Attributes written using HtmlTextWriter.WriteAttribute, which includes WebSharper.UI attributes, are now always automatically escaped.
Assets 2

@Tarmil Tarmil released this Sep 17, 2018 · 40 commits to master since this release

This is a bugfix release for WebSharper 4.5. See the associated WebSharper.UI release

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.2.275

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.2.275.vsix

Fixes

  • #1019 Show a compile-time warning when an Inline or Direct contains a $variable that doesn't correspond to an argument. Additionally, add a property UseDollarVariables : string on both InlineAttribute and DirectAttribute to indicate that a given $variable is not an argument typo and should not cause a warning.

    For example, the following warns that $unexpected doesn't correspond to an argument, but doesn't warn about $expected1 and $expected2:

    [<Inline("$this.myMethod($theArg, $unexpected, $expected1, $expected2)",
             UseDollarVariables = "$expected1, $expected2")>]
    member this.MyMethod(theArg: int) = X<unit>
Assets 2

@Tarmil Tarmil released this Sep 14, 2018 · 43 commits to master since this release

This is a minor release for WebSharper 4.5. See the associated WebSharper.UI release

Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.2.275

Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.2.275.vsix

Features

  • #1020: Sitelets.HttpModule now throws an error if no Sitelet definition is found.
  • #1022: Update to FSharp.Compiler.Service 25.0.1

Fixes

  • #1023: Fix HTML escaping in HtmlTextWriter. This affects functions such as text and attr.* in WebSharper.UI.
Assets 2
You can’t perform that action at this time.