Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Update #10

Closed
wants to merge 2 commits into from
Closed

Initial Update #10

wants to merge 2 commits into from

Conversation

pyup-bot
Copy link
Collaborator

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Pins

Name Pinned to pypi
thriftpy 0.3.8 pypi
mongoengine 0.10.6 pypi

Changelogs

thriftpy -> 0.3.8

0.3.8


Released on May 3, 2016.

  • add propagate decode_response to nested structs, via 194_.
  • add support for tornado ssl, via 196_.

.. _194: Thriftpy/thriftpy#194
.. _196: Thriftpy/thriftpy#196

0.3.7


Released on Mar 24, 2016.

  • bugfix for a possible unicode decode error in cybin.
  • use a better unhashable implementation for payload.

0.3.6


Released on Mar 24, 2016.

  • add compact protocol support, via 159_.
  • add option to force return bytes on response, via 190_.
  • bugfix for ssl socket can't be init without certfile and keyfile,
    and add additional capath argument for SSLContext. via 186_.
  • bugfix for set_timeout only works before socket open, via 188_.

.. _159: Thriftpy/thriftpy#159
.. _186: Thriftpy/thriftpy#186
.. _188: Thriftpy/thriftpy#188
.. _190: Thriftpy/thriftpy#190

0.3.5


Released on Feb 16, 2016.

  • fix another set_timeout backward compat issue introduced in last version.
  • make thrift container struct unhashable, via 184_.

.. _184: Thriftpy/thriftpy#184

0.3.4


Released on Feb 3, 2016.

  • fix backward compat issue introduced in last version, add back
    set_timeout api in socket.

0.3.3


Released on Jan 21, 2016.

  • add support for ssl transport.
  • add named loggers, via 169_.
  • refine socket and serversocket implementation with more configure options.
  • bugfix for parser failure on windows under python3.2 caused by samefile
    method, via 172_.

.. _169: Thriftpy/thriftpy#169
.. _172: Thriftpy/thriftpy#172

0.3.2


Released on Oct 12, 2015.

  • add __thrift_meta__ attribute to loaded module, via 138_.
  • add type validation before write data to transport, via 149_ and 150_.
  • add load_fp api to load thrift from file like object, via 154_.
  • add support for recursive struct definition, via 155_.
  • add support for integer boolean constants, via 161_.
  • simplify the read_i08() bool result cast, via 162_.
  • performance improvements on payload init() func, via 163_.
  • bugfix for parsing of duplicate field name or id, now will raise error
    when duplicates detected, via 139_.
  • bugfix for server side transport not connected error when closing socket,
    via 143_.
  • bugfix for a typo error in default_spec generation, via 145_.
  • bugfix for i16 byte swap bug in OS X, via 148_.

.. _138: Thriftpy/thriftpy#138
.. _139: Thriftpy/thriftpy#139
.. _143: Thriftpy/thriftpy#143
.. _145: Thriftpy/thriftpy#145
.. _148: Thriftpy/thriftpy#148
.. _149: Thriftpy/thriftpy#149
.. _150: Thriftpy/thriftpy#150
.. _154: Thriftpy/thriftpy#154
.. _155: Thriftpy/thriftpy#155
.. _161: Thriftpy/thriftpy#161
.. _162: Thriftpy/thriftpy#162
.. _163: Thriftpy/thriftpy#163

0.3.1


Released on May 29, 2015.

  • lock down to use pure python only in windows env. (this avoid the cython
    stuffs on windows totally)
  • enable multiple include dirs, via 131_.
  • bugfix for parsing of constants with separators, via 134_.

.. _131: Thriftpy/thriftpy#131
.. _134: Thriftpy/thriftpy#134

0.3.0


Released on April 15, 2015.

Non-Backward Compatible changes:

  • migrate multiplexed protocol implementation to the same with upstream,
    via 117_.

.. _117: Thriftpy/thriftpy#117

0.2.x




### 0.2.1

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

Released on April 15, 2015.

- add an experimental tracking feature in `thriftpy.contrib`, via `96`_.
- add limitation on thrift reserved keyword for compatible with upstream, via
 `115`_.
