Skip to content

v1.11.0

@abimaelmartell abimaelmartell tagged this 19 Aug 23:10
* feat(sdks): add parsers[].blocks for typed PDF layout blocks

Expose the v2 PDF parser blocks option and Document.blocks across
the JS, Python, Go, Java, Ruby, PHP, Rust, and .NET SDKs, and bump
each package version so merge auto-publishes the new APIs.

Co-authored-by: Abimael Martell <abimaelmartell@users.noreply.github.com>

* test(rust-sdk): cover PDF parser blocks serialization and hydration

Co-authored-by: Abimael Martell <abimaelmartell@users.noreply.github.com>

* fix(java-sdk): type Document.blocks as List<PdfPageBlocks>

Replace the raw List<Map<String, Object>> with typed page/block models
so Java callers get compile-time access to pageNumber, items, bbox, and
confidence, matching Menu/Product and the other SDKs.

Co-authored-by: Abimael Martell <abimaelmartell@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Abimael Martell <abimaelmartell@users.noreply.github.com>
Assets 2
Loading