Skip to content

Releases: id5io/id5-api.js

Release v1.0.9

15 Oct 16:18
Compare
Choose a tag to compare

🚀 Features

Introducing esp.js (for now a placeholder implementation) to integrate with Google GPT

v1.0.8

09 Jul 13:11
Compare
Choose a tag to compare

🚀 Features

  • Integrating with CMP framework for retrieval of CCPA string

🛠 Maintenance

🐛 Bug Fixes

v1.0.7

28 Jun 17:37
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Callbacks don't get called when user in control group (A/B Testing)

v1.0.6

23 Jun 19:09
Compare
Choose a tag to compare

🛠 Maintenance

  • Refactored implementation of "applyCreativeRestrictions" config flag

🐛 Bug Fixes

  • A/B Testing server-side

v1.0.5

15 Jun 16:16
Compare
Choose a tag to compare

🚀 Features

  • New setting to apply certain restrictions when the API is served as part of a creative

🛠 Maintenance

🐛 Bug Fixes

v1.0.4

10 Jun 12:27
Compare
Choose a tag to compare

🚀 Features

  • First release publicly available in NPM

🛠 Maintenance

  • Build process overhaul and end-to-end testing
  • Do not write to localStorage in case API is in a cross-domain iframe

🐛 Bug Fixes

v1.0.3

28 May 12:41
Compare
Choose a tag to compare

🚀 Features

  • Added config option to prevent cookie syncing

🛠 Maintenance

🐛 Bug Fixes

v1.0.2

27 May 14:06
Compare
Choose a tag to compare

🛠 Maintenance

  • Update PD docs to point to new help center pages

🐛 Bug Fixes

  • Refresh not happening properly

v1.0.1

09 Apr 08:59
Compare
Choose a tag to compare

🚀 Features

  • New method that returns the ID5 ID as an eids object: getUserIdAsEid()
  • New provider field that can be set in config and passed to ID5 for reporting purposes

🛠 Maintenance

  • Add example for using static consent data
  • Only show warnings when consent is bypassed rather than an error message in the console
  • Don't send empty fields to the server

🐛 Bug Fixes

  • Ensure id5cdn is a boolean value when sent to the ID5 servers
  • Encode the stored response and use UTC timestamp to match the way Prebid.js stores the response

v1.0.0

03 Feb 11:00
Compare
Choose a tag to compare

🚀 Features

  • [BREAKING CHANGE] Support multiple instances of the API on page (see notes below for details)
  • Improved handling of situations where a CMP is not on page and legal jurisdiction is unknown; we no longer require a consent override to operate
  • Add A/B Testing feature
  • Make linkType available an external function
  • Indicate if ID5 ID was retrieved from cache or not as an external function

🛠 Maintenance

  • Pass GDPR parameters in the body rather than the querystring
  • Send feature flag when A/B testing is enabled

⚠️ Breaking Changes in This Release

  • ID5.init() now returns an id5Status object. This object must be used to retrieve the ID5 ID rather than the ID5 global. Me sure to properly scope the variable OR uniquely name it so it does not conflict with other instances of the API on the page.
  • New methods have been introduced for retrieving the ID5 ID (id5Status.getUserId()), linkType (id5Status.getLinkType()), fromCache (id5Status.isFromCache()), and for A/B testing (id5Status.exposeUserId()).
  • Callbacks have moved out of configuration and are now registered as event handlers on the id5Status object that ID5.init() returns. Callbacks can now be registered for multiple use cases: onAvailable, onUpdate, and onRefresh
  • Debug has moved out of configuration and must now be set on the ID5 global prior to calling ID5.init() (or you can continue to use the id5_debug=true querystring parameter in the page url).
  • ID5.refreshID() method now requires the id5Status object returned from the ID5.init() call as the first parameter