zxing-cpp: update to 2.2.1.

2.2.1

I accidentally broke c++ ABI compatibility between 2.1.0 and 2.2.0. This is fixed here. This release is only of relevance for package maintainers caring about ABI stability of MINOR version changes according to semantic versioning. None of the wrappers are effected by this change and hence will not be released as 2.2.1.

2.2.0

Major Changes

This release is mostly about the Python, Android and iOS wrappers. The latter 2 have changed considerably to have an API that is more in line with each other and with the core c++ library. The changes will most likely break existing app code but set a proper foundation for the future.

    Python:
        Multithreading Support via GIL by @billmccartney in #616
        Remove numpy requirement, use buffer protocol instead by @EchterAgo in #615
        Support sliced numpy arrays
        Expose return_errors parameter to Python wrapper APIs. by @gregtws in #618
        Expose Result::ecLevel method as python property by @marcoffee in #600
        Build wheels for Python 3.12. by @dainnilsson in #625

    Android:
        Android wrapper: Modernize build files by @okarmazin in #619
        Fix permissions on Android R+ by @markusfisch in #656
        Android wrapper improvements by @markusfisch in #659
        android: add consumerProguardFiles by @markusfisch in #660
        android: Fix build with NDK 26 by @michaelweghorn in #674
        Build with C++20 (improved DataMatrix detection) by default
        Don't close() the ImageProxy inside read() anymore, need to do that outside now (this breaks existing code)
        Change package name from com.zxingcpp to simply zxingcpp (breaking change)
        publish library on mavenCentral for lowest possible barrier of entry

    iOS/macOS:
        iOS Wrapper improvements by @benjohnde in #630
        iOS wrapper: Add functionality of encoding binary data into Barcodes by @alexmanzer in #635
        Rename ZXingCppWrapper to ZXingCpp by @alexmanzer in #638
        iOS: Enable CocoaPods by providing a podspec by @benjohnde in #637
        Build with C++20 (improved DataMatrix detection) by default
        ios: specify EC level/margin for generation by @markusfisch in #644
        ios: expose all native result items in wrapper by @markusfisch in #649
        ios: clean up ZXIDecodeHints by @markusfisch in #652
        ios: use a default error text instead of crashing by @markusfisch in #661
        ios: improve exception handling by @markusfisch in #664
        ios: rename ZXIDecodeHints to ZXIReaderOptions

    General:
        Rename DecodeHints to ReaderOptions. The old name is still available for backward API compatibility but deprecated. Since the C-API and the Qt wrapper code are not officially part of the library, they changed without backward compatibility.
        WASM: bytes in ReadResult by @Sec-ant in #588
        DataMatrix: use charset for encoding by @markusfisch in #628
        QRCode: Support QR Code Model1 by @sayzzy-nt in #633
        rMQR Code: Support Rectangular Micro QR Code by @gitlost in #681

Minor Changes and Fixes

    Fix QT 6 QML Crash & Enable QML Shape by @LeonnardoVerol in #597
    Python: Fix wrapper build on MSVC not having __cplusplus for BitHacks by @EchterAgo in #613
    Correctly handle supported image formats on Android APIs < 23 by @okarmazin in #622
    Add DecodeHints.setMaxNumberOfSymbols() to C API by @siiky in #665
    aztec: on decoding check for padding bits after B/S by @gitlost in #671
This commit is contained in:
wiz 2023-12-11 10:10:16 +00:00
parent 5b7555a660
commit d95271b5ce
3 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.12 2023/07/19 13:10:11 wiz Exp $
# $NetBSD: Makefile,v 1.13 2023/12/11 10:10:16 wiz Exp $
DISTNAME= zxing-cpp-2.1.0
DISTNAME= zxing-cpp-2.2.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=nu-book/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.6 2023/04/26 19:06:36 wiz Exp $
@comment $NetBSD: PLIST,v 1.7 2023/12/11 10:10:16 wiz Exp $
include/ZXing/BarcodeFormat.h
include/ZXing/BitArray.h
include/ZXing/BitHacks.h
@ -18,6 +18,7 @@ include/ZXing/Point.h
include/ZXing/Quadrilateral.h
include/ZXing/Range.h
include/ZXing/ReadBarcode.h
include/ZXing/ReaderOptions.h
include/ZXing/Result.h
include/ZXing/StructuredAppend.h
include/ZXing/TextUtfEncoding.h

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2023/07/19 13:10:11 wiz Exp $
$NetBSD: distinfo,v 1.8 2023/12/11 10:10:16 wiz Exp $
BLAKE2s (zxing-cpp-2.1.0.tar.gz) = e837f88c7592d1f558c18839049d47bbada2cb16d69fb358e0dd4f63d0d2c8ee
SHA512 (zxing-cpp-2.1.0.tar.gz) = a00778c1fb7bb664176f7035aa96db4bab3e7ca28b5be2862182cb591d18edd4c3dfcbd34b4af08e0797bb4af893299d523f98aa84d266b68e4c766410e2e26d
Size (zxing-cpp-2.1.0.tar.gz) = 866787 bytes
BLAKE2s (zxing-cpp-2.2.1.tar.gz) = 5e7ade78de231cc372c0af1ec0a3e2ad8f68f1bc82e492568469cd68572007cd
SHA512 (zxing-cpp-2.2.1.tar.gz) = f1de8df783061a152a18cd9102ac0c579c40c76ab4a5ba9f30bcb8ddb532f3fac08736840a631adbf7c30a7fa00ce8d65625c8cd695288620601708e8f256a53
Size (zxing-cpp-2.2.1.tar.gz) = 891055 bytes