---
title: "hexapdf 1.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each hexapdf release removed, renamed or changed: 130 breaking changes in 42 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/hexapdf
last_updated: 2026-12-04
---

# hexapdf breaking changes

hexapdf 1.0.0 (October 26, 2024) is its newest release with breaking changes, 3 of them. The first: Behavior changed HexaPDF.Type.AcroForm.Form. Every breaking API change we have recorded in hexapdf on RubyGems: 130 breaking changes in 42 versions. Below, its 42 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.11.2`. [Source repository](https://github.com/gettalong/hexapdf)

Its 0.43.0 release requires [Ruby 3.0](https://since.dev/calendar/ruby/3.0.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.47.0](#v-0-47-0) to [1.0.0](#v-1-0-0): 3 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [1.0.0](#v-1-0-0): 126 breaking changes in 41 versions.

## hexapdf 1.0.0 breaking changes

hexapdf 1.0.0, released October 26, 2024: 3 breaking changes.

- **Behavior changed** `HexaPDF.Type.AcroForm.Form`  

Text-like AcroForm field creation methods now always set a default appearance string and the quadding. Code that relied on the previous field dictionaries may see different output. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F1%5F0%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Type.FontType1`  

FontType1 validation now checks that the /Encoding value is correct, so fonts that previously loaded may now be rejected. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F1%5F0%5F0/CHANGELOG.md)
- **Default changed**  

Convenience methods for accessing resources no longer add the deprecated /ProcSet entry by default. Code that depended on /ProcSet being present in generated resources must now request it explicitly. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F1%5F0%5F0/CHANGELOG.md)

## hexapdf 0.47.0 breaking changes

hexapdf 0.47.0, released September 7, 2024: 2 breaking changes.

- **Behavior changed** `HexaPDF.Task.Optimize`  

The optimize task no longer removes optional /Type entries that hold default values. Code that relied on those entries being stripped will see different output. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F47%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Type.AcroForm.Form`  

Validating an AcroForm::Form no longer adds a /DA entry to the form. Code that depended on the validated form containing /DA must now set it itself. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F47%5F0/CHANGELOG.md)

## hexapdf 0.46.0 breaking changes

hexapdf 0.46.0, released August 11, 2024: 3 breaking changes.

- **Behavior changed** `HexaPDF.DigitalSignature.CMSHandler.signing_time`  

CMSHandler#signing_time now takes the time from an embedded timestamp authority signature if one is available, which can change the reported signing time for existing code. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F46%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Importer.copy`  

Importer.copy gained an optional ability to copy the catalog and page tree nodes; existing calls are affected only if they rely on the previous behavior. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F46%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Layout.Box.fit`  

Boxes with content width or height of zero now report a successful fit, which can change results existing code checks. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F46%5F0/CHANGELOG.md)

## hexapdf 0.45.0 breaking changes

hexapdf 0.45.0, released June 18, 2024: 1 breaking change.

- **Behavior changed** `HexaPDF.Layout.Box.fit`  

Calling fit on a box with position :flow now sets its width and height differently; code relying on the old sizing may produce different layouts. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F45%5F0/CHANGELOG.md)

## hexapdf 0.44.0 breaking changes

hexapdf 0.44.0, released June 5, 2024: 1 breaking change.

- **Behavior changed**  

The release marks a breaking refactor of the layout box implementation but does not name the affected symbols. Code that uses the document layout boxes should be checked against the changelog. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F44%5F0/CHANGELOG.md)

## hexapdf 0.43.0 breaking changes

hexapdf 0.43.0, released May 26, 2024: 4 breaking changes.

- **Removed**  

The minimum supported Ruby version is now 3.0. Older Ruby versions are no longer supported. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F43%5F0/CHANGELOG.md)
- **Removed** `HexaPDF.Dictionary.to_h`  

HexaPDF::Dictionary#to_h was removed. Code calling it will no longer work and must be changed. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F43%5F0/CHANGELOG.md)
- **Renamed** `HexaPDF.Layout.BoxFitter.fit_successful?`  

The method HexaPDF::Layout::BoxFitter#fit_successful? was renamed to success?. Update callers to use the new name. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F43%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Type.AcroForm.Form`  

