Skip to content

Commit c01a6d1

Browse files
badGarnetclaude
andcommitted
chore: release 0.46.0
Ships the NDJSON elements-file mode. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 7210084 commit c01a6d1

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.46.0
2+
3+
### Features
4+
* Add an NDJSON elements-file mode to `partition()`. Pass `accept_header_override=PartitionAcceptEnum.APPLICATION_X_NDJSON` to get `PartitionResponse.elements_file` — a path to an NDJSON file with one element per line — instead of `PartitionResponse.elements`. On the split-PDF path the per-chunk temp files are concatenated on disk rather than parsed, flattened, re-serialized with `json.dumps` and re-parsed by the SDK, which held four copies of the document in memory at once. Peak memory becomes roughly one chunk instead of the whole document. **The caller owns the returned file and is responsible for deleting it.** Requesting `application/json` (the default) is unchanged.
5+
16
## 0.45.0
27

38
### Features

‎RELEASES.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,3 +1241,13 @@ Based on:
12411241
- [python v0.45.0] .
12421242
### Releases
12431243
- [PyPI v0.45.0] https://pypi.org/project/unstructured-client/0.45.0 - .
1244+
1245+
## 2026-08-01 00:00:00
1246+
### Changes
1247+
Based on:
1248+
- OpenAPI Doc
1249+
- Speakeasy CLI 1.601.0 (2.680.0) https://github.com/speakeasy-api/speakeasy
1250+
### Generated
1251+
- [python v0.46.0] .
1252+
### Releases
1253+
- [PyPI v0.46.0] https://pypi.org/project/unstructured-client/0.46.0 - .

‎src/unstructured_client/_version.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "unstructured-client"
6-
__version__: str = "0.45.0"
6+
__version__: str = "0.46.0"
77
__openapi_doc_version__: str = "1.2.31"
88
__gen_version__: str = "2.680.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.45.0 2.680.0 1.2.31 unstructured-client"
9+
__user_agent__: str = "speakeasy-sdk/python 0.46.0 2.680.0 1.2.31 unstructured-client"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)