Version 3.0.0
Breaking changes
The release of the 3.0 version of the library introduced many breaking changes in the API.
For a list of breaking changes please refer to the migration document https://github.com/dailymotion/vast-client-js/blob/master/docs/api/3.0-migration.md and to the list of merged Pull Requests below.
Fixes
- #358 - Remove CONTENTPLAYHEAD and MEDIAPLAYHEAD macro and fix timecode generation
- #363 - Keep wrapper sequence value when containing only one final ad
- #365 - Fix percentage tracker bug
- #367 - Fix missing macros in trackImpression and add VAST 4.2 macros
- #355 - Fix missing default value for optional parameter on track method
- #354 - Fix missing slash in the url for file path
- #347 - Fix node_url_handler bad import
Enhancements
- #368 - Update dependencies
- #361 - Improve 3.0-version documentation
- #337 - Add 3.0-version migration docs
- #345 - Autofill ADTYPE, ADSERVINGID & ADCATEGORIES macros when set
- #343 - Implement missing attributes and sub elements of Wrapper
- #340 - Add performance test for parsing time
- #351 - Merge Wrapper adVerification with current unwrapped adVerification
- #342 - Add missing VAST 4 Macros
- #341 - Implement missing attributes and sub elements of Ad/Inline
- #307 - Send warning event on missing required fields
- #313 - Migrate event emitter unit tests from mocha to jest
- #315 - Add missing tracker to docs
- #326 - Add id attribute to missing elements
- #327 - Replaced classes with objects
- #328 - Add tool to compare bundle sizes
- #329 - Implement missing attributes for Companion ads and Icons
- #330 - Implement missing sub elements for Creative
- #332 - Add more info on fetching/parsing
- #333 - Implement missing VAST 4 trackers
- #335 - Implement missing attributes and sub elements for MediaFile
- #339 - Implement missing sub elements of AdVerification
- #304 - Support Mezzanine for VAST 4
- #303 - Support Ad Verification for VAST 4
- #296 - Support Linear ads events and Player Operation events for VAST 4
- #290 - Parse vast version
- #289 - Add companion creatives in wrapper to parsed creatives
- #280 - Support VAST 3.0 Companion ads
- #267 - Refactor extentions parser to handle nested xml
- #279 - Update to babel 7 and add jest
- #274 - Replace NodeJS EventEmitter by custom one