Skip to content

Releases: dailymotion/vast-client-js

Version 5.0.0

24 Aug 12:12
Compare
Choose a tag to compare

Breaking changes

  • #444 Add missing nodes to the parsing
  • ⚠️The adSlotID attribute of CompanionAd object has been modified to adSlotId to follow the VAST specs.
  • ⚠️The type attribute of the <Survey> node is now parsed. The parsed <Survey> node is now an Object {value: String, type: String}.
  • ⚠️xmlEncoded is now considered as an attribute of the <adParameters> node, instead of a node by itself. The value of is now an Object {value: String, xmlEncoded: String}.
  • <IconClickFallbackImages> node is now parsed.
  • Now, <Icon> wrapper elements will be merged with the final Inline.
  • The parseDuration function is now exposed publicly as a VASTParser method to allow users to convert timecode to seconds.
  • #454 Methods to trigger viewable impression trackers
  • ⚠️ The attributes viewable, notviewable and viewundetermined have been modified to viewable, notViewable and viewUndetermined.
  • 3 public methods are now available to track viewable impression URI
    • trackViewableImpression() to report all <Viewable> URI
    • trackNotViewableImpression() to report all <notViewable> URI
    • trackUndeterminedImpression() to report all <ViewableUndetermined> URI

Enhancements

  • #448 Validate URLTemplates before tracking
  • #456 Update dependancies

Fixes

  • #443 Add muted argument to constructor

The setMuted method assumes that muted property is false by default. Thus, the unmute tracking event will not fire if the player was in a muted state.

  • #452 Handle duplicate VASTAdTagURI in AdPod

Wrappers within an AdPod can now reference the same VASTAdTagURI.

Full Changelog: 4.0.1...5.0.0

Version 4.0.1

12 Oct 14:04
Compare
Choose a tag to compare

Enhancements

  • #432 Update VASTTracker documentation

Fixes

  • #431 Add safeguards to public methods

Full Changelog: 4.0.0...4.0.1

Version 4.0.0

15 Feb 11:05
Compare
Choose a tag to compare

Breaking changes

  • #377 Allow parsing of multiple UniversalAdID.

⚠️ The final ad object parsed will no longer contain the universalAdId property but the universalAdIds property which will contain an array of universalAdId.

  • #395 Merge wrapper ViewableImpression with the inline one.

⚠️ The property ViewableImpression is now an array of object instead of a single object.

Enhancements

  • #420 Add ad data to VAST-resolving events
  • #383 Add new public error method to vastTracker API documentation.
  • #419 Update dependencies

Fixes

  • #414 Fix typo in the documentation

Full Changelog: 3.3.0...4.0.0

Version 3.3.0

21 Sep 13:58
Compare
Choose a tag to compare

Enhancements

#411 Update master branch to 3.X to benefit latest fixes

Version 3.2.0

09 Sep 13:37
Compare
Choose a tag to compare

Enhancements

#401 Updated dependencies because of security issues on vast-client-js dependencies

#402 Add bitrate estimation from VAST requests feature

Fixes

#403 Merge correctly adVerifications from extension and from its own node

Version 3.1.1

07 Dec 16:12
Compare
Choose a tag to compare

Fixes

  • #381 - Fix rollup config for node_url_handler

Version 3.1.0

07 Dec 16:00
Compare
Choose a tag to compare

Enhancements

  • #374 - Implement vastTracker.error and deprecate vastTracker.errorWithCode

Fixes

  • #375 - Fix allowMultipleAds option when resolving wrapper

Version 3.0.0

29 Sep 10:27
Compare
Choose a tag to compare

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

Version 3.0.0-alpha.8

04 Nov 13:46
Compare
Choose a tag to compare
Version 3.0.0-alpha.8 Pre-release
Pre-release

Fixes

  • #347 - Fix node_url_handler bad import

Enhancements

  • #342 - Add missing VAST 4.1 Macros
  • #341 - Implement missing attributes and sub elements of Ad/Inline

Version 3.0.0-alpha.7

28 Oct 12:35
Compare
Choose a tag to compare
Version 3.0.0-alpha.7 Pre-release
Pre-release

Enhancements

  • #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.1 trackers
  • #335 - Implement missing attributes and sub elements for MediaFile
  • #339 - Implement missing sub elements of AdVerification