We are preparing for stable release, reviewing all current issues and documentation. Beta-10 solves some old (reference equality for classes) and recent (ToString
for Systen.Char
) issues reported. Look for VS2017 installer here (VS2015 support upcoming).
Equals
as in .NET). Arrays, tuples, F# records and unions still use structural equalitySystem.Char
is now translated to a 1-length String
in JavaScript. RPC handling and all methods dealing with Char
s have been updated.printf ""
compiles properly.Guid.Empty
is usable client-side.Stub
attribute behaves in compatibile way with WS3: if all members of a class have the Stub
attribute, it is equivalent to the class having it (WS does not redefine the type, it is assumed to exist in outside JS), but having any non-Stub instance members causes WS to define the class. This is fixing issues in WebSharper.JQuery.FSharp.Linq.Nullable
and FSharp.Linq.NullableOperators
modules on the client-side. C# operations on Nullables now follow .NET semantics properly: a null
value is propagated to the result.Equals
.new JSObject()
/ New []
. Previously this was equivalent to new object()
/ obj()
, but now the latter translates to an instance of WebSharper.Obj
which defines its own Equals
and GetHashCode
methods.-1
. This should not be breaking, but if you use a class as keys or rely on hashing in any other way, be sure to override GetHashCode
on your class for performance.System.Decimal
support has been removed from WebSharper main libraries. It is now a part of WebSharper.MathJS
and now has correct precision.Can’t find what you were looking for? Drop us a line.