You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2026/05/08 22:29:16 UTC
(couchdb) branch 3.5.2-prep updated (f4415a50b -> a751ec431)
This is an automated email from the ASF dual-hosted git repository.
nickva pushed a change to branch 3.5.2-prep
in repository https://gitbox.apache.org/repos/asf/couchdb.git
discard f4415a50b Bump version to 3.5.2 and add release notes
discard 2c69e39dd 3.5.x backport of config:get_integer_or_infinity/2
new 45bd96fb1 3.5.x backport of config:get_integer_or_infinity/2
new a751ec431 Bump version to 3.5.2 and add release notes
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (f4415a50b)
\
N -- N -- N refs/heads/3.5.2-prep (a751ec431)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/config/src/config.erl | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
(couchdb) 02/02: Bump version to 3.5.2 and add release notes
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nickva pushed a commit to branch 3.5.2-prep
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit a751ec431d54c7d3a33c8f16f5d14a184b894ab3
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Thu May 7 23:03:25 2026 -0400
Bump version to 3.5.2 and add release notes
---
src/docs/src/whatsnew/3.5.rst | 102 ++++++++++++++++++++++++++++++++++++++++++
version.mk | 2 +-
2 files changed, 103 insertions(+), 1 deletion(-)
diff --git a/src/docs/src/whatsnew/3.5.rst b/src/docs/src/whatsnew/3.5.rst
index b4c560f96..c334bc325 100644
--- a/src/docs/src/whatsnew/3.5.rst
+++ b/src/docs/src/whatsnew/3.5.rst
@@ -20,6 +20,108 @@
:depth: 1
:local:
+.. _release/3.5.2:
+
+Version 3.5.2
+=============
+
+Features
+--------
+
+* :ghissue:`5628`, :ghissue:`5940`: Nouveau Lucene 10 upgrade. Lucene is bumped
+ to ``10.4.0``. New Nouveau indexes use Lucene 10 by default.
+ Existing Lucene 9 indexes continue to work via version negotiation, and an
+ upgrade scanner (``nouveau_index_upgrader``) can rebuild them at a configurable
+ rate.
+* :ghissue:`5896`: Nouveau bulk index updates. Replace doc-at-a-time updates
+ to bulk updates which should improve index building.
+* :ghissue:`5942`: Fix cluster index cleanup. Adds the ``[couchdb]
+ index_cleanup_delay_msec`` setting.
+* :ghissue:`5624`: Use SpiderMonkey 128 as the default version.
+* :ghissue:`5754`: Support safe secret rotation.
+* :ghissue:`5811`: Avoid updating password hash when request uses simple password
+ scheme.
+
+Performance
+-----------
+
+* :ghissue:`5984`: Update Jiffy to ``2.0``. Jiffy 2.0 has a number of
+ performance optimization which should speed up both encoding and decoding.
+* :ghissue:`5908`: Optimize replicator. Use ``gen_server`` casts to queue docs
+ for ``_bulk_docs`` in replication workers instead of synchronous calls.
+* :ghissue:`5992`: Do not run a full GC after each index doc update. Increase
+ view queue size from 100KB to 10MB. This should improve view index building
+ times.
+* :ghissue:`5942`: Pre-fetch design docs once per cleanup request and reuse
+ signatures across nodes (instead of fetching them on every worker).
+
+Bugfixes
+--------
+
+* :ghissue:`5776`, :ghissue:`5704`, :ghissue:`5701`, :ghissue:`5708`,
+ :ghissue:`5707`, :ghissue:`5702`, :ghissue:`5694`, :ghissue:`5691`,
+ :ghissue:`5731`, :ghissue:`5867`: QuickJS updates. Memory leak fixes,
+ use-after-free fixes in workers and regex, regex memory blowup fix, Unicode
+ 17 support, FP16 support, optimized string operations, faster context
+ creation, closure optimization, iterator improvements.
+* :ghissue:`5776`: Fix purge ``mem3_rep`` client verification.
+* :ghissue:`5830`: Fix race condition during purge checkpoint creation.
+* :ghissue:`5825`: Fix handling shards dbs purge checkpoints in ``mem3_rep``.
+ Consider previous-node replications for ``_dbs`` purge checkpoints.
+* :ghissue:`5917`: Fix signatures in mrview purge checkpoints. Avoid creating
+ purge checkpoints for invalid views. Do not reset dreyfus ``purge_seq`` back
+ to 0.
+* :ghissue:`5940`: Initialise nouveau index ``purge_seq`` from db ``purge_seq``,
+ and commit purge seq update before returning.
+* :ghissue:`5939`: Handle cases when dreyfus checkpoint is out-of-sync with the
+ index. Fix view compaction duration logging.
+* :ghissue:`5793`: Fix replicator scheduler total jobs metric.
+* :ghissue:`5793`: Fix Prometheus metrics annotations.
+* :ghissue:`5893`: Improve replication ``since_seq`` parameter handling.
+* :ghissue:`5865`: Fix intermittent ``_scheduler/docs`` 500 error.
+* :ghissue:`5853`: Tolerate invalid ``typ`` claim when not required.
+* :ghissue:`5846`: Tolerate maintenance mode and a node down in partition info
+ calls.
+* :ghissue:`5628`: Fix ``bulk_get`` error handling.
+* :ghissue:`5978`: Fix ``_find`` when over threshold. Use ``errstr()`` instead
+ of ``toSource()`` in nouveau JS wrapper.
+* :ghissue:`5984`: Fix ``ReferenceError`` in QuickJS dispatch.
+* :ghissue:`5893`: Send 404 for ``/_all_dbs`` and ``/_dbs_info`` with extra path
+ parts.
+
+Docs
+----
+
+* :ghissue:`5973`: Fix Jenkins badge link in README.
+* :ghissue:`5974`: Update CI badge URL in ``README.rst``.
+* :ghissue:`5984`: Add missing comment from docs.
+* :ghissue:`5865`: Fix docs about replication.
+* :ghissue:`5925`: Change CouchDB links to use HTTPS.
+* :ghissue:`5924`: Update URLs to use HTTPS in mac installation guide.
+
+Tests/CI/Builds
+---------------
+
+* :ghissue:`5825`, :ghissue:`5914`, :ghissue:`5854`, :ghissue:`5843`: CI
+ parallelism. Parallel ``make eunit`` (sub-targets / ``-j4`` / Windows).
+ Concat eunit test logs and remove tmp dirs in ``Makefile``. Speed up
+ compiling and release building.
+* :ghissue:`5971`: Update Black to ``26.3.1``.
+* :ghissue:`5967`: Make creation of ``couch.uri`` independent of
+ ``--auto-ports``. Make file path for ``couch.uri`` absolute.
+* :ghissue:`5964`: Use ``couchdb.uri`` only when auto-ports is enabled. Clean up
+ the ``couch.uri`` on ``make devclean``.
+* :ghissue:`5687`: Write ``couch_uri`` files so ports are discoverable with
+ ``--auto-ports`` option.
+* :ghissue:`5864`: Enable EUnit/Elixir/Nouveau tests on Windows.
+* :ghissue:`5894`: Improve / fix Jenkins workspace cleanup.
+* :ghissue:`5938`: CI: enable xref checking for undefined functions.
+* :ghissue:`5805`: Don't run tests if we only change ``.github`` configuration.
+* :ghissue:`5897`: Temporarily disable freebsd-arm worker.
+* :ghissue:`5908`: Improve CI performance by combining some stages.
+* :ghissue:`5908`: Add Trixie to CI.
+* :ghissue:`5805`: Update Elixir tests and config files.
+
.. _release/3.5.1:
Version 3.5.1
diff --git a/version.mk b/version.mk
index fd4879ca0..5a7d224ce 100644
--- a/version.mk
+++ b/version.mk
@@ -1,3 +1,3 @@
vsn_major=3
vsn_minor=5
-vsn_patch=1
+vsn_patch=2
(couchdb) 01/02: 3.5.x backport of config:get_integer_or_infinity/2
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nickva pushed a commit to branch 3.5.2-prep
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 45bd96fb16ee9dab1e5315e4ddb77a0b8bea364a
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri May 8 17:04:19 2026 -0400
3.5.x backport of config:get_integer_or_infinity/2
This was introduced in a feature commit not going into 3.5.x but then later
fixes were depending on it. This is a backport to allow the release to work.
---
src/config/src/config.erl | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/config/src/config.erl b/src/config/src/config.erl
index 70b8883f9..cfc613887 100644
--- a/src/config/src/config.erl
+++ b/src/config/src/config.erl
@@ -26,7 +26,7 @@
-export([set/3, set/4, set/5]).
-export([delete/2, delete/3, delete/4]).
--export([get_integer/3, set_integer/3, set_integer/4]).
+-export([get_integer/3, set_integer/3, set_integer/4, get_integer_or_infinity/3]).
-export([get_float/3, set_float/3, set_float/4]).
-export([get_boolean/3, set_boolean/3, set_boolean/4]).
@@ -87,6 +87,26 @@ get_integer(Section, Key, Default) when is_integer(Default) ->
Default
end.
+get_integer_or_infinity(Section, Key, Default) when is_integer(Default); Default == infinity ->
+ case get_value(Section, Key, Default) of
+ infinity ->
+ infinity;
+ "infinity" ->
+ infinity;
+ _Value ->
+ IntDefault =
+ case Default of
+ infinity -> 0;
+ D when is_integer(D) -> D
+ end,
+ try
+ to_integer(get_value(Section, Key, IntDefault))
+ catch
+ error:badarg ->
+ Default
+ end
+ end.
+
set_integer(Section, Key, Value) ->
set_integer(Section, Key, Value, true).