Skip to content

Commit

Permalink
Add missing require statements to the main document.rb
Browse files Browse the repository at this point in the history
NameTreeNode and NumberTreeNode are not automatically loaded and were
therefore missing for Type::StructTreeRoot.
  • Loading branch information
gettalong committed Jan 8, 2025
1 parent 6d8d0b6 commit b4f48f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Unreleased

### Fixed

* Missing require statements leading to problems loading type classes


## 1.1.0 - 2025-01-08

### Added
Expand Down
2 changes: 2 additions & 0 deletions lib/hexapdf/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
require 'hexapdf/object'
require 'hexapdf/pdf_array'
require 'hexapdf/stream'
require 'hexapdf/name_tree_node'
require 'hexapdf/number_tree_node'
require 'hexapdf/revisions'
require 'hexapdf/type'
require 'hexapdf/task'
Expand Down

0 comments on commit b4f48f7

Please sign in to comment.