Commit aa800d2a3b215399c7759d22a55cbc1400306766

Authored by Jay Berkenbilt
1 parent 001c329a

ChangeLog, release notes for json v2

ChangeLog
1 1 2022-05-30 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * qpdf JSON is now at version 2. New command-line arguments:
  4 + --json-output, --json-input, --update-from-json. New methods
  5 + QPDF::writeJSON, QPDF::createFromJSON, QPDF::updateFromJSON. For
  6 + details, see the "qpdf JSON" chapter of the manual.
  7 +
3 8 * When showing encryption data in json output, when the user
4 9 password was recovered with by the owner password and the
5 10 specified password does not match the user password, reveal the
... ...
manual/release-notes.rst
... ... @@ -18,6 +18,25 @@ For a detailed list of changes, please see the file
18 18 this can be turned off by following the migration steps outlined
19 19 in the manual.
20 20  
  21 + - qpdf JSON version 2
  22 +
  23 + - qpdf's JSON output mode is now at version 2. This fixes several
  24 + flaws with version 1. Version 2 JSON output is unambiguous and
  25 + complete, and bidrectional conversion between JSON and PDF is
  26 + supported. Command-line options and library API are available
  27 + for creating JSON from PDF, creating PDF from JSON and updating
  28 + existing PDF at the object level from JSON.
  29 +
  30 + - New command-line arguments: :qpdf:ref:`--json-output`,
  31 + :qpdf:ref:`--json-input`, :qpdf:ref:`--update-from-json`
  32 +
  33 + - New C++ API calls: ``QPDF::writeJSON``,
  34 + ``QPDF::createFromJSON``, ``QPDF::updateFromJSON``
  35 +
  36 + - Complete documentation can be found at :ref:`json`. A
  37 + comprehensive list of changes from version 1 to version 2 can be
  38 + found at :ref:`json-v2-changes`.
  39 +
21 40 - Build replaced with cmake
22 41  
23 42 - The old autoconf-based build has been replaced with CMake. Version
... ...