Form field creation methods now automatically create parent fields as namespace fields. Code relying on the previous field tree structure may behave differently. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F43%5F0/CHANGELOG.md)

## Older versions

36 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### hexapdf 0.42.0 breaking changes

hexapdf 0.42.0, released May 12, 2024: 1 breaking change.

- **Behavior changed**  

Running CLI commands with an output file that already exists now asks whether to overwrite it, so scripts that run non-interactively may stop waiting for input. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F42%5F0/CHANGELOG.md)

### hexapdf 0.41.0 breaking changes

hexapdf 0.41.0, released May 5, 2024: 1 breaking change.

- **Behavior changed** `HexaPDF.Type.AcroForm.AppearanceGenerator`  

The AppearanceGenerator now removes the hidden flag from widgets it processes, so widgets that were hidden may now be visible. Check any form output that relied on hidden widgets staying hidden. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F41%5F0/CHANGELOG.md)

### hexapdf 0.40.0 breaking changes

hexapdf 0.40.0, released March 23, 2024: 1 breaking change.

- **Renamed** `text_overflow`  

The style property 'text_overflow' is now called 'overflow'. Code using the old name must be updated to the new one. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F40%5F0/CHANGELOG.md)

### hexapdf 0.39.0 breaking changes

hexapdf 0.39.0, released March 18, 2024: 1 breaking change.

- **Behavior changed** `HexaPDF.Layout.Frame.FitResult.draw`  

The optional content group names generated by FitResult#draw changed to better names. Code that depends on the old group names must be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F39%5F0/CHANGELOG.md)

### hexapdf 0.38.0 breaking changes

hexapdf 0.38.0, released March 10, 2024: 4 breaking changes.

- **Behavior changed** `HexaPDF.Document.Layout`  

Style retrieval now falls back to the font of the :base style, and only uses 'Times' if that does not exist, which can change the font used. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F38%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Document.Layout.table_box`  

The :cell keys that define the cell style are now merged rather than the last one being used, so cell styling may differ from before. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F38%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.37.0 breaking changes

hexapdf 0.37.0, released January 29, 2024: 1 breaking change.

- **Behavior changed**  

The gem now requires Ruby 2.7 or later, so older Ruby versions are no longer supported and users on them must upgrade Ruby. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F37%5F0/CHANGELOG.md)

### hexapdf 0.36.0 breaking changes

hexapdf 0.36.0, released January 20, 2024: 1 breaking change.

- **Behavior changed** `HexaPDF.Layout.Box.fit`  

Box#fit hands the actual content fitting to #fit_content. Code that overrides #fit or depends on its internal fitting behavior should check it still works. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F36%5F0/CHANGELOG.md)

### hexapdf 0.35.0 breaking changes

hexapdf 0.35.0, released January 6, 2024: 6 breaking changes.

- **Renamed** `align`  

The style property 'align' is now called 'text_align'. Update style definitions to use the new name. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F35%5F0/CHANGELOG.md)
- **Renamed** `HexaPDF.Layout.ListBox.item_type`  

The item marker type of a ListBox item is now set with #marker_type instead of #item_type. Update code that sets it. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F35%5F0/CHANGELOG.md)

And 4 more in this version.

### hexapdf 0.34.0 breaking changes

hexapdf 0.34.0, released October 22, 2023: 2 breaking changes.

- **Behavior changed** `HexaPDF.Composer.draw_box`  

draw_box returns the last drawn box instead of its previous return value, so code that uses the return value should be checked. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F34%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Layout.ListBox`  

ListBox uses its 'fill_color' style property for the item marker color, so markers may be drawn in a different color than before. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F34%5F0/CHANGELOG.md)

### hexapdf 0.33.0 breaking changes

hexapdf 0.33.0, released August 2, 2023: 3 breaking changes.

- **Renamed** `HexaPDF.Content.ColorSpace.CSS_COLOR_NAMES`  

The internal constant was renamed; code that references the old name must use COLOR_NAMES instead. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F33%5F0/CHANGELOG.md)
- **Behavior changed**  

The extract content permission is always activated to match PDF 2.0, so documents may allow content extraction where they did not before. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F33%5F0/CHANGELOG.md)

And 1 more in this version.

### hexapdf 0.31.0 breaking changes

hexapdf 0.31.0, released February 22, 2023: 4 breaking changes.

