Skytools

Latest version: v3.9.2

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

Scan your dependencies

Page 2 of 3

3.7.3

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

Fixes:

* Allow binary I/O in copy_expert signature.

3.7.2

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

Fixes:

* Avoid psycopg copy_from, not usable in v2.9

3.7.1

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

Fixes:

* quoting: drop obsolete keywords from quote_ident
* quoting: add COL_NAME_KEYWORDs into quote_ident list
* querybuilder: use dbdict more consistently

Cleanups:

* basetypes: tune Protocol classes
* tests: avoid 'pointless-statement'
* sqltools: annotate dbdict
* checker: use 'with' with files
* modules: add .pyi annotations

3.7

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

Features:

* config: config_format=2 switches to extended format.
* querybuilder: alt SQL for missing value.
* querybuilder: handle more value types in inline queries.
* querybuilder/plpy: always use prepared plan. Prevously when GD/SD
was not given, it switched to inline params, but that was problem
because inline value quoting may be different that PL/Python's.
Now it always uses plpy.prepare.

Cleanups:

* querybuilder: switch to functools.lru_cache, instead local LRU.
* querybuilder: use regex for parsing, gives cleaner code.
* querybuilder: improve error handling
* natsort: switch to string key, instead of tuple.
* style: Add type annotations to most modules.
* style: use new-style super() everywhere.
* ci: drop win32 repack, abi3 is now supported on win32
* ci: drop ubuntu 16.04, to be obsoleted.
* ci: build wheels using manylinux2014 images.

3.6.1

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

Fixes:

* scripting: Do not set .my_name on connection,
does not work on plain Psycopg connection.

* cquoting: Work around pypy3 PyBytes_Check bug.

* modules: Use multiphase init.

3.6

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

Feature removal:

* Remove ancient compat code from psycopgwrapper:

- dict* and iter* methods
- getattr access to fields.
- Keepalive tuning from connect_database().
That is built-in to libpq since 9.0.
- Require psycpopg 2.5+

Cleanups:

* Switch C modules to use stable ABI only (abi3).
* Remove Debian packaging.
* Upgrade apipkg to 1.5.
* Remove Py2 compat.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.