Skip to content

Commit 399dd3f

Browse files
authored
Merge pull request #173 from GleapSDK/release/19.2.2-js
Release 19.2.2
2 parents 5c2f45e + c8d022c commit 399dd3f

15 files changed

Lines changed: 34 additions & 13 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 19.2.2
4+
Fixed: a product tour or tooltip selector that is not valid CSS, such as an attribute typed without its brackets (`data-test="x"` instead of `[data-test="x"]`), no longer throws. The bracketless form now finds its element; anything else counts as not found, so the tour ends cleanly instead of stopping with an error, copilot tours stop waiting after 5 s, and tooltips keep working.
5+
Fixed: the tour editor's element picker no longer stores ids and classes that Mantine and React 19 generate at runtime (`mantine-…` ids, `«r1»` / `_r_1_` from `useId`, Mantine 6 `mantine-<hash>`, Mantine 7 `m_<hash>` and `__m__-…` classes). They changed on the next page load, deploy or Mantine update and silently ended the tour; the picker now prefers stable names such as `mantine-Button-root`.
6+
37
## 19.2.1
48
Surveys: questions asking for the email, name or phone of an identified contact are skipped (with the Surveys 2.0 "Skip when known" option). `Gleap.showSurvey` and every automatic survey now wait for an `identify` or `updateContact` still in flight (at most 5 s), so the survey starts with the identified contact instead of the guest.
59
Fixed: a survey with nothing left to ask could leave an empty white card on screen (and `Gleap.isOpened()` true) when its frame was not loaded yet. A frame that was never shown now hides without the close animation and without a `close` event; `Gleap.close()` on a closed widget no longer fires `close`.

‎build/browser/index.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/browser/index.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/cjs/index.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/cjs/index.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/esm/index.mjs‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎build/esm/index.mjs.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "JavaScript and TypeScript SDK for Gleap, an Intercom alternative with AI customer support, live chat, in-app bug reporting and customer feedback.",
33
"name": "gleap",
4-
"version": "19.2.1",
4+
"version": "19.2.2",
55
"main": "build/cjs/index.js",
66
"module": "build/esm/index.mjs",
77
"exports": {

‎published/19.2.2/index.js‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)