aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-07-24 22:17:03 +0200
committerJay Berkenbilt <ejb@ql.org>2022-07-24 22:17:03 +0200
commitf8d1ab946205440ed3c44511ef42e5ad13fb9e5e (patch)
treeb9cae2ce60a010300777528063932d80307a7746 /ChangeLog
parentb3e6d445cbf73da2b00062c3f639c2453041ee41 (diff)
downloadqpdf-f8d1ab946205440ed3c44511ef42e5ad13fb9e5e.tar.zst
JSON schema -- accept single item in place of array
When the schema wants a variable-length array, allow a single item as well as allowing an array.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 612c359d..e0c20f9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2022-07-24 Jay Berkenbilt <ejb@ql.org>
+ * include/qpdf/JSON.hh: Schema validation: allow a single item to
+ appear anywhere that the schema has an array of a single item.
+ This makes it possible to change an element of the schema from an
+ item to an array to allow the data to accept an array where a
+ single value was previously required. This change is needed to
+ allow QPDFJob JSON to start accepting multiple items where a
+ single item used to be expected without breaking backward
+ compatibility. Without this change, the earlier fix to
+ removeAttachment would be a breaking change.
+
* QPDFObjectHandle: for the methods insertItem, appendItem,
eraseItem, replaceKey, and removeKey, add a corresponding
"AndGetNew" and/or "AndGetOld" methods. The ones that end with