Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Prepare docs for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
tlocke committed Mar 17, 2015
1 parent 97b712a commit 8ac74a5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.creole
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ There's a stress test that is run by doing:
python ./multi
}}}

The idea is to set {{{shared_buffers}} in postgresql.conf to 128kB, and then
The idea is to set {{{shared_buffers}}} in postgresql.conf to 128kB, and then
run the stress test, and you should get {{{no unpinned buffers}}} errors.

=Building The Documentation
Expand All @@ -100,7 +100,7 @@ and the docs will appear in {{{build/sphinx/html}}}.
=Doing A Release Of pg8000

Run {{{tox}}} and {{{run_25}}} to make sure all tests pass, then update
{{{doc/release_notes.rst}} then do:
{{{doc/release_notes.rst}}} then do:

{{{
git tag -a x.y.z -m "Version x.y.z"
Expand Down
32 changes: 32 additions & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
Release Notes
=============

Version 1.10.2, 2015-03-17
--------------------------
- If there's a socket exception thrown when communicating with the database,
it is now wrapped in an OperationalError exception, to conform to the DB-API
spec.

- Previously, pg8000 didn't recognize the EmptyQueryResponse (that the server
sends back if the SQL query is an empty string) now we raise a
ProgrammingError exception.

- Added socket timeout option for Python 3.

- If the server returns an error, we used to initialize the ProgramerException
with just the first three fields of the error. Now we initialize the
ProgrammerException with all the fields.

- Use relative imports inside package.

- User and database names given as bytes. The user and database parameters of
the connect() function are now passed directly as bytes to the server. If the
type of the parameter is unicode, pg8000 converts it to bytes using the uft8
encoding.

- Added support for JSON and JSONB Postgres types. We take the approach of
taking serialized JSON (str) as an SQL parameter, but returning results as
de-serialized JSON (Python objects). See the example in the Quickstart.

- Added CircleCI continuous integration.

- String support in arrays now allow letters like "u", braces and whitespace.


Version 1.10.1, 2014-09-15
--------------------------
- Add support for the Wheel package format.
Expand Down

0 comments on commit 8ac74a5

Please sign in to comment.