Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gv1Yv-00077u-Fo for psycopg@arkaria.postgresql.org; Sat, 16 Feb 2019 15:07:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gv1Yt-0001MP-4z for psycopg@arkaria.postgresql.org; Sat, 16 Feb 2019 15:07:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gv1Ys-0001M7-Ti for psycopg@lists.postgresql.org; Sat, 16 Feb 2019 15:07:27 +0000 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gv1Yp-0005SY-Km for psycopg@postgresql.org; Sat, 16 Feb 2019 15:07:25 +0000 Received: by mail-lf1-x143.google.com with SMTP id u21so9315992lfu.1 for ; Sat, 16 Feb 2019 07:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=th2UMHcW+q9gcSbAU4/kS4SmsJhHZmFGMc9dIfrt73w=; b=RPFnnybSRJqKYNGam8VtLSWY0lHydNfIeRcy3s7PfjG13Vv42Z6ediS+GEgmCiqaqn GG2tkBrOOuEaZpxM7zbJryH7YMKkXU+DfDvmYm7E1sOy7bVujCrSrJiZ9+xkeqemFeVM qOsZJWSmglHfU8Ge+HlF94LHtftyYQ5ddkyzR0B4WJMBSQzAU+9uszpB6qG+HqRKqQy7 Z9dMgpvtZZL249px0rtFQIJCf7yPhUdPOpzemwYzk8A0S93LIOQZrTZDcrGmRW8dWDlk RSCn+poadqC2R7B4HLIAQcB77W4GV34zK2WzKfgHQt6VylwlalOjHJi1hMWFth+dD90k cXNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=th2UMHcW+q9gcSbAU4/kS4SmsJhHZmFGMc9dIfrt73w=; b=IzANjVSoxmnokX2R+N4+CqEgqdValynO3Lyw3oObIENMQWKpvQvWCUM2PIdI6TSvWA mCcvAd1/4H/B0+uhkz2PlvcRt5MfSA0/kTfUKr7iY1vbdJ8o2bfjT+5o5K+o+5zLL0/8 TK+DZu6t+0jHhgef3/YhLWVs6mouMpGtu7QoF860IonlTFLqH8KLPTtTBBPZ1gvQkgnl MWmuCW2pc/oh6Se0vBANRgRPdxj7LvY5fHtanjq7g7G9yDxY2QYk8bpiSjfR+B6uiElw FMjjI0hz6kKPtVAyvMI7/Jo6yfMArS6rIDb5+Gr4WtgZhunJc2Zi/9rKlE944hGpuBDK OAaQ== X-Gm-Message-State: AHQUAuYXEfMf7rB62q4dK/LqedZdhXSyMfX2cab+vFYYEnwDvttFy65I QHekZZINpJq5O8aX7SB6ezzJ6CxysXxRZdN4I2DqQg== X-Google-Smtp-Source: AHgI3IZRdzOQL4gTHZAQ60OjEYbB/JmnUILCEVsNJYlsViWaNZQuPHOHjN10YqTFpq3L6N3t99ovcdKjoncIiSKXBVY= X-Received: by 2002:ac2:415a:: with SMTP id c26mr7461577lfi.62.1550329641709; Sat, 16 Feb 2019 07:07:21 -0800 (PST) MIME-Version: 1.0 From: Daniele Varrazzo Date: Sat, 16 Feb 2019 16:07:10 +0100 Message-ID: Subject: Psycopg 2.8 beta 1 released To: psycopg@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, A beta version of psycopg2 2.8 has been released. You can obtain packages using: pip install -i https://test.pypi.org/simple/ psycopg2==2.8b1 If no problem arise we will release the final package in a few days. Before that, any feedback is welcome. New features in psycopg 2.8: - Added 'psycopg2.errors' module. Every PostgreSQL error is converted into a specific exception class (ticket #682). - Added 'encrypt_password()' function (ticket #576). - Added 'BYTES' adapter to manage databases with mixed encodings on Python 3 (ticket #835). - Added 'Column.table_oid' and 'Column.table_column' attributes on 'cursor.description' items (ticket #661). - Added 'connection.info' object to retrieve various PostgreSQL connection information (ticket #726). - Added 'get_native_connection()' to expose the raw ''PGconn'' structure (ticket #782). - 'sql.Identifier' can represent qualified names in SQL composition (ticket #732). - Added 'fetch' parameter to 'execute_values()' function (ticket #813). - Fixed adaptation of numeric subclasses such as 'IntEnum' (ticket #591). - 'str()' on 'Range' produces a human-readable representation (ticket #773). - 'DictCursor' and 'RealDictCursor' rows maintain columns order (ticket #177). - Added 'severity_nonlocalized' attribute on the 'Diagnostics' object (ticket #783). - More efficient 'NamedTupleCursor' (ticket #838). Other changes: - Dropped support for Python 2.6, 3.2, 3.3. - Dropped 'psycopg1' module. - Dropped deprecated 'register_tstz_w_secs()' (was previously a no-op). - Dropped deprecated 'PersistentConnectionPool'. This pool class was mostly designed to interact with Zope. Use 'ZPsycopgDA.pool' instead. - Dropped 'PSYCOPG_DISPLAY_SIZE' build parameter. - Binary packages no longer installed by default. The 'psycopg2-binary' package must be used explicitly. - No longer use 2to3 during installation for Python 2 & 3 compatibility. All source files are now compatible with Python 2 & 3 as is. - The 'psycopg2.test' package is no longer installed by ''python setup.py install''.