Changelog
6.0.0 - 2022-06-06
@digitalbazaar/http-client@3
update uses a newer ky-universal
which uses
a top-level await
that is unsupported in older Node.js versions. That
causes the included node
documentLoader
to not function and tests to
fail. If you wish to still use earlier Node.js versions, you may still be
able to do so with your own custom documentLoader
.npm
prepublish
script changed to prepack
. The dist/
contents will not be generated by default for development installs. Run npm run build
if needed. This was done to avoid extra work only needed for
packing and publication, and for temporary webpack
version issues. A new CI
build
test has been added to check builds pass. The prepack
script could
be prepare
instead if use cases exist where that is needed. File an issue
if this is a concern.@digitalbazaar/http-client@3
:
ky
and ky-universal
that should address security alerts
and provide other improvements.URL
interface to handle relative redirects.Changelog
5.1.0 - 2021-04-07
globalThis
to set globals in browser contexts.@digitalbazaar/http-client
dependency to address engine
compatibility issues with newer Node.js versions.Changelog
5.0.0 - 2021-03-18
@digitalbazaar/http-client
instead of
request
.node6
output. Update dependencies that needed newer Node.js
versions.usage
mode rather than listing individual polyfills. May increase
bundle size due to more accurate support of intended output targets.user-agent
header set to "jsonld.js".jsonld.esm.min.js
bundle optimized for the features available
in browsers that support ES Modules.httpAgent
and httpsAgent
options.user-agent
header for the default
Node.js document loader.request
in Node.js documentLoader.request
has been removed from the Node.js
documentLoader.Changelog
4.0.1 - 2021-02-11
core-js@3
.Changelog
4.0.0 - 2021-02-11
jsonld-rdfa
package, remove xmldom
dependency.Changelog
3.3.2 - 2021-02-10
yallist
to packages run through babel for bundles. Fixes use of
function*
.Changelog
3.3.1 - 2021-02-10
lru-cache
to packages run through babel for bundles. Fixes use of arrow
functions.Changelog
3.3.0 - 2021-01-21
rdf-canonize
to 2.0.1.rdf-canonize
update changes browser support and removes forge
in favor of the WebCrypto crypto.subtle
API. A WebCrypto polyfill may be
required if a jsonld.js API is used that calls rdf-canonize
. The polyfill
is needed if older browsers are targeted or when not using a secure context
on some modern browsers. Due to other concerns and the expected minimal
impact of this change, it is happening in a minor release. Please provide
feedback if this decision causes problems.