Releases: Countly/countly-sdk-web
Releases · Countly/countly-sdk-web
Countly Web SDK 22.02.2
- Fixed a bug where the minified version had issues with the heatmap feature
Countly Web SDK 22.02.1
- Fixed a bug where heatmap files were not loading
Countly Web SDK 22.02.0
- !! Major breaking change !! Device ID provided during the init will be ignored if a device ID was provided previously
- Added a new init time flag which erases the previously stored device ID. This allows to set new device ID during init
- Added a new functionality with which it is possible to check the device ID type
- Now it appends the device ID type with each request
- Fixed a bug where custom utm tags were being overridden
- Added a safety check preventing the user from changing the device ID at offline mode
Countly Web SDK 21.11.4
- Fixed a bug where some server response formats were rejected
- Fixed a bug where some widgets' text color was not displayed correctly
Countly Web SDK 21.11.3
- Fixed a bug with
recordRatingWidgetWithID
where it would not record ratings
Countly Web SDK 21.11.2
- Fixed a bug where request queue was not processing
Countly Web SDK 21.11.1
- Fixed feedback widget bug related to the 'close events' origin check
- When consent is changed it will now send the full consent state instead of just the changed consents
- Rating widgets will now also be used through the feedback widgets API (in case the server supports it)
- When overriding 'getViewName' it is now possible to return 'null' to indicate that the page name should not be recorded
- Logs are now rearranged to include log levels
Countly Web SDK 21.11.0
- !! Major breaking change !! Rating and Feedback widgets now require 'star-rating' or 'feedback' consent exclusively, according to their type, instead of both:
present_feedback_widget
needs 'feedback' consent onlyget_available_feedback_widgets
needs 'feedback' consent onlyenable_feedback
needs 'star-rating' consent onlyshow_feedback_popup
needs 'star-rating' consent onlyinitialize_feedback_popups
needs 'star-rating' consent onlyreport_feedback
needs 'star-rating' consent only
- !! Major breaking change !! Enabling offline mode or changing device ID without merging will now clear the current consent. Consent has to be given again after performing this action.
- ! Minor breaking change ! 'change_id' will now not accept invalid device ID values. It will now reject null, undefined, values that are not of the type string and empty string values.
- ! Minor breaking change ! Multiple values now have a default limit adjustable at initialization:
- Maximum size of all string keys is now 128 characters by default.
- Maximum size of all values in key-value pairs is now 256 characters by default.
- Maximum amount of segmentation in one event is mow 30 key-value pairs by default.
- Maximum amount of breadcrumbs that can be recorded at once is now 100 by default.
- Maximum stack trace lines per thread is now 30 by default.
- Maximum stack trace line length is now 200 by default.
- Bug Fix - Fixed a bug where duration counter/timer was not paused even when the browser was out of focus
- Deprecating
report_feedback
, now it redirects torecordRatingWidgetWithID
- Deprecating
show_feedback_popup
, now it redirects topresentRatingWidgetWithID
- Deprecating
initialize_feedback_popups
, now it redirects toinitializeRatingWidgets
- Deprecating
enable_feedback
, now it redirects toenableRatingWidgets
- Deprecating
report_conversion
, now it redirects torecordDirectAttribution
- When recording internal events with 'add_event', the respective feature consent will now be checked instead of the 'events' consent.
- Increased the default max event batch size to 100.
- Automatic orientation tracking is now enabled by default. It can be turned off during init.
- Device ID can now be changed when no consent is given
Countly Web SDK 20.11.3
- surveys ie bugfix for the undefined origin
- remove unload handlers
- don't use closest polyfill
Countly Web SDK 20.11.2
- [example] crashes for react apps
- [fix] fetch remote config on init bug fix
- [fix] make sure code is running in a browser
- [improvement] add url to passed data from server for heatmaps (allowing to use separate servers for SDK and Heatmap)
- [improvement] new landing page logic when session cookie is used (landing happens on every session start)
- [update] example dependency updates