- Added ability to authenticate from a SYNAPSE_AUTH_TOKEN environment variable set with a valid personal access token, e.g.:
# set environment variable prior to using synapser
export SYNAPSE_AUTH_TOKEN='<my_personal_access_token>'
The environment variable will take priority over credentials in the user’s .synapseConfig file or any credentials saved in a prior login using the remember me option.
- R >= 4.0 is required for this and future versions of synapser.
- Login using an access token is now supported, e.g.
synLogin(authToken="token")
. See Manage Synapse Credentials for more details. - The following additional functions are exposed:
- Expose (additional) Python commands in the synapser package (SYNR-1474)
- Python cryptography installation can fail due to Rust compiler dependency (SYNR-1475)
- Markupsafe version incompatibility resolved (SYNR-1466)
- Fixed incomaptibility with source compile R 4.0.3 on Mac (SYNR-1471)
- Implicit gettext dependency removed on Macs (SYNR-1463)
- Formal arguments defined on most Synapse methods (SYNR-1243
- Internet connection no longer required to load synapser package (SYNR-1233)
- R-4.0 compatible (SYNR-1445)
- New method
set_entity_views
inEntityViewSchema
allows replacing the entity types that will appears in a view. - New message on package load notifies users when a new
synapser
version is available on Sage's RAN.
synSetAnnotations()
documentation now clearly states that the function will replace the existing annotations. (SYNR-1361)- The
Table()
reference documentation now has a link to the Table vignette. (SYNR-1365) - The synapser vignette now has a link to the Manage Synapse Credentials vignette. (SYNR-1382)
- The Manage Synapse Credentials vignette now has instructions on how to login using Synapse API key. (SYNR-1383)
- Table vignettes has new examples using
synGetTableColumns
. (SYNR-1384) synBuild_table()
no longer shows up in the synapser package's namespace. (SYNR-1387)- synapser installation instructions now has a link to System Dependencies vignette. (SYNR-1393)
- New parameter
includeEntityTypes
inEntityViewSchema
allows configuring Synapse Views with all available Entity types. (SYNR-1350)
- In synapser 0.5, we locked down the version of the Python package
keyring.alt
to ensure stable installation in the Linux environment. (SYNR-1375) as.data.frame(synTableQuery(...))
now correctly returns Rdata.frame
with column types matching the Table column types. (SYNR-1275, SYNR-1322, and SYNR-1325)
- New Troubleshooting vignette with more information about package installation on Windows with network drive configuration. (SYNR-1248)
- New File Upload vignette with more information about uploading a new version of a file. (SYNR-1360)
- New Manage Synapse Credentials vignette with more ways to login to Synapse. (SYNR-1367)
- Improve
synGetChildren()
documentation. (SYNR-1280, and SYNR-1374) - Improve
synSetAnnotations()
documentation. (SYNR-1165) - Simplify docs for deleting Table rows. (SYNR-1340)
- Document accessing md5 with
synGet()
. (SYNR-1359) - Document
synSendMessage()
for one receipient. (SYNR-1362) - Improve
Table()
documentation. (SYNR-1365)
synQuery()
andsynChunkedQuery()
are deprecated and removed. To query for entities filter by annotations, please useEntityViewSchema
feature.synUploadFileHandle()
andsynUploadSynapseManagedFileHandle()
are deprecated in synapser 0.4, and will be removed in synapser 0.5.
- In synapser 0.4, we locked down the version of the Python package
keyring
to ensure stable installation on Linux environment. (SYNR-1345)
- New convenience function
synBuildTable
creates a Table Schema based on the given data, and returns a Table object that can be stored in Synapse usingsynStore
. - New convenience function
synMove
allows users to move entities to a different parent.
synStore
now uses a single thread to avoid the C stack limit error (SYNR-1323).- Create 50 or more Links at a time (SYNR-1276).
- Python warning messages are no longer printed.
synapser
namespace no longer containsPythonEmbedInR
and other R package functions (SYNR-1274).- New NEWS.md provides the change log for each released version (SYNR-1315).
- New System Dependencies vignette explains what dependencies are required and how to install them (SYNR-1328).
- New examples on how to move a file shows how
synMove
can be used (SYNR-1296). - New example R packages that depends on
synapser
showcases two R packages developed by Sage Bionetworks' scientists (SYNR-1317). - New section Synapse Utilities links to
synapserutils
package for high level utilities functions (SYNR-1314).