NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1991 most downloaded on crates.io
A Rust library for PDF document manipulation.
Latest stable
0.47.0
Last release 18 days ago
04 Nov 2026
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 46 of 56 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
57 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix Identity defaults for V4 and V5 encryption filters by @yhay81 in https://github.com/J-F-Liu/lopdf/pull/624
Full Changelog: https://github.com/J-F-Liu/lopdf/compare/v0.46.0...v0.47.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: derive the file encryption key from the recovered user password, not the literal owner password by @chintans in https://github.com/J-F-Liu/lopdf/
Full Changelog: https://github.com/J-F-Liu/lopdf/compare/v0.45.0...v0.46.0
feat(outlines): delete_outlines by @TD-Sky in https://github.com/J-F-Liu/lopdf/pull/525
time feature compile (replace the never-compiling From<Time> impl) by @JohnHarrison in https://github.com/J-F-Liu/lopdf/pull/527Full Changelog: https://github.com/J-F-Liu/lopdf/compare/v0.44.0...v0.45.0
<a name="v0.44.0"></a>
ci: actually exercise the no-default-features build by @zamf in https://github.com/J-F-Liu/lopdf/pull/510
Full Changelog: https://github.com/J-F-Liu/lopdf/compare/v0.43.0...v0.44.0
Document::get_page_content return Vec<u8> since it cannot fail<a name="v0.43.0"></a>
ci: fix wasm test failure from too many locals by @zamf in https://github.com/J-F-Liu/lopdf/pull/507
Full Changelog: https://github.com/J-F-Liu/lopdf/compare/v0.42.0...v0.43.0
<a name="v0.42.0"></a>
Add Content::decode_strict method for strict parsing
<a name="v0.41.0"></a>
Add test to reproduce bug with replacing text in non-single character TJ Arrays
nom_locate dependency to fix a performance regression introduced in v0.35.0.<a name="v0.40.0"></a>
Fix WinAnsiEncoding handling in SimpleEncoding string conversion
getrandom to 0.4 and rand to 0.10.wasm-bindgen-test while we're at it.<a name="v0.39.0"></a>
Add pdf decryption support that derived from pdftk by @Mon-ius in #443
Thanks a lot to the new contributors:
Thanks a lot to the new contributors:
is_encrypted() now returns false after successful decryption. Use was_encrypted() to check original encryption state.
<a name="v0.38.0"></a>
Thanks a lot to the new contributors:
See CHANGELOG.md for details.
Thanks a lot to the new contributors:
<a name="v0.37.0"></a>
Thanks a lot to the new contributors:
See CHANGELOG.md for details.
Thanks a lot to the new contributors:
See CHANGELOG.md for details.
Thanks a lot to the new contributors:
<a name="v0.36.0"></a>
See CHANGELOG.md for details.
See CHANGELOG.md for details.
<a name="0.35.0"></a>
Thanks a lot to the new contributors:
See CHANGELOG.md for details.
Thanks a lot to the new contributors:
<a name="v0.34.0"></a>
See CHANGELOG.md for details. Thanks a lot for new contributors: @Heinenen , @dkaluza , @jrmuizel
See CHANGELOG.md for details.
Thanks a lot for new contributors: @Heinenen, @dkaluza, @jrmuizel
<a name="v0.33.0"></a>
Accept comments in content parsing
<a name="v0.32.0"></a>
Add debug format for hexadecimal
<a name="v0.31.0"></a>
Add decryption of documents using RC4 encryption.
Add support for extracting TOC, Outlines and NamedDestinations
<a name="v0.29.0"></a>
Add function get_page_annotations and include an example
extend definition confusion bug (#161)<a name="v0.27.0"></a>
Nothing published for this version
Add GitHub Actions build matrix
Stream::filters (#130)<a name="v0.26.0"></a>
Add as_str, as_str_mut methods to Object
<a name="v0.25.0"></a>
check that the buffer is big enough for startxref
<a name="v0.24.0"></a>
Compute an accurate iterator size when the page tree is sane.
Add a proper error type and remove some more panics.
<a name="v0.22.0"></a>
Also test with nom parsing feature enabled.
<a name="v0.21.0"></a>
Check offsets read from file to avoid panics
<a name="v0.20.0"></a>
Replace println with log macros
println with log macros<a name="v0.19.0"></a>
Allow xref section has zero entries, fixes #39
Vec<u8>, fixes #42<a name="v0.18.0"></a>
Able to read stream when it's length is in object stream.
<a name="v0.17.0"></a>
Use time crate directly, chrono is optional.
time crate directly, chrono is optional.insert_form_object accepts page_id argument.<a name="v0.16.0"></a>
compress page content after change
<a name="v0.15.3"></a>
Fix bug in reading incremental updated document
<a name="v0.15.0"></a>
Nothing published for this version
Nothing published for this version
Extract text from specified pages.
get_object_mut<a name="v0.14.1"></a>
Nothing published for this version
Derive Clone for Document and Xref
dictionary! macro that creates a Dictionaryimpl From<_> for Object for more typesimpl From<_> for Object for more numeric typesdictionary! macro that creates a Dictionaryimpl From<ObjectId> for Object creating Object::Reference<a name="v0.13.0"></a>
Nothing published for this version
Ignore invalid objects when reading all object in xref table
<a name="v0.11.0"></a>
Nothing published for this version
Use itoa and dtoa to improve writing performance (by sharazam).
Use itoa and dtoa to improve writing performance (by sharazam).
<a name="v0.10.0"></a>
Add stream.with_compression(false) to disable compression, useful in font objects.
Add stream.with_compression(false) to disable compression, useful in font objects.
<a name="v0.9.0"></a>
Add Document::with_version() to create new document.
Read.Write.<a name="v0.8.0"></a>
Delete specified objects and pages.
<a name="v0.7.0"></a>
Read xref stream in hybrid-reference file.
<a name="v0.6.0"></a>
Read previous Xrefs of linearized or incremental updated document.
Read previous Xrefs of linearized or incremental updated document.
<a name="v0.5.0"></a>
Read xref stream and object streams.
Read xref stream and object streams.
<a name="v0.4.0"></a>
Nothing published for this version
Decode and encode operations of content streams.
Decode and encode operations of content streams.
<a name="v0.3.0"></a>
Nothing published for this version
Nothing published for this version
Use pom instead of nom for parsing.
<a name="v0.2.0"></a>
Nothing published for this version
Compress/Decompress stream objects.
Compress/Decompress stream objects.
<a name="v0.1.0"></a>
Nothing published for this version
Read and write PDF document at low object level.
Read and write PDF document at low object level.
One column per quarter.