1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
|
Changelog
=========
0.10.4 - Wed 15 Nov, 2017
-------------------------------
Server
~~~~~~
- [feature] improve server entrypoint (several refactors and introduction of
binary in debian package)
- [feature] improve speed of server startup
- [bug] wait for couch schema, configuration and environment checks before
running servers.
- [bug] debian package now reports the correct version
- [pkg] improve user db creation script (fixes and man page)
- [bug] limit concurrent blob writes in server
Client
~~~~~~
- [feature] support unsynced local only blobs
- [feature] add/fix blob deletion
- [feature] add and control concurrency of blobs local and remote operations
- [feature] add retries for blob transfers
- [bug] fixes in blob download/upload pipeline
- [bug] improve resilience of blobs concurrent access to sqlcipher
- [bug] fix blobs preamble flakiness
- [refactor] split blobs backend in many modules
Misc
~~~~
- [doc] many documentation improvements
- [doc] documentation was mirrored in https://leap.se/en/docs/design/soledad
- [benchmarks] add server scalability tests
- [benchmarks] add outlier detection
- [test] add e2e test for incoming mail pipeline
- [pkg] Add packages for debian buster.
- [pkg] deb: Make soledad-client depend on soledad-common
0.10.3 - Mon 11 Sep, 2017
----------------------------------
Server
~~~~~~
- [feat] Finished adding support for Incoming API
- [feat] Get config file name from environment variable.
- [bug] Add DELETE method to url mapper.
- [bug] Use correct keyword argument for server state initialization.
- `#8924 <https://0xacab.org/leap/soledad/issues/8924>`_: [bug] FileBodyProducer consumer usage wasn't closing the file
Client
~~~~~~
- [feat] Add columns for sync state of blobs inside sqlcipher
- [bug] Several bugfixes for BlobManager initialization.
- [bug] Fix usage of StringIO class in gzip middleware.
- `#8924 <https://0xacab.org/leap/soledad/issues/8924>`_: [bug] FileBodyProducer consumer usage wasn't closing the file
Misc
~~~~
- Use latest version of pytest-benchmark.
- Find correct twistd when outside tox envs
- Build packages for zesty and stretch.
- Add benchmark comparing legacy vs blobs sync.
- Add reactor responsiveness tests.
0.10.2 - Mon 21 Aug, 2017
----------------------------------
Server
~~~~~~
- Enforce namespace to default on server
- Add path partitioning to namespaces
Client
~~~~~~
- Add namespace to local blobs db table
- Track namespace information on blobs client
0.10.1 - Mon 07 Aug, 2017
---------------------------------
Server
~~~~~~
- Fixes IncomingBox missing preamble separator (space) which causes client to
fail parsing.
Client
~~~~~~
- Adds IncomingBoxProcessLoop and implement the process flow for IncominBox
specification.
- Adds IIncomingBoxConsumer interface, which can be used by Soledad apps to
implement consumers for IncomingBox feature.
0.10.0 - 18 July, 2017
-------------------------------
Server
~~~~~~
- Add an incoming API for email delivery. In the future, this may be used by
external applications for message delivery.
- Add namespace capability.
- List incoming blobs in chronological order.
- Finish minimal filesystem backend for blobs.
- Update BlobManager to support new server features, such as: namespaces,
incoming and listing.
- Make the backend configurable for incoming API, so it can use CouchDB now and
Blobs later.
Client
~~~~~~
- Use OpenSSL backend for scrypt if OpenSSL >= 1.1
Misc
~~~~
- Refactor preamble to account for PGP encryption scheme
- Removes scrypt dependency
- Unification of Client, Server and Common in a Single python package.
- Build soledad debian package with git-buildpackage.
- Document deprecation policy.
- Documentation is automatically uploaded to: https://soledad.readthedocs.io/
- Launch benchmarks website: https://benchmarks.leap.se/
0.9.6 - 31 May, 2017
-------------------------------
Server
~~~~~~
- Minimal Filesystem BlobsBackend implementation, disabled by default.
Client
~~~~~~
- Minimal Blobs manager implementation
- Blobs API
- Ability to generate recovery code.
- Fix deprecated multibackend call (cryptography).
Misc
~~~~~~
- Post benchmark results to elasticsearch
- Build docker image and push it to registry every time the dockerfile used for
tests is changed
- Fix flaky tests
- Cleanup old documentation.
- Added dependency on treq.
- Improve cpu/memory profiling.
- Bumped version to upload wheels to pypi, to workaround for dbschema.sql not
found after installation in virtualenv.
0.9.5 - 17 March, 2017
-------------------------------
Server
~~~~~~
- Make database creation appear in logs
Client
~~~~~~
- `#8721 <https://0xacab.org/leap/soledad/issues/8721>`_: Remove offline flag
- Fix raising of invalid auth token error
- Add default version when decrypting secrets
- Secrets version defaults to v1
Misc
~~~~
- First steps porting soledad to python3
0.9.3 - 06 March, 2017
-------------------------------
Server
~~~~~~
- Refactor authentication code to use twisted credential system.
- Announce server blobs capabilities
- `#8764 <https://0xacab.org/leap/soledad/issues/8764>`_: Allow unauthenticated users to retrieve the capabilties banner.
- `#6178 <https://0xacab.org/leap/soledad/issues/6178>`_: Add robots.txt
- #8762: Add a systemd service file
- Add script to deploy from git
Client
~~~~~~~~
- `#8758 <https://0xacab.org/leap/soledad/issues/8758>`_: Add blob size to the crypto preamble
- Improve secrets generation and storage code
- Add offline status to soledad client api.
- Remove syncable property
Misc
~~~~
- Improvements in performance benchmarks.
0.9.2 - 22 December, 2016
-------------------------
Performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~
- use AES 256 GCM mode instead of CTR-HMAC.
- streaming encryption/decryption and data transfer.
Server
~~~~~~
- move server to a twisted resource entrypoint.
Client
~~~~~~
- use twisted http agent in the client.
- maintain backwards compatibility with old crypto scheme (AES 256 CTR-HMAC).
No migration for now, only in 0.10.
- remove the encryption/decryption pools, replace for inline streaming crypto.
- use sqlcipher transactions on sync.
0.9.1 - 27 November, 2016
-------------------------
Server side bug fixes
~~~~~~~~~~~~~~~~~~~~~
- fix import on create-user-db script
- patch twisted logger so it works with twistd --syslog
- delay couch state initialization
- improve missing couch config doc error logging
- separate server application into another file
0.9.0 - 11 November, 2016
-------------------------
Main features
~~~~~~~~~~~~~
- Server-side changes in couch backend schema.
- Use of tox and pytest to run tests.
- Performance tests.
Server
~~~~~~
*** Attention: Migration needed! ***
This version of soledad uses a different database schema in the server couch
backend. The difference from the old schema is that the use of design documents
for storing and accessing soledad db metadata was removed because incurred in
too much memory and time overhead for passing data to the javascript
interpreter.
Because of that, you need to run a migration script on your database. Check the
`scripts/migration/0.9.0/` diretctory for instructions on how to run the
migration script on your database. Don't forget to backup before running the
script!
Bugfixes
~~~~~~~~
- Fix order of multipart serialization when writing to couch.
Features
~~~~~~~~
- Log to syslog.
- Remove usage of design documents in couch backend.
- Use _local couch docs for metadata storage.
- Other small improvements in couch backend.
0.8.1 - 14 July, 2016
---------------------
Client
~~~~~~
Features
++++++++
- Add recovery document format version for future migrations.
- Use DeferredLock instead of its locking cousin.
- Use DeferredSemaphore instead of its locking cousin.
Bugfixes
++++++++
- `#8180 <https://leap.se/code/issues/8180>`_: Initialize OpenSSL context just once.
- Remove document content conversion to unicode. Users of API are responsible
for only passing valid JSON to Soledad for storage.
Misc
++++
- Add ability to get information about sync phases for profiling purposes.
- Add script for setting up develop environment.
- Refactor bootstrap to remove shared db lock.
- Removed multiprocessing from encdecpool with some extra refactoring.
- Remove user_id argument from Soledad init.
Common
~~~~~~
Features
++++++++
- Embed l2db, forking u1db.
Misc
++++
- Toxify tests.
0.8.0 - 18 Apr, 2016
--------------------
Client
~~~~~~
Features
++++++++
- `#7656 <https://leap.se/code/issues/7656>`_: Emit multi-user aware events.
- Client will now send documents at a limited size batch due to changes on SyncTarget. The default limit is 500kB. Disabled by default.
Bugfixes
++++++++
- `#7503 <https://leap.se/code/issues/7503>`_: Do not signal sync completion if sync failed.
- Handle missing design doc at GET (get_sync_info). Soledad server can handle this during sync.
Misc
++++
- `#7195 <https://leap.se/code/issues/7195>`_: Use cryptography instead of pycryptopp.
Known Issues
++++++++++++
- Upload phase of client syncs is still quite slow. Enabling size limited batching
can help, but you have to make sure that your server is compatible.
Server
~~~~~~
Features
++++++++
- General performance improvements.
- `#7509 <https://leap.se/code/issues/7509>`_: Moves config directory from /etc/leap to /etc/soledad.
- Adds a new config parameter 'create_cmd', which allows sysadmin to specify
which command will create a database. That command was added in
pkg/create-user-db and debian package automates steps needed for sudo access.
- Read netrc path from configuration file for create-user-db command.
- 'create-user-db' script now can be configured from soledad-server.conf when
generating the user's security document.
- Migrating a user's database to newest design documents is now possible by
using a parameter '--migrate-all' on 'create-user-db' script.
- Remove tsafe monkeypatch from SSL lib, as it was needed for Twisted <12
- Added two methods to start and finish a batch on backend. They can be used to
change database behaviour, allowing batch operations to be optimized.
Common
~~~~~~
Features
++++++++
- Add a sanitized command executor for database creation and re-enable user
database creation on CouchServerState via command line.
Bugfixes
++++++++
- `#7626 <https://leap.se/code/issues/7626>`_: Subclass a leaky leap.common.couch exception to avoid depending on couch.
.. _`master`: https://0xacab.org/leap/soledad
|