aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-18 00:28:50 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-20 15:16:25 +0200
commit56f1b411feeb58b55e92ee77daffaa49c51b7dad (patch)
tree4337c0ada5ccc979f89af9aecf0873c087329c05 /ChangeLog
parent7e7a9c437982b7ede2af9cd0b12b3e47b4bc3a3d (diff)
downloadqpdf-56f1b411feeb58b55e92ee77daffaa49c51b7dad.tar.zst
Back out fluent QPDFObjectHandle methods. Keep the andGet methods.
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 6 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index a194440a..41c4671b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -86,15 +86,12 @@
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.
+ eraseItem, replaceKey, and removeKey, 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>