diff --git a/CHANGELOG.md b/CHANGELOG.md index f1cb3342..b6c11c6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 19.8.0 +Added: banners set to **Until dismissed** (Outbound → Frequency → How often) report when the person closes them, with the X or one of the banner's buttons, and stay closed for that person. Until this version, such a banner is shown once per person. A banner already on screen is not shown a second time when its trigger fires again, and a closed one is not shown again in this browser even if a copy was already on its way. + ## 19.7.0 Changed: a signed session that expires now ends, as in Intercom's web Messenger. When the grant runs out (the project's "Signed login lasts", 7 days by default, or `sessionDuration`) and no fresh identity token arrives (no `setUserJwt` on that page load, and the JWT provider returns `null` or is not set), the SDK ends the identified session and continues as a fresh visitor with no conversation history, like `Gleap.clearIdentity()` (the JWT provider stays set). Until now the user stayed identified but unsigned (14 days of history, protected fields read-only). Before ending it, the SDK tries once to sign the session again: an identify already on its way, the token passed to `setUserJwt`, or the JWT provider. A network failure keeps the session. A later `setUserJwt` (or provider token) signs the user in again, and the server merges their visitor activity on this device into their contact. Added: a page left open past the expiry is checked when the grant runs out. If another tab renewed the grant, the SDK takes it from the cookie. If the messenger is open, the session ends once it is closed, at the latest an hour after the expiry (Intercom's one-hour cookie for activity after expiry). diff --git a/package-lock.json b/package-lock.json index 176c8c7f..1bf8f340 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gleap", - "version": "19.7.0", + "version": "19.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gleap", - "version": "19.7.0", + "version": "19.8.0", "license": "Commercial", "dependencies": { "@floating-ui/dom": "^1.7.5", diff --git a/package.json b/package.json index 8224d276..cb6f357a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "description": "JavaScript and TypeScript SDK for Gleap, an Intercom alternative with AI customer support, live chat, in-app bug reporting and customer feedback.", "name": "gleap", - "version": "19.7.0", + "version": "19.8.0", "main": "build/cjs/index.js", "module": "build/esm/index.mjs", "exports": {