lopdf v0.23.0 Release Notes
Release Date: 2019-07-14 // almost 5 years ago-
Adapt
- ๐ Adapt pom parser.
โ Add
- โ Add error descriptions.
- โ Add a proper error type and remove some more panics.
๐ Allow
- ๐ Allow loading a document from a memory slice.
Avoid
- Avoid allocating an intermediate collection for iteration.
- Avoid unwraps when already returning an Option for failure.
Error
- ๐ฆ Error signaling around compression and image handling.
Escape
- Escape fix (#68)
Export
- Export dereference function as it is useful for PDF consumers.
- Export filters module.
Get_font_encoding
- get_font_encoding seems more at home with Dictionary.
๐ Handle
- ๐ Handle stream filter chains (#66)
Hex
- Hex fix (#67)
Implement
- Implement LZW decompression.
๐ Improve
- ๐ Improve hex parsing performance.
๐ Make
- ๐ Make a page iterator.
- ๐ Make Reader::read consume the Reader.
- ๐ Make content operations faillible.
Protect
- Protect against reference loops.
- Protect against a corrupted page tree.
๐จ Refactor
- ๐จ Refactor a bit to allow a utility function.
๐ Release
- ๐ Release 0.23.0
โ Remove
- โ Remove intermediate assignation.
- โ Remove unsafe code around FilterType.
- Remove unsafe code on get_object_mut.
- โ Remove some 'if let' for readability.
- โ Remove more panic paths in xref parsing.
Replace
- Replace unwraps in processor.rs.
Return
- Return results when appropriate.
Separate
- Separate decompression into two functions.
Take
- Take care of panic that I actually hit on the pom side.
- Take care of creator.rs.
Unify
- Unify buffer creation.
๐ Use
- ๐ Use lifetime ellision.
- ๐ Use TryInto.
- ๐ Use writeln where appropriate.
- ๐ Use error enum in reader.
- ๐ฏ Use stable cloned.