Skip to navigation

SDK Version 1.6.0 Release

Version 1.6.0 of the Benchling SDK includes support for new features like App Canvas, Webhooks and App Status. Improvements have been made to how App Configuration is handled, as well as minor changes to User APIs and filter parameters. See full release notes for more detail.

What’s changing?

Version 1.6.0 of the Benchling SDK includes support for a number of new features, improvements to existing features, and some bug fixes:

Added
  • BenchlingConfigProvider now defaults to sorting by Created At
  • Added functionality for unwrapping encryption keys from App Config
  • Added support for sessions and messages in the SDK with a context manager
  • Added Webhooks support:
    • Added Benchling App Init flows and typed Webhook loading
    • Added basic verification capabilities for Webhooks
  • Support for array config types
  • New endpoints to create, update, and get activity for Benchling users in benchling.users
Promotions
  • Canvas endpoints have been promoted to beta stability
  • App Status APIs have been promoted to beta stability
Improvements
  • ClientCredentialsOAuth2 now accepts custom httpx clients
  • Added filtering parameters for modifiedAt to benchling.assay_results.list()
  • Added archive_reason as a filter for benchling.assay_results.list()
  • Added filtering parameter for passwordlastchangedat to benchling.users.list()
Fixes
  • Updated dependencies with security vulnerabilities
  • Fixed type checking around alpha and beta models in App Configuration

When is this happening?

Version 1.6.0 of the Benchling SDK is now live! Find the SDK in PyPI

[DEPRECATED] App Canvas label block

Label canvas blocks are currently deprecated and will be sunset on February 24th 2023

What’s changing?

The label app canvas block type is being deprecated. The label block type was introduced early in App Canvas development, and is being deprecated in favor of the more robust markdown block type. Going forward, markdown block types should be used in place of label blocks.

When label block types are fully sunset, Benchling will perform a migration on all existing label blocks to convert them to markdown blocks.

When is this happening?

label blocks are now marked as deprecated, and will be fully sunset on February 24th 2023