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
prefunction.- If you used
premiddleware for url parsing, use the newurlResolverproperty instead.
- If you used
crossOriginmust now be a string if specified.Resource.LOAD_TYPEenum replaced with Load Strategies.- For example,
loadType: Resource.LOAD_TYPE.IMAGEis nowstrategy: Loader.ImageLoadStrategy.
- For example,
Resource.XHR_RESPONSE_TYPEenum replaced withXhrLoadStrategy.ResponseType.- For example,
xhrType: Resource.XHR_RESPONSE_TYPE.DOCUMENTis nowxhrType: Loader.XhrLoadStrategy.ResponseType.Document.
- For example,
- Overloads for the
addfunction 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.