Changelog History
Page 3
-
v2.7.4 Changes
May 23, 2019๐ฅ Some extensions methods, properties, and classes are marked as
Obsolete
because they are no longer part of the next major version of EmbedIO. One important breaking change is we are no longer supporting Wildcard routing so we encourage to change your code to Regex routing.Also, this version includes a subprotocol selector for
WebSocket
#285. -
v2.7.3 Changes
May 21, 2019๐ Fix issue with SWAN JSON issues updating this dependency.
-
v2.7.2 Changes
April 25, 2019Breaking changes
This version replaces the logic of how
WebApiController
works but introducing new Extension Methods and how the Request and Response are handles in the controller's method.The core change is that
WebApiController
is no longer implementing the interfaceIHttpContext
. Instead of this, theWebApiController
contains a propertyHttpContext
where this instance is located. This affect how you can, for example, response a JSON:[WebApiHandler(HttpVerbs.Post, "/api/data")]public async Task\<bool\> PostData() { // previous codereturn await this.JsonResponseAsync(new { error = "Invalid Product" }); // new codereturn await HttpContext.JsonResponseAsync(new { error = "Invalid Product" }); // or using the new virtual methodsreturn await Ok(new { error = "Invalid Product" }); }
-
v2.7.0 Changes
April 23, 2019 -
v2.6.0 Changes
April 22, 2019 -
v2.4.0 Changes
April 11, 2019โ Remove the WebSocket client and fix several issues.
-
v2.2.1 Changes
January 22, 2019๐ HTTPS Support
-
v2.1.0 Changes
December 11, 2018- ๐ Support to IPv6 (Issue #214)
You can setup IPv6 in two ways:
Using new EndPointManager.UseIpv6 will set IPAddress.IPv6Any for * hostname:
EndPointManager.UseIpv6 = true; var instance = new WebServer("http://*:8877");
Or directly using the IPv6 address like the lookback:
var instance = new WebServer("http://[::1]:8877");
- ๐ Fix WebSocket client for targets NET47 and NETCOREAPP21
- โ Remove
Task.Delay
from polling (Issue #155) - โ Add
ConfigureAwait(false)
to async invocations.