Psycopg 2.8 beta 1 released

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Psycopg 2.8 beta 1 released
Дата
Msg-id CA+mi_8aNS0e29cWbd42Erdu_OW5Jx+Q5O_Hre+WdF3DcbfRU0A@mail.gmail.com
обсуждение исходный текст
Список psycopg
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''.


В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Psycopg 2.7.7 released
Следующее
От: Xikui Wang
Дата:
Сообщение: Implicit query plan caching within a connection