Name: js-handler/node_modules/restify/CHANGES.md 
1:
# restify Changelog
2:
 
3:
## Not Yet Released
4:
 
5:
## 2.6.0
6:
 
7:
- EXPERIMENTAL: Native websocket support via watershed (Josh Clulow)
8:
- Pass entire route, not just route.name to `after` (Dingman)
9:
- Type coercion bug in Cache Control API (Chris Cannell)
10:
 
11:
## 2.5.1
12:
 
13:
- GH-401 RegEx routes stomp one another, resulting in 404
14:
- GH-389 StringClient should handle garbage servers that send neither
15:
         `Content-Length` nor `Transfer-Encoding: chunked` headers.
16:
 
17:
## 2.5.0
18:
 
19:
- Pick up [email protected] (breaking change, to those using it); see
20:
  https://github.com/joyent/node-http-signature/issues/10
21:
- GH-388 JSON client blows up on bad content
22:
- GH-379 Static plugin: NotAuthorizedError for file path with
23:
         parentheses (Ricardo Stuven)
24:
- GH-370 Add charSet option for static file plugin (Jonathan Dahan)
25:
 
26:
## 2.4.1
27:
 
28:
- Support node 0.10.X TLS options in client(s)
29:
 
30:
## 2.4.0
31:
 
32:
- GH-368 Route /\/.*/ does not match request /? (Ben Hutchison)
33:
- GH-366 `req.accepts()` not working with short-hand mime types
34:
- GH-362 Empty body throws TypeError in StringClient (Bryan Donovan)
35:
- GH-355 Serve gzip encoded files from static if they are available
36:
         (Nathanael Anderson)
37:
- GH-338 turn `req.body` into an `Object` when content-type is
38:
         JSON (Daan Kuijsten)
39:
- GH-336 `res.charSet()` back in
40:
- dependency version bumps
41:
- 0.10.X support in tests (add necessary `resume()` calls)
42:
- client should log request/response pairs
43:
 
44:
## 2.3.5
45:
 
46:
47:
- GH-346 `server.toString()` crashes (Alex Whitman)
48:
- GH-193 support `next('name_of_route')`
49:
 
50:
## 2.3.4
51:
 
