3.0.1 & 3.1.0

Dear community,

Apache CouchDB 3.0.1 & 3.1.0 have been released and is available for download.

Apache CouchDB™ lets you access your data where you need it. The Couch Replication Protocol is implemented in a variety of projects and products that span every imaginable computing environment from globally distributed server-clusters, over mobile phones to web browsers.

Store your data safely, on your own servers, or with any leading cloud provider. Your web- and native applications love CouchDB, because it speaks JSON natively and supports binary data for all your data storage needs.

The Couch Replication Protocol lets your data flow seamlessly between server clusters to mobile phones and web browsers, enabling a compelling offline-first user-experience while maintaining high performance and strong reliability. CouchDB comes with a developer-friendly query language, and optionally MapReduce for simple, efficient, and comprehensive data retrieval.


https://couchdb.apache.org/#download

Pre-built packages for Windows, macOS, Debian/Ubuntu and RHEL/CentOS are available for the 3.1.0 version and Debian/Ubuntu and RHEL/CentOS package are available for the 3.0.1 version; Windows and macOS will be added shortly.

* * *

CouchDB 3.0.1 is a bugfix release, and was originally published on 2020-05-05.

See the official release notes document for an exhaustive list of all changes:

http://docs.couchdb.org/en/stable/whatsnew/3.0.html#version-3.0.1

CouchDB 3.1.0 is a feature release, and was originally published on 2020-05-05.

See the official release notes document for an exhaustive list of all changes:

http://docs.couchdb.org/en/stable/whatsnew/3.1.html#version-3.1.0

The community would like to thank all contributors for their part in making this release, from the smallest bug report or patch to major contributions in code, design, or marketing, we couldn’t have done it without you!

The CouchDB team recommends that everyone who runs version 3.0.0 upgrades to version 3.1.0. However we understand that there are certain users with stricter upgrade policies in place, which is why we also provide 3.0.1 as a pure bugfix release.

Release highlights (3.0.1 & 3.1.0):

  • #2441: A memory leak when encoding large binary content was patched. This should resolve a long-standing gradual memory increase bug in CouchDB.
  • #2654: Filtered changes feeds that need to rewind partially should no longer rewind all the way to the beginning of the feed.
  • #2690: Nodes that re-enter a cluster after a database was created (while the node was offline or in maintenance mode) should more correctly handle creating local replicas of that database.
  • #2716, #2738: The remsh utility will now try and guess the node name and Erlang cookie of the local installation. It will also respect the COUCHDB_ARGS_FILE environment variable.
  • #2756: SpiderMonkey 60+ will no longer corrupt UTF-8 strings when various JS functions are applied to them.
  • Multiple test case improvements, including more ports of JS tests to Elixir.

Release highlights (3.1.0 only):

  • #2648: Authentication via JSON Web Token (JWT). Full documentation is at the friendly link.

  • #2770: CouchDB now supports linking against SpiderMonkey 68, the current Mozilla SpiderMonkey ESR release. This provides direct support for packaging on the latest operating system variants, including Ubuntu 20.04 “Focal Fossa.”

  • #2754: Optimized compactor performance, resulting in a 40% speed improvement when document revisions approach the revs_limit. The fixes also include additional metrics on size tracking during the sort and copy phases, accessible via the :get:`GET /_active_tasks </active_tasks>` endpoint.

On behalf of the CouchDB PMC,
Joan Touzet & Jan Lehnardt

5 thoughts on “3.0.1 & 3.1.0

  1. 0

    I not able to use mango queries with pouchDB in reactjs. I have scoured the whole internet for a suitable answer but couldn’t find one.

    For example the docs here https://pouchdb.com/guides/mango-queries.html is outdated as mentioned here https://github.com/nolanlawson/pouchdb-find that pouchdb-find is now merged with pouchdb.

    So I tried using pouchdb-find plugin with both pouchdb & pouchdb-browser. It just doesnt work. Any help will be really great. Thanks!

    Options tried so far:

    Option1

    import PouchDB from ‘pouchdb’;
    import pouchAuth from ‘pouchdb-authentication’;
    PouchDB.plugin(pouchAuth);
    PouchDB.plugin(require(‘pouchdb-find’).default);
    Option2

    import PouchDB from ‘pouchdb’;
    import pouchAuth from ‘pouchdb-authentication’;
    import pouchFind from ‘pouchdb-find’;
    PouchDB.plugin(pouchAuth);
    PouchDB.plugin(pouchFind’);
    Option3

    import PouchDB from ‘pouchdb-browser’;
    import pouchAuth from ‘pouchdb-authentication’;
    import pouchFind from ‘pouchdb-find’;
    PouchDB.plugin(pouchAuth);
    PouchDB.plugin(pouchFind’);
    Option4

    import PouchDB from ‘pouchdb’;
    import pouchAuth from ‘pouchdb-authentication’;
    PouchDB.plugin(pouchAuth);

    • just a heads up, you probably won’t get a good answer here. Check out the “discuss” section of the PouchDB website footer for better places to ask

      • Thanks for your reply but the problem is that I cant find answer to this online & none of the avenues in their discuss section work. All of them are outdated & stale.

        I cant find any community around couchdb & pouchdb to get help from when stuck. What can we do about this?

Leave a Reply to Balkrishna Agarwal Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s