./devel/py-cbor2, CBOR (de)serializer with extensive tag support

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.6.5, Package name: py312-cbor2-5.6.5, Maintainer: pkgsrc-users

Pure Python CBOR (de)serializer with extensive tag support


Master sites:

Filesize: 98.521 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-24 07:23:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cbor2: updated to 5.6.5

5.6.5 (2024-10-09)

- Published binary wheels for Python 3.13
   2024-06-08 09:22:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cbor2: updated to 5.6.4

5.6.4 (2024-06-06)

Fixed compilation of C extension failing on GCC 14
Fixed compiler warnings when building C extension
   2024-04-11 09:53:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cbor2: updated to 5.6.3

5.6.3
- Fixed decoding of epoch-based dates being affected by the local time zone in \ 
the C extension
   2024-02-20 05:38:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cbor2: updated to 5.6.2

5.6.2

- Fixed ``__hash__()`` of the C version of the ``CBORTag`` type crashing when \ 
there's a recursive
  reference cycle
- Fixed type annotation for the file object in ``cbor2.dump()``, \ 
``cbor2.load()``, ``CBOREncoder``
  and ``CBORDecoder`` to be ``IO[bytes]`` instead of ``BytesIO``
- Worked around a `CPython bug \ 
<https://github.com/python/cpython/issues/99612>`_ that caused
  a ``SystemError`` to be raised, or even a buffer overflow to occur when \ 
decoding a long text
  string that contained only ASCII characters
- Changed the return type annotations of ``cbor2.load()`` and ``cbor2.load()`` \ 
to return ``Any``
  instead of ``object`` so as not to force users to make type casts
   2024-02-07 07:06:45 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-cbor2: add ALTERNATIVES
   2024-02-02 09:10:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cbor2: updated to 5.6.1

5.6.1

- Fixed use-after-free in the decoder's C version when prematurely encountering \ 
the end of stream
- Fixed the C version of the decoder improperly raising ``CBORDecodeEOF`` when \ 
decoding a text
  string longer than 65536 bytes
   2024-01-23 19:27:50 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cbor2: updated to 5.6.0

5.6.0

- Added the ``cbor2`` command line tool (for ``pipx run cbor2``)
- Added support for native date encoding (bschoenmaeckers)
- Made the C extension mandatory when the environment variable \ 
``CBOR2_BUILD_C_EXTENSION`` is set
  to ``1``.
- Fixed ``SystemError`` in the C extension when decoding a ``Fractional`` with a bad
  number of arguments or a non-tuple value
- Fixed ``SystemError`` in the C extension when the decoder object hook raises an
  exception
- Fixed a segmentation fault when decoding invalid unicode data
- Fixed infinite recursion when trying to hash a CBOR tag whose value points to \ 
the tag
  itself
- Fixed ``MemoryError`` when maliciously constructed bytestrings or string \ 
(declared to be absurdly
  large) are being decoded
- Fixed ``UnicodeDecodeError`` from failed parsing of a UTF-8 text string not \ 
being wrapped as
  ``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ZeroDivisionError`` from a failed decoding of \ 
``Fraction`` not being
  wrapped as ``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ValueError`` from a failed decoding of ``UUID`` not \ 
being wrapped as
  ``CBORDecodeValueError``
- Fixed ``TypeError`` from a failed decoding of ``MIMEMessage`` not being wrapped as
  ``CBORDecodeValueError``
- Fixed ``OverflowError``, ``OSError`` or ``ValueError`` from a failed decoding \ 
of epoch-based
  ``datetime`` not being wrapped as ``CBORDecodeValueError``