github dailymotion/vast-client-js 6.0.0
Version 6.0.0

latest release: 6.0.1
4 months ago

Breaking change

  • #458 Modularize VAST Client by @Rapha0511
    • ⚠️ parseVAST method from the VASTParser class, will only parse the first VAST encountered. To follow a wrappers chain please use parseVAST method from "VASTClient" class.
    • ⚠️ The IIFE built format is no longer generated as it is now possible to import ES modules format by specifying the type="module".
    • ⚠️The UMD format is no longer generated because it is obsolete, please use ES modules instead.

Enhancements:

  • #458 Modularize VAST Client by @Rapha0511
    • New VASTClient class method parseVASTto parse VAST XML document and follow any wrappers chain.
    • All VASTClient class methods related to URLTemplateFilter are now public method of VASTClient class.
    • Remaining Mocha have been migrated to Jest. VASTClient project is now only using Jest for unit tests.
  • #467 Upgraded fetching method, added error logging, and code refactoring by @Rapha0511.
    • Added a new VASTTracker class event TRACKER-error that can be listen to retreive any error related to trackers.
    • The VASTClient class now uses fetch API for browser and node environment instead of XMLHttpRequest.
  • #461 add trackOnce parameter to VASTTracker setProgress by @rs-guian.
  • #470 VASTClient integration example by @Rapha0511.
    • VASTClient integration and usage example is now available in the example folder.

Fixes

  • #466 Fix a bug where fallback was not working if the first ad element was empty by @Rapha0511.

New Contributors

Full Changelog: 5.0.0...6.0.0

Don't miss a new vast-client-js release

NewReleases is sending notifications on new releases.