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.