Asynctnt

Latest version: v2.1.0

Safety actively analyzes 621920 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.1.0

**Breaking changes:**
* Dropped support for Python 3.6

**New features:**
* Added building wheels for Python 3.11 and support for 3.12
* Added support for PyPy 3.10. It's compiling and working, but there is an obvious performance downgrade compared to CPython.
* Now repr() of TarantoolTuple objects is being truncated to 50 fields

**Bug fixes:**
* Fixed an issue with encoding of update operations as tuples on PyPy

**Other changes**
* Upgraded to Cython 3.0.7
* Using pyproject.toml for building spec
* Using black, isort & ruff for linting
* _testbase.py was moved to tests/_testbase.py

2.0.1

* Fixed an issue with encoding datetimes less than 01-01-1970 (fixes [29](https://github.com/igorcoding/asynctnt/issues/29))
* Fixed "Edit on Github" links in docs (fixes [26](https://github.com/igorcoding/asynctnt/issues/26))

2.0.0

**Breaking changes:**
* `Connection.sql()` method is renamed to `Connection.execute()`
* Drop support for `loop` argument in the `Connection` (fixes [18](https://github.com/igorcoding/asynctnt/issues/18))

**New features:**
* Added support for `Decimal`, `UUID` and `datetime` types natively using MessagePack extensions
* Added support for SQL prepared statements with `Connection.prepare()` method and
`PreparedStatement` class
* Added support for interactive transactions and streams (fixes [21](https://github.com/igorcoding/asynctnt/issues/21))
* Added support for MP_ERROR extensions
* Bind metadata of parameters is available now in the `response.params` and `response.params_count` fields
* Exposed an internal schema as a `Connection.schema` property, introducing new classes to operate the schema with
* Exposed SQL metadata of responses as `response.metadata` field
* Added typings to internal types such as `Connection`, `Response`, `Metadata`, `Schema`, `TarantoolTuple` and others
* `asynctnt` now sends IPROTO_ID request before anything else to notify Tarantool of used features

**Other changes:**
* Updated Cython to 0.29.30
* Update msgpuck to revision 0c6680a300e31714f475a7f90c2d95a02d001d80
* Internal refactoring of requests payload encoding
* Refactoring of schema parsing and unifying under `metadata` name and structure

1.2.3

* Support Python 3.10

1.2.2

**Bugs fixed:**
* Show a diag message rather than Lost connection to Tarantool when disconnected (closes [19](https://github.com/igorcoding/asynctnt/issues/19))

1.2.1

**Other changes:**
* Updated Cython to 0.29.21
* Building wheels for Python 3.9

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.