Releases: pgq/python-skytools
Releases · pgq/python-skytools
skytools v3.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.
skytools v3.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.
skytools v3.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.
skytools v3.5
Fixes
- dbservice: py3 fix for row.values()
- skylog: Use logging.setLogRecordFactory for adding extra fields
- fileutil,sockutil: fixes for win32.
- natsort: py3 fix, improve rules.
Cleanups
- Set up Github Actions for CI and release.
- Use "with" for opening files.
- Drop py2 syntax.
- Code reformat.
- Convert nose+doctests to pytest.