npm / langsmith
langsmith
What changed in langsmith 0.1 to 0.13, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
14 breaking5 security1 deprecations110 new APIs and options2 performance10 behavior and defaults35 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initlangsmith 0.1317 changes
Breaking changes 3
Sandbox access delegation now requires explicit permissions.
Sandbox header rules are restricted to an exact scheme and port.
Sandboxes are opt-in on AWS data planes, and host headroom defaults to 0.
Security 2
The CLI and Go SDK store profile secrets in the OS keychain.
Proxy credentials are no longer attached to non-canonical paths.
Deprecations 1
This endpoint is deprecated as run rules move to V2 paging.
New APIs and options 9
AI search parsing is exposed in the public API and SDKs, and is supported in query endpoints.
The CLI now exposes feedback listing and creation.
The annotation-queue list can return rubric keys when include_rubric_keys is enabled.
The Python and TypeScript SDKs now generate Prompt Hub repositories and commits.
Sandbox proxy attribution supports literal and callback attribution.
V2 session write APIs and SDK methods are now published.
Run rules now accept V2 filters for thread evaluators.
SDKs now provide paginated V2 rule-list methods.
A workspace secrets list is now generated in the SDK.
Fixes and other changes 2
Vercel AI first-token timing is now populated.
Both APIs now handle abort signals gracefully.
langsmith 0.1220 changes
Breaking changes 1
The Missing sentinel is no longer exposed in annotation queue and chart PATCH schemas.
New APIs and options 12
Agents can be searched by normalized name or ID.
Agent responses now expose the agent's UUID.
Adds bulk example metadata updates to the SDKs.
Evaluators can now be filtered by metadata.
Adds a cursor-paginated sessions endpoint.
The endpoint now filters sessions by session type.
Adds the issue type values actionable and finding.
The allowed long-lived retention days are now configurable.
POST and PATCH /sessions now accept longlived_ttl_days.
Adds an evaluator metadata field, allowing evaluators to carry metadata.
SDK clients for generating SQL queries are now available.
Adds support for decision-model rules at the thread level.
Performance 1
The JS client compresses queued runs with zstd when the server allows it.
Behavior and default changes 1
Documents project costs as numbers.
Fixes and other changes 5
Dataset splits can now be updated via the bulk metadata endpoint.
The Python and JS clients now have feedback rubric parity.
Adds sessions.delete to the Python and TypeScript SDKs.
Adds sessions.retrieve to the Python and TypeScript SDKs.
Fixes changing the owners of Studio no-code agents.
langsmith 0.1199 changes
Breaking changes 9
Sandboxes support volumes, a breaking change for developers using sandboxes.
Defaults JavaScript agent creation to EXTERNAL.
On DeltaChannel threads, deleting a run removes only the run record and preserves dependent checkpoints; use thread prune APIs to reclaim checkpoint storage.
Replaces
lg_api_http_requests_latency_secondsand reports latency in milliseconds instead of seconds.These gauges are removed in favor of the
lg_api_run_queue_wait_time_1st_attemptlatency histogram.A latency histogram replaces the removed pending-run wait-time gauges.
Agent Server metrics use a dedicated OpenTelemetry/Prometheus scrape endpoint rather than the main API
/metricspath; scrapers and dashboards must point to the OTLP Prometheus port.ProxyGCPConfig is split into workload-identity and service-account variants, changing the sandbox configuration API.
Conditional thread creation on the Postgres runtime now enforces authorization filters, preventing an authenticated user who knows another user's thread ID from creating a run against it.
Security 2
Embed token-mode service URLs and browser windows while keeping the token out of server-visible URLs.
Adds
-fipsvariants of Wolfi Python and JS server images, built with the Go FIPS 140 cryptographic module and FIPS-hardened OpenSSL for Node.
New APIs and options 52
Sandbox proxy rules for AWS and GCP can be narrowed with match_hosts.
Sandbox create_sandbox accepts preserve_memory_on_stop.
Sandbox persistence is now exposed in the TypeScript client.
Adds AWS session tags to proxy role rules.
Adds a CLI command to create a decision model for evaluators.
SDKs can read api_key_env from a profile.
Categorical feedback configs can specify whether multiple categories are allowed.
Generated SDKs now include create_decision_model.
Sandbox destinations can use HTTPS rewrite rules.
Rubric items support required_if conditions in annotation queues.
Rubric items support visible_if conditions in annotation queues.
The Client can pick a CLI login profile and prefer it over the shell key.
OpenAI Agents and Vercel integrations accept address.
Run, trace and thread queries can be streamed in v2.
The backend supports uploading custom avatars for agents.
JavaScript evaluation uploads can be selective.
Create non-persistent sandboxes with persistent: false; they are never billed for storage. This is a private beta.
Sandbox egress can be relayed through a customer's network.
Sandbox functions are available.
Adds support for the agent owner API.
Adds agent registry CRUD to the SDKs and CLI.
Adds workspace_secrets_keys support to code evaluator CRUD.
Adds a decision evaluator type.
Adds support for creating and listing enforced feedback configs.
Allows GitLab projects to be scanned and fixed through a workspace service account.
Exposes run sharing and URL retrieval through the CLI.
Adds excludeDefaultFields to listExamples in the JavaScript SDK.
Adds select to listExamples in the JavaScript SDK.
Allows LangSmith login service URLs to be embedded by named origins.
Exposes prompt webhooks in the SDKs and langsmith CLI.
Allows trajectory data in code_evaluator_input storage.
Adds a feedback modified_at window to trace queries.
Adds an agent_id filter to the evaluator spend endpoint.
Sandbox configuration adds Azure Blob mount and Azure proxy authentication support.
Configuration support adds deletion and enforcement fields.
Enables verbose Redis run-queue trace logs; the default is false.
Adds minimum and maximum feedback_modified_at filter fields for runs.
Adds include_all_configs support for configs.
Adds the LangSmith tracing project name to each run when tracing is enabled; support is exposed through
/infofor Studio version detection.The pool request error counter now uses a
_totalsuffix.The pool queued-request counter now uses a
_totalsuffix.Adds a configured-limit burst gauge for rate-limit observability.
Adds a configured-limit gauge for rate-limit observability.
Set this to true to expose OTel metrics on a dedicated Prometheus scrape endpoint; Datadog OTLP push can continue alongside Prometheus.
Configures the port for the dedicated Prometheus scrape endpoint, defaulting to 9464.
Environment-variable setting for enabling verbose Redis run-queue trace logs; the default is false.
OTLP traces can be sent to an Agent environment.
Adds a per-bucket tag to rate-limit decision, error, and cost metrics.
Allows passing a custom certificate file to run the development server over HTTPS.
Allows passing a custom key file to run the development server over HTTPS.
Adds subject_scope to AWS and GCP sandbox configurations.
Adds workload identity fields to AWS and GCP sandbox configurations.
Performance 1
Each run is written to the gzip stream in one write.
Behavior and default changes 8
Sandbox proxy rules pass through presigned URLs.
Sandbox usage is shown granularly instead of as dollar estimates.
Sandboxes can use non-persistent mode across all tenants.
Frontend runs queries include subtree usage.
Batches createFeedback through the multipart endpoint.
Adds cost rate limits for assistants, runs, crons, and threads search, wired through existing rate-limit config and metrics.
Pruning preserves the minimum ancestor checkpoints needed for state reconstruction instead of refusing 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 27
Session dashboards are exposed in the Python and TypeScript SDKs.
SDKs now accept 204 No Content responses from delete endpoints.
Evaluator tables now show the effective spend limit.
Unifies OAuth refresh locking for shared profiles.
Exposes v1 session creation and update operations in the Python and TypeScript SDKs.
Write replicas on another instance no longer use the base workspace.
Non-persistent sandbox disk is capped at 16 GiB per vCPU.
JavaScript gzips queued runs as they arrive, matching Python's zstd buffer behavior.
Recorded storage is retained across sampling gaps.
V1 session write responses are aligned.
GitHub fixes are scoped to the instance they were opened on.
Adds cursor pagination to sandbox registry listing.
Carries sandbox settings into snapshots when using include.
Adds support for Standard Units in sandbox cost breakdowns.
Keeps Responses stream output when it ends incomplete or failed.
Isolates concurrent comparative evaluator run order.
Correctly recognizes the head seed checkpoint when a channel migrates from non-delta to DeltaChannel, avoiding incorrect reconstructed state for non-additive reducers.
The optional
gotoparameter is forwarded into the sameCommandas the resume value.Event Streaming v2 validation reads pending interrupts from the durable thread row, preventing valid HITL resumes from returning
no_such_interruptafter reconnects, redeploys, or lookup failures.Using a
stream_modefilter no longer incorrectly filters non-message events from subgraphs.Preserves NullableHeaders in public declarations.
Remote JS graphs use LangGraphJS's native v3 stream for v2 event-streaming runs, fixing tool rendering, headless interrupts, and duplicate tool-use ID errors after resume.
Fixes silent failures caused by strict sidecar stream-mode validation and swallowed errors; non-2xx sidecar responses now raise a clear error.
Queue runs now select fields explicitly 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 when
REDIS_CLUSTER=trueinstead of attempting to dial port 0.With
stream_mode=["custom"]andstream_subgraphs=True, custom events emitted from subgraphs are now forwarded to the client on JS deployments.The optional
updateparameter is forwarded into the sameCommandas the resume value.
langsmith 0.107 changes
Breaking changes 1
AddressApi is merged with Address to make serialization easier.
Security 1
Sandboxes add an encryption spec and cache/encryption mount variants.
New APIs and options 3
Run query endpoints add the ai_search field.
Run query endpoints support SSE streaming.
Adds the test_webhook_destination endpoint.
Behavior and default changes 1
Sandbox authentication accepts any JOSE asymmetric algorithm selected by the JWKS key.
Fixes and other changes 1
Ships CJS and Node 10 types for langsmith/vitest, improving compatibility for consumers using that subpath.
langsmith 0.31 changes
New APIs and options 1
Add api_version to langgraph.json to pin the Agent Server API version instead of using the latest stable version in Cloud deployments.
langsmith 0.133 changes
New APIs and options 33
Adds an API endpoint to delete a custom model price from the workspace; default entries cannot be deleted, and existing run costs are not recomputed.
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.
The GET endpoint accepts limit to set the maximum number of entries returned; it defaults to 100 and must be between 1 and 100.
The GET endpoint accepts offset to skip entries before the requested page; it defaults to 0 and must be at least 0.
The GET endpoint accepts provider values to restrict results to matching providers, case-insensitively.
The GET endpoint accepts sort_by with start_time as its specified field; when unset, results use match priority order.
The GET endpoint accepts asc or desc for sort direction; it defaults to desc, and unset start dates sort last.
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 at least one workspace and accepts an optional description and expiration; the response includes the created key.
Adds an endpoint to revoke an organization tracing key by its UUID, for keys 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 POST endpoint to attach an existing access policy to a user group. It accepts access_policy_id and an optional workspace_id, and returns 201 when attached or 200 when already attached.
Adds a GET endpoint that resolves an AGENT, EXPERIMENT, or EVALUATOR address to a tracing project session_id. It returns 404 for missing or unreadable projects; BYOC is unsupported, and self-hosted deployments need LangSmith v0.18 or later.
Adds a GET endpoint that returns the organization's default monthly trace limit for workspaces.
Adds a beta endpoint to attach a sandbox to a browser or open a browser window for the caller, returning browser connection and window details.
Adds the cursor query parameter for pagination using a cursor from a prior response's next_cursor.
Adds the name_contains query parameter to filter volumes by a name substring.
Adds the page_size query parameter to set the number of results per page; its default is 20.
Adds a beta endpoint to create a copy-on-write copy of an existing volume. The source must not be attached read-write to a sandbox that is running, and cloning requires the creator or a role with sandboxes:exec.
Adds the include_stats query parameter to request run statistics when retrieving a tracing project or experiment; it defaults to false.
Adds the upsert query parameter to update an existing session with the same name.
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 close a tab in a browser window.
Adds a beta endpoint to retrieve a browser and its attached windows by name or ID.
The response schema describes model price entries, including match rules, token costs and details, provider, time applicability, and workspace ownership.
Create workspace-specific model pricing entries with a name, model match pattern, and prompt and completion costs; optional fields support provider, time, token-threshold, and token-type pricing.
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 endpoint to open a tab in a browser window, at about:blank when no URL is given.