This repository was archived by the owner on Dec 21, 2018. It is now read-only.
Releases: vega/vega-loader
Releases · vega/vega-loader
v3.1.0
v3.0.1
v3.0.0
Changes:
- Use fetch to service requests, drop use of d3-request and XMLHttpRequest (XHR). Note that, while similar in many respects, fetch has a different default behavior than XHR. For example, fetch is more secure by default and does not share cookies or credentials unless configured to do so.
- Change loader options format. Clients should use the options.http object property to provide fetch parameters. The options.headers property is no longer supported, instead use options.http.headers.
- The loader
http
method now directly accepts an http parameter object rather than the top-level loader options. The loader's options.http property is used as the base set of parameters, which may then be overridden by the options argument to thehttp
method. - Update dependencies.
v2.1.0
v2.0.4
v2.0.3
v2.0.2
v2.0.1
Changes:
- Update loader URI sanitization and local file loading. Sanitized URIs for local file loading no longer include
file://
protocol prefixes in the returnedhref
property. Instead they return file paths that can be used directly. The sanitization return object also now includes a non-enumerablelocalFile
flag indicating whether or not the local file loading or http requests should be used.