|
4 | 4 |
|
5 | 5 | Full Changelog: [v0.1.4...v0.1.5](https://github.com/beeper/desktop-api-js/compare/v0.1.4...v0.1.5) |
6 | 6 |
|
7 | | -### Features |
8 | | - |
9 | | -* **api:** fix typo in bearerAuth ([76ac2e1](https://github.com/beeper/desktop-api-js/commit/76ac2e16ba6422053a24de98270016f90abe77a7)) |
10 | | -* **api:** manual updates ([3c711d9](https://github.com/beeper/desktop-api-js/commit/3c711d9190aed783a3c80c994bdc1a44107cd1be)) |
11 | | -* **api:** manual updates ([6f43810](https://github.com/beeper/desktop-api-js/commit/6f43810bf528676498df6ee81380fdf181ef5363)) |
12 | | -* **api:** manual updates ([2bc9e1b](https://github.com/beeper/desktop-api-js/commit/2bc9e1b7b6006cf9341b0bbf7ad5fba6ae482822)) |
13 | | -* **api:** manual updates ([49f039b](https://github.com/beeper/desktop-api-js/commit/49f039bbfb9080e425ea0756bdab767107de711d)) |
14 | | -* **api:** small tweaks ([ab7267b](https://github.com/beeper/desktop-api-js/commit/ab7267b120d2f009050bf8944cb43f6a27631de5)) |
15 | | -* **mcp:** add docs search tool ([d90bd86](https://github.com/beeper/desktop-api-js/commit/d90bd86e672737b397e15d388f4e9ad1a8bd43e3)) |
16 | | -* **mcp:** allow setting logging level ([6f2169f](https://github.com/beeper/desktop-api-js/commit/6f2169fd4bb1aaf12dbc7765c304fc9b722b0c32)) |
17 | | -* **mcp:** expose client options in `streamableHTTPApp` ([9afd751](https://github.com/beeper/desktop-api-js/commit/9afd7510b1c96fe5624d1f37f84521c1be1a6353)) |
18 | | - |
19 | | - |
20 | | -### Bug Fixes |
21 | | - |
22 | | -* **ci:** set permissions for DXT publish action ([5a6b63d](https://github.com/beeper/desktop-api-js/commit/5a6b63d7d7ba2514901ff5524890294feeaa981c)) |
23 | | -* coerce nullable values to undefined ([f43ac68](https://github.com/beeper/desktop-api-js/commit/f43ac6875858be2d27c31cbe7acc3d1fbac76c40)) |
24 | | -* **mcp:** fix query options parsing ([4f00241](https://github.com/beeper/desktop-api-js/commit/4f00241e35309ff7441fd842ba787a87caf17cae)) |
25 | | -* **mcp:** fix uploading dxt release assets ([1189099](https://github.com/beeper/desktop-api-js/commit/118909952860f420b4bc3f63b3de7e31d486c967)) |
26 | | - |
27 | | - |
28 | | -### Chores |
29 | | - |
30 | | -* ci build action ([b63fda2](https://github.com/beeper/desktop-api-js/commit/b63fda25086cfcc8758df9b5fcb32b49a78df28c)) |
31 | | -* **internal:** codegen related update ([b244e26](https://github.com/beeper/desktop-api-js/commit/b244e2647d3fd792e3764127ebdd8dc0c0f6df7f)) |
32 | | -* **internal:** codegen related update ([b961076](https://github.com/beeper/desktop-api-js/commit/b961076bf7533638f00eebb1b2a81508db35ad7b)) |
33 | | -* **internal:** codegen related update ([dd44c80](https://github.com/beeper/desktop-api-js/commit/dd44c803559a85fe7bc1f34fe7a5c4a356ec3460)) |
34 | | -* **internal:** gitignore .mcpb files ([5a8ade3](https://github.com/beeper/desktop-api-js/commit/5a8ade3b8c2fff3764893114e5eb862604fc5c6b)) |
35 | | -* **mcp:** rename dxt to mcpb ([343d030](https://github.com/beeper/desktop-api-js/commit/343d0303c26c103a763be49e7319bee88aa71b7e)) |
36 | | -* **mcp:** upload dxt as release asset ([55f6005](https://github.com/beeper/desktop-api-js/commit/55f6005d92b7f26a46c49ba76f17f7ea34b8c4b9)) |
| 7 | +**Compatible with Beeper Desktop v4.1.210+** |
| 8 | + |
| 9 | +## Added |
| 10 | +- `POST /v0/create-chat`: create single or group chats using participant IDs, optional title, and initial message text (`CreateChatOutput`). |
| 11 | +- `POST /v0/download-asset`: fetch Matrix `mxc://` assets and return a local `srcURL` (`DownloadAssetOutput`). Assets (avatars, message attachments) return a local file path if they are already download. This method can be used to download assets that are not yet downloaded. |
| 12 | +- `GET /v0/search`: unified search returning top chats, participant matches, and first page of messages (`UnifiedSearchOutput`). |
| 13 | +- `GET /v0/search-users`: look up contacts on a specific account before creating chats (`SearchUsersOutput`). |
| 14 | + |
| 15 | +## Changed |
| 16 | +- `POST /v0/open-app` (`OpenAppInput`): new `draftAttachmentPath`; message jump now uses `messageID`. |
| 17 | +- `GET /v0/search-chats` (`SearchChatsInput`): consolidated literal `query`, new `scope` toggle (titles vs participants), removed `participantQuery`, dropped `channel` from `type`, boolean filters now nullable. |
| 18 | +- `GET /v0/search-messages` (`SearchMessagesInput`/`SearchMessagesOutput`): replaced `onlyWith*` flags with `mediaTypes` array (`any/video/image/link/file`); default page size documented as 20 with enforced cap; updated cursor examples; mute/low-priority filters nullable. |
| 19 | +- `POST /v0/send-message` (`SendMessageOutput`): response returns `chatID` and `pendingMessageID` instead of a final `messageID`. |
| 20 | + |
| 21 | +## Removed |
| 22 | +- `POST /v0/download-attachment` and `GetAttachmentOutput` superseded by the new download asset flow. |
37 | 23 |
|
38 | 24 | ## 0.1.4 (2025-09-01) |
39 | 25 |
|
|
0 commit comments