Skip to content

Releases: postgrespro/testgres

1.13.7

13 Mar 16:44

Choose a tag to compare

What's Changed

  • build: implement dynamic versioning and unified metadata (#349)

Full Changelog: 1.13.6...1.13.7

1.13.6

25 Feb 18:55
322cb3a

Choose a tag to compare

What's Changed

  • Tests are updated (typing) (#343)
  • fix: PostgresNode.catchup is corrected (#344)
  • PostgresNode::poll_query_until is updated (typing) (#345)
  • fixed ruff issues by @ProjectMutilation (#346)
  • [CI] Check with ruff is added (#347, #348)

Full Changelog: 1.13.5...1.13.6

1.13.5

12 Feb 22:23
bde0198

Choose a tag to compare

What's Changed

  • pytest-env is used, pytest.ini is deleted (#338)
  • [#329] get_pg_node_state looks for postmaster to avoid "PID file is empty" (#339)
  • test_logging is fixed (#340)
  • Mistakes in typing are fixed (#341)

Full Changelog: 1.13.4...1.13.5

1.13.4

30 Jan 16:11
d2c2f10

Choose a tag to compare

What's Changed

  • [CI] AstraLinux 1.7 is tested (#334)
  • table_checksum uses "SELECT SUM(hashtext(t::text)) ..." (#337)

Full Changelog: 1.13.3...1.13.4

1.13.3

27 Jan 15:33
27df510

Choose a tag to compare

This is a release to fix a problem with Astra Linux 1.7. It has an old python version 3.7.3.

What's Changed

  • Min python is 3.7.3 (#332)

Full Changelog: 1.13.2...1.13.3

1.13.2

25 Jan 14:40
8be60d4

Choose a tag to compare

Main

This release updates version of testgres.os_ops to 2.0.1 to fix a problem with exec_env in RemoteOperation::exec_command.

What's Changed

  • testgres.os_ops 2.0.1 is used (#324, #331)
  • PostgresNodeLogReader::_collect_logs is corrected (typing) (#325)
  • PostgresNode::start and start2 are updated (#326)
  • CI: GitHub Action is used (#320)
  • CI: Execution of all the tests on altlinux 10/11 (#322)

Full Changelog: 1.13.1...1.13.2

1.13.1 [hot fix]

20 Jan 17:39

Choose a tag to compare

This is a hot fix release.

Changes

  • PostgresNode::start does not pass parameters into start2 (b4b5146)

Full Changelog: 1.13.0...1.13.1

1.13.0

20 Jan 12:01
1282a18

Choose a tag to compare

Main

This release contains important changes that may be incompatible with your existing code.

Please read this release notes and test v1.13.0 before using it in your production environment.

  • PostgresNode::is_started is RO-property now and is not used to ignore secondary attempts to start/stop node.
  • PostgresNode::start (and slow_start) does not allow second attempt to run node and will fail
  • PostgresNode::stop does not allow second attempt to stop node and will fail
  • PostgresNode::kill fails when node is not running
  • PostgresNode::child_processes fails when node is not running
  • PostgresNode::slow_start will try to stop node if node is strted but an "ready" state is not reached
  • Exception classes now have an explicit construtor and RO-properties
  • CatchUpException inherits TestgresException but not QueryException
  • TimeoutException was renamed with QueryTimeoutException. TimeoutException now is an alias of QueryTimeoutException.

What's Changed

  • New utility get_pg_node_state is added (#301)
  • ProcessProxy is updated (RO, typing, asserts) (#304)
  • PostgresNode::child_processes works on a running node only (#303)
  • [typing] PostgresNode: pid, auxiliary_pids, auxiliary_processes (#306)
  • pyproject.toml is used (#307, #309)
  • [CI] Verification on python 3.14 is added (#308)
  • PostgresNode::is_started is read-only and is not used internally (#305)
  • Exception classes are updated (sync with testgres.common 1.0.0) (#310, #312)
  • PostgresNode::slow_start and tests are updated (#313)
  • PostgresNode::start2 is added (#314)
  • CI: Usage of pg8000 in tests is added (#316)
  • PostgresNode::table_checksum is corrected (#317)
  • Custom options paramater was added to pg_dump (#302)

Full Changelog: 1.12.2...1.13.0

1.12.2

30 Dec 15:09
a4055fc

Choose a tag to compare

What's Changed

  • testgres.os_ops 1.0.0 is used (#298)
  • PostgresNode uses kill and path_exists from OsOperations (#299)

Full Changelog: 1.12.1...1.12.2

1.12.1

20 Dec 13:46

Choose a tag to compare

Overview

This update improves an usage of os_ops.kill function. This is required for future changes.

What's Changed

  • cleanup: node._try_shutdown should not pass expect_error to os_ops.kill (#297)

Full Changelog: 1.12.0...1.12.1