Skip to content

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 20:07
· 41 commits to main since this release
v1.7.0
d9eaaf1

The crate moves to dynoxide-rs 4.0.0, because the rusqlite move changes
public types: see Breaking (Rust API). Everything else a user installs carries
1.7.0. The first writable open by this release moves a database to schema
version 12, which 1.3.0 to 1.6.0 refuse: see the parallel scan entry under
Fixed.

Security

  • rusqlite moves to 0.43.0, which brings libsqlite3-sys 0.40.0 and
    SQLite 3.54.1,
    for RUSTSEC-2026-0459 (CVE-2026-119375). SQLite before
    3.54.0 can return stale memory when it opens a database together with a
    -wal file whose page size differs, so a crafted pair of files could leak
    bytes from the process. Every native build bundles SQLite, so this reaches
    any Dynoxide that opens a database file someone else could have written.
    The encrypted builds (the encryption, encryption-cc and
    encrypted-full features) get the same fix through SQLCipher 4.20.0,
    which is built on SQLite 3.54.1. Crate users get the fix from
    dynoxide-rs 4.0.0, since the rusqlite move changes public types (see
    Breaking below).
  • rmcp moves to 3.9.0 for RUSTSEC-2026-0457 and RUSTSEC-2026-0462.
    Both are in rmcp's HTTP client code, which Dynoxide does not compile: the
    MCP server uses only rmcp's server features. cargo-deny checks the whole
    dependency, so it moves anyway.

