Skip to content

Releases: d3/d3-request

v1.0.6

Choose a tag to compare

@mbostock mbostock released this 02 Sep 21:55
  • Replace the browser field in package.json with unpkg and jsdeliver. (d3/d3#3138)
  • Replace the prepublish script with prepublishOnly.
  • Update dependencies.

v1.0.5

Choose a tag to compare

@mbostock mbostock released this 10 Mar 17:51
  • Update dependencies.

v1.0.4

Choose a tag to compare

@mbostock mbostock released this 28 Feb 17:16
  • Update dependencies.

v1.0.3

Choose a tag to compare

@mbostock mbostock released this 23 Nov 00:46
  • Update dependencies.

v1.0.2

Choose a tag to compare

@mbostock mbostock released this 02 Aug 21:34
  • Add module entry point to package.json.

v1.0.1

Choose a tag to compare

@mbostock mbostock released this 11 Jul 02:33
  • Throw an error if the specified callback is invalid (#12).

v1.0.0

Choose a tag to compare

@mbostock mbostock released this 15 Jun 17:58
  • First stable release.

Changes since D3 3.x

The d3.xhr method has been renamed to d3.request. Basic authentication is now supported using request.user and request.password. You can now configure a timeout using request.timeout.

If an error occurs, the corresponding ProgressEvent of type “error” is now passed to the error listener, rather than the XMLHttpRequest. Likewise, the ProgressEvent is passed to progress event listeners, rather than using d3.event. If d3.xml encounters an error parsing XML, this error is now reported to error listeners rather than returning a null response.

The d3.request, d3.text and d3.xml methods no longer take an optional mime type as the second argument; use request.mimeType instead. For example:

d3.xml("file.svg").mimeType("image/svg+xml").get(function(error, svg) {
  
});

With the exception of d3.html and d3.xml, Node is now supported via node-XMLHttpRequest.

See CHANGES for all D3 changes since 3.x.

v0.5.0

Choose a tag to compare

@mbostock mbostock released this 08 Jun 01:03
  • Export to the global d3 in vanilla environments (d3/d3#2840).

v0.4.7

Choose a tag to compare

@mbostock mbostock released this 20 May 21:24

v0.4.6

Choose a tag to compare

@mbostock mbostock released this 03 May 18:28
  • Windows build compatibility.