aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-04-05 16:45:18 +0200
committerJay Berkenbilt <ejb@ql.org>2021-04-05 16:58:10 +0200
commit8971443e4680fc1c0babe56da58cc9070a9dae2e (patch)
tree9a95940010bcf7e0790834621bc885492898a3c6 /ChangeLog
parentec48820c3cf8ead0add464c60f5dddd84ba0097d (diff)
downloadqpdf-8971443e4680fc1c0babe56da58cc9070a9dae2e.tar.zst
QPDF::addPage*: handle duplicate pages more robustly
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2f131c3..f720fa24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2021-04-05 Jay Berkenbilt <ejb@ql.org>
+
+ * When adding a page, if the page already exists, make a shallow
+ copy of the page instead of throwing an exception. This makes the
+ behavior of adding a page from the library consistent with what
+ the CLI does and also with what the library does if it starts with
+ a file that already has a duplicated page. Note that this means
+ that, in some cases, the page you pass to addPage or addPageAt
+ (either in QPDF or QPDFPageDocumentHelper) will not be the same
+ object that actually gets added. (This has actually always been
+ the case.) That means that, if you are going to do subsequent
+ modification on the page, you should retrieve it again.
+
2021-03-11 Jay Berkenbilt <ejb@ql.org>
* 10.3.1: release