Skip to content

Update thriftpy to 0.6.0#956

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-thriftpy-0.3.9-to-0.6.0
Open

Update thriftpy to 0.6.0#956
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-thriftpy-0.3.9-to-0.6.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates thriftpy from 0.3.9 to 0.6.0.

Changelog

0.6.0

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

- thriftpy is now a thin compatibility shim around `thriftpy2`_. Installing
``thriftpy`` pulls in the matching ``thriftpy2`` release and re-exports it
under the historical ``thriftpy`` name, so existing ``import thriftpy`` code
keeps working unchanged on the maintained implementation.
- Every ``thriftpy`` (sub)module resolves to the same object as its
``thriftpy2`` twin, preserving ``isinstance`` checks, pickling and identity.
- Releases now track the wrapped ``thriftpy2`` version in lockstep.

.. _thriftpy2: https://github.com/Thriftpy/thriftpy2

0.3.x
~~~~~

0.5.2

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

Released on Jul 5, 2024.

- Fix an issue where loading a thrift file in a sub-thread will cause an error with ``load_fp``.
- Move static metadata from ``setup.py`` to ``pyproject.toml``.
- Using a thread pool to avoid ``TAsyncSocket.open`` block the event loop.

0.5.1

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

Released on Jun 24, 2024.

- Fix an issue where loading a thrift file in a sub-thread will cause an error.
- Some typo fixes.

0.5.0

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

Released on May 7, 2024.

- Dropped Python2 and Python3.5 Support.
- Added SASL transport client.
- Add submodule to sys.path when loading child idl file.
- Support cythonized module on Windows.
- Support using ipv6 in make_client/make_server method.
- Basic multi-thread support in parser.

0.4.x
~~~~~

0.4.20

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

- Fix another compatibility issue with legacy Python.

0.4.19

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

- Fix a compatibility issue with legacy Python.

0.4.18

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

- Make the import hook compatible with Python3.12.
- Added a ``strict_decode`` option to all protocols to force all strings in the response to be decoded to ``str``.
- Allow annotations in the ``Union`` type.
- Fixed the ``message_type`` in oneway request.

0.4.17

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

Released on Sep 27, 2023.

- Fix Cython build error in latest Python3 version

0.4.16

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

Released on Nov 15, 2022.

- Fix unexpected binary type id in TBinaryTransport serialization

0.4.15

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

Released on Nov 8, 2021.

- Support Apache JSON protocol and binary type
- Replace "yield from" syntax to "await"
- Fix some socket leaking cases in aio support

0.4.14

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

Released on Jan 21, 2021.

- revert support Apache JSON protocol and binary type, via `2-157`_.

.. _2-157: https://github.com/Thriftpy/thriftpy2/pull/157

0.4.13

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

Released on Jan 19, 2021.

- Support Apache JSON protocol and binary type, via `2-139`_.
- Fix HTTP_URI typo in http.py, via `2-148`_.
- Support custom headers for HTTP, via `2-149`_.
- Support raising TApplicationException in user handlers, via `2-154`_.

.. _2-139: https://github.com/Thriftpy/thriftpy2/pull/139
.. _2-148: https://github.com/Thriftpy/thriftpy2/pull/148
.. _2-149: https://github.com/Thriftpy/thriftpy2/pull/149
.. _2-154: https://github.com/Thriftpy/thriftpy2/pull/154

0.4.12

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

Released on Oct 13, 2020.

- Support include files with dot in name, via `2-125`_.

.. _2-125: https://github.com/Thriftpy/thriftpy2/pull/125

0.4.11

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

Released on Mar 17, 2020.

- Support Cython in HTTP and fix TCyBufferedTransport early flush issue, via `2-129`_.
- Fix exception handling in TProcessor, via `2-128`_.
- Rename socket_timeout to timeout for compatibility, via `2-115`_.

.. _2-115: https://github.com/Thriftpy/thriftpy2/pull/115
.. _2-128: https://github.com/Thriftpy/thriftpy2/pull/128
.. _2-129: https://github.com/Thriftpy/thriftpy2/pull/129

0.4.10

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

Released on Jan 1, 2020.

- Add TAsyncCompactProtocol and TAsyncFramedTransport, via `2-103`_.
- Add TAsyncProtocolBase and TAsyncTransportBase, via `2-108`_.
- Add __str__ on TProtocolException, via `2-109`_.
- Support passing socket_family in make_client, via `2-110`_.

.. _2-103: https://github.com/Thriftpy/thriftpy2/pull/103
.. _2-108: https://github.com/Thriftpy/thriftpy2/pull/108
.. _2-109: https://github.com/Thriftpy/thriftpy2/pull/109
.. _2-110: https://github.com/Thriftpy/thriftpy2/pull/110

0.4.9

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

Released on November 27, 2019.

- Fix unexpected data length in aio buffer transport, via `2-102`_.

.. _2-102: https://github.com/Thriftpy/thriftpy2/pull/102

0.4.8

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

Released on October 27, 2019.

- Fix NoneType TypeError happened when calling method struct_to_obj, via `2-94`_.

.. _2-94: https://github.com/Thriftpy/thriftpy2/pull/94

0.4.7

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

Released on October 4, 2019.

- Fix loading remote IDL file failed on Python 3, via `2-88`_.

.. _2-88: https://github.com/Thriftpy/thriftpy2/pull/88

0.4.6

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

Released on September 24, 2019.

- Follow strict datatype in TJsonProtocol, via `2-85`_.
- Add timeout support to asyncio contrib, via `2-84`_.
- Enable socket_timeout on unix_socket, via `2-83`_.
- Add url support as optional argument to make_client, via `2-80`_.
- Enforce required arguments, fixes 72, via `2-81`_.

.. _2-80: https://github.com/Thriftpy/thriftpy2/pull/80
.. _2-81: https://github.com/Thriftpy/thriftpy2/pull/81
.. _2-83: https://github.com/Thriftpy/thriftpy2/pull/83
.. _2-84: https://github.com/Thriftpy/thriftpy2/pull/84
.. _2-85: https://github.com/Thriftpy/thriftpy2/pull/85

0.4.5

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

Released on August 27, 2019.

- Support kwargs style parameters passing in TSimpleServer, via `2-67`_.
- Fix 65 allow double const to omit integer part, via `2-66`_.

.. _2-67: https://github.com/Thriftpy/thriftpy2/pull/67
.. _2-66: https://github.com/Thriftpy/thriftpy2/pull/66

0.4.4

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

Released on June 11, 2019.

- Enable include_package_data in setup.py, via `2-44`_.
- Fix parse error on empty set field value, via `2-43`_.

.. _2-43: https://github.com/Thriftpy/thriftpy2/pull/62
.. _2-44: https://github.com/Thriftpy/thriftpy2/pull/63

0.4.3

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

Released on May 24, 2019.

- Fix cannot call thrift method which name's close, via `2-42`_.

.. _2-42: https://github.com/Thriftpy/thriftpy2/pull/55

0.4.2

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

Released on February 25, 2019.

- Fix parser handling out-of-order definition bugs, via `2-41`_.

.. _2-41: https://github.com/Thriftpy/thriftpy2/pull/42

0.4.1

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

Released on February 18, 2019.

- Close socket when got a connect error, via `2-37`_.
- Add i8 as alias for 'byte', via `2-38`_.
- Fix error when loading object which is dumped before changing the IDL, via `2-34`_.

.. _2-37: https://github.com/Thriftpy/thriftpy2/pull/37
.. _2-38: https://github.com/Thriftpy/thriftpy2/pull/38
.. _2-34: https://github.com/Thriftpy/thriftpy2/pull/34

0.4.0

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

Released on December 10, 2018.

Non-Backward Compatible changes:

- Rename all thriftpy to thriftpy2, via `2-22`_.
- Parse thrift without sequential dependency, via `2-21`_.

.. _2-22: https://github.com/Thriftpy/thriftpy2/pull/22
.. _2-21: https://github.com/Thriftpy/thriftpy2/pull/21


0.3.x
~~~~~

0.3.12

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

Released on November 14, 2018.

- handle EINTER signal

0.3.11

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

Released on September 26, 2018.

- support asyncio
- support tornado 5.x

0.3.10

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

Released on September 26, 2018.

- update cython version.
Links

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.

1 participant