v4.0.0 - Release Candidate 2
Pre-release
Pre-release
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.