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 190b164a4 fix: Avoid updating the context path when matching Mango
selectors in non-verbose mode
omit e3b4ac983 fix: Reject Mango VDUs if they contain invalid field names
or invalid operators
omit f1594e30e fix: Do not split literal field names like "a.b" into
separate path elements when reporting VDU failures
omit 6a4db4dfb fix: Format Mango VDU errors correctly when a doc contains
an empty-string field name
omit 5909f2ca5 fix: Selectors like {"$not":{"$allMatch":S}} (and
"$elemMatch" and "$keyMapMatch") should be considered successful when applied
to values of the wrong type
omit f0a583243 feat: Validate JS and Mango `validate_doc_update` on PUT
/db/_design/doc
omit 4648b9cd8 fix: Raise an error if a Mango VDU contains invalid
top-level fields
omit 857d1cdb3 docs: More detailed explanation of the behaviour of the
oldDocs field in Mango VDUs
omit 9bb8e8d08 fix: Mango VDUs should omit the `oldDoc` field from the
matching struct if the doc is newly created
omit 0804e96a0 chore: Add some benchmarks for Mango selector matching
omit 464a7dca7 feat: Return VDU failure reports to the caller
omit 4e1fd7683 feat: "verbose" mode for `mango_selector:match/3`
omit 1c31a137d feat: Record the paths where selectors fail to match
omit 757d52374 chore: Replace `Cmp` argument to `mango_selector:match/3`
with a record
omit a889ed30a feat: Make mango_selector:match/2 return a list of failures
omit 18feb9bec fix: Normalize negations inside $allMatch and other operators
omit fac02cb4c fix: The match/2 rule for filtering out <<>> should filter []
add f0abc9b14 Update deps gun and fauxton
add f376f71a9 Update QuickJS : parser, properties, array fixes
add afb135c26 Strip more replicator creds
add f6915363c fix: The match/2 rule for filtering out <<>> should filter []
add 841265e87 fix: Normalize negations inside $allMatch and other operators
add 234e05f9e feat: Make mango_selector:match/2 return a list of failures
add 11ad22bb5 chore: Replace `Cmp` argument to `mango_selector:match/3`
with a record
add b8db77389 feat: Record the paths where selectors fail to match
add a34df01dd feat: "verbose" mode for `mango_selector:match/3`
add d102720f6 feat: Return VDU failure reports to the caller
add 5fdbad5b6 chore: Add some benchmarks for Mango selector matching
add 5f636b9ec fix: Mango VDUs should omit the `oldDoc` field from the
matching struct if the doc is newly created
add de4deb553 docs: More detailed explanation of the behaviour of the
oldDocs field in Mango VDUs
add 508976d35 fix: Raise an error if a Mango VDU contains invalid
top-level fields
add 31af47c37 feat: Validate JS and Mango `validate_doc_update` on PUT
/db/_design/doc
add f88cdb990 fix: Selectors like {"$not":{"$allMatch":S}} (and
"$elemMatch" and "$keyMapMatch") should be considered successful when applied
to values of the wrong type
add 2cf3e980f fix: Format Mango VDU errors correctly when a doc contains
an empty-string field name
add 0667ecdd3 fix: Do not split literal field names like "a.b" into
separate path elements when reporting VDU failures
add e6ffba62f fix: Reject Mango VDUs if they contain invalid field names
or invalid operators
add ffd7a748f 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 (190b164a4)
\
N -- N -- N refs/heads/mango-match-failures (ffd7a748f)
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:
rebar.config.script | 4 +-
src/couch/src/couch_util.erl | 6 +-
src/couch/test/eunit/couch_util_tests.erl | 30 +
.../patches/01-spidermonkey-185-mode.patch | 6 +-
src/couch_quickjs/patches/02-test262-errors.patch | 9 +-
src/couch_quickjs/quickjs/quickjs.c | 712 +++++++++++++--------
src/couch_quickjs/quickjs/quickjs.h | 3 +
src/couch_quickjs/quickjs/test262.conf | 20 +
src/couch_quickjs/quickjs/test262_errors.txt | 36 --
src/couch_replicator/src/couch_replicator_docs.erl | 207 +++++-
.../src/couch_replicator_scheduler_job.erl | 118 +++-
11 files changed, 822 insertions(+), 329 deletions(-)