pgcli v3.0.0 Release Notes

Release Date: 2020-04-10 // 11 months ago
  • ๐Ÿ”‹ Features:

    • Add __main__.py file to execute pgcli as a package directly (#1123).
    • โž• Add support for ANSI escape sequences for coloring the prompt (#1122).
    • โž• Add support for partitioned tables (relkind "p").
    • โž• Add support for pg_service.conf files
    • Add config option show_bottom_toolbar.

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix warning raised for using is not to compare string literal
    • Close open connection in completion_refresher thread

    Internal:

    • โฌ‡๏ธ Drop Python2.7, 3.4, 3.5 support. (Thanks: laixintao_)
    • ๐Ÿ‘Œ Support Python3.8. (Thanks: laixintao_)
    • ๐Ÿ›  Fix dead link in development guide. (Thanks: BrownShibaDog_)
    • โฌ†๏ธ Upgrade python-prompt-toolkit to v3.0. (Thanks: laixintao_)

Previous changes from v2.2.0

  • ๐Ÿ”‹ Features:

    • โž• Add support for ANSI escape sequences for coloring the prompt (#1123).
    • โž• Add \\G as a terminator to sql statements that will show the results in expanded mode. This feature is copied from mycli. (Thanks: Amjith Ramanujam_)
    • โœ‚ Removed limit prompt and added automatic row limit on queries with no LIMIT clause (#1079) (Thanks: Sebastian Janko_)
    • Function argument completions now take account of table aliases (#1048). (Thanks: Owen Stephens_)

    ๐Ÿ› Bug fixes:

    • Error connecting to PostgreSQL 12beta1 (#1058). (Thanks: Irina Truong_ and Amjith Ramanujam_)
    • Empty query caused error message (#1019) (Thanks: Sebastian Janko_)
    • History navigation bindings in multiline queries (#1004) (Thanks: Pedro Ferrari_)
    • Can't connect to pgbouncer database (#1093). (Thanks: Irina Truong_)
    • ๐Ÿ›  Fix broken multi-line history search (#1031). (Thanks: Owen Stephens_)
    • ๐Ÿ›  Fix slow typing/movement when multi-line query ends in a semicolon (#994). (Thanks: Owen Stephens_)
    • ๐Ÿ›  Fix for PQconninfo not available in libpq < 9.3 (#1110). (Thanks: Irina Truong_)

    Internal:

    • Add optional but default squash merge request to PULL_REQUEST_TEMPLATE