pypi / langsmith
langsmith
What changed in langsmith 0.1 to 0.15, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
12 breaking3 security1 deprecations81 new APIs and options2 performance12 behavior and defaults28 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlangsmith 0.1535 changes
Breaking changes 5
Sandbox header rules are restricted to an exact scheme and port.
The Missing sentinel is no longer exposed in annotation queue and chart PATCH schemas.
The Python SDK no longer supports Python 3.10.
Sandbox access delegation now requires explicit permissions.
Sandboxes are opt-in on AWS data planes, and host headroom defaults to 0.
Security 1
CLI and Go SDK profile secrets are stored in the operating system keychain.
Deprecations 1
GET /api/v1/runs/rules is deprecated; run_rules is indexed for V2 paging.
New APIs and options 20
Agent responses now expose the agent's UUID.
Agents can be searched by normalized name or ID.
AI search parsing is exposed in the public API, SDKs, and query endpoints.
The allowed long-lived retention days can now be configured.
SDKs add a bulk operation to update example metadata.
Adds an evaluator metadata field and supports filtering evaluators by metadata.
A cursor-paginated V2 sessions listing endpoint is available.
The V2 sessions endpoint can filter results by session type.
The annotation queue list can return rubric keys when include_rubric_keys is enabled.
Issues now have an issue type of actionable or finding.
POST and PATCH /sessions accept longlived_ttl_days.
AWS and GCP proxy rules can be narrowed with match_hosts, and presigned URLs pass through.
Python and TypeScript SDKs generate Prompt Hub repository and commit methods.
Sandbox proxy attribution supports literal and callback forms.
V2 session write APIs and corresponding SDK methods are published.
Generated SDK clients are available for SQL queries.
Run rules accept V2 filters for thread evaluators.
Run rules now support thread-level decision-model rules.
SDKs add paginated methods for listing V2 rules.
A generated SDK method is available to list workspace secrets.
Behavior and default changes 1
SDK internal methods have moved off deprecated endpoints.
Fixes and other changes 7
Dataset splits can be updated through the bulk metadata endpoint.
Python and JavaScript clients now have feedback rubric parity.
Proxy credentials are no longer attached to non-canonical paths.
Session dashboards are exposed in the Python and TypeScript SDKs.
Generated sessions.delete methods are available in the Python and TypeScript SDKs.
Generated sessions.retrieve methods are available in the Python and TypeScript SDKs.
Owners of Studio no-code agents can now be changed.
langsmith 0.1454 changes
Breaking changes 2
Non-persistent sandbox disk is capped at 16 GiB per vCPU.
Python agent creation now defaults to EXTERNAL.
Security 1
Embeds token-mode service URLs and browser windows while keeping the token out of server-visible URLs.
New APIs and options 29
Python, JavaScript, and Java SDKs now read api_key_env from profiles.
Adds AWS session tags on proxy role rules.
Adds a CLI command to create a decision model evaluator.
create_decision_model is added to the generated SDKs.
Categorical feedback configs gain a flag to allow multiple categories.
The SDK supports CLI profile selection and preferred profile authentication.
Sandboxes support HTTPS destination rewrite rules.
Rubric items in annotation queues support required_if conditions.
Rubric items in annotation queues support visible_if conditions.
Agent and voice integrations now accept address.
The wrapper tracing_extra now accepts address.
Run, trace and thread queries can now be streamed using v2.
Adds support for the agent owner API.
Adds support for uploading custom avatars for agents.
Engine can scan and fix GitLab projects through a workspace service account.
Adds exclude_default_fields to list_examples in the Python SDK.
Adds select to list_examples in the Python SDK.
Allows creating non-persistent sandboxes with persistent: false; this is private beta and storage is never billed.
Adds resolve_destination to the Python SDK.
Allows sandbox egress to be relayed through a customer's network.
Adds sandbox functions.
Adds sandbox volumes; the release marks this change as breaking.
SDKs and the CLI can create, read, update, and delete agents through the agent registry.
The Python SDK can now create enforced feedback configurations.
The CLI now exposes the runs get-url command.
The CLI now exposes the runs share command.
Authorization policies can now use root_run_metadata conditions.
Authorization adds compiled trace_filters.
Code evaluators can now accept trajectory inputs.
Performance 1
Disposable Engine sandboxes are provisioned as a performance improvement.
Behavior and default changes 8
wrap_openai can trace OpenAI Agents API sessions.
Sandboxes show granular usage instead of dollar estimates.
Non-persistent sandbox mode is available to all tenants.
SmithDB migration deprecation warnings are shown by default.
Frontend runs queries now include subtree usage.
The JS SDK batches createFeedback through the multipart endpoint.
Engine boards can verify without requesting a preview.
Named origins can be used to embed LangSmith login service URLs.
Fixes and other changes 13
Restores disposable Engine sandboxes when using the released SDK.
Evaluator tables now show the effective spend limit, helping users assess evaluator spending.
Exposes v1 session creation and updates in the Python and TypeScript SDKs.
The base workspace is dropped for write replicas on another instance.
Recorded storage is retained across sampling gaps.
Updates application certifi bundles.
Fixes iteration hanging when processing fails.
Client.flush() now waits for buffered run operations.
Scopes GitHub fixes to the instance where they were opened.
Example creation now uses reference outputs.
Registry listing now supports cursor pagination.
Sandbox cost breakdowns now support Standard Units.
Responses stream output is preserved when the stream ends incomplete or failed.
langsmith 0.1125 changes
Breaking changes 5
The latency metric replaces lg_api_http_requests_latency_seconds and reports milliseconds instead of seconds.
These gauges were removed in favor of the lg_api_run_queue_wait_time_1st_attempt latency histogram.
Pool request counter names now use a _total suffix.
JS graph runs no longer silently report success when sidecar stream-mode validation fails; non-2xx sidecar responses now raise a clear error.
Deleting a run on a DeltaChannel thread removes only the run record and preserves checkpoints; use thread prune APIs to reclaim checkpoint storage.
Security 1
Wolfi Python and JS server images gained FIPS variants built with the Go FIPS 140 cryptographic module and FIPS-hardened OpenSSL for Node.
New APIs and options 7
Enables verbose Redis run-queue trace logs; defaults to false and can also be set with LSD_RUN_QUEUE_TRACE_LOG.
Runs now include the LangSmith tracing project name in this field when tracing is enabled; /info exposes support for the field.
Rate-limit observability adds configured-limit gauges and a per-bucket rate_limit_key tag on decision, error, and cost metrics.
Set to true to expose OpenTelemetry metrics on a dedicated Prometheus scrape endpoint.
Configures the dedicated Prometheus scrape endpoint port; the default is 9464.
Metrics are exposed through a dedicated endpoint; Datadog OTLP push continues to work when both are configured.
Custom certificate and key files can be passed to run the development server over HTTPS.
Performance 1
Postgres migration 061 adds the thread_ls_user_id_idx and thread_assistant_id_idx btree indexes.
Behavior and default changes 3
Cost rate limits were added for assistants, runs, crons, and threads search, using existing rate-limit configuration and metrics.
Pruning preserves the minimum ancestor checkpoints needed for state reconstruction, replacing the previous refusal to prune threads with active delta channels.
Invalid rate-limit configuration now disables rate limiting with a warning instead of preventing startup.
Fixes and other changes 8
Replay now recognizes the head seed checkpoint when a channel migrates from non-delta to DeltaChannel, preventing incorrect reconstructed state for non-additive reducers.
Event Streaming v2 validation reads pending interrupts from the durable thread row, preventing valid HITL resumes from returning no_such_interrupt after reconnects, redeploys, or lookup failures.
Optional update and goto parameters are forwarded into the same Command as the resume value.
A stream_mode filter no longer incorrectly filters non-message events from subgraphs.
Remote JS graphs use LangGraphJS's native v3 stream for v2 event-streaming runs, fixing tool-call rendering, headless interrupts, and resume errors.
Queue runs explicitly select query fields so new run schema fields can be added without breaking older server versions during rollbacks.
Redis Cluster pub/sub now connects on TLS-only clusters instead of attempting to dial port 0.
Custom stream events from subgraphs are forwarded to clients on JS deployments when using custom mode with stream_subgraphs enabled.
langsmith 0.31 changes
New APIs and options 1
Pin the Agent Server API version in configuration; Cloud deployments otherwise use the latest stable server version.
langsmith 0.124 changes
New APIs and options 24
Adds a POST endpoint to create workspace-specific model prices, including matching rules, provider and time filters, token costs, and token-type cost details. Prices apply to newly ingested runs; existing costs are not recomputed.
Adds a PUT endpoint to replace a workspace's custom model-price entry. The request replaces every field; omitted optional fields reset to defaults. Default entries cannot be updated, existing run costs are not recomputed, and duplicate match conditions return 409.
Adds an endpoint to retrieve a model price entry used by the workspace, including custom, organization, and LangSmith default entries; returns 404 when the workspace does not price against the requested ID.
Adds an organization-scoped endpoint to create model price entries that apply across every workspace in the organization, with matching conditions and token-cost fields.
Adds an endpoint to retrieve an organization model price by ID, returning its model price entry.
Adds an endpoint to list model prices set for an organization, with optional page_size and cursor query parameters.
Adds a POST endpoint to create an organization tracing key. The request requires workspaces and can include a description and expiration.
Adds a DELETE endpoint to revoke an organization tracing key you own or have permission to manage.
Adds an endpoint to retrieve one organization team by ID, with access requirements depending on whether the team is organization- or workspace-scoped.
Adds an endpoint to attach an existing organization access policy to a team, optionally limiting an organization-wide team's policy to one workspace.
Adds a GET endpoint that resolves an AGENT, EXPERIMENT, or EVALUATOR address to its tracing project session_id.
Adds a beta endpoint to open a tab in a browser window, at about:blank when no URL is given. It accepts a URL and returns the created tab.
Adds a beta DELETE endpoint to close a tab in a browser window.
Adds a query parameter for an opaque pagination cursor from a prior response's next_cursor.
Adds a query parameter to filter volumes by name substring.
Adds a query parameter for the number of results per page, defaulting to 20.
The SDK adds datasets.listV2 for GET /api/v2/datasets.
Adds an endpoint to delete an organization model price by ID, whether or not it exists.
Adds a beta API endpoint to retrieve a browser and its attached windows by browser name or ID.
Adds the full replacement request schema, with required name, match_pattern, prompt_cost, and completion_cost fields, plus optional matching, provider, token-threshold, and token-detail pricing fields.
Adds a beta API to resize a running browser window by setting its page width and height in CSS pixels.
Creates organization-wide teams with organization:teams:manage permission. Workspace-scoped teams are created by granting an organization-wide team access to a workspace.
Adds an endpoint to grant an organization-wide team a role in a workspace; the grant creates a workspace-scoped team and records eligible workspace members.
Adds a beta API to create a copy-on-write clone of an existing volume; cloning requires volumes enabled and the source volume not attached read-write to a running sandbox.