Improved
SDK version 1.24.0 Release Notes
11 days ago by Peter Goldstein
This release expands automation and codon optimization APIs, introduces worksheet review events, and adds molecule and RNA sequence as entity types. It also includes a large spec sync to surface fields already returned by the API, new entry review process models in beta, and several bug fixes for entity deserialization and documentation accuracy.
What's changing?
Added
- New
v2-beta.worksheet.updated.reviewSnapshotwebhook event type for tracking review snapshot status changes on Worksheets. - Entry review process information (stages and reviewers) added to the beta API, with a
reviewProcessesfield on entries returned bybenchling.v2.beta.entries.get_by_idand on worksheet review records. - Codon optimization
methodparameter (MATCH_CODON_USAGEorUSE_BEST_CODON) onbenchling.aa_sequences.back_translateandbenchling.dna_sequences.optimize_codons. - Custom
gcContentRange(min/max decimal) option onbenchling.aa_sequences.back_translateandbenchling.dna_sequences.optimize_codons, as an alternative to the presetgcContentenum. - Repeat pattern format (
nxkmer, e.g. "3x4mer") support in thereduced_patternsparameter forbenchling.dna_sequences.optimize_codons.
Changed
benchling.lab_automation.create_output_processor: the input now accepts optionalfolderId,locationId, andtimezonefields (previously only available in the UI).benchling.containers.bulk_update: each item now accepts an optionalrolefield for well plate well roles, matching the single-update container endpoint.benchling.nucleotide_alignments.create_template_alignment: the input now accepts ashouldDisableCircularSequenceRotationboolean parameter (defaultfalse).- Schema field definition enums (
FieldType,SimpleFieldDefinitionType, andAppConfigFieldType): addedmolecule_linkvalue, visible in schemas returned bybenchling.schemas.*methods. - Entities returned by
benchling.registry.entitiesand entityget_by_id/listmethods: addedentityTypediscriminator and expanded to includeMoleculeandRnaSequencetypes. - Responses from
benchling.containers.list_contents/contents_by_idandbenchling.registry.entities: expanded entity references to include all entity types via*WithEntityTypemodels. - Responses from
benchling.aa_sequences,benchling.custom_entities,benchling.dna_sequences,benchling.rna_sequences, andbenchling.monomersmethods: addedurlfield. - Responses from
benchling.schemasmethods (list_box_schemas/get_box_schema_by_id,list_entry_schemas/get_entry_schema_by_id,list_location_schemas/get_location_schema_by_id,list_plate_schemas/get_plate_schema_by_id,list_workflow_task_schemas/get_workflow_task_schema_by_id): addedmodifiedAtfield. - Responses from
benchling.workflow_outputs.get_by_id/list,benchling.workflow_tasks.get_by_id/list, andbenchling.workflow_task_groups.get_by_id/list: addedarchiveRecordfield. - Responses from
benchling.workflow_task_groups.get_by_id/listandbenchling.workflow_tasks.get_by_id/list: addedworkflowOutputslist. - Responses from
benchling.dna_sequences.get_by_id/list: addeddnaAlignmentIds; responses frombenchling.rna_sequences.get_by_id/list: addedalignmentIds. - Responses from
benchling.monomers.list/create/update: addedexactMolecularWeight(RDKit-calculated from chemical structure). - Structured table note parts on entries returned by
benchling.entries.get_entry_by_id/list_entries: addednamefield to table identifiers. - App manifests returned by
benchling.v2.beta.apps.get_manifest/update_manifest: addedWORKFLOW_CANVAScanvas location value (alpha/beta).
Removed
basesremoved from the required fields onbenchling.rna_oligos.create; one ofhelm,bases, orcustomNotationis now accepted.
Fixed
- Fixed entity union deserialization so that DNA oligos in plate well contents (e.g. from
benchling.containers.list_contents) no longer incorrectly parse as custom entities (regression caused by adding transcriptions to DNA sequences). - Fixed field casing on responses from
benchling.apps.get_by_id/list_apps: correctedapiUrl/webUrltoapiURL/webURLto match actual return values. - Included
userIdinv2.canvas.createdobject, where it was already being sent along with the actual payload. - Updated documentation to use "AA sequence" in place of "protein" across all API specs, without changing enum values or field names.
