Releases: groupby/gb-tracker-client
v5.4.0
v5.3.0
What's Changed
- ANA-1521 Consume HomePageview Events by @serhii-chashchukhin-groupby in #241
- ANA-1542 gbi-tracker-client update Readme by @serhii-chashchukhin-groupby in #243
Full Changelog: v5.1.4...v5.3.0
v5.1.4
v5.1.3
What's Changed
- fix(ANA-1449): GbTracker export and types by @KseniyaKondrashevich-GBI in #235
- chore(ANA-1455): update the README to include a description of the siteFilter functionality by @KseniyaKondrashevich-GBI in #235
Full Changelog: v5.1.2...v5.1.3
v5.1.2
What's Changed
- fix(ANA-1375): ensure site filter functionality works for ie 11 by @KseniyaKondrashevich-GBI in #232
- fix(ANA-1376): fix gb tracker client tld issue by @KseniyaKondrashevich-GBI in #231
Full Changelog: v5.1.1...v5.1.2
v5.2.0-pre-release
@KseniyaKondrashevich-GBI has advised that we should treat this tag as pre-release pending further development & QA.
What's Changed
- feat(ANA-1047): add home page view beacon support by @KseniyaKondrashevich-GBI in #224
Full Changelog: v5.1.1...v5.2.0
v5.1.1
What's Changed
- WIS-2244 | Upgrade orb version to 1 by @mattwelke in #83
- Wis 2407 search attribution token support by @mattwelke in #90
- WIS-2470 | Remove client side validation (because it's server side now), deprecate some event types by @mattwelke in #93
- INFO level logging for removed event types by @mattwelke in #95
- WIS-2652 | Restore front end validation for search beacons by @mattwelke in #96
- Add Dependabot config by @mattwelke in #99
- WIS-2660 | Add first-party subdomain support to gb-tracker-client cookie tracking by @mattwelke in #105
- Bump @types/deep-diff from 1.0.0 to 1.0.1 by @dependabot in #107
- Bump chai from 4.2.0 to 4.3.4 by @dependabot in #108
- Bump @babel/core from 7.11.1 to 7.16.0 by @dependabot in #102
- Bump moment from 2.27.0 to 2.29.1 by @dependabot in #103
- Bump ts-mocha from 7.0.0 to 8.0.0 by @dependabot in #109
- Bump @types/chai from 4.2.12 to 4.2.22 by @dependabot in #104
- Bump @types/glob from 7.1.3 to 7.2.0 by @dependabot in #106
- ci(ANA-1233): Pin version of Ubuntu runner to 20.04 by @jmbtutor in #216
- add gbi tracker client site filter support by @KseniyaKondrashevich-GBI in #214
- fix(ANA-1233): validation by @KseniyaKondrashevich-GBI in #219
Full Changelog: 3.12.0...v5.1.1
Add shared apex domain cross-domain support
Adds support for cross-domain tracking of shoppers, provided a some rules are met. See the readme for details.
Breaking changes
IMPORTANT
This version changes how shopper tracking works. If you use this version and your TLD is not .com, shopper tracking may break for you, and you should instead wait for tracker version 5.1.0+. See the readme for details.
Non-breaking changes
If you use a TLD like .com that is not affected by the issue described above, then this is a non-breaking change because the code used to call the constructor and event-sending functions does not change.
If you use version 4 right now, you can update by just updating the <script> tag or NPM dependency you use.
If you use version 3 right now, you should check the release notes for version 4 first to make sure the breaking changes do not affect you before upgrading from 3 to 5.
Restore front end validation for search event
Summary
Restores the old behavior for validating search events that was present in version 3.13.0. We unintentionally removed the validation for this event. In the future, it will be validated server side only (like the other event types), but for now, it will be validated in the browser JS the way it was before to help with implementing it. Errors will appear in the JS console.
Example:
Version is bumped to 4.0.0. You will need to manually bump the version you use via <script> tag (or via NPM) to 4 to get this change.
Note that despite being a major version increase to be strict with semantic versioning, any search event implementation using version 3.13.0 will work exactly the same with this version. Any search event implementation using a version after 3.13.0 will need to be tested with this version to ensure search beacons pass client side validation.
Details
What's Changed
- INFO level logging for removed event types by @mattwelke in #95
- WIS-2652 | Restore front end validation for search beacons by @mattwelke in #96
- WIS-2652 | Restore front end validation for search beacons by @mattwelke in #97
Full Changelog: 3.13.1...4.0.0
Remove client side validation, deprecate some event types
- Remove validation portion of "sanitization and validation" code because we're doing validation on the server now. 400 responses replace JS console errors. This is designed to be a non-breaking change from the perspective of GroupBy customers.
- Deprecate viewCart and moreRefinements event types. Calling functions is now a no-op. Functions will be removed in a future major version.
