Skip to content

Commit c6d513e

Browse files
authored
Merge pull request #514 from codercops/dev
release: v1.0.0
2 parents db26ca6 + 7a2bcf3 commit c6d513e

92 files changed

Lines changed: 3706 additions & 431 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/core": patch
3+
---
4+
5+
Give the shared concurrent-append conformance test more time to complete on slower test environments.

‎.changeset/examples-start-on-1.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chatcops/server': patch
3+
---
4+
5+
The Express example mounts the handler with `app.use('/chat', ...)`, so the widget's `/chat/session` request reaches it, and its test command gets a session token first. The Vercel example says to add `api/chat/session.ts`.

‎.changeset/kind-csp-nonce.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": patch
3+
---
4+
5+
Apply CSP nonces to the widget's injected styles.

‎.changeset/ol-keep-numbers.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": patch
3+
---
4+
5+
Numbered lists in replies keep their numbers. A list that starts after 1, including each step of a list split by blank lines, now renders with `start` instead of restarting at 1.

‎.changeset/pre.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mode": "pre",
2+
"mode": "exit",
33
"tag": "rc",
44
"initialVersions": {
55
"@chatcops/cli": "0.1.0",

‎.changeset/search-config-index.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/cli": patch
3+
---
4+
5+
`chatcops search` now uses `ingest.index` from the config when `--index` isn't passed, the same index `chatcops ingest` builds.

‎.changeset/widget-consent-gate.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": minor
3+
---
4+
5+
`waitForConsent` holds the chat behind a notice until `ChatCops.setConsent(true)`. While it waits the widget uses no storage and calls no API; `setConsent(false)` closes the chat and removes what it saved. The notice has a button that calls `onConsentRequest`, and the script tag takes `data-wait-for-consent`.

‎.changeset/widget-header-menu.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": minor
3+
---
4+
5+
Add a header "More options" menu (`⋯`) with "New conversation", "Download transcript" and an optional "Privacy" link configured via `privacyUrl` (or `data-privacy-url`).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": patch
3+
---
4+
5+
Reuse a script tag's CSP nonce when manually initializing the widget.

‎.changeset/widget-offline-queue.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@chatcops/widget": minor
3+
---
4+
5+
A message sent while the browser is offline is shown as waiting ("Will send when you're back online", the new `messageWaiting` string) instead of failing. The widget sends the waiting messages in order, one at a time, when the `online` event fires. They are never saved, and a reload or a new conversation drops them.

0 commit comments

Comments
 (0)