Commit ee4a0f8
authored
Bump Suave from 2.6.2 to 3.4.6 (#1272)
Migrate the fsdocs watch server to Suave 3's Task-based socket API:
the websocket handler and reload broadcast now use ValueTask/Result,
the removed Suave.Logging module is dropped, and the server task from
startWebServerAsync is already hot so it no longer needs Async.Start.
While migrating, fix a crash in watch mode: clients that disconnect
without a close handshake stayed registered, and broadcasting to such
a dead socket throws ObjectDisposedException in Suave 3, killing the
whole watch process. Clients are now deregistered whenever their
connection ends, and the broadcast tolerates stale sockets.
Also in watch mode, the logo now links to the locally hosted site
root instead of the production URL (even when <FsDocsLogoLink> is
set), and the console no longer logs websocket connection chatter on
every page reload. Release builds are unaffected.
Bump Fun.Build from 1.0.4 to 1.1.18 and make build.fsx directly
executable via a dotnet fsi shebang.
Release notes: 22.2.0.1 parent d591b93 commit ee4a0f8
4 files changed
Lines changed: 60 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | 10 | | |
6 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
860 | 859 | | |
861 | 860 | | |
862 | 861 | | |
863 | | - | |
864 | | - | |
| 862 | + | |
865 | 863 | | |
866 | 864 | | |
867 | | - | |
868 | | - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
869 | 879 | | |
870 | | - | |
871 | | - | |
872 | | - | |
| 880 | + | |
| 881 | + | |
873 | 882 | | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
878 | 889 | | |
879 | 890 | | |
880 | 891 | | |
881 | 892 | | |
882 | 893 | | |
883 | 894 | | |
884 | 895 | | |
885 | | - | |
886 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
887 | 906 | | |
888 | 907 | | |
889 | 908 | | |
| |||
1312 | 1331 | | |
1313 | 1332 | | |
1314 | 1333 | | |
1315 | | - | |
| 1334 | + | |
| 1335 | + | |
1316 | 1336 | | |
1317 | 1337 | | |
1318 | 1338 | | |
| |||
1648 | 1668 | | |
1649 | 1669 | | |
1650 | 1670 | | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
1651 | 1686 | | |
1652 | 1687 | | |
1653 | 1688 | | |
| |||
1725 | 1760 | | |
1726 | 1761 | | |
1727 | 1762 | | |
1728 | | - | |
| 1763 | + | |
1729 | 1764 | | |
1730 | 1765 | | |
1731 | 1766 | | |
| |||
0 commit comments