Releases: langchain-ai/langsmith-sdk
Releases · langchain-ai/langsmith-sdk
v0.4.9
What's Changed
- feat(js): Update AI SDK tracing for v5 by @jacoblee93 in #1863
- feat: Configure by @hinthornw in #1859
- fix (js): include env var metadata in patch by @hinthornw in #1867
- release(js): 0.3.48 by @hinthornw in #1868
- feat(js): Respect LANGSMITH_OTEL_ENABLED env var, allow skipping global context manager setup, skip non-traceable spans by default by @jacoblee93 in #1870
- feat(js): Adds dotted order to traced OTEL spans by @jacoblee93 in #1876
- chore(python): deflake ci by @angus-langchain in #1872
- fix(js): Respect Anthropic 1h caching usage for AI SDK 5 by @jacoblee93 in #1879
- patch(python, js): Fix sampling logic for patch runs by @angus-langchain in #1881
Full Changelog: v0.4.8...v0.4.9
v0.4.8
What's Changed
- fix(python): Fix update_examples improperly overriding inputs/outputs for multipart endpoint by @jacoblee93 in #1860
Full Changelog: v0.4.7...v0.4.8
v0.4.7
What's Changed
- fix(js): Make readDataset throw if empty string is passed by @jacoblee93 in #1853
- fix(js): Fallback to parent run id if parent run is not present in run trees loaded from LangChain by @jacoblee93 in #1854
- Safer module check by @hinthornw in #1857
Full Changelog: v0.4.6...v0.4.7
v0.4.6
What's Changed
- If stream fails, fallback to buffered body request by @angus-langchain in #1845
- fix(js): Fix replica updates by @jacoblee93 in #1848
- feat(js): Support feedback attribution for OTEL evaluations by @jacoblee93 in #1847
- fix(js): Propagate microseconds added in dotted order conversion to run tree start time by @jacoblee93 in #1849
- fix(js): Respect project names set at runtime for OTEL exported traces by @jacoblee93 in #1850
- feat(python): Add repetitions support to pytest, rename in JS by @jacoblee93 in #1852
Full Changelog: v0.4.5...v0.4.6
v0.4.5
What's Changed
- feat(js): Add OTEL support by @jacoblee93 in #1814
- feat(js): Export passed AI SDK metadata as LangSmith metadata by @jacoblee93 in #1819
- Reduce zstd compression level to 1 by @angus-langchain in #1820
- feat(js): Add transform span method to exporter, allow setting run name by @jacoblee93 in #1821
- fix(js): Use context placeholder to preserve LangChain context variables even if tracing is disabled by @jacoblee93 in #1822
- fix(js): Fix types and add responses and completions.parse support for wrapOpenAI by @jacoblee93 in #1823
- release(js): 0.3.38 by @jacoblee93 in #1824
- fix(js): Fix AI SDK token counting issues for legacy exporter by @jacoblee93 in #1825
- feat(js): Make traced AI SDK runs respect provider metadata by @jacoblee93 in #1826
- feat(js): Add reference_example_id attribute to OTEL runs by @jacoblee93 in #1836
- [open-swe] fix: improve serialization of Maps and complex objects in traces by @open-swe[bot] in #1835
- release(js): 0.3.41 by @jacoblee93 in #1837
- fix(js): Add endpoint shim to example upload by @jacoblee93 in #1839
- Add runs endpoints env to replicas by @hinthornw in #1830
- release(js): 0.3.42 by @jacoblee93 in #1842
- feat(python): Populate example metadata in pytest, prefix experiment runs with ls_example by @jacoblee93 in #1840
New Contributors
Full Changelog: v0.4.4...v0.4.5
v0.4.4
What's Changed
- Add replicas to baggage header by @angus-langchain in #1817
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
- feat(js): Allow suppressing circular JSON warnings by @jacoblee93 in #1815
- fix(py): loosen pydantic dep by @baskaryan in #1816
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
- Add agent instructions for Python SDK by @nfcampos in #1776
- Fix some issues w running codex in this repo by @nfcampos in #1777
- Fix race for cached client initialization by @nfcampos in #1778
- Handle missing attachment files gracefully by @nfcampos in #1782
- fix(js): Fix JSDom check for Node 22 by @jacoblee93 in #1784
- Cache request settings for Client by @nfcampos in #1787
- chore: auto-label issues with 'sdk' label by @madams0013 in #1791
- Store only the first new_token event by @nfcampos in #1779
- fix(js): Pass events through on run create by @jacoblee93 in #1794
- fix(js): Avoid overwriting runtime if already set by @jacoblee93 in #1795
- feat(js): Add replica support for JS by @jacoblee93 in #1796
- release(js): 0.3.32 by @jacoblee93 in #1797
- add util for getting project name from env var by @lc-arjun in #1801
- patch[python]: Only set replica updates on patch by @angus-langchain in #1798
- feat[python]: Trace to multiple projects with distributed tracing by @angus-langchain in #1804
- feat[python]: Enable OpenTelemetry trace context propagation by @angus-langchain in #1805
- chore(deps): bump protobuf from 5.29.4 to 5.29.5 in /python by @dependabot in #1807
- feat(py): add evaluate(..., error_handling="ignore") by @baskaryan in #1774
New Contributors
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- fix: hybrid mode has subtle shut down race conditoin by @EugeneJinXin in #1775
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- feat: OTEL_ENABLED mode sends to both otel and ls, while allowing otel only through OTEL_ONLY var by @EugeneJinXin in #1762
New Contributors
- @EugeneJinXin made their first contribution in #1762
Full Changelog: v0.3.45...v0.4.0