All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
See also latest documentation
2.0.0 - 2018/11/26
- Added support for Python 3.5+
- Removed support for Python 2
- Tested support for version 2.5.0 of Sync Gateway.
1.2.0 - 2018/10/20
Document.get_open_revisions()
added to load all leaf revisions of a Document.Database.bulk_docs()
added for updating multiple documents and deleting open revisions.
1.1.1 - 2018/08/17
- Extended linting to include
flake8-aaa
to lint tests.
- Bumped version of
requests
in requirements to2.19.1
, but kept requirement insetup.py
the same at>=2.18
. - Improved output in stacktraces when
RevisionMismatch
is raised. Now includes URL of resource and any revision number that was sent.
1.1.0 - 2018/05/23
Adjusted how provided
key
values are serialized when querying a view in a Query design document. Nowkey
values are serialized to JSON allowing for multi-key views to be queried.This is a breaking change because any single key value was previously converted to a string before serialization to JSON. Now
key
is serialized to JSON directly inQuery.query_view()
.
1.0.0 - 2018/04/09
Stable release.
- Extended test suite to include initial smoke tests on Python 3 which assert that package is installable.
0.2.0 - 2018/04/04
Database.get_query()
shortcut for loading Query documents.- New
Session
class which operates on a Database. AdditionalDatabase.get_session()
shortcut for loading Sessions.
- Adjust Resource's data dict instance to raise
InvalidDataKey
rather thanAssertionError
when a prohibited key is added.
- Module documentation added to git and RTD.
- Bandit to test security. As a result removed many uses of
assert
in code. - Initialisation of Document and Database simplified.
Initial beta release.