heap.js 5 Changelog

Changelog

All notable changes to the Heap.js 5 library will be documented in this file.

To check which version you are using, follow these instructions.

The format is based on Keep a Changelog and this project adheres to
Semantic Versioning.

[5.2.3] - 2024-11-11

Added

  • Additional logging
  • Error handling on shadowdom autocapture implementation

Changed

  • Block identify calls until metadata has been sent to network
  • Update method to wait for metadata from Contentsquare in Contentsquare integration

Fixed

  • Execution time of onReady queue in Contentsquare integration
  • Block event processing queue until metadata is queued in Contentsquare integration
  • Bug fix in version reporting on heap.getConfig().sdk when self-hosting

[5.2.2] - 2024-10-30

Added

  • New config option compressCookies to enable cookie compression (disabled by default)

Fixed

  • Bug fix on heap.identify where identify request was not being sent if current identity matched passed identity

[5.2.1] - 2024-10-23

Added

  • heap.identifyHashed

Fixed

  • Bug fix on internal setReferrer
  • Integration mismatch

Changed

  • Improved random ID generator

[5.2.0] - 2024-09-23

Added

  • User/session sync between mobile and webviews
  • queueCustomEvent dependency for use in adapters

[5.1.4] - 2024-09-09

Added

  • Validation to network requests

Fixed

  • Bug fix on cross domain iFrames causing session spike

Changed

  • Move execution of onReady queue after metadata is stored

[5.1.3] - 2024-08-28

Added

  • cs_crosswrites_heap to HeapTagStatus
  • Verify userId is available on addUserProperties calls

Changed

  • Lower time to flush buffer for INP
  • Replace deprecated mutation events

Fixed

  • Bug fix on heap.setLogLevel()

[5.1.2] - 2024-08-12

Fixed

  • Lodash conflict
  • Update rage click PointerEvent vs MouseEvent

Added

  • Capture library_version and library_domain on requests

[5.1.1] - 2024-07-29

Fixed

  • Missing envId when Heap is loaded twice

Added

  • Support Contentsquare as a client side source

[5.1.0] - 2024-07-12

Added

  • Handle session + pageview behavior when identify is called in Contentsquare tag
  • Block heap driving logic on heap env on Contentsquare domain
  • Set content-type=application/javascript; charset=utf-8 in heap.js headers
  • Add Contentsquare project id to hjs config

[5.0.0] - 2024-06-25

Fixed

  • Updated release version to 5.0.0

[1.0.0] - 2024-06-18

Fixed

  • cmd+click not working as expected

Added

  • Increase retry logic to 7 days
  • Updated integrations to use public addPageviewProperties API instead of internal