WebSharper 3.5.9 releasedCore team
We just released version 3.5.9 of the WebSharper stack. This is mostly a bugfix release, with a few shorthands added to the UI.Next API.
#478: Fix encoding of web controls by the ASP.NET ScriptManager.
#479: Fix currying of local functions in some edge cases.
#480: Fix division involving large negative integers.
#481: Include "Z" UTC indicator in server-side System.DateTime JSON serialization.
Ignore final slash in table-based Sitelets routing, thus fixing WebSharper.Suave #1.
- #1: Restore Html.Server.Web.Control and fix the JSON encoding of any client-side controls it contains.
keyupfor IE8-compatible input detection in the
Doc.Inputfamilies of functions. This makes it possible to use
on.keyupfor other purposes, such as catching Enter to submit the input.
Submitter.CreateOption : View<'T> -> Submitter<option<'T>>. This creates a Submitter with initial value
None, that maps the input view through
Doc.Convertfamilies of functions as follows:
1 2 3 4 5 6 7 8
View.Convert -> View.MapSeqCached View.ConvertBy -> View.MapSeqCachedBy View.ConvertSeq -> View.MapSeqCachedView View.ConvertSeqBy -> View.MapSeqCachedViewBy Doc.Convert -> Doc.BindSeqCached Doc.ConvertBy -> Doc.BindSeqCachedBy Doc.ConvertSeq -> Doc.BindSeqCachedView Doc.ConvertSeqBy -> Doc.BindSeqCachedViewBy
The old versions still exist for backward-compatibility, but are marked obsolete.
Add extension method equivalents on
View<'T>for all of the above. They are overloaded: all variants of
View.MapSeqCachedhave an equivalent
v.MapSeqCached(), and all variants of
Doc.BindSeqCachedhave an equivalent
Doc.BindViewhas an equivalent
The UI.Next project templates in the Visual Studio extension and the Xamarin Studio addin have been updated:
The SPA project uses
ListModel.View People |> Doc.Convert.
The Client-Server projects now use a reactive style for the small client-side code sample, instead of the previous imperative style.