- **Behavior changed** `HexaPDF.Composer`  

Composer output is produced through page styles, a breaking change for code relying on the previous page handling. Review code that customizes composer pages. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F31%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Document.wrap`  

Wrapping a document now treats cross-reference and object streams specially to avoid problems with invalid PDFs. Code relying on the previous wrap behavior may see different results. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F31%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.30.0 breaking changes

hexapdf 0.30.0, released February 13, 2023: 1 breaking change.

- **Behavior changed** `HexaPDF.Type.FontSimple.perform_validation`  

Validation of simple fonts now fixes the /Widths array when it has an invalid number of entries, so code relying on the previous validation output may see different widths. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F30%5F0/CHANGELOG.md)

### hexapdf 0.29.0 breaking changes

hexapdf 0.29.0, released January 30, 2023: 4 breaking changes.

- **Renamed**  

Digital signature code was refactored and moved under the HexaPDF::DigitalSignature module, so code referring to the old locations must be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F29%5F0/CHANGELOG.md)
- **Renamed** `HexaPDF.DigitalSignature.Signing.DefaultHandler.signature_type`  

The signature_type value :etsi is replaced by :pades; code passing :etsi must switch to :pades. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F29%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.28.0 breaking changes

hexapdf 0.28.0, released December 30, 2022: 3 breaking changes.

- **Removed** `HexaPDF.Revision.reset_objects`  

The method HexaPDF::Revision#reset_objects has been removed, so code calling it will fail. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F28%5F0/CHANGELOG.md)
- **Default changed** `HexaPDF.Type.AcroForm.Field.each_widget`  

The direct_only argument of HexaPDF::Type::AcroForm::Field#each_widget now defaults to true instead of false, so code relying on the old default may behave differently. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F28%5F0/CHANGELOG.md)

And 1 more in this version.

### hexapdf 0.27.0 breaking changes

hexapdf 0.27.0, released November 18, 2022: 6 breaking changes.

- **Removed** `HexaPDF.Document.Signatures.DefaultHandler.filter_name`  

The filter_name method was removed from DefaultHandler. Stop calling it. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F27%5F0/CHANGELOG.md)
- **Removed** `HexaPDF.Document.Signatures.DefaultHandler.sub_filter_name`  

The sub_filter_name method was removed from DefaultHandler. Stop calling it. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F27%5F0/CHANGELOG.md)

And 4 more in this version.

### hexapdf 0.26.0 breaking changes

hexapdf 0.26.0, released October 13, 2022: 1 breaking change.

- **Behavior changed** `HexaPDF.Rectangle`  

Invalid values given to HexaPDF::Rectangle now fall back to \[0, 0, 0, 0\] instead of being rejected. Code that relies on an error being raised for invalid values must be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F26%5F0/CHANGELOG.md)

### hexapdf 0.24.0 breaking changes

hexapdf 0.24.0, released August 1, 2022: 5 breaking changes.

- **Removed** `HexaPDF.Layout.Frame`  

The contour line was removed from HexaPDF::Layout::Frame. Code that uses it must be changed. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F24%5F0/CHANGELOG.md)
- **Behavior changed** `hexapdf info --check`  

The info --check command now only checks the current version of each object instead of all versions. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F24%5F0/CHANGELOG.md)

And 3 more in this version.

### hexapdf 0.23.0 breaking changes

hexapdf 0.23.0, released May 26, 2022: 2 breaking changes.

- **Behavior changed** `HexaPDF.Layout.TextBox`  

Center and right alignment in TextBox now span the whole available width instead of a narrower area, so existing layouts may shift horizontally. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F23%5F0/CHANGELOG.md)
- **Signature changed** `HexaPDF.Document`  

The HexaPDF::Document interface for working with objects was refactored, and parts of it moved into HexaPDF::Revisions. Code that calls the moved methods must switch to the new location. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F23%5F0/CHANGELOG.md)

### hexapdf 0.22.0 breaking changes

hexapdf 0.22.0, released March 26, 2022: 1 breaking change.

- **Behavior changed** `hexapdf form`  

The hexapdf form command now shows a warning when working with a file containing an XFA form. Scripts parsing its output may need to account for the extra warning. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F22%5F0/CHANGELOG.md)

### hexapdf 0.21.0 breaking changes

hexapdf 0.21.0, released March 4, 2022: 2 breaking changes.

- **Behavior changed** `HexaPDF.Composer`  

HexaPDF::Composer was refactored for more consistent style support, which is a breaking change. Code relying on the previous style behavior may need to be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F21%5F0/CHANGELOG.md)
- **Configuration changed** `font.on_missing_glyph`  

The arguments passed to the font.on_missing_glyph configuration option changed to give access to the document instance. Callbacks using the old arguments must be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F21%5F0/CHANGELOG.md)

### hexapdf 0.20.0 breaking changes

hexapdf 0.20.0, released December 30, 2021: 1 breaking change.

- **Signature changed** `HexaPDF.Type.Annotation.appearance`  

The signature of HexaPDF::Type::Annotation#appearance changed in a breaking way. Update calls to match the new signature. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F20%5F0/CHANGELOG.md)

### hexapdf 0.18.0 breaking changes

hexapdf 0.18.0, released November 4, 2021: 2 breaking changes.

- **Behavior changed** `HexaPDF.Type.AcroForm.VariableTextField.parse_appearance_string`  

The method now returns the font color in addition to its previous results, so callers that unpack its return value may need updating. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F18%5F0/CHANGELOG.md)
- **Signature changed** `HexaPDF.Type.AcroForm.VariableTextField.set_default_appearance_string`  

The method gained the ability to specify the font color, which changes its accepted arguments. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F18%5F0/CHANGELOG.md)

### hexapdf 0.17.0 breaking changes

hexapdf 0.17.0, released October 21, 2021: 2 breaking changes.

- **Behavior changed**  

Check boxes in AcroForm fields are now handled differently so that multiple widgets can have different values. Code that relies on the old check box handling must be reviewed. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F17%5F0/CHANGELOG.md)
- **Default changed** `HexaPDF.Content.Canvas.text`  

If no leading has been set, Canvas#text now uses the font size as the leading instead of the previous behavior. Code that depends on the old leading must set it explicitly. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F17%5F0/CHANGELOG.md)

### hexapdf 0.15.0 breaking changes

hexapdf 0.15.0, released April 12, 2021: 2 breaking changes.

- **Behavior changed** `HexaPDF.Type.FontDescriptor`  

Validation of font descriptors now removes an invalid /FontWeight value instead of keeping it. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F15%5F0/CHANGELOG.md)
- **Signature changed**  

The way appearances of annotations are accessed was reworked, so existing code that uses the old appearance interface must be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F15%5F0/CHANGELOG.md)

### hexapdf 0.14.0 breaking changes

hexapdf 0.14.0, released December 30, 2020: 2 breaking changes.

- **Behavior changed** `HexaPDF.PDFArray.to_ary`  

to_ary now returns an array with preprocessed values instead of raw values, so code relying on the raw values may see different results. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F14%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Type.AcroForm.ChoiceField.list_box_top_index=`  

