- Fetching ads cookies for Conversion APIs
- Update documentation
- Remove preinstall hook
- Update libs
- Add
keepalive
option to POST requests
- Using new javascript endpoint for injestion
- Default values for backward compatibility
- Opt-in for new JavaScript endpoint
- Using the Fetch API as a replacement for the JSONP
- In 'Block All Cookies' mode, the localStorage is not accessible hence we should check for it's availability before using the localStorage APIs
- Support Promise in IE11
- Support consent management, see Consent Management
setAnonymousMode
has option to keep client identifier
- Client ID cookie is disabled in anonymous mode
setSignedMode
should create client id if needed
- Set
SameSite=None;Secure
attributes as default for cookies
- Allow to set
path
,domain
,secure
,maxAge
,sameSite
as cookie options tofetchGlobalID
api - Do not create cookies when not in signed mode
- Add
fetchUserSegments
method to script loader - Update
fetchUserSegments
documentation
- Use
keepalive
option for fetch to keep request alive while document is being unloaded - Do not set td_global_id cookie if its value from server is null
- Add
useServerSideCookie
property to configuration options - Add
sscDomain
property to configuration options - Add
sscServer
property to configuration options - Add
fetchServerCookie
method
- Modifications to release scripts for test environments
- Add
startInSignedMode
property to select the default behavior
- Web Personalization API v2 now provides key attribute values
- GDPR compliance methods added, see README
- New Build system and process to help releases
- Add iOS and Android browsers to E2E test matrix
- Customizable table name for click events
- Corrected cookie expiration date issue
- Always return key or keys from Personalization API
- Correct two possible scenarios for initialization failures
- Add support for CDP segmentation token & keys to the Personalization API
- Add td_description tracked value
- Full release of fix for td_client_id being set to
'undefined'
https
protocol used for all JSONP requestsgetCookie
method added to easily access cookie contents- Modify build process to allow easier rebranding
- Allow CDP customers to configure hostname for Personalization API
- Changes to build process to allow for more reliable tests
- Fix e2e test broken by renaming of
onClick
handler toextendClickData
- Beta test of fix for td_client_id being set to
'undefined'
- Full release of fix for IE8/9 support
- Beta test of fix for IE8/9 support
- Bumped version reported by
Treasure#version
- Added
hasAttribute
polyfill for IE8
- Allow for CDP host to be configured
- Add fetchUserSegments
- When available, use record's time to overwrite the default import time
- Refactor internal util usage to reduce resulting bundle size
- Add fetchGlobalID
- Replace Buffer usage with toBase64 util
- Add td_platform and td_user_agent tracked values
- Add clicks plugins, usable with trackClicks method
- Add scripts for building loader and uploading releases
- Add global package for safely resolving the window object
- Strip null values from clientId
- Use performance.now when generating a UUID if it's available
- Remove bundle-collapser
- Always use http or https protocol
- Use Buffer to get base64 string
- Remove Base64 dependency
- Improve browser support to include IE8 without having to include polyfills
- Improve tests to run on older browsers
- Remove legacy version of td-js-sdk
- Remove bower support
- Replace karma with zuul
- Replace gulp with npm run-scripts
- Remove examples
- Replace chai with expect.js
- Replace lodash with lodash-compat
- Update lodash file so we only include the parts we need in order to reduce the bundle size
- Break out utility functions and add tests
- Update code to follow Standard style
- Add Base64 dependency
- Add invariant dependency
- Remove es5-shim dependency
- Remove has-cors
- Remove superagent
- Fix documentation link in Error
- Remove xhr requestType and force jsonp
- Bump cookies-js dependency to
^1.1.0
- Bump jsonp dependency to
^0.1.0
- Bump superagent dependency to
^0.21.0
- Bump verge dependency to
^1.9.1
- Expose DEFAULT_CONFIG for customizations, for usage look at examples/wrapper
- Add legacy and modern build
- Publish on npm
- Removed broken AMD snippet
- Manually set domain now overwrites default behavior
- IPv4 and localhost now gets cookie set as expected
- Cookie expiration is now set as expected
- When domain is not set it will attempt to recursively set the cookie on top domain until it succeeds. For example, with domains:
bar.foo.com
,baz.foo.com
,foo.com
. It will attempt setting the cookie on.com
and it'll fail, then it'll try to set it on.foo.com
and it'll succeed. All three domains will use the.foo.com
cookie.
- td_referrer was not being set correctly, it should be using
document.referrer
- Fix issue where domain and expiration were not passed to tracking cookie setter
- Tracking cookie is now always set on the top level qualified domain
expiration
key renamed toexpires
- Remove
none
option from cookie domain settings
- Convert to CommonJS with Browserify
- Remove
auto
option from config.requestType. Leave undefined for auto-detection - Remove
auto
option from config.protocol. Leave undefined for auto-detection - Add E2E tests, runnable by doing
gulp e2e
after setting up webdriver - Rename Treasure#addEvent to Treasure#addRecord
- Remove Treasure#setGlobalProperties - replaced by Treasure#get and Treasure#set
- Add Treasure#trackPageview - track client page impressions
- Add Treasure#trackEvent - track client information and events
- Add Treasure#ready - callback function once DOM and library have loaded
- Add Treasure#get - global and per value getter
- Add Treasure#set - global and per table value setter
- Add development option to prevent events from sending
- Add logging option to disable logging
- Add tracking functionality which includes uuid and cookie storage
- core: protocol should always be http or https
- loader: detect protocol in snippet
- Initial release