- Bumped version reported by
Treasure#version
- Added
hasAttributepolyfill 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.comand it'll fail, then it'll try to set it on.foo.comand it'll succeed. All three domains will use the.foo.comcookie.
- 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
expirationkey renamed toexpires- Remove
noneoption from cookie domain settings
- Convert to CommonJS with Browserify
- Remove
autooption from config.requestType. Leave undefined for auto-detection - Remove
autooption from config.protocol. Leave undefined for auto-detection - Add E2E tests, runnable by doing
gulp e2eafter 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