mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-05-30 02:33:20 +03:00
Splitting the release of new features in version 2.5
This commit is contained in:
parent
362c2ae597
commit
02ffb7423a
12
NEWS
12
NEWS
|
@ -1,5 +1,5 @@
|
||||||
What's new in psycopg 2.4.6
|
What's new in psycopg 2.5
|
||||||
---------------------------
|
-------------------------
|
||||||
|
|
||||||
- Added JSON adaptation.
|
- Added JSON adaptation.
|
||||||
- Added support for PostgreSQL 9.2 range types.
|
- Added support for PostgreSQL 9.2 range types.
|
||||||
|
@ -10,6 +10,12 @@ What's new in psycopg 2.4.6
|
||||||
Tobias Oberstein for the feature development.
|
Tobias Oberstein for the feature development.
|
||||||
- connection.reset() implemented using DISCARD ALL on server versions
|
- connection.reset() implemented using DISCARD ALL on server versions
|
||||||
supporting it.
|
supporting it.
|
||||||
|
- 'errorcodes' map updated to PostgreSQL 9.2.
|
||||||
|
|
||||||
|
|
||||||
|
What's new in psycopg 2.4.5
|
||||||
|
---------------------------
|
||||||
|
|
||||||
- Fixed 'cursor()' arguments propagation in connection subclasses
|
- Fixed 'cursor()' arguments propagation in connection subclasses
|
||||||
and overriding of the 'cursor_factory' argument. Thanks to
|
and overriding of the 'cursor_factory' argument. Thanks to
|
||||||
Corry Haines for the report and the initial patch (ticket #105).
|
Corry Haines for the report and the initial patch (ticket #105).
|
||||||
|
@ -21,12 +27,12 @@ What's new in psycopg 2.4.6
|
||||||
(ticket #113).
|
(ticket #113).
|
||||||
- 'register_hstore()', 'register_composite()', 'tpc_recover()' work with
|
- 'register_hstore()', 'register_composite()', 'tpc_recover()' work with
|
||||||
RealDictConnection and Cursor (ticket #114).
|
RealDictConnection and Cursor (ticket #114).
|
||||||
|
- Fixed broken pool for Zope (tickets #123, #125).
|
||||||
- connect() raises an exception instead of swallowing keyword arguments
|
- connect() raises an exception instead of swallowing keyword arguments
|
||||||
when a connection string is specified as well (ticket #131).
|
when a connection string is specified as well (ticket #131).
|
||||||
- Discard any result produced by 'executemany()' (ticket #133).
|
- Discard any result produced by 'executemany()' (ticket #133).
|
||||||
- Fixed pickling of FixedOffsetTimezone objects (ticket #135).
|
- Fixed pickling of FixedOffsetTimezone objects (ticket #135).
|
||||||
- Release the GIL around PQgetResult calls after COPY (ticket #140).
|
- Release the GIL around PQgetResult calls after COPY (ticket #140).
|
||||||
- 'errorcodes' map updated to PostgreSQL 9.2.
|
|
||||||
|
|
||||||
|
|
||||||
What's new in psycopg 2.4.5
|
What's new in psycopg 2.4.5
|
||||||
|
|
|
@ -52,7 +52,7 @@ The ``connection`` class
|
||||||
details.
|
details.
|
||||||
|
|
||||||
.. versionchanged:: 2.4.3 added the *withhold* argument.
|
.. versionchanged:: 2.4.3 added the *withhold* argument.
|
||||||
.. versionchanged:: 2.4.6 added the *scrollable* argument.
|
.. versionchanged:: 2.5 added the *scrollable* argument.
|
||||||
|
|
||||||
.. extension::
|
.. extension::
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,7 @@ The ``cursor`` class
|
||||||
`connection.cursor()` *scrollable* parameter, otherwise the value
|
`connection.cursor()` *scrollable* parameter, otherwise the value
|
||||||
will have no effect.
|
will have no effect.
|
||||||
|
|
||||||
.. versionadded:: 2.4.6
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
.. extension::
|
.. extension::
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ Additional data types
|
||||||
JSON_ adaptation
|
JSON_ adaptation
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. versionadded:: 2.4.6
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
Psycopg can adapt Python objects to and from the PostgreSQL |pgjson|_ type.
|
Psycopg can adapt Python objects to and from the PostgreSQL |pgjson|_ type.
|
||||||
With PostgreSQL 9.2 adaptation is available out-of-the-box. To use JSON data
|
With PostgreSQL 9.2 adaptation is available out-of-the-box. To use JSON data
|
||||||
|
@ -328,7 +328,7 @@ requires no adapter registration.
|
||||||
|
|
||||||
.. versionchanged:: 2.4.3
|
.. versionchanged:: 2.4.3
|
||||||
added support for array of composite types
|
added support for array of composite types
|
||||||
.. versionchanged:: 2.4.6
|
.. versionchanged:: 2.5
|
||||||
added the *factory* parameter
|
added the *factory* parameter
|
||||||
|
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ requires no adapter registration.
|
||||||
|
|
||||||
.. automethod:: make
|
.. automethod:: make
|
||||||
|
|
||||||
.. versionadded:: 2.4.6
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
Object attributes:
|
Object attributes:
|
||||||
|
|
||||||
|
@ -348,7 +348,7 @@ requires no adapter registration.
|
||||||
|
|
||||||
The schema where the type is defined.
|
The schema where the type is defined.
|
||||||
|
|
||||||
.. versionadded:: 2.4.6
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
.. attribute:: oid
|
.. attribute:: oid
|
||||||
|
|
||||||
|
@ -379,7 +379,7 @@ requires no adapter registration.
|
||||||
Range data types
|
Range data types
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. versionadded:: 2.4.6
|
.. versionadded:: 2.5
|
||||||
|
|
||||||
Psycopg offers a `Range` Python type and supports adaptation between them and
|
Psycopg offers a `Range` Python type and supports adaptation between them and
|
||||||
PostgreSQL |range|_ types. Builtin |range| types are supported out-of-the-box;
|
PostgreSQL |range|_ types. Builtin |range| types are supported out-of-the-box;
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -73,7 +73,7 @@ except ImportError:
|
||||||
# Take a look at http://www.python.org/dev/peps/pep-0386/
|
# Take a look at http://www.python.org/dev/peps/pep-0386/
|
||||||
# for a consistent versioning pattern.
|
# for a consistent versioning pattern.
|
||||||
|
|
||||||
PSYCOPG_VERSION = '2.4.6.dev0'
|
PSYCOPG_VERSION = '2.5.dev0'
|
||||||
|
|
||||||
version_flags = ['dt', 'dec']
|
version_flags = ['dt', 'dec']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user