Skip to content

Releases: igorcoding/asynctnt

v2.3.0

09 May 11:59
8994fcc
Compare
Choose a tag to compare

v2.2.0

05 May 20:11
09fa5bc
Compare
Choose a tag to compare

Commits

  • b6c9c66: Improvements on the sending update/upsert statements (igorcoding) #35
  • b1de865: fix ci upload action version (igorcoding)
  • 58f7a06: fix artifacts dirs (igorcoding)
  • ec1bfb5: fix ci (igorcoding)
  • 09fa5bc: another ci fix (igorcoding)

v2.1.0

27 Dec 06:54
2277115
Compare
Choose a tag to compare

Commits

  • fb80b2b: Project structure update (igorcoding)
  • d1a9cc5: restyled everything (igorcoding)
  • 6cae623: Added support for PyPy building (igorcoding)
  • c1ce9bc: Added parsing auth type (igorcoding)
  • 4cdb56d: More tests for decimal (igorcoding)
  • 7309d3f: More cleanup due to Python 3.6 removal (igorcoding)
  • 2a36890: Python 3.12 build wheels (igorcoding)
  • 2277115: fix version to 2.1.0 (igorcoding)

v2.0.1

19 Aug 18:47
Compare
Choose a tag to compare

Commits

  • 777410a: Fixed issue with negative dates with fractional seconds (fixes #29) (igorcoding)
  • 5f9b4af: v2.0.1 (igorcoding)
  • c6eebc9: up version (igorcoding)

v2.0.0

01 Jul 08:44
Compare
Choose a tag to compare

Commits

  • 4880686: Factored out all requests in separate files in the iproto/requests (igorcoding) #23
  • cca9189: draft implementation of decimal encode/decode (igorcoding) #23
  • c04fef2: add typings to Connection class (igorcoding) #23
  • 28d993b: rewrote decimal encoding (igorcoding) #23
  • 94b1246: Added support for UUID types (igorcoding) #23
  • eac0eb4: Update Cython to 0.29.30 (igorcoding) #23
  • 3835345: get back incref (igorcoding) #23
  • f535845: Added support for prepared statements + Typings (igorcoding) #23
  • 7af07bf: Added support for IPROTO_ID call (igorcoding) #23
  • 76562b9: parsing is_nullable for spaces metadata (igorcoding) #23
  • e428f4e: made Protocol.execute a func pointer for some optimizations (igorcoding) #23
  • b2b5f89: Added support for streams and transactions (igorcoding) #23
  • 9093b56: Optimize use of BaseRequest->encode method (igorcoding) #23
  • 463eef3: Support for MP_ERROR extension (igorcoding) #23
  • ad415a4: Update msgpuck (igorcoding) #23
  • fb03019: test coverage and prettier (igorcoding) #23
  • 2bbad7e: Drop support for loop argument in the Connection (fixes #18) (igorcoding) #23
  • 215be9c: Added support for datetime extensions (igorcoding) #23
  • a81d612: Docs on v2 (igorcoding) #23
  • 0fafbf0: add 2.10 ci (igorcoding) #23
  • a836c07: cleanup and README update (igorcoding) #23
  • 4387c90: Little more documentation and preapre 2.0.0 release (igorcoding) #23

v1.2.3

27 Oct 15:49
a35883d
Compare
Choose a tag to compare

Commits

v1.2.2

02 Aug 15:27
Compare
Choose a tag to compare

Commits

  • ad3abe4: Move to GH Actions from Travis CI (igorcoding)
  • cc93bba: show a diag message rather than Lost connection to Tarantool when disconnected (closes #19) (igorcoding)
  • 4cb81c9: run build wheels only after tests (igorcoding)
  • e07a10b: fix tests job name (igorcoding)
  • 700ea4b: change workflow name (igorcoding)
  • 16955e2: update build badge (igorcoding)
  • c608af1: make usable link from badge (igorcoding)
  • 180f93c: twine upload (igorcoding)
  • d1df9fd: install twine (igorcoding)
  • 7520f3b: twine credentials (igorcoding)

v1.0

05 Jan 18:51
Compare
Choose a tag to compare
Breaking changes:
* Removed method `body2yaml` from Response.
* Option `tuple_as_dict` is removed from `Connection` and all the methods.

New features:
* Making Response objects contain TarantoolTuple objects if format information
  is available either in space or in response from Tarantool (closes #3).
* TarantoolTuple objects are index-agnostic, meaning one can access tuple value
  either by numeric index or by a key from `space:format()` specification.
* You can directly access Response using indices
  (`resp[0]` instead of `resp.body[0]`).
* Added supported for receiving `box.session.push()` messages from Tarantool
  by introducing new parameter `push_subscribe` to api methods in `Connection`
  and the PushIterator class to iterate over the push messages of a specific
  request.
* Added `Connection.sql` method to execute SQL statements for Tarantool 2
  (see asynctnt docs for details).
* Added internal background coroutine with pings periodically a Tarantool
  instance to check if it is alive and to refresh schema if it is changed
  (default period is 5 seconds and is configured by `Connection.ping_timeout`
  parameter).

Changes:
* Iteration over TarantoolTuple results in iterating over a raw tuple by
  indices.
* TarantoolTuple has `.keys()`, `.values()` and `.items()` from the dict
  protocol. All these methods return iterators making it possible to iterate
  over keys, values or key-value pairs accordingly. `keys` and `items` methods
  ignore any extra fields if space format contains less fields than there are
  in the tuple. One can acces those extra fields by index numbers.
* `Connection`'s default `connect_timeout` changed from `60` to `3` seconds.
* `select`: changed default iterator type to `ALL` if no key provided
  (fixes #2)
* `Response` new function `done()` indicates if Response is
  actually finished.
* `schema_id` is not being sent to Tarantool to check against current schema
  version. Instead schema is only checked and refetched if needed only _after_
  the request. This ensures that request is executed in a "constant" time
  rather than unpredicted with possible schema changes.
* Improved `Connection.refetch_schema()` method to ensure there is only one
  currently running refetch process.

Other changes:
* `asynctnt` now ships with precompiled wheel packages.
* Changed version numbering.
* Updated `Cython` to version `0.29`
* Updated `msgpuck` version
* Improved speed of asynctnt method calls a bit more

v1.0b3

31 Dec 16:32
Compare
Choose a tag to compare
Added periodic background ping coroutine

v1.0b2

18 Dec 22:33
Compare
Choose a tag to compare
Added get() method for TarantoolTuple