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