Skip to content

UbiOps version 2.21.0

Client library version

Python client library version for this release: 3.13.0
CLI version for this release: 2.13.0

On the 10th of January 2022 we have released new functionality and made improvements to our UbiOps SaaS product. An overview of the changes is given below.

New file system

To improve working with files in UbiOps we introduced a completely new file system in this release. It is now much easier to manage your files in UbiOps and to make use of persistent storage. The new system also supports use of files larger than 512MB as input or output of deployments and pipelines, opening up new possibilities.

Files are organized in storage buckets within projects. You can create new buckets which are hosted on UbiOps, or you can connect UbiOps to your own buckets in either AWS, Google or Azure. For full information on the new file system please see working with files.

If you have deployments or pipelines that are currently using blobs as input or output that you want to upgrade to the use the new system, please see upgrading to the new file system.

Old blob deployments will continue to function

Old blob deployments will continue to function. However, we will no longer support the creation of new deployments with the legacy blob system.

Option to cancel builds or to trigger a rebuild

With this release we introduced more control of builds. When you create a new deployment version or revision, you now have the possibility to cancel the build. In addition, we also added the option to trigger rebuilds of a specific revision.

User id now passed to deployment context

For identity propagation purposes we now pass the user_id of the user that triggered a request to the deployment context. If you need the user_id in your deployment code you can use the following:

def request(self, data, context):

        print(f"User id: {context['user_id']}")

If you want to access the user_id please make sure to add the context parameter to the request function.

''' info "Other context parameters" Did you know that there are other context parameters available as well? Next to user_id the context dictionary also contains the id (ID of the request) and the request_mode.

Updates to available languages

We have made some updates to our available languages:

  • We now support Python 3.11
  • If you are using GPUs we now have languages available with Python 3.9 and CUDA 11.2.2, and Python 3.10 and CUDA 11.2.2 This way you can use the latest versions of Tensorflow without the need of installing a different CUDA version with a ubiops.yaml. See Tensorflow's CUDA compatibility for more.

On error policy for pipeline objects now available in the UI as well

The on error policy isnow also available in the WebApp.