Repository navigation
-
! Minor Breaking Change ! Remote config is now downloaded with the current remote config API (
method=rc) by default, asuse_explicit_rc_apinow defaults totrue. It needs Countly server 22.09 or newer; setuse_explicit_rc_apitofalseto keep the legacy API. The values and the A/B test enrollment stay the same, except that downloading only some keys now enrolls the user only in the A/B tests that use those keys. -
Added
disable_health_checkinit option for turning off the health check request the SDK sends when it starts (defaultfalse). -
Added support for the drop old request time (
dort) SDK behavior setting: queued requests older than the set number of hours are dropped instead of sent. -
Mitigated an issue where importing the SDK as an ES module (Vite 8 and other
"type": "module"projects, Node.js, jsDelivr's+esm) or withrequire()gave a wrapper object instead of the SDK, soCountly.initwas undefined.Countly.defaultkeeps working. -
Mitigated an issue where an event or user property holding a value JSON cannot encode, such as a
BigIntor an object that refers back to itself (a React click event holds the window), stopped sending for the rest of the page. ABigIntis now sent as a string, other such values are left out. -
Mitigated an issue where, with
require_consent,Countly.initthrew an error in browsers that refuse access to storage, as when the visitor blocks cookies. -
Mitigated an issue where duplicate orientation events could have been recorded in SPAs.
-
Mitigated an issue where calls pushed into
Countly.qthrough a reference kept from before the SDK started, were never run. -
Mitigated an issue where the health check counted errors and warnings only with
debugon, and lost the ones logged on pages without automatic sessions. Its counters now restart when it is sent, even if it fails. -
Mitigated an issue where the back-off request age setting (
bom_ra) never applied, so requests older than it still paused sending while the server was slow. -
Mitigated an issue where building a site with Parcel required the
bufferpackage. -
Mitigated an issue where the health check reported the status code and response of a failed request only for queued requests.
-
Mitigated an issue where crash reports from Firefox and Safari had no error name or message, and those of unhandled promise rejections had no reason, only a line inside the SDK.