Resource Loader Versions Save

A middleware-style generic resource loader built with web games in mind.

v4.0.0-rc4

4 years ago

https://github.com/englercj/resource-loader/compare/v4.0.0-rc3...v4.0.0-rc4

  • 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-rc3

4 years ago

https://github.com/englercj/resource-loader/compare/v4.0.0-rc2...v4.0.0-rc3

  • Add support for multiple urlResolver functions (#143)

v4.0.0-rc2

4 years ago

Breaking Changes

  • Before middleware has been removed, so no more pre function.
    • If you used pre middleware for url parsing, use the new urlResolver property instead.
  • crossOrigin must now be a string if specified.
  • Resource.LOAD_TYPE enum replaced with Load Strategies.
    • For example, loadType: Resource.LOAD_TYPE.IMAGE is now strategy: Loader.ImageLoadStrategy.
  • Resource.XHR_RESPONSE_TYPE enum replaced with XhrLoadStrategy.ResponseType.
    • For example, xhrType: Resource.XHR_RESPONSE_TYPE.DOCUMENT is now xhrType: Loader.XhrLoadStrategy.ResponseType.Document.
  • 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

4 years ago

v4 Release Candidate 1

  • This was mistakenly pushed to npm too early. Please use RC2 instead.

v3.0.1

4 years ago

https://github.com/englercj/resource-loader/compare/v3.0.0...v3.0.1

  • Fix an issue where builds were not properly transpiled (#133)

v3.0.0

4 years ago

v2.2.4

5 years ago

v2.2.3

5 years ago

https://github.com/englercj/resource-loader/compare/v2.2.2...v2.2.3

  • Fix some documentation and typescript definitions
  • Fix InvalidStateError issue in IE11 (#125 )

v2.2.2

5 years ago

https://github.com/englercj/resource-loader/compare/v2.2.1...v2.2.2

  • Add typings to package
  • Fix a backwards incompatibility with the export changes.

v2.2.1

5 years ago

https://github.com/englercj/resource-loader/compare/v2.2.0...v2.2.1

  • Update documentation and add generated TS types
  • Organize exports for better documentation generation
  • Fix a bug in the crossOrigin tests for sandboxed iframes #121