Releases: sisk-http/core
Releases · sisk-http/core
v0.16.2
v0.16.1
v0.16
v0.16-rc-3
- fixed an issue
HttpRequest.GetQueryValue
would throw other exceptions besidesInvalidCastException
. - fixed an issue that read streams wasn't positioned at zero before sending again.
- fixed an issue regarding
Router.AutoScan<>
v0.15.3
This update includes an critical bugfix for v.0.15.3 and v.0.16-rc-3:
- when using
ResolveForwardedOriginAddress
, the forwarded IP was not the proxy IP.
v0.16-rc-1
This is an new major update for the Sisk Framework. Please, read [the changelogs] for the Sisk 0.16 updates.
v0.15.2
v0.15.1
Core:
- Fixed a coercion issue: HttpResponse.WithContent() expects an
HttpContent
and not aByteArrayContent
. #3
Full Changelog: 0.15...0.15.1
v.0.15
Please, read the release overview for full changelogs and details for this version.
Core:
- Added the HttpContext.OverrideHeaders property.
- Added the HttpRequest.SetContextBag and GetContextBag methods.
- Added the Router.RegisterValueHandler method.
- Added the RouterModule class.
- Added the ValueResult class.
- Added the HttpWebSocket.MaxAttempts property.
- Added the HttpStreamPingPolicy class.
- Added the HttpRequest.InputStream property.
- Added an string representation to HttpRequest.ToString().
- Added the HttpServerConfiguration.KeepAlive property.
- Added Fluent Interface style methods for HttpResponse: WithContent, WithHeader, WithHeaders, WithStatus. Documented in a9c8873.
- Added the HttpServerFlags.IdleConnectionTimeout which determines the time to keep an keep-alive connection alive.
- Improved regex routes functionality, with improved performance and regex groups to queries.
- Renamed HttpRequestEventSource.KeepAlive -> WaitForFail.
- Simplified the way HttpRequest obtains the origin IP of the request.
- Rewrite the return type of HttpRequest.SendTo from HttpResponse to object.
- Rewrite the LogStream.WriteException output format.
- Rewrite the return type of RouterCallback delegate from HttpResponse to object.
- The HttpContext.HttpServer property ins't nullable anymore.
- The HttpRequest.Context property inst't nullable anymore.
- The RouteMethod.Any enum nows flags all the previous defined Route methods.
- Extended the CreateRedirectResponse method to be able to extract the route from a RouteCallback with the RouteAttribute attribute.
- Fixed an bug where the WebSocket was throwing an exception when the client didn't terminated the close handshake with the server.
- Fixed a bug where requests with non-common HTTP methods were not accepted in routes even when used in RouteMethod.Any.
- Fixed an bug where regex routers weren't matching ignore-case when MatchRoutesIgnoreCase was enabled.
- Fixed a bug where README.html was being moved to the target project directory.
- Dropped support for hot reload. Removed the ServiceReloadManager class.
Service Providers:
- Fixed inconsistencies in the Sisk.ServiceProvider package namespace. Now the default namespace is Sisk.ServiceProvider.
v.0.14
Released: July 17th, 2023
This big update includes some several bug fixes which brings more stability to services which run on Sisk.
Core:
- Docs cleanup.
- Added the
%rm
log constant, which is replaced by the request HTTP method. - Added the
HttpContext.Request
property. - Fixed some issues related to
HttpResponseStream
. - Fixed an issue where the HTTP server was writing ignored errors to the output stream.
- Fixed an issue where closed streams weren't returning an
ConnectionClosed
status. - Replaced the
ExceptionErrorCallback
delegate second parameter type fromHttpRequest
toHttpContext
. HttpRequest.Close()
should now reset the connection between the client and server even if the content
was not completely sent.- Created the
RoutePrefix
attribute, which can be applied to classes containing routes. - Created the
RouteGet
,RoutePost
,RoutePut
,RoutePatch
andRouteDelete
attributes. - Created the
HttpRequest.SendTo
method, which prevents stack overflow exceptions when
redirecting the execution context to another callback. - Created the
HtmlContent
class. - Now it's possible to set more than one route to the same action callback.
- Removed
HttpServerConfiguration.Verbose
obsolete property. - Removed
VerboseMode
obsolete enum. - Removed
HttpResponse.DefaultEncoding
obsolete property. - Removed the obsolete
CrossOriginResourceSharingHeaders
constructor. - Created the
HttpResponseStream
class, which allows the user to write contents on-fly to the HTTP response output stream. - Rewrited
HttpServerExecutionStatus
enum items. Obsolete items was removed. - Fixed an bug where the CORS headers was being set on Event Source connections even if
HttpServerFlags.SendCorsHeaders
was false. - Fixed an bug where the CORS headers was not being set on empty responses.
- Fixed an several websocket issue.