1.12. 1.3.x分支¶
警告
1.3.x分支 受中描述的问题的影响 CVE-2014-2668:DoS(CPU和内存消耗),通过/uuids的count参数 . 强烈建议升级到较新的版本。
1.12.1. 升级说明¶
您可以将现有的couchdb1.0.x安装升级到1.3.0,而无需任何特定步骤或迁移。当您运行CouchDB时,现有的数据和索引文件将被打开并正常使用。
第一次在1.3.0中对数据库运行压缩例程时,数据结构和索引将更新为CouchDB数据库格式的新版本,该格式只能由couchdb1.3.0及更高版本读取。这一步是不可逆的。一旦数据文件被更新并迁移到新版本,数据文件将不再适用于couchdb1.0.x版本。
警告
如果希望保留对在couchdb1.0.x中打开数据文件的支持,则必须在执行升级和压缩过程之前备份数据文件。
1.12.2. 1.3.1版¶
1.12.2.1. 复制因子¶
- COUCHDB-1788: Tolerate missing source and target fields in _replicator docs. #869f42e2
1.12.2.2. 日志系统¶
- COUCHDB-1794 :修复1.3.0中警告级别日志记录中的错误。
- 不要记录丢失的.compact文件。 #06f1a8dc
1.12.2.3. 查看服务器¶
- COUCHDB-1792: Fix the -S option to couchjs to increase memory limits. #cfaa66cd
1.12.2.4. 其他¶
- COUCHDB-1784: Improvements to test suite and VPATH build system. #01afaa4f
- 改进文档:更好的结构,改进语言,减少重复。
1.12.3. 版本1.3.0¶
1.12.3.1. 数据库核心¶
- COUCHDB-1512: Validate bind address before assignment. #09ead8a0
- 恢复
max_document_size
保护。 #bf1eb135
1.12.3.2. 文档¶
- COUCHDB-1523 :导入CouchBase文档并将其转换为 Sphinx docs
1.12.3.3. 蒲团¶
- COUCHDB-509: Added view request duration to Futon. #2d2c7d1e
- COUCHDB-627: Support all timezones. #b1a049bb
- COUCHDB-1383: Futon view editor won't allow you to save original view after saving a revision. #ce48342
- COUCHDB-1470: Futon raises pop-up on attempt to navigate to missed/deleted document. #5da40eef
- COUCHDB-1473, COUCHDB-1472: Disable buttons for actions that the user doesn't have permissions to. #7156254d
1.12.3.4. HTTP接口¶
- COUCHDB-431: Introduce experimental CORS support. #b90e4021
- COUCHDB-764, COUCHDB-514, COUCHDB-430: Fix sending HTTP headers from
_list
function, #2a74f88375 - COUCHDB-887: Fix
bytes
andoffset
parameters semantic for _log resource (explanation) #ad700014 - COUCHDB-986: Added Server-Sent Events protocol to db changes API. See http://www.w3.org/TR/eventsource/ for details. #093d2aa6
- COUCHDB-1026: Database names are encoded with respect of special characters in the rewriter now. #272d6415
- COUCHDB-1097: Allow OPTIONS request to shows and lists functions. #9f53704a
- COUCHDB-1210: Files starting with underscore can be attached and updated now. #05858792
- COUCHDB-1277: Better query parameter support and code clarity:
#7e3c69ba
- 对通过表单数据创建/修改的文档的响应 POST 发送至/db/doc或复制 COPY 现在应该包括 Location 标题。
- 现在包括数据库/过帐数据表 ETag 响应头。
?batch=ok
现在支持 COPY 和 POST /数据库/文档更新。?new_edits=false
现在支持更多操作。
- COUCHDB-1285: Allow configuration of vendor and modules version in CouchDB welcome message. #3c24a94d
- COUCHDB-1321: Variables in rewrite rules breaks OAuth authentication. #c307ba95
- COUCHDB-1337: Use MD5 for attachment ETag header value. #6d912c9f
- COUCHDB-1381: Add jquery.couch support for Windows 8 Metro apps. #dfc5d37c
- COUCHDB-1441: Limit recursion depth in the URL rewriter. Defaults to a maximum of 100 invocations but is configurable. #d076976c
- COUCHDB-1442: No longer rewrites the X-CouchDB-Requested-Path during recursive calls to the rewriter. #56744f2f
- COUCHDB-1501: Changes feed now can take special parameter
since=now
to emit changes since current point of time. #3bbb2612 - COUCHDB-1502: Allow users to delete own _users doc. #f0d6f19bc8
- COUCHDB-1511: CouchDB checks roles field for _users database documents with more care. #41205000
- COUCHDB-1537: Include user name in show/list ETags. #ac320479
- 发送202响应 _restart . #b213e16f
- 使用/u config/admins API时使密码哈希同步。 #08071a80
- 添加对CouchDB服务单个文件的支持, #2774531ff2
- 允许任何2xx代码表示成功, #0d50103cfd
- 固定 _session 对于IE7。
- 恢复空PUT的400错误, #2057b895
- 返回
X-Couch-Id
如果创建了单据,则为页眉, #98515bf0b9 - 支持auth cookies
:
角色, #d9566c831d
1.12.3.5. 日志系统¶
- COUCHDB-1380 :logrotate支持的小补丁。
- 改进了文件处理和I/O记录, #4b6475da
- 模块级日志记录, #b58f069167
- 在错误级别记录5xx响应, #e896b0b7
- 以错误级别打开数据库时出现的日志问题(自动创建的系统数据库除外), #41667642f7
1.12.3.6. 复制因子¶
- COUCHDB-1248: HTTP 500 error now doesn't occurs when replicating with
?doc_ids=null
. #bea76dbf - COUCHDB-1259: Stabilize replication id, #c6252d6d7f
- COUCHDB-1323: Replicator now acts as standalone application. #f913ca6e
- COUCHDB-1363: Fix rarely occurred, but still race condition in changes feed if a quick burst of changes happens while replication is starting the replication can go stale. #573a7bb9
- COUCHDB-1557 :升级一些代码以使用BIFs为复制带来了很好的改进。
1.12.3.7. 安全性¶
- COUCHDB-1060: Passwords are now hashed using the PBKDF2 algorithm with a configurable work factor. #7d418134
1.12.3.9. 存储系统¶
- 修复了在同一批中删除和创建文档时不必要的冲突。
1.12.3.10. 测试套件¶
- COUCHDB-1321 :已将JS测试套件移至CLI。
- COUCHDB-1338: Start CouchDB with
port=0
. While CouchDB might be already running on the default port 5984, port number 0 let the TCP stack figure out a free port to run. #127cbe3 - COUCHDB-1339: Use shell trap to catch dying beam processes during test runs. #2921c78
- COUCHDB-1389 :JS CLI测试打印的改进的回溯。
- COUCHDB-1563: Ensures urlPrefix is set in all ajax requests. #07a6af222
- 修复在更快的硬件上运行测试的竞争条件。
- 提高了一些测试的可靠性。
1.12.3.11. URL重写器和Vhosts¶
- COUCHDB-1026: Database name is encoded during rewriting (allowing embedded /'s, etc). #272d6415
1.12.3.12. UUID算法¶
- COUCHDB-1373: Added the utc_id algorithm #5ab712a2
1.12.3.13. 查询和查看服务器¶
- COUCHDB-111: Improve the errors reported by the JavaScript view server to provide a more friendly error report when something goes wrong. #0c619ed
- COUCHDB-410 :JavaScript validate_doc_update函数的错误处理更加优雅。
- COUCHDB-1372 : _stats 内置的reduce函数不再为空视图结果生成错误。
- COUCHDB-1444: Fix missed_named_view error that occurs on existed design documents and views. #b59ac98b
- COUCHDB-1445 :CouchDB如果无法打开视图文件,则不再尝试删除它,即使错误是 emfile .
- COUCHDB-1483: Update handlers requires valid doc ids. #72ea7e38
- COUCHDB-1491: Clean up view tables. #c37204b7
- 不推荐E4X支持, #cdfdda2314
1.12.3.14. Windows¶
- COUCHDB-1482: Use correct linker flag to build snappy_nif.dll on Windows. #a6eaf9f1
- 允许在窗户上干净无卷曲, #fb670f5712