Skip to content

Releases: dalibo/pg_activity

pg_activity 3.5.1

03 Apr 12:48
v3.5.1
5c36a8b
Compare
Choose a tag to compare

Fixed

  • Resolve a warning about usage of a deprecated Python datetime API from
    Python 3.12.
  • Resolve setuptools warnings about packages 'pgactivity.profiles' and
    'pgactivity.queries' being absent from packages configuration by getting
    back to setuptools "automatic discovery" (#411).

Misc

  • Turn Python warnings into errors when running the test suite.

Full Changelog: v3.5.0...v3.5.1

pg_activity 3.5.0

01 Mar 13:46
v3.5.0
24c0804
Compare
Choose a tag to compare

Added

  • The rollback ratio is now displayed in the "global" header (#385).
  • Make header's sections display configurable through the [header] section of the configuration file.
  • Configuration profiles can now be defined at ${XDG_CONFIG_HOME:~/.config}/pg_activity/<profile>.conf or /etc/pg_activity/<profile>.conf as selected from the command line through --profile <profile>.
    Some built-in profiles are distributed with pg_activity.

Changed

  • The help text for K action, displayed in the footer, has been rephrased as "terminate underlying session".
  • Rephrase the help text of --no-{inst,sys,proc}-info options and group them into a dedicated section of --help output.

Fixed

  • At startup, do not show a traceback upon failure to connect to PostgreSQL.
  • Fix password prompt not shown with psycopg2 backend.
  • Fix retrieval of I/O statistics on BSD systems (#393).
  • Fix spelling mistakes in the man page.

Removed

  • Python 3.7 is no longer supported.

Misc

  • Document how to hack on pg_activity in the README.
  • Add a pre-commit configuration.
  • Require psycopg >= 3.1 (when using the psycopg backend) to get a more robust
    detection of connection password need.

Full Changelog: v3.4.2...v3.5.0

pg_activity 3.4.2

01 Jun 13:26
v3.4.2
2205659
Compare
Choose a tag to compare

Fixed

  • Fix package installation by not installing tests and docs directories
    (#378).

Full Changelog: v3.4.1...v3.4.2

pg_activity 3.4.1

30 May 07:23
v3.4.1
1f96da2
Compare
Choose a tag to compare

Fixed

  • Add more compatibility for old attr versions (#376).

Full Changelog: v3.4.0...v3.4.1

pg_activity 3.4.0

15 May 09:13
v3.4.0
976b332
Compare
Choose a tag to compare

Added

  • Improve rendering of the client column by possibly abbreviating IP
    addresses.
  • Add support for configuring pg_activity from a configuration file in INI
    format and installed at ${XDG_CONFIG_HOME:~/.config}/pg_activity.conf or
    /etc/pg_activity.conf.
  • Determine which columns to hide from reading the configuration file (hidden = yes|no option).
  • Determine columns width from the configuration file (width = <positive integer> option).

Fixed

  • Fix a crash when trying to reconnect.

Full Changelog: v3.3.0...v3.4.0

pg_activity 3.3.0

22 Mar 07:51
v3.3.0
10e2870
Compare
Choose a tag to compare

Fixed

  • Replace the previous header column separator () by a comma to improve user
    experience in situations where that character did not render well (#356,
    #230).

pg_activity 3.2.0

15 Mar 13:55
v3.2.0
ce0059d
Compare
Choose a tag to compare

Fixed

  • Handle conversion between PostgreSQL encoding names and Python ones while
    decoding the query column from pg_stat_activity with
    pg_database.encoding (#348).

  • Fix typos in man pages, spotted by codespell.

Added

  • When using the psycopg backend, set client_encoding to auto if unspecified
    in the connection string. This will help getting the appropriate client
    encoding from locale settings, even if the connection database has a different
    one.

  • Fall back to a permissive-but-hopefully-more-robust loader for character type
    values if client encoding is really ascii, when using the psycopg backend.

Misc.

  • Add compatibility with old humanize (>= 0.5.1), to make packaging easier on
    old platforms such as RHEL 8.

  • Adjust log messages prefix, removing the "Hint" word and adding the level
    name, as we now emit messages for different purposes.

pg_activity 3.1.1

06 Mar 13:05
v3.1.1
c64b2da
Compare
Choose a tag to compare

Fixed

  • Fix crash on startup with no "connection string" argument and the psycopg
    backend #346.

pg_activity 3.1.0

02 Mar 15:31
v3.1.0
f5401a7
Compare
Choose a tag to compare

Added

  • Add support for Psycopg 3 database driver, as an alternative to psycopg2.
    Packagers and users installing from pip are encouraged to install the
    psycopg dependency instead of psycopg2.
  • Add psycopg and psycopg2 setuptools extras to ease complete installation
    from pip.
  • Prepare statements for execution when using the psycopg database driver for
    better performance.

Fixed

  • Rework decoding of the query column to (hopefully) make it more robust
    (see #149 for the original report, #302 for a new problem raised while fixing
    the previous one and #332 for the latest update).
  • Fix a few typos in the man page.

Misc.

  • Add a change log file and update the release how-to accordingly.
  • Use codespell to check
    misspellings.
  • Add Project-URLs core metadata for Python packaging.
  • Install the project in develop mode in Tox test environment.
  • Require blessed >= 1.15.0, as earlier versions are not compatible with Python
    3.7.

pg_activity 3.0.3

17 Jan 10:27
Compare
Choose a tag to compare
v3.0.3

pg_activity 3.0.3