Zum Inhalt springen

Psycopg Release Notes

Einträge
56
Quellen
2

Folge Psycopg, um die Release Notes in deinen Feed zu holen.

Psycopg

Psycopg 2.9.13 mit Python-3.15-Unterstützung

Psycopg 2.9.13 unterstützt Python 3.15, behebt das Parsen fehlerhafter bytea- und int64-Array-Eingaben, ergänzt eine pyproject.toml für einen PEP-517-Build-Backend und entfernt die Unterstützung für Python 3.9.

  • Add support for Python 3.15 (ticket #1848).

  • Fix parsing of malformed bytea input.

  • Fix parsing of malformed int64 input in arrays (ticket #1847).

  • Add a pyproject.toml file to declare a PEP 517 build backend (ticket #1788).

  • Drop support for Python 3.9.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.11 mit Python 3.14 und PostgreSQL-18-Fehlercodes

Psycopg 2.9.11 unterstützt Python 3.14, vermeidet einen Segfault bei mehr Argumenten als Platzhaltern (bei Python mit aktivierten Assertions), liefert riscv64-Binärpakete, aktualisiert errorcodes und errors auf PostgreSQL 18 und entfernt die Unterstützung für Python 3.8.

  • Add support for Python 3.14.

  • Avoid a segfault passing more arguments than placeholders if Python is built with assertions enabled (ticket #1791).

  • Add riscv64 platform binary packages (ticket #1813).

  • errorcodes map and errors classes updated to PostgreSQL 18.

  • Drop support for Python 3.8.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.10 mit Python 3.13 und PostgreSQL-17-Fehlercodes

Psycopg 2.9.10 unterstützt Python 3.13, empfängt Benachrichtigungen beim Commit, aktualisiert errorcodes und errors auf PostgreSQL 17 und entfernt die Unterstützung für Python 3.7.

  • Add support for Python 3.13.

  • Receive notifications on commit (ticket #1728).

  • errorcodes map and errors classes updated to PostgreSQL 17.

  • Drop support for Python 3.7.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.8 bündelt PostgreSQL-16-libpq im Wheel

Das Wheel-Paket von Psycopg 2.9.8 enthält nun die PostgreSQL-16-libpq und unterstützt dadurch neuere Funktionen wie sslcertmode.

  • Wheel package bundled with PostgreSQL 16 libpq in order to add support for recent features, such as sslcertmode.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.7 behebt Ausnahmen bei Modulinitialisierung

Psycopg 2.9.7 behebt die Weitergabe von Ausnahmen bei der Modulinitialisierung und das Bauen, wenn pg_config einen leeren String liefert, und bündelt im Wheel OpenSSL 1.1.1v.

  • Fix propagation of exceptions raised during module initialization (ticket #1598).

  • Fix building when pg_config returns an empty string (ticket #1599).

  • Wheel package bundled with OpenSSL 1.1.1v.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.6: manylinux 2014 für aarch64 und ppc64le, libpq 15

Psycopg 2.9.6 paketiert manylinux 2014 für aarch64 und ppc64le mit libpq 15 im Binärpaket und bündelt im Wheel OpenSSL 1.1.1t.

  • Package manylinux 2014 for aarch64 and ppc64le platforms, in order to include libpq 15 in the binary package (ticket #1396).

  • Wheel package bundled with OpenSSL 1.1.1t.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.5: Python 3.11 und rowcount bei MERGE unterstützt

Psycopg 2.9.5 unterstützt Python 3.11, unterstützt rowcount bei MERGE-Statements in Binärpaketen und bündelt im Wheel OpenSSL 1.1.1r sowie die PostgreSQL-15-libpq.

  • Add support for Python 3.11.

  • Add support for rowcount in MERGE statements in binary packages (ticket #1497).

  • Wheel package bundled with OpenSSL 1.1.1r and PostgreSQL 15 libpq.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.4: Korrekturen bei register_composite() und register_range()

Psycopg 2.9.4 korrigiert register_composite() und register_range() bei angepasstem search_path, behandelt Composite-Typen mit Namen oder Schemas, die Escaping erfordern, korrekt, findet pg_service.conf in /etc/postgresql-common, aktualisiert errorcodes und errors auf PostgreSQL 15 und bündelt OpenSSL 1.1.1q sowie die PostgreSQL-14.4-libpq.

  • Fix register_composite(), register_range() with customized search_path (ticket #1487).

  • Handle correctly composite types with names or in schemas requiring escape.

  • Find pg_service.conf file in the /etc/postgresql-common directory in binary packages (ticket #1365).

  • errorcodes map and errors classes updated to PostgreSQL 15.

  • Wheel package bundled with OpenSSL 1.1.1q and PostgreSQL 14.4 libpq.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9.2: Fehlerbehebungen und PostgreSQL 14-Unterstützung

Psycopg 2.9.2 behebt einen Fehler bei Datumsangaben ab dem Jahr 10000, aktualisiert Fehlercodes und Fehlerklassen auf PostgreSQL 14 und fügt vorläufige Unterstützung für Python 3.11 hinzu.

  • Raise ValueError for dates >= Y10k (ticket #1307).

  • errorcodes map and errors classes updated to PostgreSQL 14.

  • Add preliminary support for Python 3.11 (tickets #1376, #1386).

  • Wheel package bundled with OpenSSL 1.1.1l and PostgreSQL 14.1 libpq (ticket #1388).

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.9 veröffentlicht

Psycopg 2.9 ändert das Verhalten von with connection, unterstützt Zeitzonen mit Bruchteilsminuten und beendet die Unterstützung für Python 2.7, 3.4 und 3.5.

  • with connection starts a transaction on autocommit transactions too (ticket #941).

  • Timezones with fractional minutes are supported on Python 3.7 and following (ticket #1272).

  • Escape table and column names in copy_from() and copy_to().

  • Connection exceptions with sqlstate 08XXX reclassified as OperationalError (a subclass of the previously used DatabaseError) (ticket #1148).

  • Include library dirs required from libpq to work around MacOS build problems (ticket #1200).

Other changes:

  • Dropped support for Python 2.7, 3.4, 3.5 (tickets #1198, #1000, #1197).

  • Dropped support for mx.DateTime. …

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.7 behebt Fehler

Psycopg 2.8.7 akzeptiert leere Parameter bei connect(), behebt einen Refcount-Fehler in Column und erlaubt die Neuinitialisierung statischer Variablen im C-Modul.

  • Accept empty params as connect() (ticket #1250).

  • Fix attributes refcount in Column initialisation (ticket #1252).

  • Allow re-initialisation of static variables in the C module (ticket #1267).

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.6 veröffentlicht

Behoben: Speicherleck beim Ändern der Verbindungs-Encoding auf das aktuelle, Suche nach mxDateTime-Headern in virtualenvs, fehlende errorcodes-Werte; cursor.query berichtet jetzt auch die letzte COPY-Operation; errorcodes und errors auf PostgreSQL 13 aktualisiert; ARM-Wheel-Pakete hinzugefügt; OpenSSL 1.1.1g gebündelt.

  • Fixed memory leak changing connection encoding to the current one (ticket #1101).

  • Fixed search of mxDateTime headers in virtualenvs (ticket #996).

  • Added missing values from errorcodes (ticket #1133).

  • cursor.query reports the query of the last COPY operation too (ticket #1141).

  • errorcodes map and errors classes updated to PostgreSQL 13.

  • Added wheel packages for ARM architecture (ticket #1125).

  • Wheel package bundled with OpenSSL 1.1.1g.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.5: Fehlerbehebungen und Verbesserungen

Psycopg 2.8.5 behebt Fehler bei der Kombination von connection_factory und cursor_factory sowie beim Kopieren von DictCursor-Zeilen, unterstützt LoggerAdapter und ermöglicht das Slicen von Column-Objekten.

  • Fixed use of connection_factory and cursor_factory together (ticket #1019).

  • Added support for LoggerAdapter in LoggingConnection (ticket #1026).

  • Column objects in cursor.description can be sliced (ticket #1034).

  • Added AIX support (ticket #1061).

  • Fixed copy() of DictCursor rows (ticket #1073).

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.4 veröffentlicht

Behoben: Bauen mit Python 3.8, Verschlucken von Tastatur-Interrupts beim Verbinden mit Passwort, Fortschreiten des Replikations-Cursors, Inklusion von time.h auf Linux, Integer-Überlauf bei table_oid und type_code; errorcodes und errors auf PostgreSQL 12 aktualisiert; OpenSSL 1.1.1d und PostgreSQL 11.4 gebündelt.

  • Fixed building with Python 3.8 (ticket #854).

  • Don’t swallow keyboard interrupts on connect when a password is specified in the connection string (ticket #898).

  • Don’t advance replication cursor when the message wasn’t confirmed (ticket #940).

  • Fixed inclusion of time.h on linux (ticket #951).

  • Fixed int overflow for large values in table_oid and type_code (ticket #961).

  • errorcodes map and errors classes updated to PostgreSQL 12.

  • Wheel package bundled with OpenSSL 1.1.1d and PostgreSQL at least 11.4.

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.3 veröffentlicht

Neuer _interval_status_-Parameter für start_replication() und andere Funktionen für automatische Replikations-Keepalives; Fehlerbehebung beim Caching von namedtuples.

  • Added interval_status parameter to start_replication() method and other facilities to send automatic replication keepalives at periodic intervals (ticket #913).

  • Fixed namedtuples caching introduced in 2.8 (ticket #928).

Originalquelle(öffnet in neuem Tab)Problem melden

Psycopg

Psycopg 2.8.2 veröffentlicht

Behoben: RealDictCursor bei doppelten Spalten; Binärpakete mit OpenSSL 1.1.1b gebaut, was Konkurrenzprobleme beheben sollte.

  • Fixed RealDictCursor when there are repeated columns (ticket #884).

  • Binary packages built with openssl 1.1.1b. Should fix concurrency problems (tickets #543, #836).

Originalquelle(öffnet in neuem Tab)Problem melden