Version 6.0.0
Breaking change
- #458 Modularize VAST Client by @Rapha0511
⚠️ parseVAST
method from theVASTParser
class, will only parse the first VAST encountered. To follow a wrappers chain please useparseVAST
method from "VASTClient" class.⚠️ TheIIFE
built format is no longer generated as it is now possible to import ES modules format by specifying thetype="module"
.⚠️ TheUMD
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
parseVAST
to 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.
- New VASTClient class method
- #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 ofXMLHttpRequest
.
- Added a new VASTTracker class event
- #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