Behaviour changes

  • The MCP HTTP server refuses request bodies over 16 MiB with a 413, the
    same limit as the DynamoDB endpoint. rmcp 2 had no limit, and rmcp 3
    defaults to 4 MiB, which would have refused a large bulk_put_items. Over
    stdio, rmcp 3 now drops a single message line longer than 16 MiB.
  • A stdio MCP server (dynoxide mcp, dynoxide import --mcp) writes its
    log output to stderr
    , so stdout carries only MCP messages. Before, a log
    line could reach the client mixed in with them. Every other mode still logs
    to stdout.
  • MCP clients can also speak protocol version 2026-07-28, which rmcp 3
    serves without an initialize step. Clients on earlier versions see no
    change.
  • A paged read by partition key ends on the page holding its last row.
    An ascending Query, or a PartiQL SELECT read by partition key, with no
    filter and a sort key condition that is absent or closed above (BETWEEN,
    <=, <, =), returns no LastEvaluatedKey or NextToken on that page,
    where it used to add an empty page after it. This holds on tables and on
    both kinds of index, and on an index an ascending >= ends the same way.
    The read looks one row ahead to know, and that row is neither counted in
    ScannedCount nor charged. Descending and filtered reads, a > or a
    table's >=, and Scan keep the empty page. begins_with, and a Query of
    a multi-attribute index by its partition attributes alone, vary on
    DynamoDB, so Dynoxide keeps the empty page for them too. An index with no
    sort key, a PartiQL read of a table with no sort key, and a PartiQL clause
    written with a NOT, such as NOT NOT pk = 'k', page as they did before.
    A Query of a table with no sort key ends on its item's page
    (#291).
  • A bare name on the right of a PartiQL SET is an attribute, not a
    string.
    SET z = s copies the attribute s, and is refused when the
    item has none, where it used to write the string s, as DynamoDB does.
  • A path set against a key attribute is refused on a PartiQL read by
    key.
    With the partition key given, by = or by IN with one value or
    several, begins_with(sk, s), begins_with(s, sk), sk = t, sk > t,
    sk BETWEEN t AND 'z' and pk = s are refused as a filter on the key,
    even beside an equality on the sort key, as DynamoDB refuses them. These
    used to run as filters. A clause that gives the partition key only under a
    NOT, or puts another condition on it (pk <> 'z', a second IN), is a
    scan, and still runs. Overlapping key conditions are refused first, and
    pk = 'a' AND (sk = t OR n = 5) is refused as overlapping, where
    pk = 'a' AND (sk <> t OR n = 5) runs. The overlap check and ORDER BY take
    the same view of a read by key, so NOT NOT pk = 'a' AND (sk = t OR n = 5)
    runs, and pk = 'a' AND pk <> 'z' ORDER BY sk is refused for having no
    partition key condition.
  • A Query on a table with no sort key refuses an ExclusiveStartKey,
    as DynamoDB does, with The provided exclusive start key is invalid. Such
    a Query never returns a LastEvaluatedKey, so there is no key to pass
    back; a caller that built one from an item's own key used to get that item
    again. See the entry under Fixed.

Added

  • --ready-json prints one JSON line to stdout once the server is ready,
    so a launcher in another language can read the endpoint, port and process ID
    without parsing the human startup line. With the flag, stdout carries only
    that line and log output moves to stderr. It works on serve and the
    no-subcommand form, and dynoxide mcp refuses it. The line's fields and how
    they may change are in docs/versioning.md. The library gains
    ServerOptions::with_ready_line.
  • --exit-with-parent shuts the server down gracefully when stdin closes,
    so a server started by a test runner stops when the runner exits, even if
    the runner is killed outright. Closing stdin is also a graceful way to stop
    the server on Windows, where there is no SIGTERM. Only pass it with stdin on
    a pipe: with stdin closed, the server stops as soon as it starts. dynoxide mcp refuses it, because stdio mode already exits when stdin closes. The
    library gains ServerOptions::with_shutdown_trigger, which stops the HTTP
    server when a tokio::sync::watch channel says so.
  • docs/launcher.md describes how a wrapper for another language finds,
    verifies, starts and stops Dynoxide
    , so wrappers behave alike.
  • The npm package exports start(), which runs Dynoxide on a free port
    for a test suite and returns its endpoint, region, credentials and a
    stop(). It follows docs/launcher.md. The package gains TypeScript types and an exports map that keeps
    dynoxide/bin/dynoxide and dynoxide/package.json importable.

Changed

  • The declared MSRV is now 1.89, which rusqlite 0.43 needs.
  • --help and the Homebrew formula describe Dynoxide as a DynamoDB
    emulator verified against AWS
    , rather than a drop-in replacement for
    DynamoDB Local.

Breaking (Rust API)

  • Storage::conn(), DynoxideError::SqliteError and
    storage_backend::from_rusqlite now use rusqlite 0.43's types, so code
    that passes them to or from its own rusqlite needs 0.43 too. The next
    crate release is dynoxide-rs 4.0.0.
  • StorageBackend gains fill_hash_prefixes, which the open that brings a
    database up to schema version 12 calls. The trait is sealed, so only
    Dynoxide's own backends implement it. It arrives with dynoxide-rs 4.0.0.

Fixed

  • A server whose launcher was killed now shuts down cleanly. If the
    launcher had been reading the server's stderr through a pipe, the shutdown
    line failed to write and the release build aborted before closing the
    database, leaving its write-ahead log behind. Writes weren't lost, but the
    shutdown wasn't the clean one --exit-with-parent promises. Informational
    lines on the serve path now drop a failed write instead, and so does the
    log RUST_LOG turns on, which otherwise also dropped every request served
    after the launcher stopped reading.

  • A Query on a table with no sort key no longer returns a
    LastEvaluatedKey, as DynamoDB never does for one: a partition of such a
    table holds at most one item, so the first page is the whole answer. At
    Limit: 1 it used to return a key that resumed to the same item, for ever.
    An ExclusiveStartKey on such a Query is now refused with The provided exclusive start key is invalid, as DynamoDB refuses it, whether it names
    the item, a partition with no item or another partition. A malformed key
    keeps its own message. Indexes of such a table page as before.

  • Two opens of one database file at the same moment, from two threads or two
    processes, no longer fail with database is locked when the file is new or
    not yet in WAL mode. The open that loses the race to switch the file to WAL
    now waits for the other, for no longer than the usual open timeout.
    Encrypted databases get the same fix
    (#306).

  • TransactGetItems no longer refuses an empty or unused name in a Get
    with no ProjectionExpression.
    It goes on to the table lookup as
    DynamoDB does, so a request Dynoxide used to refuse now reads the item.
    More than 100 Gets in TransactGetItems are now refused without listing
    them, as DynamoDB now does, unless the request holds a null name, when the
    listing shows that name as null
    (#317).

  • A JSON null where an attribute value belongs is refused in DynamoDB's
    words, The supplied Item contains a null AttributeValue, where before it
    was taken for an empty value. A null member of an item, a key or an M is
    named (: pk is null); one in an L, a PartiQL parameter or an
    AttributeValueList is not. ExpressionAttributeValues and
    ExclusiveStartKey wrap it as they wrap their other faults, and a null
    given for a whole Expected, AttributeUpdates, KeyConditions,
    QueryFilter or ScanFilter entry gets the message DynamoDB has for each.
    In BatchExecuteStatement it fails only its own statement
    (#317).

  • A null, including one given as a type member such as {"S": null}, puts
    the request on the older validation layer, so a bad number beside one in
    an item comes back without the 1 validation error detected: envelope,
    and one in the expression values is named by its key. A null in a starting
    key puts a Query's or Scan's Limit error, and its other numbers, in that
    layer's words. Without a null, a bad number in a transaction's expression
    values is no longer named by key, as DynamoDB now answers
    (#317).

  • The faults in an item or key are now met in the order DynamoDB walks them
    (its Java HashMap order, with a value of the wrong JSON type ahead of the
    rest), as are those in PutItem's expression values and in any request's
    expression values once a null is present. An item or key is checked before
    ExpressionAttributeValues and AttributeUpdates, and a starting key
    before Query's. In a TransactWriteItems action the item or key comes first
    too, unless the request holds a null, when the values do; a member of the
    wrong JSON type anywhere in the action comes ahead of both. Nulls inside an
    M are met in the order they were written when their names share a bucket
    of that map, an array given for a value is refused with no message even
    beside the same name written twice, and the MCP write tools refuse a
    malformed expression_attribute_values before a fault in the item or key
    (#317).

  • A null name in ExpressionAttributeNames is now read as an empty name,
    puts the request on the older layer and is checked with the expressions. A
    transaction action with no expression doesn't check names that hold one
    (#317).

  • A null member of an SS, NS or BS puts the request on the older
    layer, as a null value does, and is refused in DynamoDB's words, in its
    place among the set's members, where it used to be a
    SerializationException
    (#317).

  • A name written twice in an item, a key, ExpressionAttributeValues or
    AttributeUpdates is refused with Duplicate key found in payload
    (#317).

  • A name written twice inside an M keeps its last copy, as before, but is
    now refused with Duplicate key found in payload when either copy is a
    null, an empty value or has more than one type member. A copy that is
    malformed as JSON, such as an array, is refused for that fault
    (#317).

  • GetItem and BatchGetItem now report ProjectionExpression beside
    AttributesToGet ahead of an empty name in ExpressionAttributeNames
    (#317).

  • An AttributeUpdates entry with no value and an action other than
    DELETE is now refused inside the 1 validation error detected: envelope
    (#317).

  • The MCP tools give the same answers as the HTTP API for these requests,
    and refuse expression values that aren't a map as the HTTP API does, where
    delete_item used to ignore them
    (#317).

  • A table or index name's length is counted the way DynamoDB counts it, and
    never in UTF-8 bytes. TableName on CreateTable, DescribeTable,
    DeleteTable, UpdateTable, UpdateTimeToLive and DescribeTimeToLive counts
    UTF-16 units, so 😀😀 is long enough there. An index name on CreateTable
    and UpdateTable, ListTables' ExclusiveStartTableName, a table name inside
    a transaction and a Query or Scan IndexName count characters, so 😀😀 is
    too short. A name like this always breaks the name pattern as well, so it
    is still refused; what changes is which faults the refusal lists, and in
    what order. Some answers change for an ASCII name too. DescribeTable,
    DeleteTable, UpdateTable and DescribeTimeToLive refuse a name under 3 or
    over 255 in the validation envelope (Value 'ab' at 'tableName' failed to satisfy constraint: Member must have length greater than or equal to 3)
    where they gave a bare sentence; an empty name still gets the sentence.
    UpdateTimeToLive refuses a name under 3, where it looked the table up. An
    UpdateTable Create or Delete index name, and a Query or Scan
    IndexName, are checked before the table is looked up, so a bad one is no
    longer answered with ResourceNotFoundException. CreateTable, UpdateTable
    and ListTables list the length fault before the pattern fault, and a
    transaction lists the pattern fault first, as eu-west-2 does
    (#290).

  • A JSON array where DynamoDB doesn't expect one is refused as DynamoDB
    refuses it. A request body that is an array is a SerializationException
    with no message on every operation, where Dynoxide used to read it by
    position and run it: ["Tab", {"pk": {"S": "a"}}] sent to PutItem wrote
    the item. A body that is a string, number or boolean is refused as
    Unexpected value type in payload, and null as Request payload does not contain the input model. An array given for a string, number, boolean,
    map or structure inside a request is a SerializationException with no
    message, where Dynoxide printed Unrecognized collection type ..., which
    DynamoDB no longer says. The forms DynamoDB does read by position are read:
    a BatchGetItem or BatchWriteItem body of [RequestItems] or
    [RequestItems, ReturnConsumedCapacity], a BatchWriteItem body of
    [RequestItems, ReturnConsumedCapacity, ReturnItemCollectionMetrics], a
    BatchWriteItem PutRequest given as [Item] and DeleteRequest as
    [Key], and on Query and Scan a condition given as
    [AttributeValueList, ComparisonOperator]. DynamoDB's regions differed on
    BatchWriteItem's forms when captured, and Dynoxide reads them as eu-west-2
    does. One of these forms holding a value nested too deep for DynamoDB's
    parser is refused with no message, where the object form gets the nesting
    error.

  • An attribute value given as an array is a SerializationException with no
    message wherever it appears. In a transaction, a batch of PartiQL
    statements, a legacy Expected or AttributeUpdates value and a
    BatchGetItem key, Dynoxide answered Supplied AttributeValue is empty or
    Unexpected value type in payload.

  • BatchWriteItem with an empty RequestItems is refused as BatchGetItem
    refuses it, 1 validation error detected: Value at 'RequestItems' failed to satisfy constraint: Member must have length greater than or equal to 1.
    It used to say The requestItems parameter is required for BatchWriteItem.
    DynamoDB's regions differed on this when captured, and Dynoxide follows
    eu-west-2.

  • BatchGetItem and BatchWriteItem refuse a missing or null part of
    RequestItems in DynamoDB's words, where Dynoxide answered with its JSON
    decoder's own text, such as missing field `Keys` at line 1 column 50.
    A table with no Keys, a PutRequest with no Item and a
    DeleteRequest with no Key are each Value null at 'requestItems.<table>.member.keys' failed to satisfy constraint: Member must not be null (or ...member.1.member.putRequest.item), listed with
    the request's other member faults. A missing or null RequestItems is
    The requestItems parameter is required for BatchGetItem (or
    BatchWriteItem), and a null table entry or a null key or write request
    has its own message too. A key given as a string or number, and a table's
    write requests given as a string, number or map, are a
    SerializationException as DynamoDB words it, where Dynoxide printed a
    Java class-cast message. A write request holding both a PutRequest and
    a DeleteRequest is refused as one holding neither is; it used to run.
    BatchWriteItem's length and table-name faults now follow eu-west-2's
    wording. A table's request list that is empty or holds more than 25 is
    Value at 'RequestItems.<table>.member' failed to satisfy constraint: Member must have length greater than or equal to 1 (or less than or equal to 25), one fault for each such table, with no echo of the request
    and ahead of a bad ReturnConsumedCapacity or
    ReturnItemCollectionMetrics, which are no longer listed beside it. More
    than 25 requests across tables that each hold 25 or fewer is Too many items requested for the BatchWriteItem call. A table name that breaks its
    constraints echoes the request as JSON and is listed ahead of those enum
    faults, where it used to follow them. us-east-1 still gave the older
    answers when captured.

  • BatchGetItem and BatchWriteItem refuse a table written twice in
    RequestItems with a SerializationException, Duplicate key found in payload, once the whole map is read, as DynamoDB does. A member of the
    wrong JSON type written ahead of RequestItems is reported instead, and
    so is a value of the wrong JSON type in a table's entry, either copy
    included. A value that breaks a constraint, such as one with two data
    types, loses to the repeat wherever it is written. Dynoxide used the last
    copy. Dynoxide still differs from DynamoDB where a value that breaks a
    constraint is written ahead of a value of the wrong JSON type in the same
    entry: DynamoDB reports the type fault, and Dynoxide reports the repeat,
    or with no repeat the constraint fault
    (#302). Tables with
    empty Keys are listed one fault per table, ten at most, as
    BatchWriteItem's empty or overlong lists are; BatchGetItem used to report
    only one of them.

  • BatchGetItem and BatchWriteItem no longer check the JSON type of a member
    they don't have, such as TableName, as DynamoDB doesn't; a request
    carrying one of the wrong JSON type was refused with a
    SerializationException. A member of the wrong JSON type written ahead of
    RequestItems is now reported ahead of one in the map.

  • A ConditionalOperator other than AND or OR is refused in the words
    DynamoDB uses now, Value 'XOR' at 'conditionalOperator' failed to satisfy constraint: Member must satisfy enum value set: [AND, OR]. DynamoDB has
    changed this message since October, when it named neither the value nor
    the member and listed [ALL, OR], and the Parity Suite's Query ordering
    test caught the difference. Lower case and the empty string are refused the
    same way on Query, Scan, PutItem, UpdateItem and DeleteItem. With no table
    name, a Query now lists the operator beside the missing name, as Scan
    already did, and so does a PutItem; a DeleteItem with no key lists it ahead
    of the key, as UpdateItem does. KeyConditions now conflicts only with
    KeyConditionExpression, so a Query that pairs it with a FilterExpression
    or a ProjectionExpression runs, where it used to be refused, and the
    mixing message no longer names it beside a FilterExpression. The
    placeholders Dynoxide names the key conditions through internally never
    take the place of the caller's own, so a caller's :kc_v0 or #kc_0 means
    what the caller defined. Query, Scan, GetItem and BatchGetItem now check
    their expressions through before the table is looked up, as DynamoDB does:
    syntax, a name or value nobody defined, overlapping projection paths, and
    then a name or value no expression uses. A filter value nobody defined used
    to go unnoticed when no item was read. A key condition value nobody defined
    is named as the key condition's, and a projection syntax error, such as
    #a,, or a[-1], names the offending token and where it sits, in
    DynamoDB's usual form. A BatchGetItem reports a fault in a table's
    projection ahead of a repeated key. ExpressionAttributeValues on a Query or Scan
    with only a ProjectionExpression is now refused, and on Query and Scan the
    refusal no longer ends with : FilterExpression is null
    (#319).

  • A B value, or a BS member, is read the way DynamoDB reads base64.
    The refusals now carry DynamoDB's SerializationException messages
    (Buffer is too short for base64 encoding for one character, Base64 encoded length is expected a multiple of 4 bytes but found: 2 for !!,
    Invalid last non-pad Base64 character dectected for ab==, or no
    message at all) and come ahead of the request's validation, where before
    they gave the base64 crate's error with a line and column. Values DynamoDB
    accepts that Dynoxide used to refuse are now accepted as the same bytes:
    unpadded and part-padded values such as QQ, QQ= and QUI, and the
    final-group forms such as -Q==, which DynamoDB stores as 0xfd. The
    crate's own AttributeValue deserialiser reads them the same way
    (#316).

  • Opening a database checks what it reads before it changes anything. A
    schema version that isn't a whole number, or is too large to be one, is
    refused rather than read as no version, which ran every migration on the
    file. A newer build writing the file while it opens is now caught under each
    write lock the open takes, before any migration step runs. A schema change
    the open needs that fails, on a full disk for example, now fails the open
    instead of being ignored, and each migration step records its version in the
    same transaction as its changes, so the recorded version can't go backwards
    when two processes open one file. A file refused when it is first read
    keeps its -wal as it was, rather than having it written into the main
    file as the refused connection closes. Files left with a table listed whose
    data or index table is missing still open. A write whose transaction SQLite
    had already ended now says it was not committed, and what SQLite kept,
    rather than giving SQLite's bare commit error
    (#235).

  • ExecuteStatement and ExecuteTransaction report a request's member errors
    (Limit, ReturnConsumedCapacity, a statement's mode or text, the token,
    an empty Parameters) ahead of a parameter they refuse, as DynamoDB does.
    Limit: 0 beside {"N":"abc"} used to come back as the number error, and
    so did any other parameter refused for its value: an empty one, one with
    two types, a NULL that isn't true. A parameter of the wrong JSON type,
    such as {"N":1} or a bare string, still fails the request first, now even
    when an earlier parameter was refused for its value. A bare string now
    answers Unexpected value type in payload
    (#308).

  • A number written in a way JSON doesn't allow, such as 1.5.5, 1e, 01
    or -, is read as DynamoDB reads it, rather than failing the whole request
    with a bare SerializationException. Where DynamoDB doesn't read the member
    it is accepted. Where the member holds another type it gets the answer a
    well-formed number gets: DECIMAL_VALUE cannot be converted to String for
    one with a point or an exponent and NUMBER_VALUE for one without, Unexpected field type in a list or map member, Unexpected value type in payload as an
    attribute value or PartiQL parameter. In Limit, Scan's Segment and
    TotalSegments and the throughput units, DynamoDB's looser rule applies:
    -, 00 and -.5 read as 0, 01 as 1 and 1.e5 as 100000, while a token
    it can't read, such as 1.5.5, 1e or --1, is refused with Bad number format. 1e400.5 no longer leaks the parser's own message. ListTables
    Limit and the throughput units also read a well-formed fraction or a number
    past the range as Query's Limit does, so 0.5 gets the at-least-1 error
    instead of serde's floating point text, and ListTables Limit: 1e400 the
    at-most-100 error. Streams Limit, SearchVectors TopK and a vector index's
    Dimensions still refuse such a token with a bare SerializationException,
    since DynamoDB's reading there hasn't been captured
    (#309).

  • An attribute value with a member of the wrong JSON type is refused with
    DynamoDB's SerializationException message, which names what was found and
    what was expected. A number where S or N belongs gives NUMBER_VALUE cannot be converted to String, or DECIMAL_VALUE for one written with a
    point or an exponent, 1e400 included. A non-string in B or BS gives
    only base-64-encoded strings are convertible to bytes, a scalar where SS,
    NS, BS, L or M belongs gives Unexpected field type, and a scalar
    inside L or M gives Unexpected value type in payload. This holds in
    items, keys, expression values, PartiQL parameters, legacy conditions and a
    Query or Scan ExclusiveStartKey, at any depth in an L or M, and ahead
    of the "more than one datatypes" check. A BOOL or NULL given a decimal
    past a double's range, such as 1e400, gives DECIMAL_VALUE cannot be converted to Boolean. Most of these used to say TRUE_VALUE, give no message, leak an
    internal message, or come back as a ValidationException. Captured against
    eu-west-2 and us-east-1 on 6 and 8 November 2026
    (#294).

  • A PartiQL statement whose parameters hold both a value nested past 32 levels
    and a number DynamoDB can't read, such as abc or 1e126, is refused for
    whichever DynamoDB meets first. It walks a list in written order and a map's
    members in the order a Java HashMap holding them iterates, which is
    usually not the order they were written in. Dynoxide used to give the number
    error whenever the value was shallow enough to parse, and past that lost a
    bad number written inside or after the deep value. This holds on
    ExecuteStatement and per statement on BatchExecuteStatement.
    ExecuteTransaction reads every statement's parameters as one list, so a deep
    value in the first statement now comes ahead of a bad number in the second.
    It holds over HTTP and in the wasm engine. Captured against eu-west-2 and
    us-east-1 on 9 October 2026, and the map order against eu-west-2 on
    9 November 2026 (#261).

  • A PartiQL UPDATE that sets or removes a path into a key attribute, such as
    SET pk.x = 1 or REMOVE sk[0], is refused as an update of that key:
    Cannot update attribute pk. This attribute is part of the key. It used to
    say the document path was invalid, or fail its condition when the item was
    missing. With both keys named, the sort key is the one reported, whichever
    comes first. SET m.pk = 2 still runs. Captured against eu-west-2 and
    us-east-1 on 11 November 2026 (#230).

  • ExecuteStatement and a BatchExecuteStatement member read a ConsistentRead
    written as a string, such as "true" or "no", as GetItem does, where they
    used to refuse it with a SerializationException. A list there is refused
    with no message, as DynamoDB refuses it. Captured against eu-west-2 and
    us-east-1 on 11 November 2026 (#230).

  • The refusal of an ORDER BY term that isn't a key prints a quoted name
    without its quotes, so ORDER BY "a.b" names a.b. Captured against
    eu-west-2 and us-east-1 on 11 November 2026 (#230).

  • In a PartiQL WHERE clause, a call to attribute_exists,
    attribute_not_exists or attribute_type can be a BETWEEN bound or
    subject, the operand of size or attribute_type, or the argument of
    attribute_exists, and it answers as a boolean written there would.
    attribute_type(attribute_exists(n), 'BOOL') is true, and n BETWEEN attribute_exists(n) AND 5 is refused for its boolean bound. These used to
    fail to parse. size now refuses a number, a boolean or a null operand, as
    a literal, a parameter, a call or another size, where it used to match
    nothing. Captured against eu-west-2 and us-east-1 on 11 November 2026
    (#230).

  • A PartiQL WHERE clause is checked in one pass, in the order it's written,
    and the first fault met is the one reported. Inside a condition each
    operand comes before its operator, and an operand's own operands before it,
    so size(true) < attribute_exists(n) is refused for size's boolean and
    attribute_exists(size(s, s)) for size's operand count. A wrong operand
    count, a type a call or operator can't take, an operand that isn't
    distinct, an IN with more than 100 operands and a parameter of the wrong
    type all count as faults in the same pass. Before, some of these were
    reported ahead of others wherever they were written. A size given two
    operands and standing on its own, as in WHERE size(s, s) AND n = 1, is
    refused for its count, where it used to be called a malformed statement.

  • That pass is the statement's own validation. A write naming an index is
    refused first, then a read of an index keyed on more than one attribute
    outside a transaction, then the parameter count, then the pass, and only
    after that are the table, the key, ORDER BY and RETURNING looked at. A
    refused set_add or set_delete comes after the pass. In
    BatchExecuteStatement a fault is that member's own error, and the other
    members run; the member is no longer counted for the duplicate, mixed read
    and write, or missing key checks. In ExecuteTransaction it is
    Validation failed in TransactStatements[i], ahead of the same-item check
    and never a cancellation reason. A COUNT(*) read of a multi-attribute
    index in a batch is refused for the index, as ExecuteStatement refuses it.

  • Arithmetic that starts the left side of a condition is refused for its
    first + or - ahead of anything wrong with its operands, on a size, a
    value or a path, and inside brackets: size(true) + 1 > size(s),
    1 + size(s) > 0, (size(s) + 1) > 0 and n + 1 > 0 all name the +.
    All but the first used to be called malformed statements. Arithmetic on
    the right of a comparison, in a BETWEEN bound or in an IN list is still
    called malformed. IS on any size is refused for the IS, even one given
    two operands.

  • A PartiQL UPDATE, DELETE or INSERT sent with a NextToken runs as it
    would without one, where it used to be refused. An empty NextToken is
    refused as a member error on any statement. This and the three entries
    above were captured against eu-west-2 on 11 November 2026, in rounds five
    to thirteen of the capture; rounds one to four went to us-east-1 as well,
    and the regions agreed (#230).

  • The MCP tools read consistent_read (get_item, and ConsistentRead
    inside batch_get_item's request_items) and scan_index_forward
    (query) as the HTTP API does: the strings DynamoDB reads as booleans,
    such as "true", "yes", "0" and "N", work, and anything else is
    refused with the HTTP API's SerializationException. A string used to be
    refused as a malformed argument on get_item and query, and inside
    batch_get_item it was dropped without a word, so "true" read eventually
    consistent. The listed schema still says boolean. One difference remains:
    a flag given as -0, or as an integer past 64 bits, is refused as a
    DECIMAL_VALUE where the HTTP API says NUMBER_VALUE, because MCP
    arguments arrive already parsed
    (#237).

  • The MCP tools read values on the validation layer the HTTP API would use
    for the same request. Arguments holding a BOOL or NULL written as a
    string, or a value with two members, move the call to the older layer,
    where put_item, update_item and delete_item report a refused value
    bare rather than inside 1 validation error detected: , and update_item
    names the key in expression_attribute_values. The batch, transaction and
    PartiQL tools now read on their operation's older layer too, so
    batch_write_item calls 1e2147483647 an underflow, as BatchWriteItem
    does (#237).

  • The MCP scan tool takes a negative segment or total_segments and
    answers with Scan's member check, such as Value at 'Segment' failed to satisfy constraint: Member must have value greater than or equal to 0. It
    used to refuse it as a malformed argument. An integer past what 32 bits
    hold reads as the nearest 32-bit integer, as it does over HTTP, and so does
    limit; either moves a segment refusal to the older wording, which echoes
    the value. A fraction, an integer past 64 bits or a string now gets Scan's
    own answer too, where it used to be refused as a malformed argument
    (#237).

  • The MCP execute_partiql tool reports a member error (limit 0, a bad
    return_consumed_capacity or return_values_on_condition_check_failure,
    an empty statement) ahead of a parameter refused for its value, and
    parameters that isn't a list as a SerializationException rather than a
    protocol error, as ExecuteStatement does over HTTP. consistent_read goes
    to ExecuteStatement as given, so a string gets ExecuteStatement's answer:
    one DynamoDB reads as a boolean runs, and any other is refused
    (#237).

  • An empty ClientRequestToken is refused on TransactWriteItems and
    ExecuteTransaction. Before, it was accepted and the request went on to look
    up its tables. TransactWriteItems now checks its members in the order
    DynamoDB does. A required member left out (TransactItems, or an action's
    TableName, Item, Key, UpdateExpression or a ConditionCheck's
    ConditionExpression) is reported first as Value null at '...', with a
    bad ReturnValuesOnConditionCheckFailure on the same action, a bad token
    and the request's enums listed beside it, where it used to be a serde
    missing field error. Then the token's length and the length of
    TransactItems are reported on their own, in DynamoDB's older wording with
    no value or list echoed (Value at 'ClientRequestToken' ...). An item with
    no action comes next, as Value '' at 'transactItems', or else every table
    name refused, either listed with a bad ReturnConsumedCapacity or
    ReturnItemCollectionMetrics. Then an item naming more than one action,
    then the first number refused in an item, key or expression value, then
    the first action's bad ReturnValuesOnConditionCheckFailure rather than
    every one. An item given as null is refused with TransactItems can't be null unless a member left out, the token, an enum or another item's bad
    ReturnValuesOnConditionCheckFailure is reported first. An item given as a
    string, a number or a list with anything in it, or an action given as a
    list, gets a SerializationException; before, an item given as a list was
    read by position and could run as a Put. TransactWriteItems reads its
    numbers and sets as DynamoDB now does in every region: a refused expression
    value is no longer wrapped in ExpressionAttributeValues contains invalid value: ... for key, 1e2147483647 is an overflow, as on PutItem, and a
    repeated string set member is listed quoted and sorted. The MCP transact_write_items
    tool reads its arguments the same way. ExecuteTransaction lists the empty
    token first, and a missing TransactStatements is
    Value null at 'transactStatements'
    (#318).

  • An MCP tool error for a failed condition asked for ALL_OLD writes the
    item's number sets in the order the HTTP API uses for that operation:
    numeric for put_item, update_item and delete_item, and DynamoDB's
    hash order for execute_partiql, which used to give them numerically
    (#237).

  • A cancelled transaction from transact_write_items or
    execute_transaction_partiql now carries cancellation_reasons in the
    tool error, one entry per action or statement as the HTTP API's
    CancellationReasons gives them, {"Code": "None"} entries included, with
    the ALL_OLD item where one was asked for. Before, the reasons were only
    in the message
    (#237).

  • query and scan decode their whole request as Query and Scan do over
    HTTP, so limit takes a negative, fractional or string value and answers
    with the operation's own check, and member errors (limit, select,
    return_consumed_capacity, segment) come in the operation's order and
    wording. limit on execute_partiql, list_streams, describe_stream
    and get_records, and top_k on search_vectors, are read the same way.
    search_vectors also reports a bad return_consumed_capacity bare, as
    SearchVectors does, and reads its expression values as SearchVectors does
    (#237).

  • get_item, put_item, update_item and delete_item check their members
    as their operations do: a refused key, item or expression value comes ahead
    of a bad return_consumed_capacity, return_values and the capacity mode
    are listed together where the operation lists them, and update_item
    reports a bad mode bare. return_values_on_condition_check_failure outside
    ALL_OLD and NONE is now refused on the three write tools, where it was
    ignored. delete_item reads expression_attribute_values after the member
    checks and names a refused value by its key, as DeleteItem does, and
    batch_write_item reports a bad capacity mode after a refused value
    (#237).

  • batch_get_item and batch_write_item decode request_items as
    BatchGetItem and BatchWriteItem do, after the snake_case spellings they
    accept (keys, projection_expression, expression_attribute_names,
    consistent_read, put_request, item, delete_request, key) are
    given their wire names; where an entry gives both spellings, the wire one
    is read. A malformed entry now gets the HTTP API's answer rather than an
    InvalidRequestItems error of the tools' own. batch_get_item now applies
    an entry's AttributesToGet and returns only those attributes, as
    BatchGetItem does; it used to ignore it and return the whole item. A
    non-string ProjectionExpression, malformed ExpressionAttributeNames or
    a bad AttributesToGet, which the tool also ignored, are now refused
    (#237).

  • PartiQL reads begins_with and contains as calls, as it already read
    attribute_exists and attribute_type. Either operand can be a literal, a
    parameter, a path or another call, so begins_with('abc', 'a'),
    begins_with(?, ?) and contains([1, 2], 1) match where they used to
    match nothing or fail to parse. The call is a boolean wherever an operand
    can stand, IS refuses it as its left side, and a wrong number of operands,
    the same path twice, MISSING, or a fixed operand of begins_with that
    isn't a string or a binary is refused as DynamoDB refuses it. contains
    now finds a binary inside a binary and a member of a binary set.

  • Arithmetic in a PartiQL WHERE clause is refused naming its operator (+,
    -, * or /) on either side of a comparison, in a BETWEEN bound and in
    an IN list, where it used to be a malformed statement; n IN [6 - 1] is no
    longer read as two members. A bracketed value, n = (5), is the value.

  • A PartiQL SET sum takes paths, numbers and parameters in any mix, chained
    and bracketed, so SET z = 1 + n and SET z = (1 + 1) run.
    if_not_exists(path, value) and list_append are terms, so
    SET n = if_not_exists(n, 0) + 1 runs. A type fault names the operator
    written beside it, and a sum is held to the operator limit. A function such
    as size is refused as not allowed in an update expression, one DynamoDB
    doesn't know (abs(n)) as unrecognised, * and / as unsupported
    operators, and -n for its operand count. An operand of if_not_exists or
    list_append is read the same way, so if_not_exists(q, n + 1) runs and
    if_not_exists(q, size(s)) is refused naming size. if_not_exists
    resolves and checks its value even when the attribute is there, so
    if_not_exists(n, nope) is refused when the item has no nope. A literal
    of the wrong type in a sum or a list_append operand is refused ahead of an
    attribute the item lacks, even when the attribute is read by an earlier SET.
    A sum needing more than 38 significant digits is refused as a number
    overflow once every attribute has been read, and each running total of a
    sum is checked in the order written.

  • A parallel scan of a table last written before Dynoxide 0.9.5 returned
    fewer items than the table held. Items written by those builds were stored
    without the hash prefix that places an item in a segment, so they fell in
    no segment at all, and a scan over every segment missed them. A plain Scan
    was not affected. Opening the database now gives each such item the prefix
    a fresh write of its key would get, and changes nothing else, so it comes
    back in the same segment and the same place as a fresh write. That open
    moves the file to schema version 12, and the upgrade is one way: Dynoxide
    1.3.0 to 1.6.0 read up to version 11 and will refuse the file afterwards.
    Looking for such items reads each table once, in the order it is stored.
    Recording version 12 is a write, so the first open by this release writes
    to the file. A database kept read-only that has items to fill is refused
    until it has been opened writable once; one with nothing to fill still
    opens read-only, and is left at version 11. Before that writable open,
    make the -wal and -shm files beside the database writable as well as
    the database itself: a read-only open creates them when they are missing,
    and gives them the database file's permissions when it creates them or
    finds them empty
    (#296).