You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2025/09/01 07:13:16 UTC
(couchdb) 01/01: chore: Use SpiderMonkey v128 as default version
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch jenkins-sm-v128-default-version
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 2db3810c543fcaa2977cecba837703ff4dbfcae7
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Sat Aug 16 09:38:38 2025 +0200
chore: Use SpiderMonkey v128 as default version
---
configure | 2 +-
configure.ps1 | 4 ++--
src/couch/rebar.config.script | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 928e71379..08642ebda 100755
--- a/configure
+++ b/configure
@@ -40,7 +40,7 @@ run_erlang() {
COUCHDB_USER="$(whoami 2>/dev/null || echo couchdb)"
JS_ENGINE=${JS_ENGINE:-"spidermonkey"}
-SM_VSN=${SM_VSN:-"91"}
+SM_VSN=${SM_VSN:-"128"}
CLOUSEAU_MTH=${CLOUSEAU_MTH:-"dist"}
CLOUSEAU_URI=${CLOUSEAU_URI:-"https://github.com/cloudant-labs/clouseau/releases/download/%s/clouseau-%s-dist.zip"}
CLOUSEAU_VSN=${CLOUSEAU_VSN:-"2.25.0"}
diff --git a/configure.ps1 b/configure.ps1
index c7c730c70..b1231540a 100644
--- a/configure.ps1
+++ b/configure.ps1
@@ -12,7 +12,7 @@
-WithClouseau build the Clouseau search module (default false)
-SkipDeps do not update Erlang dependencies (default false)
-CouchDBUser USER set the username to run as (defaults to current user)
- -SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (default 91)
+ -SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (default 128)
-JSEngine ENGINE select JS engine to use (spidermonkey or quickjs) (default spidermonkey)
-ClouseauVersion VSN select the version of Clouseau to use (default 2.25.0)
-ClouseauMethod MTH method for Clouseau to deploy: git or dist (default dist)
@@ -60,7 +60,7 @@ Param(
[ValidateNotNullOrEmpty()]
[string]$CouchDBUser = [Environment]::UserName, # set the username to run as (defaults to current user)
[ValidateNotNullOrEmpty()]
- [string]$SpiderMonkeyVersion = "91", # select the version of SpiderMonkey to use (default 91)
+ [string]$SpiderMonkeyVersion = "128", # select the version of SpiderMonkey to use (default 91)
[ValidateNotNullOrEmpty()]
[string]$JSEngine = "spidermonkey", # select the JS engine (spidermonkey | quickjs) to use (default spidermonkey)
[ValidateNotNullOrEmpty()]
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index c4e0b7a7e..0216c38c9 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -98,12 +98,12 @@ SMVsn = case lists:keyfind(spidermonkey_version, 1, CouchConfig) of
{_, "128"} ->
"128";
undefined ->
- "91";
+ "128";
{_, Unsupported} ->
io:format(standard_error, "Unsupported SpiderMonkey version: ~s~n", [Unsupported]),
erlang:halt(1);
false ->
- "91"
+ "128"
end.
ConfigH = [