Tags: aio-libs/aiocouchdb
Tags
This is the maintenance release that mostly holds bug fixes, but still important ones, so upgrade is highly recommended! Changes so far: - First release in aio-libs organization (: - Add context managers for response and feeds objects to release connection when work with them is done - Use own way to handle JSON responses that doesn't involves chardet usage - Add HTTPSession object that helps to apply the same auth credentials and TCP connector for the all further requests made with it - aiocouchdb now uses own request module which is basically fork of aiohttp one - AuthProviders API upgraded for better workflow - Fix _bulk_docs request with new_edit - Workaround COUCHDB-2295 by calculating multipart request body - Allow to pass event loop explicitly to every major objects - Fix parameters for Server.replicate method - Minor fixes for docstrings - Quite a lot of changes in Makefile commands for better life - Minimal requirements for aiohttp raised up to 0.17.4 version
This release comes with support of the recent aiohttp dependency vers… …ions and covers the last bits of CouchDB 1.x API. - Greatly improved multipart module, added multipart writer - Document.update now supports multipart requests to upload multiple attachments in single request - Added Proxy Authentication provider - Minimal requirements for aiohttp raised up to 0.14.0 version
0.8 release: Code restructure and cleanup This release aimed mostly to clean code base style by following pylint and flake8 recommendations. Project structure now is ready to receive support of upcoming CouchDB 2.0 release and other related services like Cloudant as well. Additionally, this release fixes two serious bugs related to changes feeds and multipart document update. Possibly breaking changes: - Source tree was refactored in the way to support multiple major CouchDB versions as like as the other friendly forks - Database create and delete methods now return exact the same response as CouchDB sends back - Each module now contains __all__ list to normalize their exports Other changes: - API classes and Resource now has nicer __repr__ output - Better error messages format - Fix function_clause error on attempt to update a document with attachments by using multipart request - Document.update doesn't makes document's dict invalid for further requests after multipart one - Fixed accidental payload sent with HEAD/GET/DELETE requests which caused connection close from CouchDB side - Added integration with Travis CI - Code cleaned by following pylint and flake8 notices - Added short tutorial for documentation - Minor fixes and Makefile improvements
0.6 release: functional testing and bug fixing Work on this release was focused to ensuring that the implementation is actually works against real CouchDB instance. The functional tests helped a lot and found several bugs which were existed in the test suite. Also aiocouchdb received several helper features to simply it usage in real. Braking changes: - All remove(...) methods are renamed to delete(...) ones - Remove redundant longnamed database/document/attachment constructors Other changes: - Adopt test suite to run against real CouchDB instance - Database, documents and attachments now provides access to their name/id - Construct Database/Document/Attachment instances through __getitem__ protocol - Add Document.rev method to get current document`s revision - Add helpers to work with authentication database (_users) - Add optional limitation of feeds buffer - Add support for config option existence check - Correctly set members for database security - Fix requests with Accept-Ranges header against attachments - Fix views requests when startkey/endkey should be null - Allow to pass custom query parameters and request headers onto changes feed request - Handle correctly HTTP 416 error response - Minor code fixes and cleanup
PreviousNext