]> nmode's Git Repositories - signal-cli/blob - CHANGELOG.md
Add option to send read receipts for all received data messages
[signal-cli] / CHANGELOG.md
1 # Changelog
2
3 ## [Unreleased]
4
5 ## [0.10.6] - 2022-05-19
6 **Attention**: Now requires native libsignal-client version 0.17
7
8 ### Added
9 - Check if account is used on the environment it was registered (live or staging)
10 - New command `deleteLocalAccountData` to delete all local data of an unregistered account
11 - New parameter `-g` for `listGroups` command to filter for specific groups
12
13 ### Fixed
14 - Fix deleting a recipient which has no uuid
15
16 ### Changed
17 - Show warning when sending a message and no profile name has been set.
18 (A profile name may become mandatory in the future)
19 - After blocking a contact/group the profile key is now rotated
20 - Only update profile keys from authoritative group changes
21
22 ## [0.10.5] - 2022-04-11
23 **Attention**: Now requires native libsignal-client version 0.15
24
25 ### Added
26 - New `--ban`, `--unban` flags for `updateGroup` command to ban users from joining by group link
27
28 ### Fixed
29 - Fix plain text output of blocked group ids
30 - Fix error output in case of rate limiting
31 - Fix error when creating a group with no members
32 - Fix adding recent Signal-Desktop versions as linked devices
33
34 ## [0.10.4.2] - 2022-03-17
35 ### Fixed
36 - Crash in json output when receiving message from untrusted identity
37 - Fix multi account commands for newly created accounts
38
39 ## [0.10.4.1] - 2022-03-02
40 ### Fixed
41 - Linking to current apps (which currently don't include a PNI identity yet)
42 - Show better error message when --target-timestamp is missing for sendReceipt
43
44 ## [0.10.4] - 2022-02-20
45 ### Added
46 - Implement support for change number as linked device
47 - Add `--message-from-stdin` flag for send command. The current behavior of
48 reading from stdin if the `-m` flag is not given, will be removed in a future
49 version.
50
51 ### Changed
52 - Align receive timeout behavior for dbus client with cli and JSON-RPC.
53 Timeout is reset by every incoming message
54 - Renamed `error` field in json receive response to `exception`
55
56 ### Fixed
57 - Prevent a stale jsonrpc connection from interfering with message receiving
58
59 ## [0.10.3] - 2022-02-01
60 ### Added
61 - MessageSendLog to cache sent message for 24h.
62 For resending messages in case the recipient fails to decrypt the message.
63 - New global `--log-file` parameter to write logs to a separate file.
64 (`--verbose` can be used to increase the log level)
65
66 ### Improved
67 - Better subscription handling for JSON-RPC `subscribeReceive` command
68
69 ### Fixed
70 - Output receipt data for unsealed sender receipts again
71 - Fix sending message resend requests to devices that happen to have the same deviceId
72
73 ## [0.10.2] - 2022-01-22
74 ### Fixed
75 - Archive old sessions/sender keys when a recipient's identity key has changed
76 - Fix profile fetch with an invalid LANG variable
77
78 ## [0.10.1] - 2022-01-16
79 ### Added
80 - Send group messages with sender keys (more efficient for larger groups)
81 - New command `listStickerPacks` to display all known sticker packs
82 - New flag `--sticker` for `send` command to send stickers
83
84 ### Changed
85 - Improve exit code for message sending.
86 Exit with 0 status code if the message was sent successfully to at least
87 one recipient, otherwise exit with status code 2 or 4 (for untrusted).
88 - Download profiles in parallel for improved perfomance
89 - `--verbose` flag can be specified multiple times for additional log output
90 - Enable more security options for systemd service file
91 - Rename sandbox to staging environment, to match the upstream name.
92
93 ### Fixed
94 - The first incoming message after registration can now always be decrypted successfully
95 - Ignore decryption failures from blocked contacts and don't send a resend request.
96
97 ## [0.10.0] - 2021-12-11
98 **Attention**: Now requires Java 17 and libsignal-client version 0.11
99
100 ### Added
101 - The daemon command now provides a JSON-RPC based socket interface (`--socket` and `--tcp`)
102 - New daemon command flag `--receive-mode` to configure when messages are received
103 - New daemon command flag `--no-receive-stdout` to prevent outputting messages on stdout
104 - New command `listAccounts` that lists all registered local accounts
105 - New command `removeContact`
106 - Extend `send` command to allow sending mentions (`--mention`) and quotes (`--quote-timestamp`, `--quote-author`, `--quote-message`, `--quote-mention`)
107 - New dbus methods sendGroupTying, unregister, deleteAccount
108 - New dbus events MessageReceivedV2, ReceiptReceivedV2, SyncMessageReceivedV2 that provide an extras parameter with additional message info as a key/value map
109 - New dbus method sendViewedReceipt (Thanks @John Freed)
110 - New dbus object Configuration to read and update configuration values (Thanks @John Freed)
111 - Payment info in json receive output (Thanks @technillogue)
112 - `-c` alias for `--config` (Thanks @technillogue)
113
114 ### Changed
115 - libzkgroup dependency is no longer required
116 - Renamed `-u` and `--username` flags to `-a` and `--account` to prevent confusion with upcoming Signal usernames. The old flags are also still supported for now.
117 - Respect phone number sharing mode and unlisted state set by primary device
118 - Adapt register command to reactivate account if possible.
119 - dbus-java now uses Java 16 native unix sockets, which should provide better cross-platform compatibility
120 - If sending to a recipient fails (e.g. unregistered) signal-cli now exits with a success exit code and prints additional information about the failure.
121
122 ### Fixed
123 - Registering an existing unregistered account now works reliably in daemon mode
124 - Fixed an issue with loading some old config files without UUID
125 - More reliable send behavior if some recipients are unregistered
126
127 ## [0.9.2] - 2021-10-24
128 ### Fixed
129 - dbus `listNumbers` method works again
130
131 ### Changed
132 - Improved provisioning error handling if the last steps fail
133 - Adapt behavior of receive command as dbus client to match normal mode
134 - Update captcha url for proof required handling
135
136 ## [0.9.1] - 2021-10-16
137 **Attention**: Now requires native libzkgroup version 0.8
138
139 ### Added
140 - New command `updateConfiguration` which allows setting configurations for linked devices
141 - Improved dbus daemon for group handling, groups are now exported as separate dbus objects
142 - Linked devices can be managed via dbus
143 - New dbus methods sendTyping and sendReadReceipt (Thanks @JtheSaw)
144 - New dbus methods submitRateLimitChallenge, isRegistered, listDevices, setExpirationTimer, sendContacts, sendSyncRequest, uploadStickerPack, setPin and removePin (Thanks @John Freed)
145 - New dbus method getSelfNumber
146
147 ### Fixed
148 - Do not send message resend request to own device
149 - Allow message from pending member to accept group invitations
150 - Fix issue which could cause signal-cli to repeatedly send the same delivery receipts
151 - Reconnect websocket after connection loss
152
153 ### Changed
154 - Use new provisioning URL `sgnl://linkdevice` instead of `tsdevice:/`
155 - The gradle command to build a graalvm native image is now `./gradlew nativeCompile`
156
157 ## [0.9.0] - 2021-09-12
158 **Attention**: Now requires native libsignal-client version 0.9
159
160 ### Breaking changes
161 - Removed deprecated `--json` parameter, use global parameter `--output=json` instead
162 - Json output format of `listGroups` command changed:
163 Members are now arrays of `{"number":"...","uuid":"..."}` objects instead of arrays of strings.
164 - Removed deprecated fallback data paths, only `$XDG_DATA_HOME/signal-cli` is used now
165 For those still using the old paths (`$HOME/.config/signal`, `$HOME/.config/textsecure`) you need to move those to the new location.
166
167 ### Added
168 - New global parameter `--trust-new-identities=always` to allow trusting any new identity key without verification
169 - New parameter `--device-name` for `updateAccount` command to change the device name (also works for the primary device)
170 - New SignalControl DBus interface, to register/verify/link new accounts
171 - New `jsonRpc` command that provides a JSON-RPC based API on stdout/stdin
172 - Support for announcement groups
173 - New parameter `--set-permission-send-messages` for `updateGroup` to create an announcement group
174 - New `sendReceipt` command to send read and viewed receipts
175 - Support for receiving sender key messages, mobile apps can now send messages more efficiently with server-side fan-out to groups with signal-cli members.
176 - Support for reading data from remote Signal storage. Now v2 groups will be shown after linking a new device.
177 - New `submitRateLimitChallenge` command that can be used to lift some rate-limits by solving a captcha
178
179 ### Fixed
180 - Store identity key correctly when sending a message after a recipient has changed keys
181
182 ## [0.8.5] - 2021-08-07
183 ### Added
184 - Source name is included in JSON receive output (Thanks @technillogue)
185
186 ### Fixed
187 - Allow updateContact command to only set expiration timer without requiring a name parameter
188
189 ## [0.8.4.1] - 2021-06-20
190 ### Fixed
191 - Incorrect error handling in register command
192
193 ## [0.8.4] - 2021-06-13
194 **Attention**: Now requires native libsignal-client version 0.8.1
195
196 ### Added
197 - New parameters for `updateGroup` command for group v2 features:
198 `--description`, `--remove-member`, `--admin`, `--remove-admin`, `--reset-link`, `--link`, `--set-permission-add-member`, `--set-permission-edit-details`, `--expiration`
199 - New `--admin` parameter for `quitGroup` to set an admin before leaving the group
200 - New `--delete` parameter for `quitGroup`, to delete the local group data
201 - New 'sendTyping' command to send typing indicators
202
203 ### Fixed
204 - Fixed issue that prevented registration with invalid locales
205 - Prevent last admin of a group from leaving the group
206 - All commands now show a short description with `--help`
207 - Now a hint is shown if messages aren't received regularly
208 - Group edit conflicts are now resolved automatically
209
210 ## [0.8.3] - 2021-05-13
211
212 ### Fixed
213 - Upgrading from account files with older profiles
214 - Building native image with graalvm
215
216 ## [0.8.2] - 2021-05-11
217 ### Added
218 - A manual page for the DBus interface (Thanks @bublath, @exquo)
219 - Remote message delete command (Thanks @adaptivegarage)
220 - sendSyncRequest command to request complete contact/group list from primary device
221 - New `--delete-account` argument for unregister (Dangerous)
222 - New `--family-name` argument for updateProfile
223
224 ### Fixed
225 - Sending reaction to group (Thanks @adaptivegarage)
226 - Displaying of address for messages from untrusted identities
227 - Handling of recipient number or uuid changes (e.g. after account deletions)
228 - Only respond to sync requests from primary device
229 - Display of quit group messages
230
231 ### Changed
232 - Unlimited strength crypto is now enabled automatically for JREs that require it (Thanks @i-infra)
233 - Only one identity key is stored per recipient and updated from profile (to match app behavior)
234 - updateContact, block and unblock are now disabled for linked devices
235 - After registering an empty profile is created so new groups can be joined immediately
236 - If message decryption fails due to a broken session, the session is automatically renewed
237 - Rework account storage for better reliability
238 - Improved device linking flow
239 - Allow relinking existing account
240 - Encrypt/Decrypt device names
241
242 ## [0.8.1] - 2021-03-02
243 ### Added
244 - New dbus commands: updateProfile, listNumbers, getContactNumber, quitGroup, isContactBlocked, isGroupBlocked, isMember, joinGroup (Thanks @bublath)
245 - Additional output for json format: shared contacts (Thanks @Atomic-Bean)
246 - Improved plain text output to be more consistent and synced messages are now indented
247
248 ### Fixed
249 - Issue with broken sessions with linked devices
250
251 ### Changed
252 - Behavior of `trust` command improved, when trusting a new identity key all other known keys for
253 the same number are removed.
254
255 ## [0.8.0] - 2021-02-14
256 **Attention**: For all signal protocol functionality an additional native library is now required: [libsignal-client](https://github.com/signalapp/libsignal-client/).
257 See https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal for more information.
258
259 ### Added
260 - Experimental support for building a GraalVM native image
261 - Support for setting profile about text and emoji
262
263 ### Fixed
264 - Incorrect error message when removing a non-existent profile avatar
265
266 ## [0.7.4] - 2021-01-19
267 ### Changed
268 - Notify linked devices after profile has been updated
269
270 ### Fixed
271 - After registering a new account, receiving messages didn't work
272 You may have to register and verify again to fix the issue.
273 - Creating v1 groups works again
274
275 ## [0.7.3] - 2021-01-17
276 ### Added
277 - `getUserStatus` command to check if a user is registered on Signal (Thanks @Atomic-Bean)
278 - Global `--verbose` flag to increase log level
279 - Global `--output=json` flag, currently supported by `receive`, `daemon`, `getUserStatus`, `listGroups`
280 - `--note-to-self` flag for `send` command to send a note to linked devices
281 - More info for received messages in json output: stickers, viewOnce, typing, remoteDelete
282
283 ### Changed
284 - signal-cli can now be used without the username `-u` flag
285 For daemon command all local users will be exposed as dbus objects.
286 If only one local user exists, all other commands will use that user,
287 otherwise a user has to be specified.
288 - Messages sent to self number will be sent as normal Signal messages again, to
289 send a sync message, use the new `--note-to-self` flag
290 - Ignore messages with group context sent by non group member
291 - Profile key is sent along with all direct messages
292 - In json output unnecessary fields that are null are now omitted
293
294 ### Fixed
295 - Disable registration lock before removing the PIN
296 - Fix PIN hash version to match the official clients.
297 If you had previously set a PIN you need to set it again to be able to unlock the registration lock later.
298 - Issue with saving account file after linking
299
300 ## [0.7.2] - 2020-12-31
301 ### Added
302 - Implement new registration lock PIN with `setPin` and `removePin` (with KBS)
303 - Include quotes, mentions and reactions in json output (Thanks @Atomic-Bean)
304
305 ### Fixed
306 - Retrieve avatars for v2 groups
307 - Download attachment thumbnail for quoted attachments
308
309 ## [0.7.1] - 2020-12-21
310 ### Added
311 - Accept group invitation with `updateGroup -g GROUP_ID`
312 - Decline group invitation with `quitGroup -g GROUP_ID`
313 - Join group via invitation link `joinGroup --uri https://signal.group/#...`
314
315 ### Fixed
316 - Include group ids for v2 groups in json output
317
318 ## [0.7.0] - 2020-12-15
319 ### Added
320 Support for groups of new type/v2
321 - Sending and receiving
322 - Updating name, avatar and adding members with `updateGroup`
323 - Quit group and decline invitation with `quitGroup`
324 - In the `listGroups` output v2 groups can be recognized by the longer groupId
325
326 **Attention**: For the new group support to work the native libzkgroup library is required.
327 See https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal for more information.
328
329 ### Fixed
330 - Rare NullPointerException when receiving messages
331
332 ## [0.6.12] - 2020-11-22
333 ### Added
334 - Show additional message content (view once, remote delete, mention, …) for received messages
335 - `--captcha` parameter for `register` command, required for some IP ranges
336
337 ### Changed
338 - Profile keys are now stored separately from contact list
339 - Receipts from normal and unidentified messages now have the same format in json output
340
341 ### Fixed
342 - Issue where some messages were sent with an old counter index
343
344 ## [0.6.11] - 2020-10-14
345 - Fix issue with receiving message reactions
346
347 ## [0.6.10] - 2020-09-11
348 - Fix issue when retrieving profiles
349 - Workaround issue with libzkgroup on platforms other than linux x86_64
350
351 ## [0.6.9] - 2020-09-10
352 - Minor bug fixes and improvements
353 - dbus functionality now works on FreeBSD
354 - signal-cli now requires Java 11
355
356 **Warning: this version only works on Linux x86_64, will be fixed in 0.6.10**
357
358 ## [0.6.8] - 2020-05-22
359 - Switch to hypfvieh dbus-java, which doesn't require a native library anymore (drops requirement of libmatthew-unix-java)
360 - Bugfixes for messages with uuids
361 - Add `--expiration` parameter to `updateContact` command to set expiration timer
362
363 ## [0.6.7] - 2020-04-03
364 - Send command now returns the timestamp of the sent message
365 - DBus daemon: Publish received sync message to SyncMessageReceived signal
366 - Fix issue with resolving e164/uuid addresses for sessions
367 - Fix pack key length for sticker upload
368
369 ## [0.6.6] - 2020-03-29
370 - Added listContacts command
371 - Added block/unblock commands to block contacts and groups
372 - Added uploadStickerPack command to upload sticker packs (see man page for more details)
373 - Full support for sending and receiving unidentified sender messages
374 - Support for message reactions with emojis
375 - Internal: support recipients with uuids
376
377 ## [0.6.5] - 2019-11-11
378 Supports receiving messages sent with unidentified sender
379
380 ## [0.6.4] - 2019-11-02
381 - Fix rounding error for attachment ids in json output
382 - Add additional info to json output
383 - Add commands to update profile name and avatar
384 - Add command to update contact names
385
386 ## [0.6.3] - 2019-09-05
387 Bug fixes and small improvements
388
389 ## [0.6.2] - 2018-12-16
390 - Fixes sending of group messages
391
392 ## [0.6.1] - 2018-12-09
393 - Added getGroupIds dbus command
394 - Use "NativePRNG" pseudo random number generator, if available
395 - Switch default data path:
396 `$XDG_DATA_HOME/signal-cli` (`$HOME/.local/share/signal-cli`)
397 Existing data paths will continue to work (used as fallback)
398
399 ## [0.6.0] - 2018-05-03
400 - Simple json output
401 - dbus signal for receiving messages
402 - Registration lock PIN
403 - Output quoted message
404
405 ## [0.5.6] - 2017-06-16
406 * new listGroups command
407 * Support for attachments with file names
408 * Support for complete contacts sync
409 * Support for contact verification sync
410 * DBus interface:
411 * Get/Set group info
412 * Get/Set contact info
413
414 ## [0.5.5] - 2017-02-18
415 - fix receiving messages on linked devices
416 - add unregister command
417
418 ## [0.5.4] - 2017-02-17
419 - Fix linking of new devices
420
421 ## [0.5.3] - 2017-01-29
422 * New commandline paramter for receive: --ignore-attachments
423 * Updated dependencies
424
425 ## [0.5.2] - 2016-12-16
426 - Add support for group info requests
427 - Improve closing of file streams
428
429 ## [0.5.1] - 2016-11-18
430 - Support new safety numbers (https://whispersystems.org/blog/safety-number-updates/)
431 - Add a man page
432 - Support sending disappearing messages, if the recipient has activated it
433
434 ## [0.5.0] - 2016-08-29
435 - Check if a number is registered on Signal, before adding it to a group
436 - Prevent sending to groups that the user has quit
437 - Commands to trust new identity keys (see README)
438 - Messages from untrusted identities are stored on disk and decrypted when the user trusts the identity
439 - Timestamps shown in ISO 8601 format
440
441 ## [0.4.1] - 2016-07-18
442 - Fix issue with creating groups
443 - Lock config file to prevent parallel access by multiple instances of signal-cli
444 - Improve return codes, always return non-zero code, when sending failed
445
446 ## [0.4.0] - 2016-06-19
447 - Linking to Signal-Desktop and Signal-Android is now possible (Provisioning)
448 - Added a contact store, mainly for syncing contacts with linked devices (editing not yet possible via cli)
449 - Avatars for groups and contacts are now stored (new folder "avatars" in the config path)
450
451 ## [0.3.1] - 2016-04-03
452 - Fix running with Oracle JRE 8
453 - Fix registering
454 - Fix unicode warning when compiling with non utf8 locale
455
456 ## [0.3.0] - 2016-04-02
457 - Renamed textsecure-cli to signal-cli, following the rename of libtextsecure-java to libsignal-service-java
458 - The experimental dbus interface was also renamed to org.asamk.Signal
459 - Upload new prekeys to the server, when there are less than 20 left, prekeys are needed to create new sessions
460
461 ## [0.2.1] - 2016-02-10
462 - Improve dbus service
463 - New command line argument --config to specify config directory
464
465 ## [0.2.0] - 2015-12-30
466 Added an experimental dbus interface, for sending and receiving messages (The interface is unstable and may change with future releases).
467
468 This release works with Java 7 and 8.
469
470 ## [0.1.0] - 2015-11-28
471 Add support for creating/updating groups and sending to them
472
473 ## [0.0.5] - 2015-11-21
474 - Add receive timeout commandline parameter
475 - Show message group info
476
477 ## [0.0.4] - 2015-09-22
478
479 ## [0.0.3] - 2015-08-07
480
481 ## [0.0.2] - 2015-07-08
482 First release