flimzy commented on a change in pull request #353: Add 2.3.x release notes URL: https://github.com/apache/couchdb-documentation/pull/353#discussion_r234124501
########## File path: src/whatsnew/2.3.rst ########## @@ -0,0 +1,265 @@ +.. Licensed under the Apache License, Version 2.0 (the "License"); you may not +.. use this file except in compliance with the License. You may obtain a copy of +.. the License at +.. +.. http://www.apache.org/licenses/LICENSE-2.0 +.. +.. Unless required by applicable law or agreed to in writing, software +.. distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +.. WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +.. License for the specific language governing permissions and limitations under +.. the License. + +.. _release/2.3.x: + +============ +2.3.x Branch +============ + +.. contents:: + :depth: 1 + :local: + +.. _release/2.3.x/upgrade: + +Upgrade Notes +============= + +.. rst-class:: open + +* :ghissue:`1602`: To improve security, there has been a major change in the + configuration of query servers, SSL support, and HTTP global handlers: + + 1. Query servers + + Query servers are NO LONGER DEFINED in the .ini files, and can + no longer be altered at run-time. + + The javascript and coffeescript query servers continue to be enabled + by default. Setup differences have been moved from default.ini to + the couchdb and couchdb.cmd start scripts respectively. + + Additional query servers can now be configured using environment + variables: + + .. code-block:: bash + + export COUCHDB_QUERY_SERVER_PYTHON="/path/to/python/query/server.py with args" + couchdb + + where the last segment in the environment variable (``_PYTHON``) matches + the usual lowercase(!) query language in the design doc + ``language`` field (here, ``python``.) + + Multiple query servers can be configured by using more environment + variables. + + You can also override the default servers if you need to set command- + line options (such as ``couchjs`` stack size): + + .. code-block:: bash + + export COUCHDB_QUERY_SERVER_JAVASCRIPT="/path/to/couchjs /path/to/main.js -S <STACKSIZE>" + couchdb + + 2. Native Query Servers + + The mango query server continues to be enabled by default. The erlang + query server continues to be disabled by default. This change adds + a ``[native_query_servers] enable_erlang_query_server = BOOL`` setting + (defaults to ``false``) to enable the erlang query server. Review comment: ```suggestion (defaults to ``false``) to enable the Erlang query server. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
