Releases: id5io/id5-api.js
Releases · id5io/id5-api.js
Release v1.0.9
🚀 Features
Introducing esp.js (for now a placeholder implementation) to integrate with Google GPT
v1.0.8
🚀 Features
- Integrating with CMP framework for retrieval of CCPA string
🛠 Maintenance
🐛 Bug Fixes
v1.0.7
🐛 Bug Fixes
- Callbacks don't get called when user in control group (A/B Testing)
v1.0.6
🛠 Maintenance
- Refactored implementation of "applyCreativeRestrictions" config flag
🐛 Bug Fixes
- A/B Testing server-side
v1.0.5
🚀 Features
- New setting to apply certain restrictions when the API is served as part of a creative
🛠 Maintenance
🐛 Bug Fixes
v1.0.4
🚀 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
🚀 Features
- Added config option to prevent cookie syncing
🛠 Maintenance
🐛 Bug Fixes
v1.0.2
🛠 Maintenance
- Update PD docs to point to new help center pages
🐛 Bug Fixes
- Refresh not happening properly
v1.0.1
🚀 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
🚀 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 anid5Status
object. This object must be used to retrieve the ID5 ID rather than theID5
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 thatID5.init()
returns. Callbacks can now be registered for multiple use cases:onAvailable
,onUpdate
, andonRefresh
- Debug has moved out of configuration and must now be set on the
ID5
global prior to callingID5.init()
(or you can continue to use theid5_debug=true
querystring parameter in the page url). ID5.refreshID()
method now requires theid5Status
object returned from theID5.init()
call as the first parameter