Skip to content

Commit

Permalink
Merge pull request #68 from zodb/sphinx-doc
Browse files Browse the repository at this point in the history
Move docs to Sphinx; simplify README.rst presented on PyPI.
  • Loading branch information
jamadden committed Jun 22, 2016
2 parents 4209021 + cad8241 commit 62f568b
Show file tree
Hide file tree
Showing 24 changed files with 1,786 additions and 906 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ eggs/
include/
lib/
parts/

doc/_build
doc/__pycache__
doc/relstorage.*.rst
doc/changelog.rst
103 changes: 59 additions & 44 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
=========
Changes
=========


1.7.0a1 (Unreleased)
--------------------
====================

- Update the ZODB dependency from ZODB3 3.7.0 to ZODB 4.3.1. Support
for ZODB older than 3.10 has been removed; ZODB 3.10 may work, but
Expand All @@ -9,7 +14,7 @@

- Add support for PyPy on MySQL and PostgreSQL using PyMySQL and
psycopg2cffi respectively. PyPy can be substantially faster than
CPython in some scenarios; see `PR 23`_.
CPython in some scenarios; see :pr:`23`.

- Add initial support for Python 3.4+ for MySQL using mysqlclient, PostgreSQL,
and Oracle.
Expand All @@ -27,69 +32,61 @@
RelStorages.

- zodbconvert: The ``--incremental`` option is supported with a
RelStorage as a destination. See `PR 22`_. With contributions by
RelStorage as a destination. See :pr:`22`. With contributions by
Sylvain Viollon, Mauro Amico, and Peter Jacobs. Originally reported
by Jan-Wijbrand Kolman.

- Raise a specific exception when acquiring the commit or pack locks
fails. See `PR 18`_.
fails. See :pr:`18`.

- PostgreSQL 9.3: Support ``commit-lock-timeout``. Contributed in `PR
20`_ by Sean Upton.
- PostgreSQL 9.3: Support ``commit-lock-timeout``. Contributed in :pr:`20`
by Sean Upton.

- ``RelStorage.lastTransaction()`` is more consistent with FileStorage
and ClientStorage, returning a useful value in more cases.

- Oracle: Add support for getting the database size. Contributed in
`PR 21`_ by Mauro Amico.
:pr:`21` by Mauro Amico.

- Oracle: Packing should no longer produce LOB errors. This partially
reverts the speedups in 1.6.0b2. Reported in `issue 30`_ by Peter
reverts the speedups in 1.6.0b2. Reported in :issue:`30` by Peter
Jacobs.

- PostgreSQL: ``zodbconvert --clear`` should be much faster when the
destination is a PostgreSQL schema containing lots of data. *NOTE*:
There can be no other open RelStorage connections to the destination,
or any PostgreSQL connection in general that might be holding locks
on the RelStorage tables, or ``zodbconvert`` will block indefinitely
waiting for the locks to be release. Partial fix for `issue 16`_
waiting for the locks to be release. Partial fix for :issue:`16`
reported by Chris McDonough.

- MySQL: Use the "binary" character set to avoid producing "Invalid
utf8 character string" warnings. See `issue 57`_.
utf8 character string" warnings. See :issue:`57`.

- Conflict resolution uses the locally cached state instead of
re-reading it from the database (they are guaranteed to be the
same). See `issue 38`_.
same). See :issue:`38`.

- Conflict resolution reads all conflicts from the database in one
query, instead of querying for each individual conflict. See `issue 39`_.

.. _`PR 18`: https://github.com/zodb/relstorage/pull/18/
.. _`PR 20`: https://github.com/zodb/relstorage/pull/20
.. _`PR 21`: https://github.com/zodb/relstorage/pull/21
.. _`issue 30`: https://github.com/zodb/relstorage/issues/30
.. _`issue 16`: https://github.com/zodb/relstorage/issues/16
.. _`PR 22`: https://github.com/zodb/relstorage/pull/22
.. _`PR 23`: https://github.com/zodb/relstorage/pull/23/
.. _`issue 57`: https://github.com/zodb/relstorage/issues/57
.. _`issue 38`: https://github.com/zodb/relstorage/issues/38
.. _`issue 39`: https://github.com/zodb/relstorage/issues/39
query, instead of querying for each individual conflict. See :issue:`39`.


1.6.0b3 (2014-12-08)
--------------------
====================

- Packing: Significantly reduced the RAM consumed by graph traversal during
the pre_pack phase. (Tried several methods; encoded 64 bit IISets turned
out to be the most optimal.)


1.6.0b2 (2014-10-03)
--------------------
====================

- Packing: Used cursor.fetchmany() to make packing more efficient.


1.6.0b1 (2014-09-04)
--------------------
====================

- The local cache is now more configurable and uses ``zlib`` compression
by default.
Expand Down Expand Up @@ -135,8 +132,9 @@

