OLD | NEW |
| (Empty) |
1 ## 0.5.6 | |
2 | |
3 * Fixed `createMiddleware` to only catch errors if `errorHandler` is provided. | |
4 | |
5 * Updated `handleRequest` in `shelf_io` to more gracefully handle errors when | |
6 parsing `HttpRequest`. | |
7 | |
8 ## 0.5.5+1 | |
9 | |
10 * Updated `Request.change` to include the original `onHijack` callback if one | |
11 exists. | |
12 | |
13 ## 0.5.5 | |
14 | |
15 * Added default body text for `Response.forbidden` and `Response.notFound` if | |
16 null is provided. | |
17 | |
18 * Clarified documentation on a number of `Response` constructors. | |
19 | |
20 * Updated `README` links to point to latest docs on `www.dartdocs.org`. | |
21 | |
22 ## 0.5.4+3 | |
23 | |
24 * Widen the version constraint on the `collection` package. | |
25 | |
26 ## 0.5.4+2 | |
27 | |
28 * Updated headers map to use a more efficient case-insensitive backing store. | |
29 | |
30 ## 0.5.4+1 | |
31 | |
32 * Widen the version constraint for `stack_trace`. | |
33 | |
34 ## 0.5.4 | |
35 | |
36 * The `shelf_io` adapter now sends the `Date` HTTP header by default. | |
37 | |
38 * Fixed logic for setting Server header in `shelf_io`. | |
39 | |
40 ## 0.5.3 | |
41 | |
42 * Add new named parameters to `Request.change`: `scriptName` and `url`. | |
43 | |
44 ## 0.5.2 | |
45 | |
46 * Add a `Cascade` helper that runs handlers in sequence until one returns a | |
47 response that's neither a 404 nor a 405. | |
48 | |
49 * Add a `Request.change` method that copies a request with new header values. | |
50 | |
51 * Add a `Request.hijack` method that allows handlers to gain access to the | |
52 underlying HTTP socket. | |
53 | |
54 ## 0.5.1+1 | |
55 | |
56 * Capture all asynchronous errors thrown by handlers if they would otherwise be | |
57 top-leveled. | |
58 | |
59 * Add more detail to the README about handlers, middleware, and the rules for | |
60 implementing an adapter. | |
61 | |
62 ## 0.5.1 | |
63 | |
64 * Add a `context` map to `Request` and `Response` for passing data among | |
65 handlers and middleware. | |
66 | |
67 ## 0.5.0+1 | |
68 | |
69 * Allow `scheduled_test` development dependency up to v0.12.0 | |
70 | |
71 ## 0.5.0 | |
72 | |
73 * Renamed `Stack` to `Pipeline`. | |
74 | |
75 ## 0.4.0 | |
76 | |
77 * Access to headers for `Request` and `Response` is now case-insensitive. | |
78 | |
79 * The constructor for `Request` has been simplified. | |
80 | |
81 * `Request` now exposes `url` which replaces `pathInfo`, `queryString`, and | |
82 `pathSegments`. | |
83 | |
84 ## 0.3.0+9 | |
85 | |
86 * Removed old testing infrastructure. | |
87 | |
88 * Updated documentation address. | |
89 | |
90 ## 0.3.0+8 | |
91 | |
92 * Added a dependency on the `http_parser` package. | |
93 | |
94 ## 0.3.0+7 | |
95 | |
96 * Removed unused dependency on the `mime` package. | |
97 | |
98 ## 0.3.0+6 | |
99 | |
100 * Added a dependency on the `string_scanner` package. | |
101 | |
102 ## 0.3.0+5 | |
103 | |
104 * Updated `pubspec` details for move to Dart SDK. | |
105 | |
106 ## 0.3.0 2014-03-25 | |
107 | |
108 * `Response` | |
109 * **NEW!** `int get contentLength` | |
110 * **NEW!** `DateTime get expires` | |
111 * **NEW!** `DateTime get lastModified` | |
112 * `Request` | |
113 * **BREAKING** `contentLength` is now read from `headers`. The constructor | |
114 argument has been removed. | |
115 * **NEW!** supports an optional `Stream<List<int>> body` constructor argumen
t. | |
116 * **NEW!** `Stream<List<int>> read()` and | |
117 `Future<String> readAsString([Encoding encoding])` | |
118 * **NEW!** `DateTime get ifModifiedSince` | |
119 * **NEW!** `String get mimeType` | |
120 * **NEW!** `Encoding get encoding` | |
121 | |
122 ## 0.2.0 2014-03-06 | |
123 | |
124 * **BREAKING** Removed `Shelf` prefix from all classes. | |
125 * **BREAKING** `Response` has drastically different constructors. | |
126 * *NEW!* `Response` now accepts a body of either `String` or | |
127 `Stream<List<int>>`. | |
128 * *NEW!* `Response` now exposes `encoding` and `mimeType`. | |
129 | |
130 ## 0.1.0 2014-03-02 | |
131 | |
132 * First reviewed release | |
OLD | NEW |