From 96bb524130152c2c691b53d4251e4edf09b511d2 Mon Sep 17 00:00:00 2001 From: LucaB01 Date: Wed, 25 Nov 2026 09:52:29 +0100 Subject: [PATCH 1/2] docs: short grouped changelog format for release notes CHANGELOG.md sections become the GitHub releases. New rule in AGENTS.md: Breaking changes (always, None when empty), Added, Changed, Deprecated, Fixed; one line per item with a PR link. README and /review point to it. Co-Authored-By: Claude Opus 5.5 --- .claude/commands/review.md | 2 +- AGENTS.md | 23 +++++++++++++++++++++++ README.md | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.claude/commands/review.md b/.claude/commands/review.md index 15046ce5..c0248be9 100644 --- a/.claude/commands/review.md +++ b/.claude/commands/review.md @@ -74,7 +74,7 @@ Everything in `.claude/rules/code-conventions.md`, including the one-job-one-sys ### 3. Public API and compatibility (critical) -Flag a removed or renamed `Gleap.*` method, parameter, option, default, callback, event, custom element, cookie or storage key; a changed meaning without a major version; an API change without `index.d.ts`, `CHANGELOG.md` and, for a new call, `README.md`; new behaviour that existing projects get without opting in; a third positional parameter on a public method. +Flag a removed or renamed `Gleap.*` method, parameter, option, default, callback, event, custom element, cookie or storage key; a changed meaning without a major version; an API change without `index.d.ts`, `CHANGELOG.md` and, for a new call, `README.md`; new behaviour that existing projects get without opting in; a third positional parameter on a public method; a `CHANGELOG.md` section that does not follow `AGENTS.md` → Changelog (headings, `Breaking changes` always present, one line per item with a PR link). ### 4. Host page: globals, teardown, errors (critical) diff --git a/AGENTS.md b/AGENTS.md index e555dd96..11294f81 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -48,6 +48,29 @@ Everything a customer can call or rely on is public: `window.Gleap`, every `Glea - **A change to the API updates `index.d.ts`, `CHANGELOG.md` and, for a new call, `README.md` in the same PR.** `npm run test:smoke` checks that every function `index.d.ts` declares exists on `window.Gleap`. - **New behaviour is opted into.** A project gets it from a dashboard setting or a new call, never because the SDK was updated. A missing setting keeps today's behaviour. +## Changelog + +Each `## X.Y.Z` section of `CHANGELOG.md` becomes the GitHub release for that tag (`.github/workflows/release.yml`). Customers read it to decide whether an upgrade is safe, so it must be quick to scan: + +```md +## X.Y.Z + +### Breaking changes +- None. + +### Added +- `Gleap.example()` does one thing in one line. ([#123](https://github.com/GleapSDK/JavaScript-SDK/pull/123)) + +### Fixed +- The launcher opens on the first tap on iPhone. ([#124](https://github.com/GleapSDK/JavaScript-SDK/pull/124)) +``` + +- **Headings, in this order:** `### Breaking changes`, `### Added`, `### Changed`, `### Deprecated`, `### Fixed`. `Breaking changes` is always there and says `- None.` when there are none; leave out the other headings when they are empty. +- **Breaking** is anything that can make a customer's code, build or setup act differently after the upgrade: a changed default, behaviour or typing, or something that now needs a setting. Say what to do about it. Unsure? List it here. +- **One line per item:** short sentences, plain words, no em dashes, no internal names (ticket numbers, customers, other products). Name the API in backticks and dashboard settings in bold. +- **End each item with a link to its PR.** Details, reasons and edge cases go in the PR or the docs, not here. +- A change with no effect for customers (docs, tests, tooling) gets one line under `Changed`, for example `- Documentation only. No code changes.` + ## Customer requests A ticket is one customer's view, a bug report too. Before changing anything for it: diff --git a/README.md b/README.md index 739c68ef..049da91b 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ We are here to help! hello@gleap.io ## Releasing -1. Set `version` in `package.json` and add a `## X.Y.Z` section to `CHANGELOG.md`. +1. Set `version` in `package.json` and add a `## X.Y.Z` section to `CHANGELOG.md` in the format in `AGENTS.md` → Changelog (grouped headings, one line per item). 2. Merge to `master`. Cloudflare Workers Builds deploys the CDN build (`sdk.gleap.io`) on every push to `master`. 3. `git tag X.Y.Z && git push origin X.Y.Z` (plain version, no `v`). From 284baa306951365d54e47356345b819230023739 Mon Sep 17 00:00:00 2001 From: LucaB01 Date: Wed, 25 Nov 2026 10:34:47 +0100 Subject: [PATCH 2/2] docs: rewrite CHANGELOG.md 18.0.0 to 19.9.1 in the short grouped format Every version starts with Breaking changes (None when empty), then Added, Changed, Fixed, one line per item with its PR link. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 393 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 290 insertions(+), 103 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb8122ed..1d4f2eac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,174 +1,361 @@ # Changelog ## 19.9.1 -Changed: when `Gleap.identify` or `Gleap.updateContact` fails, the promise it returns rejects with an `Error`, for example `Gleap updateContact failed: network error`, `Gleap identify failed: HTTP 500` or `Gleap identify failed: refused (token_invalid)`. Until this version it rejected with `undefined` or the string `'Session not ready yet.'`, which error trackers such as Bugsnag and Sentry report as a non-error unhandled rejection with no message. A logout while one of these requests was still on its way now resolves instead of rejecting. If your app does not want failed requests (for example a user who is offline) in its error tracker, catch them with `Promise.resolve(Gleap.identify(...)).catch(() => {})`. Wrap the call in `Promise.resolve`, because these calls return nothing when there is nothing to send. `Gleap.setLanguage` catches its own contact update. -Changed: a product tour that is not live on the current page no longer writes to `console.error`. -Fixed: `index.d.ts` declared `Gleap.setStyles` with one object, but the SDK takes positional arguments: `setStyles(primaryColor, headerColor, buttonColor, backgroundColor?, borderRadius?, buttonX?, buttonY?, buttonStyle?, headerColor2?, headerColor3?)`. A call in the declared object form threw an error on the page and injected no styles. TypeScript projects that call `setStyles` with an object now get a compile error pointing at that call, which never worked; pass the values as arguments instead. No runtime change. + +### Breaking changes +- TypeScript: `Gleap.setStyles` is typed with positional arguments, as the SDK always took them. A call with one object now fails to compile (it never worked). Pass the values as arguments. ([#230](https://github.com/GleapSDK/JavaScript-SDK/pull/230)) +- `Gleap.identify` and `Gleap.updateContact` reject with an `Error` with a message, not `undefined` or a string. Error trackers now report these failures; catch them if you don't want that. ([#231](https://github.com/GleapSDK/JavaScript-SDK/pull/231)) +- A logout while `identify` or `updateContact` is still running resolves instead of rejecting. ([#231](https://github.com/GleapSDK/JavaScript-SDK/pull/231)) + +### Changed +- A product tour that is not live on the page no longer logs to `console.error`. ([#231](https://github.com/GleapSDK/JavaScript-SDK/pull/231)) ## 19.9.0 -Changed: the feedback form's **Record screen** uses the microphone only when **Developer options → Microphone** is on, and then it starts muted until the user turns it on. Until this version, form recordings asked for the microphone whenever the browser had one, regardless of that setting, and on a site that already had microphone permission the browser gave it without a prompt. The mic button is hidden when the setting is off. Projects that want sound in form recordings turn the setting on. -Added: product tours and tooltips can point at elements inside open shadow roots. A selector continues into a shadow root with `host >>> inner`, the element picker stores such selectors, and the highlight, the interaction lockout and click-to-continue work for those elements. -Changed: the feedback form's capture step uses the current tab on desktop Chromium. **Mark the bug** takes its screenshot from the tab, drawings included (one click in the browser's share dialog). Where the tab can't be captured, or the dialog is declined, the report renders the page on the server as before. **Record screen** offers the current tab first and records MP4 or WebM with a seekable duration. -Changed: automatic replay recording starts once the page is idle (at most 2 s after `Gleap.initialize`; after the page's load event in Safari), so it no longer competes with the page while it loads. With replays off, the recorder never runs. -Fixed: on iPhone (iOS Safari) the launcher sometimes didn't open the widget until a reload. The Messenger frame now reloads or resets itself when it doesn't answer within 10 s, recovers after back/forward navigation, and resets cleanly when the SDK starts again. -Fixed: a product tour whose start URL has a query string lost the tour parameter in the redirect, so the tour never started. -Fixed: a second tour in the same page load advanced two steps per click. -Fixed: `index.d.ts` declares `setAiChatbarPlaceholder`, `getChecklistData`, `setOfflineMode`, `close(resetRoutes)`, `onToken` and `cancelStream`. They existed in the SDK, but TypeScript projects got type errors calling them. + +### Breaking changes +- **Record screen** in the feedback form uses the microphone only when **Developer options → Microphone** is on, and starts muted. Turn the setting on to keep sound in form recordings. ([#224](https://github.com/GleapSDK/JavaScript-SDK/pull/224)) + +### Added +- Product tours and tooltips can point at elements inside open shadow roots with `host >>> inner`. ([#222](https://github.com/GleapSDK/JavaScript-SDK/pull/222)) + +### Changed +- On desktop Chromium, **Mark the bug** and **Record screen** capture the current tab, after one click in the browser's share dialog. The server render stays the fallback. ([#214](https://github.com/GleapSDK/JavaScript-SDK/pull/214)) +- Replay recording starts once the page is idle, at most 2 s after `Gleap.initialize`. ([#216](https://github.com/GleapSDK/JavaScript-SDK/pull/216)) + +### Fixed +- On iPhone, the launcher sometimes did not open the widget until a reload. ([#215](https://github.com/GleapSDK/JavaScript-SDK/pull/215)) +- A tour whose start URL has a query string never started. ([#218](https://github.com/GleapSDK/JavaScript-SDK/pull/218)) +- A second tour in the same page load moved two steps per click. ([#222](https://github.com/GleapSDK/JavaScript-SDK/pull/222)) +- `index.d.ts` declares `setAiChatbarPlaceholder`, `getChecklistData`, `setOfflineMode`, `close(resetRoutes)`, `onToken` and `cancelStream`. ([#221](https://github.com/GleapSDK/JavaScript-SDK/pull/221)) ## 19.8.1 -Fixed: `package.json` declares `"license": "MIT"`, matching the LICENSE file. It said `Commercial`, which license scanners report as a finding. No code changes. + +### Breaking changes +- None. + +### Fixed +- `package.json` declares `"license": "MIT"`, matching the LICENSE file. No code changes. ([#219](https://github.com/GleapSDK/JavaScript-SDK/pull/219)) ## 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. + +### Breaking changes +- Banners set to **Until dismissed** show until the person closes them, then stay closed. Before, they showed once per person. ([#205](https://github.com/GleapSDK/JavaScript-SDK/pull/205)) ## 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). -Unchanged: users identified with `Gleap.identify(userId, data)` and no token or hash were never signed and stay identified. A grant that is only missing before its expiry (cookie deleted, cookies off) is restored as before. Classic projects are not affected. -The SDK keeps `{ gleapId, userId, exp }` of the last grant (no credential) in the `signed-session-` cache entry and cookie, so a reload after the expiry knows the session was signed. + +### Breaking changes +- Signed sessions end when they expire and no new identity token arrives. The user goes on as a new visitor, like after `Gleap.clearIdentity()`. Users identified without a token or hash are not affected. ([#212](https://github.com/GleapSDK/JavaScript-SDK/pull/212)) +- A page left open past the expiry ends the session too. If the Messenger is open, it ends once the Messenger closes, at most one hour later. ([#212](https://github.com/GleapSDK/JavaScript-SDK/pull/212)) + +### Changed +- Before a session ends, the SDK tries once to sign it again with `setUserJwt` or the JWT provider. ([#212](https://github.com/GleapSDK/JavaScript-SDK/pull/212)) ## 19.6.1 -Documentation only: README, package description and doc comments name the Project ID (Settings → Project → General) and sign users in with `setUserJwt`. No code changes. + +### Breaking changes +- None. + +### Changed +- Documentation only: the README and doc comments use the name Project ID and `setUserJwt`. No code changes. ([#210](https://github.com/GleapSDK/JavaScript-SDK/pull/210)) ## 19.6.0 -Changed: the key `Gleap.initialize` takes is now called **Project ID** (formerly "SDK key" or "API key"). The value is the same and every existing key keeps working; nothing needs to change in your app. Typings, JSDoc and the README name the parameter `projectId`. -Added: `Gleap.initialize({ projectId, sessionDuration })` takes the Project ID inside the options object, and `Gleap.initialize(undefined, { projectId })` works too. The positional form `Gleap.initialize(projectId, options)` and the legacy boolean second argument are unchanged. The options are typed as `Gleap.InitializeOptions`. + +### Breaking changes +- None. + +### Added +- `Gleap.initialize({ projectId, sessionDuration })` takes the Project ID inside the options object. ([#209](https://github.com/GleapSDK/JavaScript-SDK/pull/209)) + +### Changed +- The key `Gleap.initialize` takes is now called **Project ID** (formerly SDK key or API key). Existing keys keep working. ([#209](https://github.com/GleapSDK/JavaScript-SDK/pull/209)) ## 19.5.2 -Fixed: `Gleap.setUserJwtProvider` alone never signed the session again after a page reload. When the grant cookie was missing (an IP-address host, or the cookie deleted) and the app set only the provider, without calling `setUserJwt`, the user stayed unsigned although the server reported Signed mode. The SDK now asks the provider once per page load when the server reports Signed mode for an identified session without a valid grant and no token is held, and identifies with the returned token like `setUserJwt` (a token for another user goes through the usual `identity_mismatch` recovery). A provider that returns `null` sends nothing. Also applies when the provider is set after the session loaded. -Fixed: cookies were never stored on IP-address hosts (for example `http://127.0.0.1:8080` or `http://[::1]:8080`). The SDK wrote an invalid `domain` attribute there, so the browser dropped the session and grant cookies. On an IP address they are now host-only cookies (no `domain`), and erasing them works the same way. Domain hosts and `localhost` are unchanged. + +### Breaking changes +- None. + +### Fixed +- `Gleap.setUserJwtProvider` alone did not sign the session again after a page reload. ([#208](https://github.com/GleapSDK/JavaScript-SDK/pull/208)) +- Cookies were not stored on IP address hosts such as `http://127.0.0.1:8080`. ([#208](https://github.com/GleapSDK/JavaScript-SDK/pull/208)) ## 19.5.1 -Fixed: the `getIdentity()` typing lists the identified user's fields again (`userId`, `name`, `email`, `phone`, `companyId`) next to `gleapId`, `gleapHash` and `grant`; 19.5.0 typed only the session pair and the grant, which broke TypeScript callers that read the user from it. No runtime change. + +### Breaking changes +- None. + +### Fixed +- TypeScript: `getIdentity()` lists the user's fields (`userId`, `name`, `email`, `phone`, `companyId`) again. ([#207](https://github.com/GleapSDK/JavaScript-SDK/pull/207)) ## 19.5.0 -Added: signed customer identity. `Gleap.setUserJwt(token)` identifies the user with an identity token (HS256 JWT signed by your backend); its `userId` claim names the user and every other claim lands on the contact as signed data. The token is kept in memory only, and the call never rejects: refusals are logged. -Added: `Gleap.setUserJwtProvider(provider)` hands Gleap a function that returns a fresh identity token; it is called when the current token expired or is about to. -Added: `Gleap.setAuthTokens(tokens)` stores per-user tokens for your API tools on the signed contact (`{{session.authTokens.}}`); `null` removes one. Kept in memory only. -Added: `Gleap.setSessionDuration(ms)` and `Gleap.initialize(sdkKey, { sessionDuration })` ask the server for a shorter signed session (never beyond the project's maximum). Only sent with an identify when you set it. A boolean second argument to `initialize` (the legacy `disablePing`) is still accepted and typed. -Added: a signed identify returns a grant, the server-signed session credential. The SDK sends it as the `Gleap-Grant` header on every request, keeps it in the `gleap-grant-` cookie (when cookies are on) so a reload stays signed, refreshes it a minute before it runs out, hands it to the messenger, the AI chat bar and agent conversations, and returns it from `Gleap.getIdentity()`. `Gleap.clearIdentity()` drops it everywhere. -Added: when the project runs in signed identity mode (`identity.mode === 'signed'`) and a returning user's session has no live grant, the SDK sends the held identify once to get one, without looping. -Added: identify refusals are recognised by code (`token_expired`, `token_invalid`, `signature_required`, `identity_mismatch`); an expired token asks the JWT provider for a new one. + +### Breaking changes +- None. + +### Added +- `Gleap.setUserJwt(token)` signs the user in with an identity token (an HS256 JWT from your backend). ([#203](https://github.com/GleapSDK/JavaScript-SDK/pull/203)) +- `Gleap.setUserJwtProvider(provider)` gives Gleap a function that returns a fresh token. ([#203](https://github.com/GleapSDK/JavaScript-SDK/pull/203)) +- `Gleap.setAuthTokens(tokens)` stores per-user tokens for your API tools. ([#203](https://github.com/GleapSDK/JavaScript-SDK/pull/203)) +- `Gleap.setSessionDuration(ms)` and the `sessionDuration` option ask for a shorter signed session. ([#203](https://github.com/GleapSDK/JavaScript-SDK/pull/203)) +- `Gleap.getIdentity()` returns the signed session grant. ([#203](https://github.com/GleapSDK/JavaScript-SDK/pull/203)) ## 19.4.1 -Fixed: since 19.4.0 the SDK failed to load on pages that are not UTF-8 (no charset declared, or for example ISO-8859-1), with `Invalid regular expression: Range out of order in character class`, so the widget did not appear at all. The bundle held raw non-ASCII characters, which such a page decodes with its own encoding. The build now escapes all non-ASCII characters, which also keeps text in the bundle intact on those pages. + +### Breaking changes +- None. + +### Fixed +- Since 19.4.0, the SDK failed to load on pages that are not UTF-8. ([#206](https://github.com/GleapSDK/JavaScript-SDK/pull/206)) ## 19.4.0 -New: **Show me** chat cards highlight their target. When Kai's Show me card opens a page of your app, the SDK finds the button or field the card names, scrolls to it and outlines it for a few seconds (waiting for content that renders late). The label is matched by its visible text, so a near-miss such as "Post as draft" for a "Save as draft" toggle still lands on it. The `gleap_highlight` parameter is removed from the address bar afterwards; `Gleap.disableQueryParams()` turns it off. The Messenger only offers the Show me button to SDKs from this version on; older SDKs and the mobile apps show Open only. + +### Breaking changes +- None. + +### Added +- **Show me** chat cards scroll to and outline the button or field they name. `Gleap.disableQueryParams()` turns it off. ([#204](https://github.com/GleapSDK/JavaScript-SDK/pull/204)) ## 19.3.9 -Fixed: a hotspot tooltip floated over the page while the panel around it scrolled, instead of staying next to its element. Since 19.3.7 the hotspot is absolutely positioned so it does not shift the element's layout; inside a scrolling panel without a positioned ancestor it was anchored outside the panel. The hotspot now uses its element as the anchor and scrolls with it. + +### Breaking changes +- None. + +### Fixed +- A hotspot tooltip floated over the page when the panel around it scrolled. ([#202](https://github.com/GleapSDK/JavaScript-SDK/pull/202)) ## 19.3.8 -Fixed: `Gleap.identify` with a `userHash` sent nothing when the browser already held a contact identified with the same user id and data without a hash (identified before identity verification was switched on, or before the app passed a hash). The server never received the hash, so the contact was never marked as verified. The SDK now sends the hashed identify once per contact and browser and skips unchanged identifies again afterwards. Only the user id is remembered, never the hash; logging out with `Gleap.clearIdentity()` clears it. + +### Breaking changes +- None. + +### Fixed +- `Gleap.identify` with a `userHash` sent nothing when the same user was cached without a hash, so the contact was never verified. ([#200](https://github.com/GleapSDK/JavaScript-SDK/pull/200)) ## 19.3.7 -Fixed: the launcher could not be reached with the keyboard. It is now a focusable button with a name ("Open support chat" or your button text) and an expanded state; Enter and Space open the messenger and move focus into it, a focus ring shows on keyboard focus, and closing the messenger from inside returns focus to the launcher. -Fixed: hotspot tooltips only appeared after a full reload in apps that navigate without one (Turbo Drive, SPAs). Tooltips now follow URL changes, re-attach to re-rendered elements and are removed when their page rules no longer match. A hotspot no longer shifts the element it points at. + +### Breaking changes +- None. + +### Fixed +- The launcher can be used with the keyboard (Enter and Space open it, focus moves into the Messenger and back). ([#198](https://github.com/GleapSDK/JavaScript-SDK/pull/198)) +- Hotspot tooltips follow page changes in apps that navigate without a reload (Turbo, SPAs). ([#196](https://github.com/GleapSDK/JavaScript-SDK/pull/196)) ## 19.3.6 -Fixed: a language switch in the app never reached the contact. `Gleap.identify` and `Gleap.updateContact` skipped the request when the user data was unchanged, without looking at the language, so apps that change language without a full reload (Turbo, SPAs updating ``) kept the old language on the contact and language-targeted outreach used it. The SDK now sends the update when the active language differs from the contact's. -Fixed: `Gleap.clearIdentity()` called before the widget UI mounted (a queued call in the async snippet) left the previous contact's cached notifications in place, and a reload showed them to the next visitor. Cached notifications are now cleared regardless and are only shown to the contact that received them. -Fixed: cached notification cards ignored disabled notifications and were still shown. + +### Breaking changes +- None. + +### Fixed +- A language switch in the app did not reach the contact when the user data was unchanged. ([#194](https://github.com/GleapSDK/JavaScript-SDK/pull/194)) +- `Gleap.clearIdentity()` before the widget loaded kept the last contact's notifications. ([#190](https://github.com/GleapSDK/JavaScript-SDK/pull/190)) +- Cached notification cards ignored disabled notifications. ([#192](https://github.com/GleapSDK/JavaScript-SDK/pull/192)) ## 19.3.5 -Fixed: a product tour step whose selector only matched a hidden element (`display: none`, such as the label of a collapsed menu or the hidden copy of a responsive menu) froze the page. The step pointed at the top-left corner, the overlay blocked every click, a click step had no way forward and reloading brought the step back. Steps now use the first visible match; with none, the tour waits up to 5 s for the element to appear and then ends, like a selector that matches nothing. + +### Breaking changes +- None. + +### Fixed +- A tour step that matched only a hidden element froze the page. Steps use the first visible match. ([#188](https://github.com/GleapSDK/JavaScript-SDK/pull/188)) ## 19.3.4 -New: the widget can switch the visitor to a contact after the "Verify email" workflow step confirmed their email (`adopt-session`). The SDK checks the handed-over session with the server first and never replaces a user your app identified. -New: custom actions from chat messages and message cards now pass their data to your `Gleap.registerCustomAction` callback as `data` (next to `name` and `shareToken`), with a Messenger that sends it. Callbacks that only read `name` keep working. + +### Breaking changes +- None. + +### Added +- The widget can switch the visitor to a contact after the **Verify email** workflow step. A user your app identified is never replaced. ([#185](https://github.com/GleapSDK/JavaScript-SDK/pull/185)) +- `Gleap.registerCustomAction` callbacks get the action's `data`. ([#187](https://github.com/GleapSDK/JavaScript-SDK/pull/187)) ## 19.3.3 -Fixed: charts and other SVG graphics could be missing from screenshots. An empty `