Releases: englercj/resource-loader
Releases · englercj/resource-loader
v4.0.0 - Release Candidate 4
- Fix missing exports of interface types
- Add getter for strategy on resource
- Add metadata (user data) for pass through data to middleware.
v4.0.0 - Release Candidate 3
- Add support for multiple urlResolver functions (#143)
v4.0.0 - Release Candidate 2
Breaking Changes
- Before middleware has been removed, so no more
pre
function.- If you used
pre
middleware for url parsing, use the newurlResolver
property instead.
- If you used
crossOrigin
must now be a string if specified.Resource.LOAD_TYPE
enum replaced with Load Strategies.- For example,
loadType: Resource.LOAD_TYPE.IMAGE
is nowstrategy: Loader.ImageLoadStrategy
.
- For example,
Resource.XHR_RESPONSE_TYPE
enum replaced withXhrLoadStrategy.ResponseType
.- For example,
xhrType: Resource.XHR_RESPONSE_TYPE.DOCUMENT
is nowxhrType: Loader.XhrLoadStrategy.ResponseType.Document
.
- For example,
- Overloads for the
add
function have been simplified.- The removed overloads were not widely used. See the docs for what is now valid.
v4.0.0-rc1
v4 Release Candidate 1
- This was mistakenly pushed to npm too early. Please use RC2 instead.
v3.0.1
v3.0.0
v2.2.4
- Multiple documentation and type updates
v2.2.3
v2.2.2
- Add typings to package
- Fix a backwards incompatibility with the export changes.