Couchdb

Latest version: v1.2

Safety actively analyzes 682532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.3

-------------------------

* The ``schema.Document`` class now has a ``view()`` method that can be used to
execute a CouchDB view and map the result rows back to objects of that
schema.
* The test suite now uses the new default port of CouchDB, 5984.
* Views now return proxy objects to which you can apply slice syntax for
"key", "startkey", and "endkey" filtering.
* Add a ``query()`` classmethod to the ``Document`` class.

0.2

--------------------------

* Added __len__ and __iter__ to the ``schema.Schema`` class to iterate
over and get the number of items in a document or compound field.
* The "version" property of client.Server now returns a plain string
instead of a tuple of ints.
* The client library now identifies itself with a meaningful
User-Agent string.
* ``schema.Document.store()`` now returns the document object instance,
instead of just the document ID.
* The string representation of ``schema.Document`` objects is now more
comprehensive.
* Only the view parameters "key", "startkey", and "endkey" are JSON
encoded, anything else is left alone.
* Slashes in document IDs are now URL-quoted until CouchDB supports
them.
* Allow the content-type to be passed for temp views via
``client.Database.query()`` so that view languages other than
Javascript can be used.
* Added ``client.Database.update()`` method to bulk insert/update
documents in a database.
* The view-server script wrapper has been renamed to ``couchpy``.
* ``couchpy`` now supports ``--help`` and ``--version`` options.
* Updated for compatibility with CouchDB release 0.7.0.

0.1

--------------------------

* First public release.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.