Skip to content

1.13.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 20 Jan 12:01
· 29 commits to master since this release
1282a18

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