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