Skip to content

Commit 81e5efe

Browse files
release: 0.7.0
1 parent dcde56a commit 81e5efe

File tree

4 files changed

+96
-3
lines changed

4 files changed

+96
-3
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.6.0"
2+
".": "0.7.0"
33
}

CHANGELOG.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,98 @@
11
# Changelog
22

3+
## 0.7.0 (2025-05-09)
4+
5+
Full Changelog: [v0.6.0...v0.7.0](https://github.com/braintrustdata/braintrust-api-py/compare/v0.6.0...v0.7.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([#118](https://github.com/braintrustdata/braintrust-api-py/issues/118)) ([e06c7c2](https://github.com/braintrustdata/braintrust-api-py/commit/e06c7c2d2a365e6e59c885358485bdfa1413bc40))
10+
* **api:** manual updates ([#119](https://github.com/braintrustdata/braintrust-api-py/issues/119)) ([e37a8c1](https://github.com/braintrustdata/braintrust-api-py/commit/e37a8c1b81f31ea4795150dae1ce1a92474b6b6f))
11+
* **api:** manual updates ([#120](https://github.com/braintrustdata/braintrust-api-py/issues/120)) ([bcf8542](https://github.com/braintrustdata/braintrust-api-py/commit/bcf854293c2afc6d093ccdb84a9eb8d397f5831e))
12+
* **client:** allow passing `NotGiven` for body ([#109](https://github.com/braintrustdata/braintrust-api-py/issues/109)) ([731a3a1](https://github.com/braintrustdata/braintrust-api-py/commit/731a3a13b3f1cad4e5211684078f020487262076))
13+
* **client:** send `X-Stainless-Read-Timeout` header ([#104](https://github.com/braintrustdata/braintrust-api-py/issues/104)) ([a81d0cb](https://github.com/braintrustdata/braintrust-api-py/commit/a81d0cb7af62e5cbcf4a7492652e873737575afc))
14+
15+
16+
### Bug Fixes
17+
18+
* **api:** better support union schemas with common properties ([#92](https://github.com/braintrustdata/braintrust-api-py/issues/92)) ([12e53c2](https://github.com/braintrustdata/braintrust-api-py/commit/12e53c2d042af021874740c0442d1dd8f691e68d))
19+
* asyncify on non-asyncio runtimes ([#108](https://github.com/braintrustdata/braintrust-api-py/issues/108)) ([2cd0b7e](https://github.com/braintrustdata/braintrust-api-py/commit/2cd0b7eadcef42310cdaaab88e261661baf66e07))
20+
* **ci:** ensure pip is always available ([#123](https://github.com/braintrustdata/braintrust-api-py/issues/123)) ([62dff95](https://github.com/braintrustdata/braintrust-api-py/commit/62dff9577d3888dfbcb811a1d95f2d19950711e7))
21+
* **ci:** remove publishing patch ([#124](https://github.com/braintrustdata/braintrust-api-py/issues/124)) ([e0320a6](https://github.com/braintrustdata/braintrust-api-py/commit/e0320a6eb1d40e8d15453d97ed53ccd5e4ec87cd))
22+
* **client:** mark some request bodies as optional ([731a3a1](https://github.com/braintrustdata/braintrust-api-py/commit/731a3a13b3f1cad4e5211684078f020487262076))
23+
* **client:** only call .close() when needed ([#89](https://github.com/braintrustdata/braintrust-api-py/issues/89)) ([b17e41e](https://github.com/braintrustdata/braintrust-api-py/commit/b17e41e01a865ecce9fb7dd53fe0e454ee831a91))
24+
* correctly handle deserialising `cls` fields ([#94](https://github.com/braintrustdata/braintrust-api-py/issues/94)) ([72ebbe1](https://github.com/braintrustdata/braintrust-api-py/commit/72ebbe1fb979d13e557b5728b914ec07c59c307a))
25+
* **perf:** optimize some hot paths ([8aa7193](https://github.com/braintrustdata/braintrust-api-py/commit/8aa71935dbdb15e65aa50ea14eabd1f5ae27524e))
26+
* **perf:** skip traversing types for NotGiven values ([cdf262b](https://github.com/braintrustdata/braintrust-api-py/commit/cdf262bf241b311addbbac638b97b99bf5038f46))
27+
* **pydantic v1:** more robust ModelField.annotation check ([640f98b](https://github.com/braintrustdata/braintrust-api-py/commit/640f98bf04edb7148d4e217dffe7f20d403185fa))
28+
* **tests:** make test_get_platform less flaky ([#97](https://github.com/braintrustdata/braintrust-api-py/issues/97)) ([539f898](https://github.com/braintrustdata/braintrust-api-py/commit/539f898c0ef3bd3b97889a6f25debd058fbbb0b0))
29+
* **types:** add missing total=False ([#126](https://github.com/braintrustdata/braintrust-api-py/issues/126)) ([74ea3e8](https://github.com/braintrustdata/braintrust-api-py/commit/74ea3e86731ebd651f4051865a636f06b16998d3))
30+
* **types:** handle more discriminated union shapes ([#122](https://github.com/braintrustdata/braintrust-api-py/issues/122)) ([fcf590f](https://github.com/braintrustdata/braintrust-api-py/commit/fcf590f9015ed87e8c52661460535f3cf38a8ac0))
31+
32+
33+
### Chores
34+
35+
* add missing isclass check ([#87](https://github.com/braintrustdata/braintrust-api-py/issues/87)) ([bfb504b](https://github.com/braintrustdata/braintrust-api-py/commit/bfb504b89946d937964fa6b11ad9ec759f44ca5f))
36+
* broadly detect json family of content-type headers ([eb1c4af](https://github.com/braintrustdata/braintrust-api-py/commit/eb1c4af14b0c59330ac2abf8b948d26f3991189c))
37+
* **ci:** add timeout thresholds for CI jobs ([8eb40d8](https://github.com/braintrustdata/braintrust-api-py/commit/8eb40d826eebb275e0c6d23cade9accbe94fe729))
38+
* **ci:** only use depot for staging repos ([3740879](https://github.com/braintrustdata/braintrust-api-py/commit/3740879ac2684ca7a65a6ba828dee58bcc3230a0))
39+
* **client:** minor internal fixes ([fa4d5c4](https://github.com/braintrustdata/braintrust-api-py/commit/fa4d5c402e177ad66b99927daec35a5879edb35d))
40+
* **client:** simplify `Optional[object]` to just `object` ([#86](https://github.com/braintrustdata/braintrust-api-py/issues/86)) ([edc7ec8](https://github.com/braintrustdata/braintrust-api-py/commit/edc7ec8b753f0966b0dc46fbf67889d5600ebf12))
41+
* **docs:** update client docstring ([#113](https://github.com/braintrustdata/braintrust-api-py/issues/113)) ([ef563e2](https://github.com/braintrustdata/braintrust-api-py/commit/ef563e21b1746f8836b218626d65e92b7bfb62e4))
42+
* fix typos ([#125](https://github.com/braintrustdata/braintrust-api-py/issues/125)) ([15f7e02](https://github.com/braintrustdata/braintrust-api-py/commit/15f7e0208fc481b67bad494d393c7d364574c514))
43+
* **internal:** avoid errors for isinstance checks on proxies ([dcde56a](https://github.com/braintrustdata/braintrust-api-py/commit/dcde56ab1f270935868e289287141ad5891ac0e5))
44+
* **internal:** avoid pytest-asyncio deprecation warning ([#98](https://github.com/braintrustdata/braintrust-api-py/issues/98)) ([58f4215](https://github.com/braintrustdata/braintrust-api-py/commit/58f4215a46c8acb0676defb807ef1bb2dbd5888b))
45+
* **internal:** base client updates ([ab8ab97](https://github.com/braintrustdata/braintrust-api-py/commit/ab8ab979c40c40b7c1cc97fd65dcf10f29af5d02))
46+
* **internal:** bummp ruff dependency ([#103](https://github.com/braintrustdata/braintrust-api-py/issues/103)) ([704af11](https://github.com/braintrustdata/braintrust-api-py/commit/704af11b4f64bbdf5ec673c20bfb3ddbae4fee66))
47+
* **internal:** bump httpx dependency ([#88](https://github.com/braintrustdata/braintrust-api-py/issues/88)) ([f37b2d0](https://github.com/braintrustdata/braintrust-api-py/commit/f37b2d035467e512ecc0676a2b1643b0fcbb1f4f))
48+
* **internal:** bump pydantic dependency ([#75](https://github.com/braintrustdata/braintrust-api-py/issues/75)) ([cee4d9d](https://github.com/braintrustdata/braintrust-api-py/commit/cee4d9d69b1cd28992af885f09392757af3e9859))
49+
* **internal:** bump pyright version ([019fea9](https://github.com/braintrustdata/braintrust-api-py/commit/019fea9772ccb410b2b8c624854037b2c63352b2))
50+
* **internal:** bump rye to 0.44.0 ([#121](https://github.com/braintrustdata/braintrust-api-py/issues/121)) ([97b0d81](https://github.com/braintrustdata/braintrust-api-py/commit/97b0d817a4909467cff0caaf143411bf5d904434))
51+
* **internal:** change default timeout to an int ([#102](https://github.com/braintrustdata/braintrust-api-py/issues/102)) ([02ff898](https://github.com/braintrustdata/braintrust-api-py/commit/02ff898796501d1baf9b7f79113796f7d61ef9e6))
52+
* **internal:** codegen related update ([0a80ffd](https://github.com/braintrustdata/braintrust-api-py/commit/0a80ffd780ef8d3b4fa4227d5259799f9811740a))
53+
* **internal:** codegen related update ([#101](https://github.com/braintrustdata/braintrust-api-py/issues/101)) ([74c72a3](https://github.com/braintrustdata/braintrust-api-py/commit/74c72a341c219b85a081bf4606a6caf0eac117ba))
54+
* **internal:** codegen related update ([#72](https://github.com/braintrustdata/braintrust-api-py/issues/72)) ([c8d3baf](https://github.com/braintrustdata/braintrust-api-py/commit/c8d3baf536473fc7b2d85e39ce8a498228c03bea))
55+
* **internal:** codegen related update ([#77](https://github.com/braintrustdata/braintrust-api-py/issues/77)) ([e6d7e6d](https://github.com/braintrustdata/braintrust-api-py/commit/e6d7e6d31b02f43cb1a6b83ed78482c73e99567d))
56+
* **internal:** codegen related update ([#78](https://github.com/braintrustdata/braintrust-api-py/issues/78)) ([3805a84](https://github.com/braintrustdata/braintrust-api-py/commit/3805a841cf5e78904c2e25984a13d948b8cdf12f))
57+
* **internal:** codegen related update ([#79](https://github.com/braintrustdata/braintrust-api-py/issues/79)) ([d02caf0](https://github.com/braintrustdata/braintrust-api-py/commit/d02caf0bd34c711cec98358243b6b370eb78edf7))
58+
* **internal:** codegen related update ([#81](https://github.com/braintrustdata/braintrust-api-py/issues/81)) ([0f9e170](https://github.com/braintrustdata/braintrust-api-py/commit/0f9e17051ea65e878c5a02de502e80a292918294))
59+
* **internal:** codegen related update ([#82](https://github.com/braintrustdata/braintrust-api-py/issues/82)) ([c62a02c](https://github.com/braintrustdata/braintrust-api-py/commit/c62a02cb45f7191c6058e5d667499228918351db))
60+
* **internal:** codegen related update ([#85](https://github.com/braintrustdata/braintrust-api-py/issues/85)) ([04d214e](https://github.com/braintrustdata/braintrust-api-py/commit/04d214e0ba25d375fc3c816f68bad370e0b0b63d))
61+
* **internal:** codegen related update ([#91](https://github.com/braintrustdata/braintrust-api-py/issues/91)) ([f4ff2a9](https://github.com/braintrustdata/braintrust-api-py/commit/f4ff2a98ab561f6e4e03a78ee358af17f7a27132))
62+
* **internal:** codegen related update ([#95](https://github.com/braintrustdata/braintrust-api-py/issues/95)) ([2a4460a](https://github.com/braintrustdata/braintrust-api-py/commit/2a4460a7446ed72b958ee1f5257effe850a1802d))
63+
* **internal:** expand CI branch coverage ([a3a2656](https://github.com/braintrustdata/braintrust-api-py/commit/a3a265646ff09013b603bffb3b7358590b112fd0))
64+
* **internal:** fix devcontainers setup ([#110](https://github.com/braintrustdata/braintrust-api-py/issues/110)) ([d782782](https://github.com/braintrustdata/braintrust-api-py/commit/d78278233d819b0ae3d2ebfb16eae38b522f9771))
65+
* **internal:** fix list file params ([b6639ab](https://github.com/braintrustdata/braintrust-api-py/commit/b6639abffec648d42b94373c98d5a889a62aae22))
66+
* **internal:** fix some typos ([#84](https://github.com/braintrustdata/braintrust-api-py/issues/84)) ([1afb368](https://github.com/braintrustdata/braintrust-api-py/commit/1afb368da87a73c1df3db45c758c7d50827daf27))
67+
* **internal:** fix type traversing dictionary params ([#105](https://github.com/braintrustdata/braintrust-api-py/issues/105)) ([46076eb](https://github.com/braintrustdata/braintrust-api-py/commit/46076ebb88673834f48110408883fb5387a94c47))
68+
* **internal:** import reformatting ([dbac172](https://github.com/braintrustdata/braintrust-api-py/commit/dbac172106ee60ea78d749d974557cc9ff90d891))
69+
* **internal:** minor formatting changes ([77de939](https://github.com/braintrustdata/braintrust-api-py/commit/77de9399a9ff9e2b98359f590cf806ae2f6da11e))
70+
* **internal:** minor formatting changes ([#100](https://github.com/braintrustdata/braintrust-api-py/issues/100)) ([ff3d099](https://github.com/braintrustdata/braintrust-api-py/commit/ff3d099982eecfafda24f00ed8fbe3d3fd7b5162))
71+
* **internal:** minor style changes ([#99](https://github.com/braintrustdata/braintrust-api-py/issues/99)) ([b40d0f4](https://github.com/braintrustdata/braintrust-api-py/commit/b40d0f4efd5aba49466a07567158aefeead39614))
72+
* **internal:** minor type handling changes ([#106](https://github.com/braintrustdata/braintrust-api-py/issues/106)) ([2c42ae6](https://github.com/braintrustdata/braintrust-api-py/commit/2c42ae6dec7232ff806c0320840ffdd2036fc543))
73+
* **internal:** properly set __pydantic_private__ ([#111](https://github.com/braintrustdata/braintrust-api-py/issues/111)) ([0cde4b1](https://github.com/braintrustdata/braintrust-api-py/commit/0cde4b1f436edc303aec5a3ac8e68899c84fa02a))
74+
* **internal:** reduce CI branch coverage ([1997d9b](https://github.com/braintrustdata/braintrust-api-py/commit/1997d9b5d408d96d2fae5d8d1b8d565250ea4690))
75+
* **internal:** refactor retries to not use recursion ([9105502](https://github.com/braintrustdata/braintrust-api-py/commit/9105502535ea87fe89eb43173da10b0ecaa7f9cc))
76+
* **internal:** remove extra empty newlines ([#117](https://github.com/braintrustdata/braintrust-api-py/issues/117)) ([10305c5](https://github.com/braintrustdata/braintrust-api-py/commit/10305c5c85a0767ba4cc9c6f12b5df2c0b850a3e))
77+
* **internal:** remove trailing character ([#127](https://github.com/braintrustdata/braintrust-api-py/issues/127)) ([e49928a](https://github.com/braintrustdata/braintrust-api-py/commit/e49928a4e121ece341f97140c49654992b356e3e))
78+
* **internal:** remove unused http client options forwarding ([#114](https://github.com/braintrustdata/braintrust-api-py/issues/114)) ([0a60d39](https://github.com/braintrustdata/braintrust-api-py/commit/0a60d3912df8fd72902d9467742f75b9b43ab7e1))
79+
* **internal:** slight transform perf improvement ([#128](https://github.com/braintrustdata/braintrust-api-py/issues/128)) ([7254708](https://github.com/braintrustdata/braintrust-api-py/commit/7254708f928fd60b5c211af8fc92b5fb3498e2bf))
80+
* **internal:** update client tests ([#107](https://github.com/braintrustdata/braintrust-api-py/issues/107)) ([ef75a36](https://github.com/braintrustdata/braintrust-api-py/commit/ef75a36384ab8f0a9d2db94af5df59f8387991e0))
81+
* **internal:** update models test ([e33fb48](https://github.com/braintrustdata/braintrust-api-py/commit/e33fb48b58e327e3ad908e926cd4104e10e360f0))
82+
* **internal:** update pyright settings ([279561f](https://github.com/braintrustdata/braintrust-api-py/commit/279561f0479b4133dec3c182a59ccce3e30ed7d1))
83+
* **internal:** updated imports ([#80](https://github.com/braintrustdata/braintrust-api-py/issues/80)) ([3bc669f](https://github.com/braintrustdata/braintrust-api-py/commit/3bc669fe9661325e0d10f94a89f982afecbea043))
84+
* make the `Omit` type public ([#74](https://github.com/braintrustdata/braintrust-api-py/issues/74)) ([e5ea14a](https://github.com/braintrustdata/braintrust-api-py/commit/e5ea14afcd44cb9562c9c0ccc557bbee5531f685))
85+
86+
87+
### Documentation
88+
89+
* fix typos ([#90](https://github.com/braintrustdata/braintrust-api-py/issues/90)) ([d717022](https://github.com/braintrustdata/braintrust-api-py/commit/d717022b9e153a081f750b2d4aa30bf1a9ec25b6))
90+
* **raw responses:** fix duplicate `the` ([#96](https://github.com/braintrustdata/braintrust-api-py/issues/96)) ([2af70ba](https://github.com/braintrustdata/braintrust-api-py/commit/2af70ba015d6b0f7bc70586b29f651514001784b))
91+
* **readme:** example snippet for client context manager ([#83](https://github.com/braintrustdata/braintrust-api-py/issues/83)) ([d38014d](https://github.com/braintrustdata/braintrust-api-py/commit/d38014dcb54bc8a869f0ddc4afc987cd46e8f659))
92+
* **readme:** fix http client proxies example ([#76](https://github.com/braintrustdata/braintrust-api-py/issues/76)) ([eebb262](https://github.com/braintrustdata/braintrust-api-py/commit/eebb2621dc7c847f3ab458ef9292269df342ab04))
93+
* revise readme docs about nested params ([#115](https://github.com/braintrustdata/braintrust-api-py/issues/115)) ([c372084](https://github.com/braintrustdata/braintrust-api-py/commit/c372084db61445d20d918aaa44b036480ea60020))
94+
* update URLs from stainlessapi.com to stainless.com ([#112](https://github.com/braintrustdata/braintrust-api-py/issues/112)) ([f369b75](https://github.com/braintrustdata/braintrust-api-py/commit/f369b750d0de33ac22a20fa6b525b242987627b1))
95+
396
## 0.6.0 (2024-11-28)
497

598
Full Changelog: [v0.5.0...v0.6.0](https://github.com/braintrustdata/braintrust-api-py/compare/v0.5.0...v0.6.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "braintrust-api"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
description = "The official Python library for the braintrust API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/braintrust_api/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "braintrust_api"
4-
__version__ = "0.6.0" # x-release-please-version
4+
__version__ = "0.7.0" # x-release-please-version

0 commit comments

Comments
 (0)