@poolse/react-native 2.18.0 → 2.20.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.md CHANGED
@@ -4,6 +4,71 @@ All notable changes to `@poolse/react-native` are documented here.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
5
5
  versions follow [semver](https://semver.org).
6
6
 
7
+ ## [2.20.0] — 2026-10-13
8
+
9
+ ### Changed
10
+
11
+ - **The message bubble, rebuilt.** Same props, new rendering:
12
+ - The timestamp (with `edited` and the read ticks) sits on the last
13
+ line of plain-text bodies — an invisible twin reserves its exact
14
+ footprint, so it shares the line or wraps flush right. Short
15
+ messages are one-line bubbles again; the `minWidth` floor that
16
+ padded them out is gone.
17
+ - Media bleeds to a 3px frame of bubble color, capped at 420pt,
18
+ corners concentric with the bubble (default radius 16 → 18). When
19
+ a caption or file cards follow, the mosaic squares its bottom
20
+ corners into the text instead of leaving "ears" of bubble color.
21
+ - Image-only messages float the meta on a scrim pill over the
22
+ picture, matching the web package.
23
+ - 1–3 emoji and nothing else render large, without bubble chrome.
24
+ - Quote cards: 10pt radius, darker-than-bubble tint on both sides,
25
+ and a quoted-of-deleted fallback matching web.
26
+ - A deleted message renders its tombstone even when the body was
27
+ cleared server-side.
28
+
29
+ - **The always-visible corner chevron is gone.** It stamped a control
30
+ into the bubble's rounded corner and duplicated affordances a phone
31
+ already has — long-press opens the actions sheet, swipe quotes.
32
+ `MessageBubble`'s `actionsTrigger` slot remains for custom rows.
33
+
34
+ ### Added
35
+
36
+ - `AttachmentPreview tone="onBrand"` — restyles the file card for
37
+ brand-colored self bubbles (translucent white instead of a surface
38
+ patch). `MessageBubble` passes it automatically.
39
+ - `ImageMosaic squareBottom` — small bottom radii for mosaics that
40
+ flow into a caption; `radius` now applies per-corner. The mosaic
41
+ also takes an explicit pixel width from the bubble, fixing a layout
42
+ where a percentage against the auto-sized bubble could collapse or
43
+ blow the row open.
44
+
45
+ ## [2.19.0] — 2026-08-25
46
+
47
+ ### Added
48
+
49
+ - **The end of a call now travels by push, like its start.** A device
50
+ woken by a VoIP push is ringing on a lock screen with a socket that
51
+ may not be connected, so the broadcast that ends a call reaches
52
+ nothing there. `useVoipCalls` now understands a teardown push
53
+ (`event: "ended"`) and tears the ring down instead of starting one.
54
+ Needs a server that sends them, and an AppDelegate that reports the
55
+ call before ending it — see the sample's `plugins/withVoipPush.js`.
56
+
57
+ - `readPush()` — exported and pure, so what a push MEANS can be tested
58
+ apart from what CallKit does about it. A missing `event` reads as a
59
+ ring, which is what servers predating the field send.
60
+
61
+ ### Fixed
62
+
63
+ - **A ring that arrived by push is now registered with `useCalls`**, so
64
+ every signal that ends a call can match it. Previously only CallKit
65
+ knew about it. See `@poolse/react` 2.19.0.
66
+
67
+ ### Changed
68
+
69
+ - A finished call — declined, busy, no answer — closes itself after a
70
+ short pause instead of waiting behind a Close button.
71
+
7
72
  ## [2.18.0] — 2026-08-24
8
73
 
9
74
  ### Fixed