|
2 | 2 | Release Notes |
3 | 3 | ============= |
4 | 4 |
|
| 5 | +2.0.0 (2020-03-23) |
| 6 | +================== |
| 7 | +This release requires Python 3.6+. **Python 2 is no longer supported as of this release** |
| 8 | + |
| 9 | +Highlights: |
| 10 | +---------------- |
| 11 | + |
| 12 | +- Multi-threaded download of files from Syanpse can be toggled by setting :code:`syn.multi_threaded=True` on a |
| 13 | + :code:`synapseclient.Synapse` object. This will become the default implementation in the future, |
| 14 | + but to ensure stability for the first release of this feature, it must be intentionally toggled. |
| 15 | + |
| 16 | + .. code-block:: python |
| 17 | +
|
| 18 | + import synapseclient |
| 19 | + syn = synapseclient.login() |
| 20 | + syn.multi_threaded = True |
| 21 | + # syn123 now will be downloaded via the multi-threaded implementation |
| 22 | + syn.get("syn123") |
| 23 | +
|
| 24 | + Multi-threaded download currently will only work with files stored in AWS S3, where most files on Synapse reside. |
| 25 | + Files not stored in S3 will fall back to single-threaded download even if :code:`syn.multi_threaded==True` |
| 26 | +- :code:`synapseutils.copy()` will no longer copy entities that have access requirements |
| 27 | + nor entities to which the user does not have download permissions |
| 28 | +- :code:`contentTypes` and :code:`fileNames` are optional parameters in :code:`synapseutils.copyFileHandles()` |
| 29 | + |
| 30 | +- Synapse Docker Repository(:code:`synapseclient.DockerRepository`) objects can be used as the :code:`entity` argument |
| 31 | + in :code:`synapseclient.Synapse.submit()`. Optional argument :code:`docker_tag="latest"` has also been added |
| 32 | + to :code:`synapseclient.Synapse.submit()` |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +Full set of addressed are issues are listed below. |
| 37 | + |
| 38 | + |
| 39 | +Bug |
| 40 | +--- |
| 41 | + |
| 42 | +- [`SYNPY-271 <https://sagebionetworks.jira.com/browse/SYNPY-271>`__] - |
| 43 | + cache.remove fails to return the file handles we removed |
| 44 | +- [`SYNPY-1032 <https://sagebionetworks.jira.com/browse/SYNPY-1032>`__] |
| 45 | + - Support new columnTypes defined in backend |
| 46 | + |
| 47 | +Task |
| 48 | +---- |
| 49 | + |
| 50 | +- [`SYNPY-999 <https://sagebionetworks.jira.com/browse/SYNPY-999>`__] - |
| 51 | + Remove unsafe copy functions from client |
| 52 | +- [`SYNPY-1027 <https://sagebionetworks.jira.com/browse/SYNPY-1027>`__] |
| 53 | + - Copy function should copy things when users are part of a Team that |
| 54 | + has DOWNLOAD access |
| 55 | + |
| 56 | +Improvement |
| 57 | +----------- |
| 58 | + |
| 59 | +- [`SYNPY-389 <https://sagebionetworks.jira.com/browse/SYNPY-389>`__] - |
| 60 | + submission of Docker repository |
| 61 | +- [`SYNPY-537 <https://sagebionetworks.jira.com/browse/SYNPY-537>`__] - |
| 62 | + synapseutils.copyFileHandles requires fields that does not require at |
| 63 | + rest |
| 64 | +- [`SYNPY-680 <https://sagebionetworks.jira.com/browse/SYNPY-680>`__] - |
| 65 | + synapseutils.changeFileMetaData() needs description in documentation |
| 66 | +- [`SYNPY-682 <https://sagebionetworks.jira.com/browse/SYNPY-682>`__] - |
| 67 | + improve download speeds to be comparable to AWS |
| 68 | +- [`SYNPY-807 <https://sagebionetworks.jira.com/browse/SYNPY-807>`__] - |
| 69 | + Drop support for Python 2 |
| 70 | +- [`SYNPY-907 <https://sagebionetworks.jira.com/browse/SYNPY-907>`__] - |
| 71 | + Replace \`from <module> import ...\` with \`import <module>\` |
| 72 | +- [`SYNPY-962 <https://sagebionetworks.jira.com/browse/SYNPY-962>`__] - |
| 73 | + remove 'password' as an option in default synapse config file |
| 74 | +- [`SYNPY-972 <https://sagebionetworks.jira.com/browse/SYNPY-972>`__] - |
| 75 | + Link on Synapse Python Client Documentation points back at itself |
| 76 | + |
| 77 | + |
5 | 78 | 1.9.4 (2019-06-28) |
6 | 79 | ================== |
7 | 80 |
|
8 | 81 | Bug |
9 | | -=== |
| 82 | +--- |
10 | 83 |
|
11 | 84 | - [`SYNPY-881 <https://sagebionetworks.jira.com/browse/SYNPY-881>`__] - |
12 | 85 | Synu.copy fails when copying a file with READ permissions |
|
20 | 93 | - Synu.copy shouldn't copy any files with access restrictions |
21 | 94 |
|
22 | 95 | New Feature |
23 | | -=========== |
| 96 | +----------- |
24 | 97 |
|
25 | 98 | - [`SYNPY-851 <https://sagebionetworks.jira.com/browse/SYNPY-851>`__] - |
26 | 99 | invite user or list of users to a team |
27 | 100 |
|
28 | 101 | Improvement |
29 | | -=========== |
| 102 | +----------- |
30 | 103 |
|
31 | 104 | - [`SYNPY-608 <https://sagebionetworks.jira.com/browse/SYNPY-608>`__] - |
32 | 105 | Add how to contribute md to github project |
|
0 commit comments