shelf 0.5.1 shelf: ^0.5.1 copied to clipboard
Web Server Middleware for Dart
0.5.1 #
- Add a
context
map toRequest
andResponse
for passing data among handlers and middleware.
0.5.0+1 #
- Allow
scheduled_test
development dependency up to v0.12.0
0.5.0 #
- Renamed
Stack
toPipeline
.
0.4.0 #
-
Access to headers for
Request
andResponse
is now case-insensitive. -
The constructor for
Request
has been simplified. -
Request
now exposesurl
which replacespathInfo
,queryString
, andpathSegments
.
0.3.0+9 #
-
Removed old testing infrastructure.
-
Updated documentation address.
0.3.0+8 #
- Added a dependency on the
http_parser
package.
0.3.0+7 #
- Removed unused dependency on the
mime
package.
0.3.0+6 #
- Added a dependency on the
string_scanner
package.
0.3.0+5 #
- Updated
pubspec
details for move to Dart SDK.
0.3.0 2014-03-25 #
Response
- NEW!
int get contentLength
- NEW!
DateTime get expires
- NEW!
DateTime get lastModified
- NEW!
Request
- BREAKING
contentLength
is now read fromheaders
. The constructor argument has been removed. - NEW! supports an optional
Stream<List<int>> body
constructor argument. - NEW!
Stream<List<int>> read()
andFuture<String> readAsString([Encoding encoding])
- NEW!
DateTime get ifModifiedSince
- NEW!
String get mimeType
- NEW!
Encoding get encoding
- BREAKING
0.2.0 2014-03-06 #
- BREAKING Removed
Shelf
prefix from all classes. - BREAKING
Response
has drastically different constructors. - NEW!
Response
now accepts a body of eitherString
orStream<List<int>>
. - NEW!
Response
now exposesencoding
andmimeType
.
0.1.0 2014-03-02 #
- First reviewed release