Skip to content

Releases: pgq/python-skytools

skytools v3.7

17 May 04:46
Compare
Choose a tag to compare

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

29 Sep 10:27
Compare
Choose a tag to compare

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

11 Aug 13:08
Compare
Choose a tag to compare

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

18 Jul 19:05
Compare
Choose a tag to compare

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.