SDK Version 1.13.0 Release
Version 1.13.0 of the Benchling SDK is a release focusing on changes to the delivery of Webhooks for both Events and App Signals. This includes adding new types and classes to allow developers to be productive with forward-looking models, as well as deprecating existing V0 shapes.
What's Changing?
Added
-
New types to interact with the upcoming changes for Webhooks; more details on these changes can be found in the corresponding changelog post. We are making improvements to our APIs that will simplify the subscription and consumption of webhooks. You will find these under (e.g.)
from benchling_sdk.models.webhooks.v0 import AssayRunCreatedWebhookV2
. -
New types
benchling_sdk.models.ChartNotePart
,InventoryContainerTableNotePart
, andInventoryPlateTableNotePart
, as variants ofEntryNotePart
. -
New enum values in
benchling_sdk.models.EntryLinkType
(for thetype
property ofEntryLink
):INSIGHTS_DASHBOARD
,FOLDER
,SQL_DASHBOARD
. -
New property
schema
inbenchling_sdk.models.WorkflowTask
(with corresponding new typeWorkflowTaskSchemaSummary
). -
New method
benchling.v2.stable.entries.update_entry_template
(with corresponding new typeEntryTemplateUpdate
).
Promoted
-
The
benchling.v2.beta.aa_sequences.find_matching_regions
endpoint has been promoted to stable and can now be found inbenchling.v2.stable.aa_sequences.find_matching_regions
. -
The
benchling.v2.alpha.dna_sequences.find_matching_regions
endpoint has been promoted to stable and can now be found inbenchling.v2.stable.dna_sequences.find_matching_regions
.
Changed
- Updated type hints in the model types for creating/updating app config items (
benchling_sdk.models.AppConfigItemGenericCreate
,AppConfigItemGenericUpdate
,AppConfigItemBooleanCreate
,AppConfigItemBooleanUpdate
, etc.) to make thevalue
property anOptional
type, since app config items that are not required can have a value ofNone
. Trying to set an item's value toNone
if it is a required item will raise an error.
Removed
-
Batch endpoints have been removed. These changes were previously announced in this changelog post
-
Removed
aa_sequence_service
from the beta client, anddna_sequence_service
from the alpha client, because all of the methods in those services have been promoted to stable.
Deprecated
-
Webhook V0 shapes are being deprecated in this release. We released a more thorough description of the changes in this changelog post. A summary is provided below:
- V0 shapes are deprecated. (e.g.
from benchling_sdk.models.webhooks.v0 import CanvasInitializeWebhookV0
) - Please use the new V2 shapes. (e.g.
from benchling_sdk.models.webhooks.v0 import CanvasInitializeWebhookv2
) - Before July 11th, we will double send webhooks in both shapes to continue supporting existing applications.
- After July 11th, we expect developers to use and expect V2 Webhooks in their applications.
- After July 11th, App Signals need to be explicitly subscribed to continue receiving them for new apps created after this date.
- As part of our preparation to make Shareable Apps Generally Available, we announced the sunsetting of the
v0-beta.lifecycle.activateRequested
webhook in the changelog. This follows the same timeline as above. Please subscribe to the newv2.app.activateRequested
webhook instead. You can read more about Shareable Apps on the FAQ page
- V0 shapes are deprecated. (e.g.
When is this happening?
Version 1.13.0 of the Benchling SDK is now live! Find the SDK in PyPI