You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2026/09/07 13:14:29 UTC

(couchdb) branch mango-match-failures updated (15efda6d3 -> 48f039a09)

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

jcoglan pushed a change to branch mango-match-failures
in repository https://gitbox.apache.org/repos/asf/couchdb.git


    omit 15efda6d3 fix: Reject Mango VDUs if they contain invalid field names or invalid operators
    omit 726c29fb7 fix: Do not split literal field names like "a.b" into separate path elements when reporting VDU failures
    omit 758d28846 fix: Format Mango VDU errors correctly when a doc contains an empty-string field name
    omit 0e454ee42 fix: Selectors like {"$not":{"$allMatch":S}} (and "$elemMatch" and "$keyMapMatch") should be considered successful when applied to values of the wrong type
    omit 57b1dfc82 feat: Validate JS and Mango `validate_doc_update` on PUT /db/_design/doc
    omit 910238d25 fix: Raise an error if a Mango VDU contains invalid top-level fields
    omit 77977e9bb docs: More detailed explanation of the behaviour of the oldDocs field in Mango VDUs
    omit b025f8c8a fix: Mango VDUs should omit the `oldDoc` field from the matching struct if the doc is newly created
    omit f9fac7f58 chore: Add some benchmarks for Mango selector matching
    omit 62e365a77 feat: Return VDU failure reports to the caller
    omit 653dae273 feat: "verbose" mode for `mango_selector:match/3`
    omit 130ebc2d0 feat: Record the paths where selectors fail to match
    omit 5ea4c1bde chore: Replace `Cmp` argument to `mango_selector:match/3` with a record
    omit fa4e60ae0 feat: Make mango_selector:match/2 return a list of failures
    omit 0c02f529d fix: Normalize negations inside $allMatch and other operators
    omit 30195688f fix: The match/2 rule for filtering out <<>> should filter []
     add 732bc90e4 chore: Update build status image link in README (#6097)
     add aa487659e ci: Adjust Windows CI settings (#5990)
     add 9324d3ad0 docs: update Search installation instructions
     add eafd839f4 docs: remove the Chef cookbook option for the Search plugin
     add b74d7b392 Add request compression to replicator
     add 0783f6799 Fix typo in source check in mem3 reshard logic
     add 39d769793 Fix group_by_proximity to return SameZone shards correctly.
     add 78395184b Use gun in tests
     add b925855d8 fix: The match/2 rule for filtering out <<>> should filter []
     add f8ec07d4f fix: Normalize negations inside $allMatch and other operators
     add cc1f8a0fb feat: Make mango_selector:match/2 return a list of failures
     add b89cb21f0 chore: Replace `Cmp` argument to `mango_selector:match/3` with a record
     add 3acda144e feat: Record the paths where selectors fail to match
     add ff1e8305b feat: "verbose" mode for `mango_selector:match/3`
     add cb58efad0 feat: Return VDU failure reports to the caller
     add e82ef0514 chore: Add some benchmarks for Mango selector matching
     add 8aaf9dbb2 fix: Mango VDUs should omit the `oldDoc` field from the matching struct if the doc is newly created
     add 376890703 docs: More detailed explanation of the behaviour of the oldDocs field in Mango VDUs
     add 38a7f40a8 fix: Raise an error if a Mango VDU contains invalid top-level fields
     add d9c5203ef feat: Validate JS and Mango `validate_doc_update` on PUT /db/_design/doc
     add 42a476cfd fix: Selectors like {"$not":{"$allMatch":S}} (and "$elemMatch" and "$keyMapMatch") should be considered successful when applied to values of the wrong type
     add d402fc0f7 fix: Format Mango VDU errors correctly when a doc contains an empty-string field name
     add 962a605cf fix: Do not split literal field names like "a.b" into separate path elements when reporting VDU failures
     add 2ab258d86 fix: Reject Mango VDUs if they contain invalid field names or invalid operators
     add 48f039a09 fix: Avoid updating the context path when matching Mango selectors in non-verbose mode

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   (15efda6d3)
            \
             N -- N -- N   refs/heads/mango-match-failures (48f039a09)

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.

No new revisions were added by this update.

Summary of changes:
 .credo.exs                                         |   1 -
 .gitignore                                         |   1 -
 README.rst                                         |   4 +-
 build-aux/Jenkinsfile                              |   5 +-
 mix.exs                                            |   9 +-
 rel/overlay/etc/default.ini                        |   7 +
 src/chttpd/test/eunit/chttpd_bulk_get_test.erl     |   9 +-
 src/chttpd/test/eunit/chttpd_csp_tests.erl         |  24 +-
 .../test/eunit/chttpd_db_attachment_size_tests.erl |   5 +-
 src/chttpd/test/eunit/chttpd_db_doc_get_tests.erl  |   9 +-
 src/chttpd/test/eunit/chttpd_dbs_info_test.erl     |  13 +-
 src/couch/src/couch.app.src                        |   1 +
 src/couch/src/couch_gun.erl                        | 439 +++++++++++++++++++
 src/couch/src/test_request.erl                     |  78 +++-
 src/couch/src/test_util.erl                        |   5 +-
 src/couch/test/eunit/couchdb_attachments_tests.erl |  10 +-
 .../test/eunit/couchdb_cookie_domain_tests.erl     |  12 +-
 src/couch/test/eunit/couchdb_cors_tests.erl        |  48 +--
 .../test/eunit/couchdb_location_header_tests.erl   |   8 +-
 src/couch/test/eunit/couchdb_mrview_cors_tests.erl |   4 +-
 src/couch/test/eunit/same_site_cookie_tests.erl    |   2 +-
 .../test/eunit/couch_prometheus_e2e_tests.erl      |   2 +-
 .../include/couch_replicator_api_wrap.hrl          |  12 +-
 src/couch_replicator/priv/stats_descriptions.cfg   |   5 +
 .../src/couch_replicator_api_wrap.erl              |  48 ++-
 .../src/couch_replicator_parse.erl                 |  11 +-
 .../eunit/couch_replicator_compression_tests.erl   | 127 ++++++
 src/docs/src/config/couchdb.rst                    |  13 +-
 src/docs/src/config/replicator.rst                 |  29 ++
 src/docs/src/install/search.rst                    |  84 ++--
 src/mango/src/mango_selector.erl                   |  10 +-
 src/mem3/src/mem3.erl                              |   2 +-
 src/mem3/src/mem3_reshard_dbdoc.erl                |  14 +-
 test/elixir/lib/couch.ex                           | 133 ++----
 test/elixir/lib/couch/dbtest.ex                    |  12 +-
 test/elixir/lib/couch/http.ex                      | 465 +++++++++++++++++++++
 test/elixir/lib/couch_raw.ex                       | 123 ++----
 test/elixir/lib/step/start.ex                      |   2 +-
 test/elixir/test/attachment_names_test.exs         |   4 +-
 test/elixir/test/attachment_paths_test.exs         |   8 +-
 test/elixir/test/attachment_ranges_test.exs        |  24 +-
 test/elixir/test/attachments_multipart_test.exs    |  43 +-
 test/elixir/test/attachments_test.exs              |  26 +-
 test/elixir/test/basics_test.exs                   |  13 +-
 test/elixir/test/changes_async_test.exs            | 162 ++++---
 test/elixir/test/config/suite.elixir               |   1 -
 test/elixir/test/design_paths_test.exs             |  16 +-
 test/elixir/test/etags_head_test.exs               |  22 +-
 test/elixir/test/http_test.exs                     |  12 +-
 test/elixir/test/jsonp_test.exs                    |   9 +-
 test/elixir/test/list_views_test.exs               |   4 +-
 test/elixir/test/replication_test.exs              |  57 ++-
 test/elixir/test/rewrite_js_test.exs               |  10 +-
 test/elixir/test/rewrite_test.exs                  |   8 +-
 test/elixir/test/show_documents_test.exs           |  24 +-
 test/elixir/test/update_documents_test.exs         |  10 +-
 test/elixir/test/uuids_test.exs                    |   6 +-
 57 files changed, 1619 insertions(+), 626 deletions(-)
 create mode 100644 src/couch/src/couch_gun.erl
 create mode 100644 src/couch_replicator/test/eunit/couch_replicator_compression_tests.erl
 create mode 100644 test/elixir/lib/couch/http.ex