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