Releases: galaxyproject/bioblend
v1.4.0
What's Changed
-
Added support for Python 3.13. Added support for Galaxy release 24.1.
-
Added
user_agent
parameter to the__init__()
method of theGalaxyClient
,GalaxyInstance
andToolShedInstance
classes (thanks to Daniel Blankenberg). -
Added
version
anduse_cached_job
parameters toWorkflowClient.invoke_workflow()
method (reported by Bérénice Batut). -
Changed the default values for the
operation
anddefault
parameters of theQuotaClient.update_quota()
method (thanks to Matthias Bernt). -
Improvements to tests and documentation (thanks to Matthias Bernt).
New Contributors
- @blankenberg made their first contribution in #318
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
-
Dropped support for Python 3.7. Added support for Python 3.12. Added support for Galaxy releases 23.2 and 24.0.
-
Added
copy_elements
parameter toHistoryClient.create_dataset_collection()
and BioBlend.objectsHistory.create_dataset_collection()
methods. -
Added
wait
parameter toHistoryClient.delete_dataset()
and BioBlend.objectsHistoryDatasetAssociation.delete()
methods. -
Added
create_time_min
,create_time_max
,update_time_min
,update_time_max
,view
,keys
,limit
andoffset
parameters toHistoryClient.get_histories()
(thanks to cat-bro). -
Added
create_time_min
,create_time_max
,update_time_min
andupdate_time_max
parameters toHistoryClient.get_published_histories()
(thanks to cat-bro). -
Added
keys
parameter toHistoryClient.show_history()
(thanks to cat-bro). -
Dropped broken
deleted
parameter ofDatasetClient.show_dataset()
. -
Parameters after
password
in the__init__()
method of theGalaxyClient
,GalaxyInstance
andToolShedInstance
classes are now keyword-only. -
Classes defined in
bioblend.galaxy.objects.wrappers
are no more re-exported bybioblend.galaxy.objects
. -
DatasetTimeoutException
andDatasetCollectionTimeoutException
are now aliases forTimeoutException
instead of subclasses. -
Added support for the new "cancelling" invocation state.
-
Fixed
InvocationClient.get_invocation_biocompute_object()
method on upcoming Galaxy 24.1 . -
Improvements to linting and tests (thanks to Matthias Bernt).
Full Changelog: v1.2.0...v1.3.0
v1.2.0
-
Dropped support for Galaxy releases 17.09-19.01. Added support for Galaxy release 23.1.
-
Added a new
container_resolution
attribute toGalaxyInstance
objects, which is an instance of the newContainerResolutionClient
. This new module can be used to list container resolvers, and to resolve (and install) tool requirements against specified container resolvers (thanks to cat-bro and Matthias Bernt). -
Added
reload_toolbox()
method toConfigClient
(thanks to Anthony Bretaudeau). -
Added
delete_unused_dependency_paths()
andunused_dependency_paths()
methods toToolDependenciesClient
(thanks to Matthias Bernt). -
Added
data_manager_mode
parameter toToolClient.run_tool()
method (thanks to Marius van den Beek). -
Added
user_data
parameter toUserClient.update_user()
method (thanks to Uwe Winter). -
Fixed bug in
DatasetClient.download_dataset()
and BioBlend.objectsHistoryDatasetAssociation.get_stream()
where the wrong download URL was generated if the Galaxy instance is served at a subdirectory (reported by Anil Thanki). -
Improvements to tests and documentation (thanks to kxk302 and Simon Bray).
v1.1.1
- Same as BioBlend v1.1.0, briefly released with wrong version number 1.0.1 on GitHub, PyPI and Bioconda.
- Added support for Python 3.11. Added support for Galaxy release 23.0.
- Using the deprecated
folder_id
parameter of theLibraryClient.get_folders()
method now raises aValueError
exception. - Using the deprecated
library_id
parameter of theLibraryClient.get_libraries()
method now raises aValueError
exception. - Using the deprecated
tool_id
parameter of theToolClient.get_tools()
method now raises aValueError
exception. - Using the deprecated
workflow_id
parameter of theWorkflowClient.get_workflows()
method now raises aValueError
exception. - Modified
delete_workflow()
method ofWorkflowClient
to returnNone
instead of a string. - Add
py.typed
marker file to distributed packages (as per PEP 561) to declare type checking support. - Improvements to tests and documentation.
v1.0.0
-
Dropped support for deprecated CloudMan, see https://galaxyproject.org/blog/2021-10-sunsetting-cloudlaunch/
-
Added dependency on
typing-extensions
package, removed dependencies onboto
andpyyaml
. -
Deprecated
max_get_retries()
,set_max_get_retries()
,get_retry_delay()
andset_get_retry_delay()
methods ofClient
. -
Moved
max_get_attempts
andget_retry_delay
properties fromGalaxyInstance
toGalaxyClient
, so they are also available inToolshedInstance
. -
Added
get_or_create_user_apikey()
method toUserClient
. -
Added
all
parameter toHistoryClient.get_histories()
method (thanks to Paprikant). -
Added
require_exact_tool_versions
parameter toWorkflowClient.invoke_workflow()
method (thanks to cat-bro). -
Added
name
andowner
parameters to
ToolShedRepositoryClient.get_repositories()
. -
Removed unused methods from
bioblend.config.Config
. If needed, use the methods inherited fromconfigparser.ConfigParser
instead. -
Allowed any 2XX HTTP response status code in
Client._delete()
to correctly support history purging via Celery (thanks to Nolan Woods). -
Fixed bug in
FormsClient.create_form()
where theform_xml_text
argument was not passed correctly to the Galaxy API. -
Fixed bug in
HistoryClient.show_dataset_provenance()
where thefollow
argument was not passed to the Galaxy API. -
BioBlend.objects: Added
delete()
abstract method toDatasetContainer
class. -
Added Code of Conduct for the project.
-
Finished the full type annotation of the library (thanks to cat-bro, Fabio Cumbo, Jayadev Joshi, thepineapplepirate).
-
Improvements to tests and documentation.
v0.18.0
-
Added support for Galaxy release 22.05.
-
Added tus support to
ToolClient.upload_file()
(thanks to Nate Coraor). -
Format Python code with black and isort.
-
Improvements to type annotations, tests and documentation.
v0.17.0
-
Dropped support for Python 3.6. Added support for Python 3.10. Added support for Galaxy releases 21.09 and 22.01.
-
Removed deprecated
run_workflow()
method ofWorkflowClient
. -
Using the deprecated
history_id
parameter of theHistoryClient.get_histories()
method now raises aValueError
exception. -
Made
tool_inputs_update
parameter ofJobsClient.rerun_job()
more flexible. -
Added
whoami()
method toConfigClient
(thanks to cat-bro). -
Added
get_extra_files()
method toHistoryClient
. -
Added
build()
andreload()
methods toToolClient
(thanks to Jayadev Joshi and cat-bro respectively). -
Added
get_repositories()
method toToolShedCategoryClient
(thanks to cat-bro). -
Added
update_repository_metadata()
method toToolShedRepositoryClient
. -
Added
order_by
parameter toJobsClient.get_jobs()
method. -
BioBlend.objects: Removed deprecated
run()
method ofWorkflow
. -
BioBlend.objects: Fail if multiple libraries/histories/workflows match when deleting by name, instead of deleting them all.
-
BioBlend.objects: in
HistoryDatasetAssociation.get_stream()
, wait for the dataset to be ready. -
BioBlend.objects: in
Workflow.invoke()
, check that the workflow is mapped and runnable before invoking, allow theinputs
parameter to be an instance of aDataset
subclass, and allow thehistory
parameter to be the name of a new history. -
BioBlend.objects: Added new
datasets
anddataset_collections
attributes toGalaxyInstance
objects, which are instances of the newObjDatasetClient
andObjDatasetCollectionClient
respectively. -
BioBlend.objects: Added
refresh()
,get_outputs()
andget_output_collections()
methods toInvocationStep
. -
Fixed error when instantiating
GalaxyInstance
withemail
andpassword
(reported by Peter Briggs). -
Fixed parameter validation errors for POST requests with attached files on upcoming Galaxy 22.05.
-
Code cleanups (thanks to Martmists).
-
Improvements to type annotations, tests and documentation.
v0.16.0
-
Added support for Galaxy release 21.05.
-
Replaced the
job_info
parameter with separatetool_id
,inputs
andstate
parameters inJobsClient.search_jobs()
(thanks to
rikeshi). -
Pass the API key for all requests as the
x-api-key
header instead of as a parameter (thanks to rikeshi). -
Try prepending https:// and http:// if the scheme is missing in the
url
parameter ofGalaxyClient
, i.e. when initialising a Galaxy or ToolShed instance. -
Added a new
dataset_collections
attribute toGalaxyInstance
objects, which is an instance of the newDatasetCollectionClient
. This new module can be used to get details of a dataset collection, wait until elements of a dataset collection are in a terminal state, and download a history dataset collection as an archive (thanks to rikeshi). -
Added a new
tool_dependencies
attribute toGalaxyInstance
objects, which is an instance of the newToolDependenciesClient
. This new module can be used to summarize requirements across toolbox (thanks to cat-bro). -
Added
publish_dataset()
update_permissions()
andwait_for_dataset()
methods toDatasetClient
. -
Added
get_invocation_biocompute_object()
,get_invocation_report_pdf()
,get_invocation_step_jobs_summary()
,rerun_invocation()
andwait_for_invocation()
methods toInvocationClient
(thanks to rikeshi). -
Added
cancel_job()
,get_common_problems()
,get_destination_params()
,get_inputs()
,get_outputs()
,resume_job()
,show_job_lock()
,update_job_lock()
andwait_for_job()
methods toJobsClient
(thanks to Andrew Mcgregor and rikeshi). -
Added
get_citations()
anduninstall_dependencies()
methods toToolClient
(thanks to rikeshi). -
Added
extract_workflow_from_history()
,refactor_workflow()
andshow_versions()
methods toWorkflowClient
(thanks to rikeshi). -
Added several parameters to
DatasetClient.get_datasets()
method (thanks to rikeshi). -
Added several parameters to
InvocationClient.get_invocations()
method (thanks to Nolan Woods and rikeshi). -
Added several parameters to
JobsClient.get_jobs()
method (thanks to rikeshi). -
Added
parameters_normalized
parameter toWorkflowClient.invoke_workflow()
method (thanks to rikeshi). -
Deprecated
folder_id
parameter ofLibraryClient.get_folders()
method. -
Deprecated
library_id
parameter ofLibraryClient.get_libraries()
method. -
Deprecated
tool_id
parameter ofToolClient.get_tools()
method. -
Deprecated
workflow_id
parameter ofWorkflowClient.get_workflows()
method. -
BioBlend.objects: Removed deprecated
container_id
property ofDataset
andFolder
objects. -
BioBlend.objects: Removed
Preview
abstract class. -
BioBlend.objects: Added
invoke()
method toWorkflow
. AddedObjInvocationClient
, andInvocation
andInvocationPreview
wrappers (thanks to rikeshi). -
BioBlend.objects: Added
latest_workflow_uuid
property toWorkflow
objects. Addeddeleted
,latest_workflow_uuid
,number_of_steps
,owner
andshow_in_tool_panel
properties toWorkflowPreview
(thanks to Nolan Woods). -
BioBlend.objects: Deprecated
run()
method ofWorkflow
. -
Added
use_ssl
,verify
andauthuser
parameters toCloudManInstance.__init__()
(thanks to Nathan Edwards). -
Improvements to type annotations, tests and documentation (thanks to rikeshi).
v0.15.0
-
Dropped support for Python 3.5. Added support for Python 3.9. Added support for Galaxy releases 20.09 and 21.01.
-
Changed the return value of
RolesClient.create_role()
method from a 1-element list containing a dict to a dict. -
Removed deprecated
download_dataset()
andget_current_history
methods ofHistoryClient
. -
Removed deprecated
export_workflow_json()
andimport_workflow_json
methods ofWorkflowClient
. -
Added
copy_content()
,get_published_histories()
andopen_history()
methods toHistoryClient
. -
Added
rerun_job()
method toJobsClient
. -
Added
requirements()
method toToolClient
(thanks to cat-bro). -
Added
published
andslug
parameters toHistoryClient.get_histories()
. -
Added
require_state_ok
parameter toDatasetClient.download_dataset()
. -
Added
input_format
parameter toToolClient.run_tool()
. -
Deprecated
history_id
parameter ofHistoryClient.get_histories()
method. -
BioBlend.objects: Added
owner
property to all objects. Addedannotation
,published
andpurged
properties toHistoryPreview
objects. -
Fixed issue where specifying the Galaxy URL with "http://" instead of "https://" when creating a
GalaxyInstance
made the subsequent non-GET requests to silently fail. -
Moved the Continuous Integration (CI) from TravisCI to GitHub workflows (thanks to Oleg Zharkov).
-
Improvements to tests and documentation (thanks to Gianmauro Cuccuru).
v0.14.0
-
Dropped support for Python 2.7. Dropped support for Galaxy releases 14.10-17.05. Added support for Python 3.8. Added support for Galaxy releases 19.09, 20.01 and 20.05.
-
Added a new
invocations
attribute toGalaxyInstance
objects, which is an instance of the newInvocationClient
class. This new module can be used to get all workflow invocations, show or cancel an invocation, show or pause an invocation step, get a summary or a report for an invocation (thanks to Simon Bray). -
Added
get_datasets()
method toDatasetClient
(thanks to Simon Bray). -
Added
import_history()
method toHistoryClient
(thanks to David Christiany and Marius van den Beek). -
Added
copy_dataset()
method toHistoryClient
(thanks to Simon Bray). -
Added
get_metrics()
method toJobsClient
(thanks to Andreas Skorczyk). -
Added
report_error()
method toJobsClient
(thanks to Peter Selten). -
Added
get_dataset_permissions()
andset_dataset_permissions()
methods toLibraryClient
(thanks to Frederic Sapet). -
Added
update_user()
method toUserClient
(thanks to Anthony Bretaudeau). -
Added
update_workflow()
method toWorkflowClient
. -
Added
tags
parameter toupload_file_from_url()
,upload_file_contents()
,upload_file_from_local_path()
,upload_file_from_server()
andupload_from_galaxy_filesystem()
methods
ofLibraryClient
(thanks to Anthony Bretaudeau). -
Changed the default for the
tag_using_filenames
parameter ofupload_file_from_server()
andupload_from_galaxy_filesystem()
methods ofLibraryClient
fromTrue
toFalse
(thanks to Anthony Bretaudeau). -
Added
version
parameter toshow_workflow()
andexport_workflow_dict()
methods ofWorkflowClient
. -
Added
inputs_by
option toinvoke_workflow()
method ofWorkflowClient
(thanks to Marius van den Beek). -
Removed deprecated
show_stderr()
andshow_stdout
methods ofDatasetClient
. -
BioBlend.objects: Allowed workflow steps of type
parameter_input
andsubworkflow
. Addedparameter_input_ids
property toWorkflow
objects (reported by Nolan Woods). -
Fixed
HistoryClient.export_history(..., wait=False, maxwait=None)
(reported by David Christiany). -
Moved internal
_make_url()
method fromGalaxyClient
toClient
class.