- Remove collections dependency and es6-set instead #168
- Add tests for request cancelation support #124
- Fix range header parsing RexExp DOS #165
- Upgrade to qs@^1.2.2 to fix prototype Override Protection Bypass Vulnerability in qs.
- Reverts the new read feature in 1.13.0 since this was backward incompatible and needs to be revisited.
- Uses iconv-lite to understand more charsets on HTTP read. @Tomalak
- Adds support for socket timeout on HTTP requests as
http.request({timeout: 50})
@akiron
- Allow HTTP requests to specified a false agent, per the underlying Node.js behavior. (@grahamjenson)
- Use npm carat operator for dependencies. (@anton-rudeshko)
- The Node.js response argument is no longer being forwarded to HTTP request handlers.
- Fixes mock modification and access times.
- Update dependency to Q 1.0.1.
- Fix an invalid reference in HTTP apps.
- Fix race condition in
copyTree
- Decode
pathInfo
in HTTP requests - Pass all options through HTTP requests to Node.js’s HTTP client.
- Allow
listDirectories
override in HTTP file services. (@stuk)
- Fix to
fs.reroot
, binding this properly (@Stuk) fs.reroot
no longer traverses into directory prefixes implicitly. We do not expect anyone was depending on this strange behavior, but do expect folks were not usingreroot
because of it.- Many missing methods added to RootFs (@3on)
- HTTP request normalization has been greatly improved.
Particularly, the ambiguity of
host
vshostname
is resolved.host
stands for both the hostname and the port, but only includes the port if it differs from the default port for the protocol. HTTP requests will normalize any combination ofhost
,port
, andhostname
. The cookie jar HTTP application adapter has been updated. - Support for URL authorization has been improved. If you use the
auth
portion of a URL, it will be implicitly normalized to the correspondingAuthorization
header, for basic HTTP auth. Note that the convention in Q-IO is to use lower-case for all input and output headers, since they are case-insensitive. - MockFS now handles file modes properly (@Stuk)
fs.copyTree
fixed for duplicate file modes (@Stuk)- Fix for HTTP clients on Node.js 0.11, which changed how it interprets the
agent
option. - Fixed a bug, NodeWriter was missing a
node
property, referring back to the Node.js writable stream.
- Adds
removeDirectory
andstatLink
to the Mock file system interface.
- Fixes support for range content requests, such that Q-IO based web serves can host static audio and video content to the web. Further work needed for the more escoteric non-contiguous multi-range requests.
- Allow
copyTree
to write over existing trees. (@nerfin)
- Restores the "request.terms.host" property to report which host pattern was selected by a host negotiator.
- Fixes support for host negotiation.
- Fixes the
followInsecureSymbolicLinks
flag on the file tree HTTP app. (@francoisfrisch) - Fixes an error that gets missed when an HTTP request body is not a proper forEachable. (@OliverJAsh)
- Fix support of Node 0.6 path separators (@Sevinf)
- Fix remoteTree for directories containing symbolic links.
- Tolerate "." in makeTree
- Stream writers now return reliable promises for finishing and flushing.
- Add support for HTTP agents (@yuxhuang)
- Updated dependencies
- Fixes a regression in supporting
FS.read(path, "b")
.
- Fixes
append
and aligns open flags with the underlying Node, except for the default of UTF-8 if bytewise is not specified in the mode flag. - Add
node
property toReader
, as advertised. - Bug fixes
- Brings the mock file system API up to date with file system as of 1.9.0.
- Distinguishes
move
andrename
.move
will work across file system boundaries.
- Allows
move
to overwrite the target, or overwrite a target directory if empty.
- Fixes JSON content HTTP responses.
- Fixes a bug in the HTTP redirect trap.
- Added FileTree option followInsecureSymbolicLinks (@francoisfrisch)
- Addressed Node 0.7.* compatibility. (@strager)
- Synchronized Q to 0.8.2.
- Synchronized Q dependency.
- Removed spurious log message.
- Fixed a bug in observing the closing of files. (#1, @hornairs)
- Reorganized, moved q-io to the top level.
- Reved dependencies.
- Moved q-io-buffer to its own project.
- reved up Q to version 0.2 so duck-promises will work
- added buffer-io
- added buffer mode to readers and writers
- fixed dependency on broken q package
- restructured for overlay style packaging compatibility