Skip to content

Commit 83d90d4

Browse files
authored
Merge pull request #732 from zimingd/release-notes-2.0.0
Release-notes 2.0.0
2 parents 048a1e1 + 44b1c4a commit 83d90d4

File tree

1 file changed

+76
-3
lines changed

1 file changed

+76
-3
lines changed

docs/news.rst

Lines changed: 76 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,84 @@
22
Release Notes
33
=============
44

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+
578
1.9.4 (2019-06-28)
679
==================
780

881
Bug
9-
===
82+
---
1083

1184
- [`SYNPY-881 <https://sagebionetworks.jira.com/browse/SYNPY-881>`__] -
1285
Synu.copy fails when copying a file with READ permissions
@@ -20,13 +93,13 @@ Bug
2093
- Synu.copy shouldn't copy any files with access restrictions
2194

2295
New Feature
23-
===========
96+
-----------
2497

2598
- [`SYNPY-851 <https://sagebionetworks.jira.com/browse/SYNPY-851>`__] -
2699
invite user or list of users to a team
27100

28101
Improvement
29-
===========
102+
-----------
30103

31104
- [`SYNPY-608 <https://sagebionetworks.jira.com/browse/SYNPY-608>`__] -
32105
Add how to contribute md to github project

0 commit comments

Comments
 (0)