52:
- GH-343 default to 'identity' for accept-encoding
53:
- GH-342 client support for PATCH
54:
- Pick up [email protected] (doesn't ship all the example garbage)
55:
 
56:
## 2.3.3
57:
 
58:
- Stop logging client_req in bunyan output
59:
- GH-319 make DTrace optional
60:
- GH-335 Content-Type'd routes not accepting array (Pedro Palazón)
61:
 
62:
## 2.3.2
63:
 
64:
- pick up bunyan 0.18.3
65:
- server.address() returning null causes server.url to deref null
66:
 
67:
## 2.3.1
68:
 
69:
- GH-335 Content-Type'd routes not correct when only Accept-Extension varies,
70:
         part deux (switch to `negotiator`, drop `mimeparse`).
71:
 
72:
## 2.3.0
73:
 
74:
- GH-335 Content-Type'd routes not correct when only Accept-Extension varies
75:
- GH-332 Cache-Control max-age should show minutes (Ben Hutchison)
76:
- GH-329 Wrong values in res.methods on some cases
77:
- GH-327 server.versionedUse('1.2.3', function (req, res, next) {}) (Tim Kuijsten)
78:
- GH-326 non-default origins not working, Chrome requires allow/origin and
79:
         allow users to append to CORS array (John Fieber/Damon Oehlman)
80:
- GH-323 <path>/?<querystring> broken
81:
- GH-322 add `req.route`, which contains the original params for the
82:
         route (Tim Kuijsten)
83:
- GH-312 bodyParser() should return buffers when data is binary (Tim Kuijsten)
84:
- GH-318 Allow use of 'requestBodyOnGet' option in bodyParser (@geebee)
85:
 
86:
## 2.2.1
87:
 
88:
- GH-283 broke versioned, typed routes. Fix.
89:
90:
 
91:
## 2.2.0
92:
 
93:
- GH-316 drop `clone`, and just shallow copy (Trent Mick)
94:
- GH-284 preflight requests not working without access-control-request-headers
95:
- GH-283 versioned routes should use maximum match, not first (Colin O'Brien)
96:
- dtrace probes for restify clients
97:
98:
- [email protected] and necessary changes
99:
 
100:
## 2.1.1
101:
 
102:
- revert to [email protected]
103:
 
104:
## 2.1.0
105:
 
106:
- GH-284 built-in CORS
107:
- GH-290 next.ifError
108:
- GH-291 fix overwriting `options.type` in createJSONClient (Trent Mick)
109:
- GH-297 default document serving in static plugin (Adam Argo)
110:
- GH-299 gzip plugin doesn't play nice with content-length (Ben Hale)
111:
- GH-301 support private keys w/passphrase (Erik Kristensen)
112:
- GH-302 responseTime cleanup
113:
- Move to `node-backoff` and rework retry logic in HttpClient
114:
- Support keep-alive by default in HttpClient
115:
 
116:
## 2.0.4
117:
 
118:
- GH-280 req.params cached by router
119:
- RequestCaptureStream should support outputting to multiple streams
120:
- Default uncaughtException handler should check if headers have been sent
121:
 
122:
## 2.0.2/2.0.3
123:
 
124:
- GH-278 missing events on route errors
125:
- Undo `RestError` `constructorOpt` from 2.0.1
126:
 
127:
## 2.0.1
128:
 
129:
- GH-269 plugin to make curl happy
130:
- RestError not honoring `constructorOpt` from `cause`
131:
- GH-271 bump to dtrace 0.2.6 (fix build on Mountain Lion)
132:
 
133:
# Legacy Releases
134:
 
135:
## 1.4.2
136:
 
137:
- logging typo (Pedro Candel)
138:
- response `beforeSend` event (Paul Bouzakis)
139:
 
140:
## 1.4.1
141:
 
142:
- GH-130 Allow restify and express to coexist.
143:
- GH-129 format HttpErrors as well as RestErrors (Domenic Denicola)
144:
- GH-127 add absolute uri to request (Paul Bouzakis)
145:
- GH-124 `req.query` is `undefined` if no query string was sent
146:
- GH-123 Generated DTrace probe names should be valid
147:
- GH-122 Response._writeHead can cause infinite loop (Trent Mick)
148:
- GH-120 Allow server.patch (Paul Bouzakis)
149:
- GH-119 defaultResponseHeaders not settable
150:
- GH-113 document `return next(false)`
151:
 
152:
 
153:
## 1.4.0
154:
 
155:
- GH-116 More friendly error objects (Domenic Denicola)
156:
- GH-115 Client hangs on server "hard kills" (i.e., RST)
157:
- GH-111 JSON parser only works on objects (not arrays)
158:
- GH-110 emit expectContinue (Paul Bouzakis)
159:
- Fix "undefined" log message in string_client.js
160:
- GH-107
161:
  - Go back to hacking up http.prototype for performance reasons
162:
  - Default to keep-alive on for HTTP/1.1 requests
163:
  - Misc fixes after refactoring.
164:
- GH-109 routes not honoring regex flags.
165:
- GH-108 server missing `listening` event.
166:
- Audit logger optionally logs request/response bodies
167:
- Require [email protected]/[email protected] (node 0.7 compatible)
168:
 
169:
## 1.3.0
170:
 
171:
- GH-100 Make DTrace an optional dependency, and stub it out if not found.
172:
- res.link API not allowing sprintf style sets.
173:
- Support for `socketPath` in client API (alternative to url).
174:
- OPTIONS api not returning access-control-allow-methods header (Steve Mason).
175:
- Allow null passwords in HTTP basic auth (Andrew Robinson).
176:
- set `req.files` on multipart file uploads (Andrew Robinson).
177:
 
178:
## 1.2.0
179:
 
180:
- Don't rely on instanceof checks for Errors in response.
181:
- Change route.run log level from trace to debug on next(err).
182:
- Add `res.link` API (wrap up sending a Link: response header).
183:
- GH-98 req.secure needs to return a boolean, not an object
184:
- GH-97 Malformed URI results in server crash
185:
- GH-94 leverage `qs` module for object notation in query string.
186:
 
187:
## 1.1.1
188:
 
189:
- dependency version bumps
190:
- res.header accepts sprintf-style arguments
191:
- GH-95 Make restify compatible with node-logging (Andrew Robinson)
192:
- GH-93 Minimal port of express pre-conditions (Dominic Barnes)
193:
- GH-92 Make X-Response-Time configurable (Shaun Berryman)
194:
- GH-87 server.listen on port as string (Andrew Sliwinski)
195:
 
196:
## 1.1.0
197:
 
198:
- GH-86 Bunyan version bump.
199:
- Conditional Request plugin tests and fixes for some errors (Mike Williams).
200:
- GH-83 pluggable storage engine for throttling, and LRU for default engine.
201:
- GH-77 `server.on('uncaughtException', function (req, res, route, err) {});`
202:
- GH-79 Docs typo(s).
203:
 
204:
## 1.0.1
205:
 
206:
- Version bump bunyan to 0.6.4.
207:
 
208:
 
209:
## 1.0.0
210:
 
211:
- Makefile restructure (use Joyent templates)
212:
- GH-20 HttpClient connectTimeout.
213:
- Allow parser plugins to allow "override" params
214:
- Proper handling of Expect: 100
215:
- multipart/form-data plugin
216:
- Added a 'header' event on res.writeHead
217:
- GH-72 Wrong server name in response header on 404/405/...
218:
- RegExp mounts throw a TypeError
219:
- Allow pre handlers to update request url
220:
- try/catch around route running
221:
- Bundled audit logger (via bunyan)
222:
- strict adherence to RFC3986 for URL encoding
223:
- range versioning changed to be an array of explicit versions
224:
- Switch from log4js to [bunyan](https://github.com/trentm/node-bunyan)
225:
- Official version of `ConditionalRequest` plugin (Falco Nogatz)
226:
- order formatters on response such that JSON/text are before custom ones
227:
- RestErrors can use format strings
228:
- date plugin has bad log check
229:
 
230:
 
231:
## 1.0.0-rc2
232:
 
233:
- GH-66 Support for charSets in responses
234:
- GH-65 Initial version of etag plugin (Falco Nogatz)
235:
- GH-68 res.header() can serialize Date objects to RFC1123
236:
- GH-67 Set some default response headers earlier (access-control-*)
237:
- http-client should auto insert the date header
238:
- GH-64 Support for a pre-routing chain
239:
- JsonClient should "upcast" errors to RestErrors if it can
240:
- GH-63 res.send(204) returning a body of 204
241:
- GH-61 Make bodyParser merging into req.params optional
242:
- Make Error objects backwards compatible with older restify (httpCode/restCode)
243:
- GH-57, GH-62 range versioning on server (Diego Torres)
244:
- GH-59 routes with just '/' are returning 404
245:
- DTrace *-done actually firing content-length (was always 0)
246:
- [Issue 56] Support streaming downloads
247:
- Modify server.on('after') to emit the `Route` object, rather than the name.
248:
 
249:
## 1.0.0-rc1
250:
 
251:
(Started maintaining this log 21 January 2012. For earlier change information
252:
you'll have to dig into the commit history.)