- Fixed compatibility with persistent 4.0.5 and above.


1.5.1 (2011-11-12)
------------------
==================

- Packing: Lowered garbage collection object reference finding log level to
debug; this stage takes mere seconds, even in large sites, but could produce
Expand All @@ -151,8 +149,9 @@
- Just after installing the database schema, verify the schema was
created correctly. This affects MySQL in particular.


1.5.0 (2011-06-30)
------------------
==================

- PostgreSQL: Fixed another minor compatibility issue with PostgreSQL 9.0.
Packing raised an error when the client used old an version of libpq.
Expand All @@ -174,8 +173,9 @@
- zodbconvert: When copying a database containing blobs, ensure the source
blob file exists long enough to copy it.


1.5.0b2 (2011-03-02)
--------------------
====================

- Better packing based on experience with large databases. Thanks
to Martijn Pieters!
Expand Down Expand Up @@ -219,8 +219,9 @@
The code in the ZODB 3.8 version of ZODB.blob is not compatible with
BlobCacheLayout, leading to blob filename collisions.


1.5.0b1 (2011-02-05)
--------------------
====================

- Added a state_size column to object_state, making it possible
to query the size of objects without loading the state. The new
Expand All @@ -239,8 +240,9 @@
The new code is much faster for packing databases with deeply
nested objects.


1.5.0a1 (2010-10-21)
--------------------
====================

- Added an option to store ZODB blobs in the database. The option is
called "shared-blob-dir" and it behaves very much like the ZEO
Expand All @@ -249,8 +251,9 @@

- Require setuptools or distribute. Plain distutils is not sufficient.


1.4.2 (2011-02-04)
------------------
==================

- Fixed compatibility with ZODB 3.10. As reported by Jürgen Herrmann,
there was a problem with conflict errors. The RelStorage patch of the
Expand All @@ -264,14 +267,16 @@

- Enabled logging to stderr in zodbpack.


1.4.1 (2010-10-21)
------------------
==================

- Oracle: always connect in threaded mode. Without threaded mode,
clients of Oracle 11g sometimes segfault.


1.4.0 (2010-09-30)
------------------
==================

- Made compatible with ZODB 3.10.0b7.

Expand All @@ -283,8 +288,9 @@
- Fixed a NameError that occurred when getting the history of an
object where transaction extended info was set. [Helge Tesdal]


1.4.0c4 (2010-09-17)
--------------------
====================

- Worked around an Oracle RAC bug: apparently, in a RAC environment,
the read-only transaction mode does not isolate transactions in the
Expand All @@ -305,8 +311,9 @@
a chance to recover. The most likely causes of this are a broken
database and threading bugs.


1.4.0c3 (2010-07-31)
--------------------
====================

- Always update the RelStorage cache when opening a database connection for
loading, even when no ZODB Connection is using the storage. Otherwise,
Expand All @@ -318,8 +325,9 @@
sync method. This should help the poll-interval option do its job
better.


1.4.0c2 (2010-07-28)
--------------------
====================

- Fixed a subtle bug in the cache code that could lead to an
AssertionError indicating a cache inconsistency. The inconsistency
Expand All @@ -333,8 +341,9 @@
- Oracle: updated the migration notes. The relstorage_util package
is not needed after all.


1.4.0c1 (2010-06-19)
--------------------
====================

- History-preserving storages now replace objects on restore instead of
just inserting them. This should solve problems people were
Expand All @@ -358,21 +367,24 @@
since the default is apparently not necessarily "read committed"
anymore.


1.4.0b3 (2010-02-02)
--------------------
====================

- Auto-reconnect in new_oid().


1.4.0b2 (2010-01-30)
--------------------
====================

- Include all test subpackages in setup.py.

- Raise an error if MySQL reverts to MyISAM rather than using the InnoDB
storage engine.


1.4.0b1 (2009-11-17)
--------------------
====================

- Added the keep-history option. Set it to false to keep no history.
(Packing is still required for garbage collection and blob deletion.)
Expand Down Expand Up @@ -436,8 +448,9 @@

- Added the ``zodbpack`` script.


1.3.0b1 (2009-09-04)
--------------------
====================

- Added support for a blob directory. No BlobStorage wrapper is needed.
Cluster nodes will need to use a shared filesystem such as NFS or
Expand All @@ -446,8 +459,9 @@
- Added the blob-dir parameter to the ZConfig schema and README.txt.



1.2.0 (2009-09-04)
------------------
==================

- In Oracle, trim transaction descriptions longer than 2000 bytes.

Expand All @@ -458,8 +472,9 @@
it will now report the oid and tid in the log.



1.2.0b2 (2009-05-05)
--------------------
====================

- RelStorage now implements IMVCCStorage, making it compatible with
ZODB 3.9.0b1 and above.
Expand Down

0 comments on commit 62f568b

Please sign in to comment.