|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 4.1.0 (2025-11-04) |
| 4 | + |
| 5 | +Full Changelog: [v4.0.0...v4.1.0](https://github.com/BrainbaseHQ/brainbase-python-sdk/compare/v4.0.0...v4.1.0) |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +* **api:** update via SDK Studio ([#61](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/61)) ([9c0c551](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/9c0c551d114f385be676f42aab844de1309b9406)) |
| 10 | +* clean up environment call outs ([696f18b](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/696f18b140f81774258c1bf92e36e070fbf65c7e)) |
| 11 | +* **client:** add follow_redirects request option ([6eb41c9](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6eb41c9ae22aeeae7139e4cdc0bb9e0f34bb37ff)) |
| 12 | +* **client:** add support for aiohttp ([6f6ddd9](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6f6ddd94c735b6bcf82920259c45f2a112f12507)) |
| 13 | +* **client:** allow passing `NotGiven` for body ([#67](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/67)) ([3ad7f25](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/3ad7f25e58b4823792d6475c7c14a3700273dd13)) |
| 14 | +* **client:** send `X-Stainless-Read-Timeout` header ([#63](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/63)) ([a594c75](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/a594c7501a919a038a7b4d08754ee837acd45b89)) |
| 15 | +* **client:** support file upload requests ([fde965a](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/fde965a36bf905c2e8ee5e29013141fca52d6e92)) |
| 16 | +* improve future compat with pydantic v3 ([bccbddf](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/bccbddf086f9791bcd117701a886c16306c4c4f4)) |
| 17 | +* **types:** replace List[str] with SequenceNotStr in params ([0578887](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/0578887c11b95955522042771b4680d5a9f4f6b9)) |
| 18 | + |
| 19 | + |
| 20 | +### Bug Fixes |
| 21 | + |
| 22 | +* asyncify on non-asyncio runtimes ([#66](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/66)) ([ca310cd](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/ca310cd8beb201d9ad2c66ab13c1e0ed605e6a91)) |
| 23 | +* avoid newer type syntax ([db10820](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/db108205529a83cadc51c9506fc2c7a8c372d964)) |
| 24 | +* **ci:** correct conditional ([66eb0ef](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/66eb0ef07df1d265cbb31619ec71f2e097c42f4f)) |
| 25 | +* **ci:** ensure pip is always available ([#78](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/78)) ([d3d295a](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d3d295a6a4007e2504000988e6b997a5a96be28b)) |
| 26 | +* **ci:** release-doctor — report correct token name ([65cdccf](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/65cdccfa4575fb71d6c4947ba13e210537ec181e)) |
| 27 | +* **ci:** remove publishing patch ([#79](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/79)) ([493f504](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/493f504df7150a24d8373065b217c8b69320b432)) |
| 28 | +* **client:** close streams without requiring full consumption ([e783145](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/e783145b013ec8af7142e357f9ec4d9d7ddc99b1)) |
| 29 | +* **client:** correctly parse binary response | stream ([3924997](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/392499744e9c7f7b6d770f243ae700d772663fad)) |
| 30 | +* **client:** don't send Content-Type header on GET requests ([6bcbc4e](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6bcbc4e13f22a42e2a69d7f62c8148430bbd88d9)) |
| 31 | +* **client:** mark some request bodies as optional ([3ad7f25](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/3ad7f25e58b4823792d6475c7c14a3700273dd13)) |
| 32 | +* **package:** support direct resource imports ([ad2d130](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/ad2d130ead5da49f75340d1c642a00854f9d29b6)) |
| 33 | +* **parsing:** correctly handle nested discriminated unions ([cd511d2](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/cd511d2d51ded4d55af012cdc475c2aa79be5785)) |
| 34 | +* **parsing:** ignore empty metadata ([bdd8ead](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/bdd8eadd20c5e4f34b85c3b8e922831f5f1074ab)) |
| 35 | +* **parsing:** parse extra field types ([470d8a8](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/470d8a8851db80f9c3720320a5f51ef214504c52)) |
| 36 | +* **perf:** optimize some hot paths ([7cc4937](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/7cc4937c3882b956356579443e99826de72a4025)) |
| 37 | +* **perf:** skip traversing types for NotGiven values ([38509ba](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/38509baa0c8b7fe6cd68ee34fe769ae1c0d95a5c)) |
| 38 | +* **pydantic v1:** more robust ModelField.annotation check ([3dc3480](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/3dc3480e627d3199117ef6a2b869d413f6408f7b)) |
| 39 | +* **tests:** fix: tests which call HTTP endpoints directly with the example parameters ([539215f](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/539215ff08dfbe906fad296b7a09fbd3a2bdb5bf)) |
| 40 | +* **types:** handle more discriminated union shapes ([#77](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/77)) ([8b6dcf0](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/8b6dcf01f11bed61a53a66b45ab3ae255deb82e8)) |
| 41 | + |
| 42 | + |
| 43 | +### Chores |
| 44 | + |
| 45 | +* broadly detect json family of content-type headers ([febefbc](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/febefbc87ca1d2bbfadc9932400b5ae42644f49a)) |
| 46 | +* bump `httpx-aiohttp` version to 0.1.9 ([7aeb4c8](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/7aeb4c87f034ee7f506a64adf52a349efb343cf5)) |
| 47 | +* **ci:** add timeout thresholds for CI jobs ([d5cbcd0](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d5cbcd06c3d27b71601e34e9ea8fb2a5461ec37d)) |
| 48 | +* **ci:** change upload type ([d7e4405](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d7e4405ad6aa676d5f21fe603b705f2bf7d36496)) |
| 49 | +* **ci:** enable for pull requests ([1ea6fbc](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/1ea6fbc396ca2c40b1233e7e07ab81b6f1b19620)) |
| 50 | +* **ci:** fix installation instructions ([6291f4a](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6291f4ad4b3f4ae3624f3ef3dafc3ef5c9ae4ced)) |
| 51 | +* **ci:** only run for pushes and fork pull requests ([5d00f3e](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5d00f3ed62f35deb17229244613a788ad45bbdc7)) |
| 52 | +* **ci:** only use depot for staging repos ([19ee773](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/19ee77377796949bd043a65b8e6934a60a9aa455)) |
| 53 | +* **ci:** upload sdks to package manager ([598ec7e](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/598ec7e8bf03284b8db9e94049d5e42a1adef26b)) |
| 54 | +* **client:** minor internal fixes ([1e29d3b](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/1e29d3b13de115b6047b3a712ceeac69f77ba51f)) |
| 55 | +* do not install brew dependencies in ./scripts/bootstrap by default ([67c48f0](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/67c48f09376cd85fbb5dca63dc47d83c106e7be6)) |
| 56 | +* **docs:** grammar improvements ([540e711](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/540e711335d2757eb6c76138bb5cc8fceae04ff3)) |
| 57 | +* **docs:** remove reference to rye shell ([ec32daa](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/ec32daa0c329830982eabdffde4356b3dafdfb41)) |
| 58 | +* **docs:** update client docstring ([#71](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/71)) ([b41543a](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/b41543a89e16e504054f95ef8987e12bef2da3a2)) |
| 59 | +* fix typos ([#80](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/80)) ([c1576cc](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/c1576ccb8e5592b395e435cc949ba7c077211b67)) |
| 60 | +* **internal/tests:** avoid race condition with implicit client cleanup ([d3a5435](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d3a5435f4e7c9609de5141ec44639b109758a49b)) |
| 61 | +* **internal:** add Sequence related utils ([5f815ef](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5f815ef63af5a60d77c4f792f3aaf42b317be58f)) |
| 62 | +* **internal:** avoid errors for isinstance checks on proxies ([5dc0949](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5dc09490c13d71ac41d430d78e9c32f8f59c330e)) |
| 63 | +* **internal:** base client updates ([0ac179a](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/0ac179a512ed4773d3717a4226c7f041c67eab17)) |
| 64 | +* **internal:** bump pinned h11 dep ([6cafe07](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6cafe072603e69522dd754cf2d3f2a59b8f49271)) |
| 65 | +* **internal:** bump pyright version ([81c2baf](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/81c2bafbaab324b6e4c85c1e193148fbe2c88525)) |
| 66 | +* **internal:** bump rye to 0.44.0 ([#76](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/76)) ([21a20b3](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/21a20b383e1ce4b072bdbcdefc5774f9e2ba21f4)) |
| 67 | +* **internal:** change ci workflow machines ([656643d](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/656643d1bd5e3bba6a6997ac3ecbce69d0aaf4cc)) |
| 68 | +* **internal:** codegen related update ([2f8fbc4](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/2f8fbc4b1ebdcf56188bb58f763e2fb9fd8c202b)) |
| 69 | +* **internal:** codegen related update ([d6d5a1d](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d6d5a1d5cf3fec7ee383f25b8927d773a20230ca)) |
| 70 | +* **internal:** codegen related update ([a145cee](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/a145cee50fe2c30203c1beea85b9e87e58339103)) |
| 71 | +* **internal:** codegen related update ([#75](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/75)) ([db19786](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/db197864c745b7235e546f349e0a24a7c8cd9801)) |
| 72 | +* **internal:** detect missing future annotations with ruff ([23b94ed](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/23b94edc4b2f2e1ab1b8ed02881296a185b3ccac)) |
| 73 | +* **internal:** expand CI branch coverage ([7fd1145](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/7fd1145852e5f82cd271dcb4432e2474e1cbd9d4)) |
| 74 | +* **internal:** fix devcontainers setup ([#68](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/68)) ([97b7254](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/97b725436eaca395261fa04119202ccd938e2edd)) |
| 75 | +* **internal:** fix list file params ([1b5e333](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/1b5e333c271ee804b2fe7738dfb2ee7bd0044c9a)) |
| 76 | +* **internal:** fix ruff target version ([1437b86](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/1437b86f88760d95f63a3cd9e5e4e3d1b9cc1673)) |
| 77 | +* **internal:** fix type traversing dictionary params ([#64](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/64)) ([1322c80](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/1322c808afea9e8d17ac958e289850115c8d0fe8)) |
| 78 | +* **internal:** grammar fix (it's -> its) ([8b1cdb7](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/8b1cdb737ecd09456400b79a03d1aa2d02ab8e2b)) |
| 79 | +* **internal:** import reformatting ([8a3f6f0](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/8a3f6f0fc98525d48998f38b6bafc6b78bbea73d)) |
| 80 | +* **internal:** minor type handling changes ([#65](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/65)) ([7e69125](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/7e691251edd799b8ffd067792c0833f99a6906bb)) |
| 81 | +* **internal:** move mypy configurations to `pyproject.toml` file ([f87b268](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/f87b2684a44a8c6112fa30fd935e42d9d532fdbf)) |
| 82 | +* **internal:** properly set __pydantic_private__ ([#69](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/69)) ([bc25b84](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/bc25b84c059996c26d435aa61da24f684b25f2e8)) |
| 83 | +* **internal:** reduce CI branch coverage ([2492996](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/249299619c40b6abeef1332f3c3e33e436fe5da5)) |
| 84 | +* **internal:** refactor retries to not use recursion ([055e329](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/055e329cdf3927632ab1e4b128c2ed5ce0333e8f)) |
| 85 | +* **internal:** remove extra empty newlines ([#74](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/74)) ([3d90dff](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/3d90dff0832619c6495bbf7f82cc74ac9aac46c9)) |
| 86 | +* **internal:** remove trailing character ([#81](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/81)) ([4cfa80b](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/4cfa80bf1f6a9f24ae0a7244b3ae5a248e131edc)) |
| 87 | +* **internal:** remove unused http client options forwarding ([#72](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/72)) ([69a44e3](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/69a44e38bcfb88f523e036d4f434942a96397061)) |
| 88 | +* **internal:** slight transform perf improvement ([#82](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/82)) ([5498eaf](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5498eaf9154b388668be1a516d3597d27b74cc7c)) |
| 89 | +* **internal:** update comment in script ([103820e](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/103820ebecd7a1dd118282d8becf5db502a1ec0d)) |
| 90 | +* **internal:** update conftest.py ([83531b4](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/83531b46d24f38f1f7c6a3ca13ddbb4e5d16590b)) |
| 91 | +* **internal:** update models test ([421a2b5](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/421a2b57d0973344ae3d86ec0f989ca655490970)) |
| 92 | +* **internal:** update pydantic dependency ([5dd09a4](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5dd09a48ae3a7ef8efe86304ea1d84acd0bf7d39)) |
| 93 | +* **internal:** update pyright exclude list ([f306088](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/f3060880c80762252f85cb071eae6b7c1263265f)) |
| 94 | +* **internal:** update pyright settings ([2d267e1](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/2d267e1d9a8fee34b0dde0ca9274afac975a1648)) |
| 95 | +* **package:** mark python 3.13 as supported ([06ad64f](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/06ad64facff9ca27b1049dc9bc2a41aa1872b7ee)) |
| 96 | +* **project:** add settings file for vscode ([6754b39](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/6754b3937cfa144183e8d4633efdd19e2d0e1413)) |
| 97 | +* **readme:** fix version rendering on pypi ([b1e9e51](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/b1e9e51bb3adf1c0f2387b4aff1804ff6e40e346)) |
| 98 | +* **readme:** update badges ([f3f214f](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/f3f214f315d721421f383ba4b5e63ddd828c0b59)) |
| 99 | +* **tests:** add tests for httpx client instantiation & proxies ([5e172cd](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/5e172cd1be541e04ab62ef1c770b5d1e9b7fc44d)) |
| 100 | +* **tests:** run tests in parallel ([497b381](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/497b3816f4167e344dbbad4a2910236436641777)) |
| 101 | +* **tests:** simplify `get_platform` test ([ef07d85](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/ef07d85cf3d9001104e57e9e1a266aa65f6852e5)) |
| 102 | +* **tests:** skip some failing tests on the latest python versions ([39d037c](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/39d037c9713c26103a549a3b0c03003a93ef3fc4)) |
| 103 | +* **types:** change optional parameter type from NotGiven to Omit ([14cb9a9](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/14cb9a994e36c901e9b73ca1004a40cb30f87786)) |
| 104 | +* update @stainless-api/prism-cli to v5.15.0 ([d766a01](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d766a015e4fd9a56336bf37be4cce0eb08361a20)) |
| 105 | +* update github action ([d0f9d9e](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/d0f9d9e2bd470f7ee9f2c29cf514d9a9da093c0b)) |
| 106 | + |
| 107 | + |
| 108 | +### Documentation |
| 109 | + |
| 110 | +* **client:** fix httpx.Timeout documentation reference ([3341b85](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/3341b85797cfcc35e3e8c1f3a151176c85587ec8)) |
| 111 | +* update URLs from stainlessapi.com to stainless.com ([#70](https://github.com/BrainbaseHQ/brainbase-python-sdk/issues/70)) ([08062c4](https://github.com/BrainbaseHQ/brainbase-python-sdk/commit/08062c48906749ce529d5ea1fcdfed3b1b18412c)) |
| 112 | + |
3 | 113 | ## 4.0.0 (2025-02-04) |
4 | 114 |
|
5 | 115 | Full Changelog: [v3.0.0...v4.0.0](https://github.com/BrainbaseHQ/brainbase-python-sdk/compare/v3.0.0...v4.0.0) |
|
0 commit comments