- bugfix EOF grammar error, via `103`_.
- bugfix for mis-mach transport in client caused server crash, via `119`_.
- bugfix for typedef on included thrift files, via `121`_.

.. _`96`: https://github.com/eleme/thriftpy/pull/96
.. _`103`: https://github.com/eleme/thriftpy/pull/103
.. _`115`: https://github.com/eleme/thriftpy/pull/115
.. _`119`: https://github.com/eleme/thriftpy/pull/119
.. _`121`: https://github.com/eleme/thriftpy/pull/121




### 0.2.0

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

Released on March 3, 2015.

- support for default enum values that reference the original enum, via
 `69`_.
- support for `require` keyword, via `72`_.
- support for allow use and definition of types in the same file, via
 `77`_.
- support for multiplexing for services, via `88`_.
- support for cython accelerated memory transport and framed transport,
 via `93`
- bugfix for transport clean in read_struct in cybin, via `70`_.
- bugfix for large reading size in framed transport, via `73`_.
- bugfix for cython build failed in older CentOS, via `92`_.
- bugfix for thrift file version mis-match caused message corrupt in
 `read_struct`, via `95`_.

Non-Backward Compatible changes:

- refined new parser, the parser now behaves very similar to Apache Thrift,
 and supports a lot more features than the old one, via `80`_. Refer to the
 pull request for more detailed changes.
- refined transport, all transports have cython accelerated version. The
 cython version of protocol and transport are enabled by default now.

.. _`69`: https://github.com/eleme/thriftpy/pull/69
.. _`70`: https://github.com/eleme/thriftpy/pull/70
.. _`72`: https://github.com/eleme/thriftpy/pull/72
.. _`73`: https://github.com/eleme/thriftpy/pull/73
.. _`77`: https://github.com/eleme/thriftpy/pull/77
.. _`80`: https://github.com/eleme/thriftpy/pull/80
.. _`88`: https://github.com/eleme/thriftpy/pull/88
.. _`91`: https://github.com/eleme/thriftpy/pull/91
.. _`92`: https://github.com/eleme/thriftpy/pull/92
.. _`93`: https://github.com/eleme/thriftpy/pull/93
.. _`95`: https://github.com/eleme/thriftpy/pull/95


0.1.x

0.1.15


Released on December 12, 2014.

  • add MIT LICENSE file as requested.
  • tests refines with tox and pytest fixtures.
  • support for a mostly cythonized version of framed transport, via 66_.
  • bugfix for unix socket param in rpc.
  • bugfix for receiving 0-length strings & framed transport, via 63_.
  • bugfix for json protocol unicode decode error, via 65_.
  • bugfix for operator __ne__ implementation error, via 68_.

.. _66: Thriftpy/thriftpy#66
.. _63: Thriftpy/thriftpy#63
.. _65: Thriftpy/thriftpy#65
.. _68: Thriftpy/thriftpy#68

0.1.14


Released on November 8, 2014.

  • support for python2.6.
  • support for testing by tox.
  • support for oneway keyword, via 49_.
  • bugfix for wrong type args, via 48_.
  • bugfix for thrift file include keyword, via 53_.
  • bugfix for skip method not found in protocol, via 55_.
  • bugfix for set type support, via 59_.
  • bugfix for 'api' arg name collision in client.

.. _48: Thriftpy/thriftpy#48
.. _49: Thriftpy/thriftpy#49
.. _53: Thriftpy/thriftpy#53
.. _55: Thriftpy/thriftpy#55
.. _59: Thriftpy/thriftpy#59

0.1.13


Released on September 24, 2014.

  • bugfix for TPayload not able to be hashed in py3, via 44_.
  • bugfix for cython buffered transport read issue, via 46_.

.. _44: Thriftpy/thriftpy#44
.. _46: Thriftpy/thriftpy#46

0.1.12


Released on September 18, 2014.

  • bugfix for lack of skip func in cython binary protocol, via 43_.

.. _43: Thriftpy/thriftpy#43

0.1.11


