Commit e4b88ec2 authored by Jim Fulton's avatar Jim Fulton

- Added support for wrapper storages that transform pickle data.

  Applications for this include compression and encryption.  An
  example wrapper storage implementation, ZODB.tests.hexstorage, was
  included for testing.

It is important that storage implementations not assume that
  storages contain pickles.  Renamed IStorageDB to IStorageWrapper and
  expanded it to provide methods for transforming and untransforming
  data records.  Storages implementations should use these methods to
  get pickle data from stored records.

- Deprecated ZODB.interfaces.StorageStopIteration.  Storage
  iterator implementations should just raise StopIteration, which
  means they can now be implemented as generators.
parent b686609b
......@@ -37,6 +37,21 @@ New Features
new option (large_record_size/large-record-size) to control the
record size at which the warning is issued.
- Added support for wrapper storages that transform pickle data.
Applications for this include compression and encryption. An
example wrapper storage implementation, ZODB.tests.hexstorage, was
included for testing.
It is important that storage implementations not assume that
storages contain pickles. Renamed IStorageDB to IStorageWrapper and
expanded it to provide methods for transforming and untransforming
data records. Storages implementations should use these methods to
get pickle data from stored records.
- Deprecated ZODB.interfaces.StorageStopIteration. Storage
iterator implementations should just raise StopIteration, which
means they can now be implemented as generators.
- The file-storage backup script, repoze, will now create a backup
index file if an output file name is given via the --output/-o
option.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment