aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-30 02:09:10 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-30 02:09:10 +0200
commite80fad86e95af978ada2a6cc5c4b209a1f65f7c0 (patch)
treeda7c15233d63e22789350e2fde12086e14f00730 /ChangeLog
parentff73d71ec8cfd5915a711e1b071ee183515705bd (diff)
downloadqpdf-e80fad86e95af978ada2a6cc5c4b209a1f65f7c0.tar.zst
Add new QPDFObjectHandle methods for more fluent programming
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5615db2a..2f06936f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-04-29 Jay Berkenbilt <ejb@ql.org>
+
+ * QPDFObjectHandle: for the methods insertItem, appendItem,
+ eraseItem, replaceKey, and removeKey, have the methods return a
+ reference to the original object, making a fluent interface to
+ initializing or modifying QPDFObjectHandle possible. Also, for
+ each one, add a corresponding "AndGet" method (insertItemAndGet,
+ appendItemAndGet, eraseItemAndGet, replaceKeyAndGet, and
+ removeKeyAndGet) that returns the newly inserted, replaced, or
+ removed item. This makes it possible to create a new object, add
+ it to an array or dictionary, and get a handle to it all in one
+ line.
+
2022-04-24 Jay Berkenbilt <ejb@ql.org>
* Bug fix: "removeAttachment" in the job JSON now takes an array