Released on September 16, 2014.

  • bugfix for init func generator for TStruct.
  • bugfix for set constants in parser, via 39_.
  • add support for "includes" and service "extends", via 37_.
  • add close() to servers, via 38_.
  • implement non-strict mode for binary protocol, via 40_.
  • removed cython ext in pypy, and add pypy3 support.
  • some args updates:
    • add trans_factory arg to make_server
    • rename rbuf_size in buffered transport to buf_size.
    • rename isOpen to is_open, readFrame to read_frame.

.. _37: Thriftpy/thriftpy#37
.. _38: Thriftpy/thriftpy#38
.. _39: Thriftpy/thriftpy#39
.. _40: Thriftpy/thriftpy#40

0.1.10


Released on September 4, 2014.

  • bugfix for memory free in cython buffered transport, via 35_.
  • new thrift parser by PLY, removed cache since the performance is much more
    faster now, via 36_.

.. _35: Thriftpy/thriftpy#35
.. _36: Thriftpy/thriftpy#36

0.1.9


Released on September 1, 2014.

  • refine cython binary protocol, add cython buffered transport, via 32_.
  • param name change, rename transport_factory to trans_factory in rpc.

.. _32: Thriftpy/thriftpy#32

0.1.8


Released on August 28, 2014.

  • faster thrift file parse speed, via 30_.
  • bugfix for cybin buffer read, via 31_.

.. _30: Thriftpy/thriftpy#30
.. _31: Thriftpy/thriftpy#31

0.1.7


Released on August 19, 2014.

  • use args instead of kwargs in api calling to match upstream behavior.
  • cython binary protocol auto grow buffer size, via 29_.
  • bugfix for void api exception handling in processor.
  • bugfix for cybin protocol buffer overflow and memcpy, via 27_ and 28_.

.. _27: Thriftpy/thriftpy#27
.. _28: Thriftpy/thriftpy#28
.. _29: Thriftpy/thriftpy#29

0.1.6


Released on August 14, 2014.

  • json protocol, via 21_.
  • more standard module for loaded sdk, now generated TPayload objects can
    be pickled when module_name provided, via 22_.
  • gunicorn_thrift integration pingpong example, via 24_.
  • token cache now only checks python's major and minor version.
  • bugfix for exception handling in void api in RPC request.
  • bugfix for negative number value not recognized.
  • bugfix for cybin protocol to allow None value in struct.
  • bugfix for double free or corruption in cybin protocol, via 26_.

.. _21: Thriftpy/thriftpy#21
.. _22: Thriftpy/thriftpy#22
.. _24: Thriftpy/thriftpy#24
.. _26: Thriftpy/thriftpy#26

0.1.5


Released on July 25, 2014.

  • tornado client, server and framed transport support with tornado 4.0,
    via 15_.
  • immediately read from TMemoryBuffer after writing to it, via 20_.
  • cache load function to avoid duplicate module generation.
  • support client with socket timeout
  • enum struct now has VALUES_TO_NAMES and NAMES_TO_VALUES.

.. _15: Thriftpy/thriftpy#15
.. _20: Thriftpy/thriftpy#20

0.1.4


Released on July 17, 2014.

  • parser token cache, speed boost for thrift file parsing, via 12_.
  • new cython binary protocol with speed very close to c ext, via 16_.

.. _12: Thriftpy/thriftpy#14
.. _16: Thriftpy/thriftpy#14

0.1.3


Released on June 19, 2014.

  • support for union, binary fields, support for empty structs,
    support for Apache Storm thrift file, via 14_.
  • bugfix for import hook
  • bugfix for skip function in binary protocols

.. _14: Thriftpy/thriftpy#14

0.1.2


Released on June 7, 2014.

  • disabled the magic import hook by default. and add install/remove
    function to switch the hook on and off.
  • reworked benchmark suit and add benchmark results.
  • new __init__ function code generator. get a noticable speed boost.
  • bug fixes

0.1.1


First public release.

Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@jamilatta jamilatta closed this Dec 13, 2016
@jfunez jfunez deleted the pyup-initial-update branch March 3, 2017 13:51
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.

2 participants