@antzsoft/chat-core 1.1.3 → 1.1.4

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.
@@ -155,7 +155,7 @@ section.sec>h2:hover{color:#fff}
155
155
 
156
156
  <div class="section-label">What's New</div>
157
157
  <ul>
158
- <li><a href="#whats-new">v1.1.3 Release Notes</a></li>
158
+ <li><a href="#whats-new">v1.1.4 Release Notes</a></li>
159
159
  </ul>
160
160
 
161
161
  <div class="section-label">Getting Started</div>
@@ -242,16 +242,56 @@ section.sec>h2:hover{color:#fff}
242
242
  <h2>What's New</h2>
243
243
  <p style="color:var(--muted);font-size:13px;margin-bottom:20px">Version history and release notes. Click a version to expand.</p>
244
244
 
245
- <!-- ── v1.1.3 (current) ── -->
246
- <div class="wn-version open" id="wn-113">
247
- <div class="wn-header" onclick="toggleVersion('wn-113')">
245
+ <!-- ── v1.1.4 (current) ── -->
246
+ <div class="wn-version open" id="wn-114">
247
+ <div class="wn-header" onclick="toggleVersion('wn-114')">
248
248
  <div class="wn-title">
249
- <span class="wn-ver">v1.1.3</span>
249
+ <span class="wn-ver">v1.1.4</span>
250
250
  <span class="wn-badge current">Current</span>
251
251
  <span class="wn-date">May 2026</span>
252
252
  </div>
253
253
  <span class="wn-chevron">▲</span>
254
254
  </div>
255
+ <div class="wn-body">
256
+
257
+ <div class="wn-item" id="wn-114-1">
258
+ <div class="wn-item-header" onclick="toggleItem('wn-114-1')">
259
+ <span class="wn-tag fix">Fix</span>
260
+ <span class="wn-item-title">Socket ack timeout eliminated for rapid or large messages</span>
261
+ <span class="wn-chevron-sm">▾</span>
262
+ </div>
263
+ <div class="wn-item-body">
264
+ <p>Sending many messages in quick succession — especially long text messages or in group chats with online recipients — could trigger a <code>Socket ack timeout: send_message</code> error on the client, even though the messages were delivered successfully. The root cause was that the server was performing delivery tracking, room broadcasts, and push notifications synchronously before returning the socket acknowledgement, which could exceed the 5-second ack window.</p>
265
+ <p>The server now returns the ack immediately after the message is written to the database. All subsequent work (delivery status tracking, <code>new_message</code> broadcast to recipients, push notifications) runs in the background. <strong>No behaviour change is visible to users</strong> — delivery ticks, message broadcasts, and push notifications all still fire; they just no longer block the ack.</p>
266
+ <p>No SDK or integration changes required. This fix is a server-side change paired with a client-side queue improvement (see below).</p>
267
+ </div>
268
+ </div>
269
+
270
+ <div class="wn-item" id="wn-114-2">
271
+ <div class="wn-item-header" onclick="toggleItem('wn-114-2')">
272
+ <span class="wn-tag fix">Fix</span>
273
+ <span class="wn-item-title">Per-conversation send queue — parallel sends across conversations</span>
274
+ <span class="wn-chevron-sm">▾</span>
275
+ </div>
276
+ <div class="wn-item-body">
277
+ <p>The SDK's internal <code>send_message</code> queue was previously shared across all conversations. This meant that sending messages in Conversation A would block outgoing messages in Conversation B until each ack completed, even though the two conversations are fully independent.</p>
278
+ <p>The queue is now keyed per <code>conversationId</code>. Messages within the same conversation are still serialised (guaranteeing order), but messages across different conversations are sent in parallel. The <code>QUEUE_MAX_SIZE</code> limit of 100 pending messages also now applies per conversation rather than globally.</p>
279
+ <p>No integration changes required. This is an internal SDK improvement in <code>@antzsoft/chat-core</code>.</p>
280
+ </div>
281
+ </div>
282
+
283
+ </div>
284
+ </div><!-- /.wn-version -->
285
+
286
+ <!-- ── v1.1.3 ── -->
287
+ <div class="wn-version" id="wn-113">
288
+ <div class="wn-header" onclick="toggleVersion('wn-113')">
289
+ <div class="wn-title">
290
+ <span class="wn-ver">v1.1.3</span>
291
+ <span class="wn-date">May 2026</span>
292
+ </div>
293
+ <span class="wn-chevron">▾</span>
294
+ </div>
255
295
  <div class="wn-body">
256
296
 
257
297
  <div class="wn-item" id="wn-113-1">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antzsoft/chat-core",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Platform-agnostic core for Antz Chat — API, socket, stores, types. Works in browser, React Native (Expo or bare), and Node.js.",
5
5
  "author": "Antz",
6
6
  "license": "MIT",