Skip to content

Conversation

@pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Dec 1, 2018

Update Cython from 0.29 to 0.29.1.

Changelog

0.29.1

===================

Bugs fixed
----------

* Extensions compiled with MinGW-64 under Windows could misinterpret integer
objects larger than 15 bit and return incorrect results.
(Github issue 2670)

* Cython no longer requires the source to be writable when copying its data
into a memory view slice.
Patch by Andrey Paramonov.  (Github issue 2644)

* Line tracing of ``try``-statements generated invalid C code.
(Github issue 2274)

* When using the ``warn.undeclared`` directive, Cython's own code generated
warnings that are now fixed.
Patch by Nicolas Pauss.  (Github issue 2685)

* Cython's memoryviews no longer require strides for setting the shape field
but only the ``PyBUF_ND`` flag to be set.
Patch by John Kirkham.  (Github issue 2716)

* Some C compiler warnings about unused memoryview code were fixed.
Patch by Ho Cheuk Ting.  (Github issue 2588)

* A C compiler warning about implicit signed/unsigned conversion was fixed.
(Github issue 2729)

* Assignments to C++ references returned by ``operator[]`` could fail to compile.
(Github issue 2671)

* The power operator and the support for NumPy math functions were fixed
in Pythran expressions.
Patch by Serge Guelton.  (Github issues 2702, 2709)

* Signatures with memory view arguments now show the expected type
when embedded in docstrings.
Patch by Matthew Chan and Benjamin Weigel.  (Github issue 2634)

* Some ``from ... cimport ...`` constructs were not correctly considered
when searching modified dependencies in ``cythonize()`` to decide
whether to recompile a module.
Patch by Kryštof Pilnáček.  (Github issue 2638)

* A struct field type in the ``cpython.array`` declarations was corrected.
Patch by John Kirkham.  (Github issue 2712)
Links

Update msgpack from 0.5.6 to 0.6.0.

Changelog

0.6

------------------

New features:

- Added `msgpack2json` continuous mode (`-c` and `-C`) to convert a stream of top-level objects (4)

Bug fixes:

- Fixed a bug that could cause a newline to be printed incorrectly in pretty-printing mode

0.6.0

======

Release Date: 2018-11-30

This release contains some backward incompatible changes for security reason (DoS).

Important changes
-----------------

* unpacker: Default value of input limits are smaller than before to avoid DoS attack.
If you need to handle large data, you need to specify limits manually. (319)

* Unpacker doesn't wrap underlaying ``ValueError`` (including ``UnicodeError``) into
``UnpackValueError``.  If you want to catch all exception during unpack, you need
to use ``try ... except Exception`` with minimum try code block. (323, 233)

* ``PackValueError`` and ``PackOverflowError`` are also removed.  You need to catch
normal ``ValueError`` and ``OverflowError``. (323, 233)

* Unpacker has ``strict_map_key`` option now.  When it is true, only bytes and str
(unicode in Python 2) are allowed for map keys.  It is recommended to avoid
hashdos.  Default value of this option is False for backward compatibility reason.
But it will be changed True in 1.0. (296, 334)

Other changes
-------------

* Extension modules are merged.  There is ``msgpack._cmsgpack`` instead of
``msgpack._packer`` and ``msgpack._unpacker``. (314, 328)

* Add ``Unpacker.getbuffer()`` method. (320)

* unpacker: ``msgpack.StackError`` is raised when input data contains too
nested data. (331)

* unpacker: ``msgpack.FormatError`` is raised when input data is not valid
msgpack format. (331)

0.5.12

* Added support for JRuby 9K.
* Added a benchmarking suite.
* Fixed a bug in the handling of options given to MessagePack.unpack in JRuby.

0.5.11

NEW FEATURE
* `MessagePackIgnoreAttribute` to exclude properties. Issue 55

0.5.10

CHANGES
* WinRT and Windows Phone (not Silverlight) builds now do not have AllowPartiallyTrustedCallersAttribute because it causes MethodAccessException on Windows Phone. This should not be breaking change effectively because apps in app container themselves should be SecurityCritical. Issue 64.

BUG FIXES
* Avoid memcmp usage for Windows Phone App Certification. Issue 65.

0.5.9

* Fixed Unpackerread_map_header and read_array_header
* Added support for Symbol GC added since MRI 2.2.0

0.5.8

BUG FIXES
* Fix Unpacker fails to unpack data when the stream returns data one by one. Issue 59
* Fix Unpacker cannot read empty bytes from System.Net API. Issue 60

Relase 0.5.9 - 2015/2/01

BUG FIXES
* Fix NullReferenceException is thrown for annotated non-public members serialization/deserialization in WinRT.
* Fix collection typed property which has non-public setter are not handled correctly. Issue 62.
* Fix ArgumentOutOfRangeException occurs when serializing members count is greater than 127. Issue 63.

0.5.7

BUG FIXES
* Fix serializer uses unnecessary reflection to get collection typed property.
* Fix generated serializers in source code style may have extra fields when multiple serializers are generated at a time.
* Mpu.exe's --refernce option distinction now respects platform rules and uses absolute paths instead of relative paths.
* Fix lambda expressions in source code causes failure of mpu.exe in Mono.

IMPROVEMENTS
* Add mpu.exe -r option which is shorthand of --reference.
* Add default and implicit --reference=./MsgPack.dll option in mpu.exe
Links

@alimanfoo alimanfoo merged commit cab1215 into master Dec 1, 2018
@jakirkham jakirkham deleted the pyup-scheduled-update-2018-12-01 branch December 3, 2018 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants