Skip to content

Bump hexapdf from 0.19.3 to 0.20.1

libautomation requested to merge dependabot/bundler/hexapdf-0.20.1 into main

Bumps hexapdf from 0.19.3 to 0.20.1.


Sourced from hexapdf's changelog.

0.20.1 - 2022-01-05


  • Refactored signature handlers, making #store_verification_callback a protected method


  • [HexaPDF::Task::Dereference] to work for even very deeply nested structures

0.20.0 - 2021-12-30


  • Support for signing a PDF using a digital signature
  • Support for reading and validating digital signatures
  • Output info regarding digital signatures when using the hexapdf info command
  • [HexaPDF::Type::AcroForm::Form#create_signature_field] for adding signature fields
  • [HexaPDF::Type::Annotation::AppearanceDictionary#set_appearance] for setting the appearance stream
  • [HexaPDF::Type::Annotation#create_appearance] for creating an empty appearance stream


  • Breaking change: Method signature of [HexaPDF::Type::Annotation#appearance] changed
  • [HexaPDF::Object#==] to allow comparison to simple value if not indirect
  • [HexaPDF::Type::AcroForm::Form] to use an empty array as default for the /Fields field
  • [HexaPDF::Type::ObjectStream] to not store signature fields in object streams
  • [HexaPDF::Writer] to return the last written cross-reference section
  • [HexaPDF::Type::AcroForm::Field#create_widget] to automatically set the print flag and assign the page


  • Incremental writing of files in cases where object streams were deleted (e.g. when using the optimize: true argument when writing)
  • Comparison of non-indirect [HexaPDF::Object] instances with other HexaPDF::Object instances
  • Deleting of objects via [HexaPDF::Revision#delete] to re-use the [HexaPDF::PDFData] object of the deleted object when using mark_as_free: true
  • [HexaPDF::Revision#each_modified_object] to work correctly for dictionary objects even if a value is changed only by reading it

Merge request reports