Skip to content

Releases: sisk-http/core

v1.2

29 Oct 05:12

Choose a tag to compare

v1.2

This changelog includes changes from v1.0.2 to v1.2.0.

What's Changed

  • Added the StringValue.Create(string) method.
  • Added the HttpResponse(HttpStatusInformation) constructor.
  • Added IEquatable<Route> to Route class.
  • Added IEquatable<MultipartObject> to MultipartObject class.
  • Added notnull for constraint <T> of the ValueResult<T> class.
  • Added the DefaultPageCSS static property to DefaultMessagePage class.
  • Added the CreateBuilder(string) static method to HttpServer class.
  • Added experimental support for listening ports paths instead only listening at the root index.
  • Added the ListeningPort.Path property, plus their constructors.
  • Added the HttpRequest.RouteParameters property. In next Sisk versions, all path/route parameters will be moved to this property instead HttpRequest.Query. For now, the Query property will have the same behavior as before.
  • Added boolean operators for HttpStatusInformation struct.
  • Added the StringKeyStore class.
  • Added the CookieHelper.BuildCookieHeaderValue static method.
  • Added the ConfigurationFileLookupDirectory enum to PortableConfigurationBuilder.WithConfigFile method.
  • Added the HttpContext.ExtraHeaders property.
  • Added the extension method HttpResponse.WithCookie(Cookie) method.
  • Added the HttpServerExecutionResult.Context property.
  • Improved the ListeningPort.Parse method.
  • Improved various CookieHelpers methods syntax signatures.
  • The HttpContext.Router property ins't nullable anymore.
  • The HttpServerConfiguration.AccessLogsStream property nows defaults to LogStream.ConsoleOutput.
  • The HttpRequestException is now sealed.
  • The HttpResponse.Headers property ins't read-only anymore.
  • The HttpServerFlags.EnableNewMultipartFormReader is now enabled by default. If you encounter problems with the Multipart form parser, you can disable it and use the old parser.
  • The Router.GlobalRequestHandlers ins't nullable anymore. And it is an List<IRequestHandler> instead IRequestHandler[] now.
  • The Router.NotFoundErrorHandler and Router.MethodNotAllowedErrorHandler now, by default, returns an HTML response from DefaultMessagePage if the requests accepts text/html. You can disable this behavior by overriding the mentioned properties.
  • The ServerConfiguration.MaximumContentLength property is now Int64 instead Int32.
  • Route matching and conflict catching algorithms improved.
  • Removed string-based route-path algorithms.
  • Fixed an issue regarding how the CertificateUtil class generates hashcodes for DNS names.
  • Fixed various documentation members typos.
  • Fixed an issue where the Expires and Last-Modified headers from HttpContentHeaders objects weren't being sent as universal time, but local time.
  • Fixed more issues related ot the HttpContentHeaders.
  • Fixed an issue where the HttpServer weren't releasing the WaitNext() method on dispose.
  • Fixed an issue related to HttpWebSocket connections not being correctly closed.
  • Fixed Sisk.SslProxy HTTP serializer and deserializer issues.
  • Fixed logic error on StringValueCollectoin.TryGetValue.
  • Fixed multiple issues related to the IniConfigurationReader INI-configuration reader.
  • Fixed numeric errors on SizeHelper constants.

Breaking and deprecating changes:

  • [Breaking] Dropped support for .NET 6 and 7. These versions will be maintained until November 30, 2024, in the legacy 1.0.x branch for severe bugs and critical security issues.
  • [Breaking] Removed the HttpServerHostContextBuilder.UseAutoScan(bool) method. The bool parameter was removed.
  • [Breaking] Removed the HtmlContent.DefaultEncoding static property. It now evaluates to Encoding.Default.
  • [Breaking] Removed the HttpRequest.SetContextBag* and HttpRequest.GetContextBag* methods. You should use the HttpRequest.Bag property instead.
  • [Breaking] Removed the HttpRequest.Close* method. You should use the HttpResponse.Refuse() method instead.
  • [Breaking] Removed the HttpResponse.CreateEmptyResponse method. You should use the empty HttpResponse constructor instead.
  • [Breaking] Removed the HttpResponse.CreateRedirectResponse method.
  • [Breaking] Removed the HttpResponse.StatusInformatoin property. You should use the HttpResponse.Status property instead.
  • [Breaking] The AutoScanModules methods (on Router and HttpServerHostContextBuilder) now automatically set static classes as static members and searches for instance and static methods in instance classes if an public constructor is found.
  • [Breaking] The RouterModule.HasRequestHandler(IRequestHandler) method is now protected. Before was public.
  • [Breaking] Renamed the Sisk.IniConfiguration.IniConfigurationPipeline class name to IniConfigurationReader.
  • [Depreated] the HttpRequest.GetQueryValue and HttpRequest.GetQueryValue<T>(string) methods are now deprecated. You should use the HttpRequest.Query property instead.

v1.1.1

17 Oct 18:50

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.2.0...1.1.1.0

v1.0.2

01 Sep 20:09

Choose a tag to compare

  • Added the HttpServerHostContextBuilder.UseStartupMessage method.
  • Added the HttpServer.CreateListener() method.
  • Added the WaitTimeout property to HttpWebSocket.
  • Added the HttpWebSocket.WaitNext(TimeSpan) overload method.
  • Made StringValue and StringValueCollection contructors public.
  • Now IRequestHandler can be applied on classes declarations.
  • Breaking: renamed the PortableConfigurationBuilder.WithConfigurationPipeline method to WithConfigReader.
  • Improved the server exception message for ServerConfiguration.ErrorsLogsStream errors.
  • The HttpWebSocket.WithPing is not really fluent and returns the self HttpWebSocket instance as parameter.
  • Deprecate HttpRequest.Close method. You should use the new HttpResponse.Refuse() method instead.
  • Deprecate HttpResponse.CreateEmptyResponse() method.
  • Fixed an issue where exceptions raised on HttpRequestHandler methods ServerStarting, ServerStarted and SetupRouter would be ignored. Eexceptions within these handlers are now thrown.
  • Fixed an deadlock in HttpServerHostContext.Dispose() method. #10

v1.0

22 Aug 00:39

Choose a tag to compare

This major releases brings stability, performance and API improvements.

Read the full logs for the 1.0 here.

v0.16.2

29 Apr 16:47

Choose a tag to compare

This minor version of Sisk contains improvements in usability, performance, bug fixes and some new features. See the full changelogs here.

v0.16.1

26 Feb 13:36

Choose a tag to compare

This release includes the new StringValues, changes and fixes. Read them here.

v0.16

19 Jan 16:50

Choose a tag to compare

Please, read the full changelogs here.

v0.16-rc-3

07 Dec 20:15

Choose a tag to compare

  • fixed an issue HttpRequest.GetQueryValue would throw other exceptions besides InvalidCastException.
  • fixed an issue that read streams wasn't positioned at zero before sending again.
  • fixed an issue regarding Router.AutoScan<>

v0.15.3

25 Nov 22:16

Choose a tag to compare

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

13 Nov 17:42

Choose a tag to compare

This is an new major update for the Sisk Framework. Please, read [the changelogs] for the Sisk 0.16 updates.