This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 7027ee7 Fix version for rewrites as a function (#314)
7027ee7 is described below
commit 7027ee7dcf01f321427e1059bfd31078f387bdf4
Author: BigBlueHat <[email protected]>
AuthorDate: Thu Aug 9 22:18:02 2018 -0400
Fix version for rewrites as a function (#314)
* Fix version for rewrites as a function using versionadded macro
Follow-up to https://github.com/apache/couchdb/issues/1410
---
src/api/ddoc/rewrites.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/api/ddoc/rewrites.rst b/src/api/ddoc/rewrites.rst
index ba9dc27..6ff8bad 100644
--- a/src/api/ddoc/rewrites.rst
+++ b/src/api/ddoc/rewrites.rst
@@ -28,8 +28,9 @@
Using a stringified function for ``rewrites``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- *The 'Rewrite using JS' feature was introduced in CouchDB 1.7*. When the
- ``rewrites`` field is a stringified function, the query server is used
+.. versionadded:: 2.0
+
+ When the ``rewrites`` field is a stringified function, the query server is
used
to pre-process and route requests.
The function takes a :ref:`request2_object`.