apache / couchdb

Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
https://couchdb.apache.org/
Apache License 2.0
6.2k stars 1.03k forks source link

Add some notes about JS engine compatibility issues #5221

Closed nickva closed 3 weeks ago

nickva commented 3 weeks ago

After scanning a few clusters, it turns out most incompatibilities were between Spidermonkey 1.8.5 and Spidermonkey 91. For CouchDB train has left the station on that mostly, as we've already been shipped SM 60, 78 and 91 versions. However, there are still users which may be stuck on older CouchDB 1.x instances and are planning to update, so for their benefit add the few known issues to the docs.

Also, document a few differences between QuickJS and SM 91, as well as a description on how to try QuickJS out and how to run the scanner.

nickva commented 3 weeks ago

@pgj thanks for taking a look, I made a PR with the fixes: https://github.com/apache/couchdb/pull/5225