Releases: snowplow/snowplow-javascript-tracker
Snowplow JavaScript Tracker v2.0.1
Snowplow JavaScript Tracker Core v0.2.0
Snowplow JavaScript Tracker Core v0.1.0
The initial release of the Snowplow JavaScript Tracker Core. Initially used just in the Segment.io server-side integration of Snowplow.
Snowplow JavaScript Tracker v2.0.0
A major upgrade, with an all-new API, new functionality and new Iglu-based functionality.
API updates
- Added new tag which allows queue to be renamed (#130)
- Moved to argmap-style tracker creation with 'newTracker' (#132)
- Passed tracker namespace through to collector in Tracker Protocol (#126)
- Added pageUnloadTimer option to argmap (#171)
New functionality
- Added support for namespacing (#4)
- Added initial localStorage support for intermittent offline beacons, thanks @rcs! (#24)
- Added new trackAdImpression, mapping to unstructured event (#13)
- Added ad conversion tracking (#60)
- Added ad click tracking (#59)
- Implemented enableLinkTracking support (#51)
- Started rigorously checking whether a page is cached by Yahoo (#142)
- Added support for cookie namespacing (#131)
Iglu-related changes
- Removed type hints from unstructured events and custom contexts (#163)
- Added hardcoded schema to custom context arrays (#199)
- Added hardcoded schema to unstructured events (#196)
- Changed trackUnstructEvent to take a JSON containing schema and data fields (#197)
Internal changes
- Moved fixUpUrl into its own file, called lib/proxies.js (#112)
- Fixed duplication of querystring parameter lookup (#111)
- Replaced cookie.js with browser-cookie-lite (#88)
- Removed references to referral cookie (#118)
- Added untracked files which should be ignored to .gitignore (#173)
- Replaced hard-coded version with template value (#120)
Testing and building
- Added tests for helpers.js (#96)
- Added tests for detectors.js (#95)
- Added Sauce Labs small button at top of README (#123)
- Added Sauce full test summary widget (long bar) at bottom of README (#124)
- Upgraded Intern to 1.5.0 (#119)
- Fixed link to code climate button in README.md (#149)
- Made JS invocation tag part of the build process (#158)
- Fixed warnings generated by the Closure Compiler, thanks @steve-gh! (#170)
Documentation and examples
Snowplow JavaScript Tracker v1.0.3
Fixing a character encoding bug.
Bug fixes
- Changed Base64 encoding function to prevent character encoding errors, thanks @shermozle! (#231)
Snowplow JavaScript Tracker v1.0.2
Snowplow JavaScript Tracker v1.0.1
Fixing a bug related to the way we were bundling the lodash library. This issue prevented the Snowplow JavaScript Tracker from initializing when in the presence of other JavaScripts using AMD-based loading (with AMD's define
global).
Bug fixes
Snowplow JavaScript Tracker v1.0.0
Our 1.0.0 release! Lots of infrastructural improvements, some new features (like offline storage) and removing some very old deprecations.
New features
- Added user fingerprinting on/off switch and configurable hash seed (#7)
Testing & CI
- Added Intern unit tests for payload.js (#5)
- Wrote tests for AsyncQueueProxy (#100)
- Moved functions from identifers.js into payload.js and wrote Intern tests for them (#108)
- Added Travis CI to the project (#103)
- Added codeclimate button to README (#137)
Build & documentation
- Added named Grunt tasks (#86)
- Added a built with Grunt button to the README (#102)
- Added extra meta-data to package.json (#83)
- Moved part of banner.js into Gruntfile with grunt-concat's banner option so its values are based on package.json (#82)
- Added getting started info for developers to README, thanks @pkallos! (#129)
Architectural changes
- Started using Browserify for modules (#74)
- Replaced some/all of lib/.js with modules (#7)
- Tightened public API for SnowPlow (#29)
- Renamed SnowPlow everywhere to Snowplow (#69)
- Prepended window. or SnowPlow.windowAlias. onto _snaq everywhere (#39)
- Moved hasSessionStorage and hasLocalStorage into detectors.js (#91)
- Replaced all functions in identifiers.js which are directly available from lodash (#85)
- Removed legacy Piwik plugin framework (#56)
Deprecations
Snowplow JavaScript Tracker v0.14.1
A single bug fix for the code underlying the setUserIdFrom*
methods.
Bug fixes
- Fixed bug where fromQuerystring was matching fragments instead of just the querystring (#116)
Snowplow JavaScript Tracker v0.14.0
Some neat new features, and introducing a Grunt-based build process.
New features
- Introduced gzipped sp.js library (#48)
- Added setUserIdFromReferrer and setUserIdFromLocation (#57)
- Added ability to pass a referrer to Snowplow from an IFRAME (#1)
- Tested setDoNotTrack and renamed it to respectDoNotTrack (#28)
- Added setUserIdFromCookie (#78)
Grunt-based build process
- Switched deployment to use Grunt (#58)
- Replaced snowpak.sh with Grunt and grunt-yui-compressor (#53)
- Updated grunt and intern dependencies (#54)
Tidy up
- Removed all DEBUG blocks from codebase (#65)
- Renamed requestStringBuilder to payloadBuilder and moved it into its own file, payload.js (#55)
- Moved detect...() functions into new file context.js (#37)
- Moved cookie-related functionality into new file cookie.js (#77)
- Removed getLegacyCookieName as no longer needed for migrating cookie IDs (#50)