github jtv/libpqxx 8.0.0-rc4
libpqxx 8.0.0 release candidate 4

pre-release5 hours ago

The useful, now-or-virtually-never changes for 8.0 just keep coming. Here's another release candidate that you may want to try.

Changes from release candidate 3:

  • No longer trying to support std::filesystem.
  • composite_into_buf() now returns a zview.
  • Optionally pass encoding_group into params (or connection or transaction).
  • Export helper to render a std::source_location as text.
  • More IDE-friendly text format for source locations.
  • Enable tests to run even on ASCII databases (just skip some encoding tests).
  • Document: result::affected_rows() also works for SELECT. (#1139)
  • Use C++26 reflection, if available, to figure out types' names.
  • Rename pqxx::out_of_memory to pqxx::server_out_of_memory for clarity.
  • pqxx::protocol_violation is now an sql_error, not a broken_connection.
  • All libpqxx exceptions now derive from pqxx::failure.
  • pqxx::failure now derives straight from std::exception, not std::runtime_error.
  • Exceptions now know their name, whether they break the connection, etc.
  • All additional properties on libpqxx exceptions are available in pqxx::failure.
  • Require PostgreSQL 11 server or better.

Don't miss a new libpqxx release

NewReleases is sending notifications on new releases.