Version 6.0.0
Breaking change
- #458 Modularize VAST Client by @Rapha0511
⚠️ parseVASTmethod from theVASTParserclass, will only parse the first VAST encountered. To follow a wrappers chain please useparseVASTmethod from "VASTClient" class.⚠️ TheIIFEbuilt format is no longer generated as it is now possible to import ES modules format by specifying thetype="module".⚠️ TheUMDformat 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.
- New VASTClient class method
- #467 Upgraded fetching method, added error logging, and code refactoring by @Rapha0511.
- Added a new VASTTracker class event
TRACKER-errorthat can be listen to retreive any error related to trackers. - The VASTClient class now uses
fetchAPI for browser and node environment instead ofXMLHttpRequest.
- Added a new VASTTracker class event
- #461 add trackOnce parameter to VASTTracker
setProgressby @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