Setting list_box_top_index on a choice field with no option items now raises an error. Set the option items first. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F14%5F0/CHANGELOG.md)

### hexapdf 0.13.0 breaking changes

hexapdf 0.13.0, released November 14, 2020: 1 breaking change.

- **Behavior changed**  

The validation interfaces and internals were reworked to match each other and to report multiple validation problems. Code that relies on the previous validation behavior or interfaces may need to be updated. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F13%5F0/CHANGELOG.md)

### hexapdf 0.12.0 breaking changes

hexapdf 0.12.0, released August 12, 2020: 10 breaking changes.

- **Removed** `HexaPDF.Content.Canvas.color_space_for_components`  

The instance method on Canvas was moved to a class method on HexaPDF::Content::ColorSpace. Calls on Canvas must be changed. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F12%5F0/CHANGELOG.md)
- **Renamed** `HexaPDF.Font.TrueTypeWrapper.dict`  

The #dict method of the TrueType font wrapper was renamed to #pdf_object. Update calls to use the new name. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F12%5F0/CHANGELOG.md)

And 8 more in this version.

### hexapdf 0.11.0 breaking changes

hexapdf 0.11.0, released November 19, 2019: 3 breaking changes.

- **Behavior changed** `HexaPDF.Layout.Style`  

HexaPDF::Layout::Style now validates values where possible, so previously accepted invalid values may now raise errors. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F11%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.PDFArray`  

Arrays wrapped in HexaPDF::PDFArray now resolve references automatically, like HexaPDF::Dictionary does. The release notes warn this may break existing code. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F11%5F0/CHANGELOG.md)

And 1 more in this version.

### hexapdf 0.9.0 breaking changes

hexapdf 0.9.0, released December 31, 2018: 4 breaking changes.

- **Behavior changed** `HexaPDF.Layout.Line.HeightCalculator.simulate_height`  

Code using the return value of simulate_height may get different numbers. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F9%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Object.==`  

