Couchdbkit version 0.2.2 released

New release for Couchdbkit. This release fix a lot of oddities from previous version.

You can download latest release on Pypi or check download page for other ways.

New features :

  • Depends on new restkit 0.8.4 witch improve error handling and performances.
  • Create a Database object from full url without passing dbname in `Database.from_uri` function Database.from_uri(“http://127.0.0.1:5984/couchdbkit_test”)
  • Use of anyjson for serializing. It allows you to choose the json serializer you need. It also means that if you don’t use python 2.6 or above you will need to install one.
  • add support for update and filters functions in loader. (backport from couchapp)
  • Add simple replication handler in server object

Fixes :

  • update doc
  • Don’t reserver `type` property
  • Fix view results params
  • Remove malformed views when uploading with loaders
  • Make sure rev is updated afetr we delete an attachment
  • Make sure we don’t reencode urls
  • Some fixes in django extension
  • Make ListProperty & DictProperty lazy

Breaking Changes

The module `couchdbkit.session` don’t exist anymore. Couchdbkit is now threadsafe by default due to last change in restkit . You don’t need now to use `create_session`to make the db object threadsafe or to apply it to your 'couchdbkit.schema.Document` object. `Session.contain` has been replaced by `couchdbkit.schema.contain` function.

The tutorial has been updated to reflect this.

blog comments powered by Disqus