Releases: scottoffen/grapevine
5.0.0-rc.10
- Fixed non-windows path issues when using ContentFolders
- Fixed middleware crashing
- Added a method on
HttpResponse
to set theResponseSent
property to true
5.0.0-rc.9
In addition to numerous typos, formatting and spacing issues fixed:
-
RouteScanner
now automatically ignores theGrapeseed
assembly -
On startup, if content folders have been added, a reminder is added to information log to also call the
server.UseContentFolders()
middleware. -
Added middleware
server.AutoParseFormUrlEncodedData()
. Using this will automatically parse your url-encoded form data and store it incontext.Locals
as aIDictionary<string,string>
under the keyFormData
. Does not work with multipart form data! -
Added extension method
IHttpRequest.ParseFormUrlEncodedData()
which will return a the url-encoded form data as aIDictionary<string,string>
. Because the input stream can only be read once, this method will only return data the first time it is called. It is recommended to use the aforementioned middleware instead of this method. -
Added
IHttpRequest.MultipartBoundary
, which will contain the multipart boundary for easy access to parse multipart data.
Updates to the Sample project:
-
Adds working NLog configuration to sample project
-
Added sample resources for parsing multipart data using HttpMultipartParser (see on GitHub)
5.0.0-rc.8
- Fixes #57 Stack overflow crash when unknown route received
- Renames
GlobalResponseHeader
toGlobalResponseHeaders
(plural) - General code cleanup
5.0.0-rc.6
Bumps version number
5.0.0-rc.5
Updates version on readme
5.0.0-rc.4
IHttpRequest.PathInfo
is nowIHttpRequest.Endpoint
IRoute.UrlPattern
is replace withIRoute.IRouteTemplate
IRouter
is composed ofRouterOptions
,Router
no longer extendsRouteOptions
- Adds
ServerOptions
- Refactors automatic route scanning
- Adds
PortFinder
5.0.0-rc.3
- Changes path info parameter delimiter from square brackets to curly braces
- Fixes bug in how path info was being generated using regular expressions and base paths
- Adds
IContentFolder
to IOC container - Renames methods and properties on
IRoute
for clarity of purpose
5.0.0-rc.2
Match routes using values in the request header using the Header
attribute in conjunction with the RestRoute
attribute.
5.0.0-rc.1
- Changes default
ServiceLifetime
on scanned routes toScoped
instead ofTransient
- Fixes bug in parameterizing the PathInfo on a route
- Major updates to the Sample project!
5.0.0-rc.0
Includes ContentFolder
implementation. See sample project for examples until documentation is complete.