Code relying on == for Object instances may now get different results. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F9%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.8.0 breaking changes

hexapdf 0.8.0, released October 26, 2018: 3 breaking changes.

- **Behavior changed** `HexaPDF.Document.validate`  

Blocks given to validate now also receive the object that failed validation. Check the block's arguments if you rely on them. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F8%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Layout.TextLayouter.fit`  

Calling fit now returns a TextLayouter::Result object that includes the draw method instead of the previous return value. Update code that uses the return value. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F8%5F0/CHANGELOG.md)

And 1 more in this version.

### hexapdf 0.7.0 breaking changes

hexapdf 0.7.0, released June 19, 2018: 7 breaking changes.

- **Behavior changed**  

String literals in the package's Ruby source files are now frozen, so code that mutates strings it got from the package will fail. Copy such strings before changing them. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F7%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Layout.TextLayouter.draw`  

draw returns the result of fit where possible, so code relying on its previous return value may behave differently. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F7%5F0/CHANGELOG.md)

And 5 more in this version.

### hexapdf 0.6.0 breaking changes

hexapdf 0.6.0, released October 27, 2017: 10 breaking changes.

- **Removed** `HexaPDF.Dictionary.to_hash`  

HexaPDF::Dictionary#to_hash was removed. Code calling it must change. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F6%5F0/CHANGELOG.md)
- **Renamed** `HexaPDF.Document.Fonts.load`  

HexaPDF::Document::Fonts#load was renamed to HexaPDF::Document::Fonts#add for consistency. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F6%5F0/CHANGELOG.md)

And 8 more in this version.

### hexapdf 0.5.0 breaking changes

hexapdf 0.5.0, released June 24, 2017: 4 breaking changes.

- **Behavior changed**  

Invalid glyphs are handled by the new HexaPDF::Font::InvalidGlyph class, so code that checked for the previous handling may need to change. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F5%5F0/CHANGELOG.md)
- **Behavior changed**  

The validation feature now changes invalid positive descent values in font descriptors into negative ones. Code that expected the original values will see different results. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F5%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.4.0 breaking changes

hexapdf 0.4.0, released March 19, 2017: 7 breaking changes.

- **Behavior changed** `HexaPDF.Configuration.constantize`  

constantize now raises an error if the constant is not found instead of silently continuing. Code relying on the old result must handle the error. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F4%5F0/CHANGELOG.md)
- **Behavior changed** `HexaPDF.Font.CMap.to_unicode`  

When there is no mapping, to_unicode now returns nil rather than an empty string. Code checking for empty strings must check for nil. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F4%5F0/CHANGELOG.md)

And 5 more in this version.

### hexapdf 0.3.0 breaking changes

hexapdf 0.3.0, released January 25, 2017: 4 breaking changes.

- **Renamed** `hexapdf extract`  

The hexapdf extract command is renamed to hexapdf files. Scripts calling the old command must use the new name. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F3%5F0/CHANGELOG.md)
- **Behavior changed**  

Files that were written as hybrid-reference PDFs are now written as standard PDF 1.5 files. Output bytes and structure change for affected files. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F3%5F0/CHANGELOG.md)

And 2 more in this version.

### hexapdf 0.2.0 breaking changes

hexapdf 0.2.0, released November 28, 2016: 4 breaking changes.

- **Removed**  

Parts of the TrueType implementation were removed; the document does not name the affected public API. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F2%5F0/CHANGELOG.md)
- **Behavior changed**  

Written encryption dictionaries no longer contain the /EFF key. [github.com](https://github.com/gettalong/hexapdf/blob/REL%5F0%5F2%5F0/CHANGELOG.md)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
