@callimacus/thamyr-shopify 5.5.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.core.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [6.0.0](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v5.5.2...thamyr-core-v6.0.0) (2026-11-24)
7
+
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * **thamyr-core:** Synchronize thamyr versions
12
+
13
+ ## [5.5.2](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v5.5.1...thamyr-core-v5.5.2) (2026-11-21)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps:** eslint-config-xo 8, intent 2.2.7, vitest 5.1.1, storybook 10.6.8 ([#961](https://github.com/callimacus/thamyr-sdk/issues/961)) ([002e265](https://github.com/callimacus/thamyr-sdk/commit/002e26559a299d16c213822b44e7672323bdb8df))
19
+
6
20
  ## [5.5.1](https://github.com/callimacus/thamyr-sdk/compare/thamyr-core-v5.5.0...thamyr-core-v5.5.1) (2026-11-21)
7
21
 
8
22
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.0.0](https://github.com/callimacus/thamyr-sdk/compare/thamyr-shopify-v5.5.2...thamyr-shopify-v6.0.0) (2026-11-24)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **thamyr-shopify:** Synchronize thamyr versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * devDependencies
15
+ * @callimacus/thamyr-core bumped from ^5.5.2 to ^6.0.0
16
+
17
+ ## [5.5.2](https://github.com/callimacus/thamyr-sdk/compare/thamyr-shopify-v5.5.1...thamyr-shopify-v5.5.2) (2026-11-21)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **deps:** eslint-config-xo 8, intent 2.2.7, vitest 5.1.1, storybook 10.6.8 ([#961](https://github.com/callimacus/thamyr-sdk/issues/961)) ([002e265](https://github.com/callimacus/thamyr-sdk/commit/002e26559a299d16c213822b44e7672323bdb8df))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * The following workspace dependencies were updated
28
+ * devDependencies
29
+ * @callimacus/thamyr-core bumped from ^5.5.1 to ^5.5.2
30
+
3
31
  ## [5.5.1](https://github.com/callimacus/thamyr-sdk/compare/thamyr-shopify-v5.5.0...thamyr-shopify-v5.5.1) (2026-11-21)
4
32
 
5
33
 
package/MIGRATION.md CHANGED
@@ -17,8 +17,9 @@ Sites still on 1.x (the last 1.x release is 1.8.2) cross four majors at once. Wo
17
17
  7. **Salesforce `c_*` attributes and media extras are `unknown`** on `Basket`, on each `ProductItem` and on `Image.properties.cloudinary` — declare your shapes once, see [Custom attributes](#custom-attributes-are-unknown).
18
18
  8. **v4:** `skesis.*` takes a parameters object and resolves the envelope; `products.*` is deprecated but stays; `endpoint` must be an absolute URL; `Basket.basketId` is required — see [Migrating to v4](#migrating-to-v4).
19
19
  9. **v5:** nothing to change in your code; the SDK now records page views, opens of the items in the assistant's answers, adds to cart and the custom events your markup names on its own, see [Migrating to v5](#migrating-to-v5).
20
- 10. **Ride-along:** `@solomei-ai/intent` moves to 2.1.2 or later — see [Intent SDK 2.1.2 rides along](#intent-sdk-212-rides-along).
21
- 11. **Deploy:** if your build copies `VITE_*` variables into `.env`, delete those lines — see [`endpoint` must be an absolute URL](#endpoint-must-be-an-absolute-url-402).
20
+ 10. **v6:** React's `CallimacusBar` draws itself in a shadow root: delete CSS aimed at its insides and reach its field through `controlsRef` — see [Migrating to v6](#migrating-to-v6).
21
+ 11. **Ride-along:** `@solomei-ai/intent` moves to 2.1.2 or later — see [Intent SDK 2.1.2 rides along](#intent-sdk-212-rides-along).
22
+ 12. **Deploy:** if your build copies `VITE_*` variables into `.env`, delete those lines — see [`endpoint` must be an absolute URL](#endpoint-must-be-an-absolute-url-402).
22
23
 
23
24
  Dependencies your build scripts only had transitively through `@solomei-ai/common` (a `zod` import in a script, for instance) disappear too — declare them yourself.
24
25
 
@@ -36,6 +37,19 @@ The call sites a storefront on 1.x most often has, v1 → v5 in one hop:
36
37
 
37
38
  Prefer keeping v1's "resolve the payload, reject on failure" contract at your call sites? Pass `{throwOnError: true}` to the call: `const {data: basket} = await thamyr.cart.getCart({throwOnError: true})` is a `Basket` or a rejection, and from 4.1.0 the rejection is a `ThamyrHttpError` carrying `status` — see [Error handling](#error-handling). Under that option a 404 (the whisper row's "none yet") rejects with `status === 404`, and a fire-and-forget `void trackEvent(...)` needs a `.catch`.
38
39
 
40
+ # Migrating to v6
41
+
42
+ **Breaking in:** v6.0.0, for all six packages together; only React's `CallimacusBar` changes, and the wire protocol does not. The bar draws itself in a shadow root of its own, so no CSS of the page restyles it, and it carries its own type, Red Hat Display, inside the SDK. It looks and behaves the same on every site, with no workaround.
43
+
44
+ - **CSS aimed at the bar's insides stops applying.** Rules on `.cm-bar-input`, `.cm-bar-send`, `.cm-bar-suggestion`, `.cm-bar-ai-notice` and the rest no longer reach them: delete them. `.cm-bar` is still the page's element, and `className` and `style` still place it.
45
+ - **Delete the bar's workarounds.** Taps pass through the bar's empty space (the room its folded suggestions keep) on their own, so drop `pointer-events` rules on `.cm-bar` and its children. The AI notice is set in the bar's ink, which follows `colorScheme`: set that light or dark as the page beneath the bar, and drop any backing or colour picker behind the notice.
46
+ - **Queries into the bar find nothing.** Instead of `querySelector('.cm-bar-input')`, pass `controlsRef`: its `value`, `fill`, `send` and `focus` are the ones `useCallimacusBar` gives the widgets. The field carries `data-testid="prompt-bar"`, which Playwright finds inside the open shadow root, so drop code that set it after mount.
47
+ - **`font` is ignored** (deprecated): the bar is always set in Red Hat Display.
48
+ - **"Powered by Callimacus" shows only in the expanded bar's row of tools.** Under the compact bar, the AI notice and the Callimacus mark, now a link to callimacus.ai, say who it is.
49
+ - **Widgets in `children` stay in the page.** Your CSS still styles them, and the kit (`cm-bar-*` classes, `--cm-bar-*` variables) works as before.
50
+ - **A placeholder too long for the field** stays on one line and fades out at its edge.
51
+ - **`react-dom` is a peer dependency**, for the portal the bar renders its shadow root through.
52
+
39
53
  # Migrating to v5
40
54
 
41
55
  **Breaking in:** v5.0.0, for all six packages together. No call is removed and no signature changes: moving to v5 is a version bump. What changes is what your site sends at run time, since v5 records events on its own: see [v5 records events on its own](#v5-records-events-on-its-own).