This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 1fe7ab175 chore: Use SpiderMonkey v128 as default version (#5624)
1fe7ab175 is described below

commit 1fe7ab17515622339fc37e26ea935a367c88984e
Author: Ronny Berndt <[email protected]>
AuthorDate: Tue Dec 16 07:49:26 2025 +0100

    chore: Use SpiderMonkey v128 as default version (#5624)
---
 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 f0433f515..5274f7230 100755
--- a/configure
+++ b/configure
@@ -41,7 +41,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:-"3.0.0"}
diff --git a/configure.ps1 b/configure.ps1
index 886136071..948a2414f 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 1c9809902..68c845a4a 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 = [

Reply via email to