Repository navigation
v1.7.0
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
rusqlitemoves to 0.43.0, which bringslibsqlite3-sys0.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
-walfile 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 (theencryption,encryption-ccand
encrypted-fullfeatures) get the same fix through SQLCipher 4.20.0,
which is built on SQLite 3.54.1. Crate users get the fix from
dynoxide-rs4.0.0, since therusqlitemove changes public types (see
Breaking below).rmcpmoves to 3.9.0 for RUSTSEC-2026-0457 and RUSTSEC-2026-0462.
Both are inrmcp's HTTP client code, which Dynoxide does not compile: the
MCP server uses onlyrmcp'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.rmcp2 had no limit, andrmcp3
defaults to 4 MiB, which would have refused a largebulk_put_items. Over
stdio,rmcp3 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
rmcp3
serves without aninitializestep. 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 PartiQLSELECTread by partition key, with no
filter and a sort key condition that is absent or closed above (BETWEEN,
<=,<,=), returns noLastEvaluatedKeyorNextTokenon 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
ScannedCountnor 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 aNOT, such asNOT 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 = scopies the attributes, and is refused when the
item has none, where it used to write the strings, 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 byINwith one value or
several,begins_with(sk, s),begins_with(s, sk),sk = t,sk > t,
sk BETWEEN t AND 'z'andpk = sare 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 secondIN), 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, soNOT NOT pk = 'a' AND (sk = t OR n = 5)
runs, andpk = 'a' AND pk <> 'z' ORDER BY skis refused for having no
partition key condition. - A Query on a table with no sort key refuses an
ExclusiveStartKey,
as DynamoDB does, withThe provided exclusive start key is invalid. Such
a Query never returns aLastEvaluatedKey, 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-jsonprints 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 onserveand the
no-subcommand form, anddynoxide mcprefuses it. The line's fields and how
they may change are indocs/versioning.md. The library gains
ServerOptions::with_ready_line.--exit-with-parentshuts 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 mcprefuses it, because stdio mode already exits when stdin closes. The
library gainsServerOptions::with_shutdown_trigger, which stops the HTTP
server when atokio::sync::watchchannel says so.docs/launcher.mddescribes 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 followsdocs/launcher.md. The package gains TypeScript types and anexportsmap that keeps
dynoxide/bin/dynoxideanddynoxide/package.jsonimportable.
Changed
- The declared MSRV is now 1.89, which
rusqlite0.43 needs. --helpand 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::SqliteErrorand
storage_backend::from_rusqlitenow userusqlite0.43's types, so code
that passes them to or from its ownrusqliteneeds 0.43 too. The next
crate release isdynoxide-rs4.0.0.StorageBackendgainsfill_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 withdynoxide-rs4.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-parentpromises. Informational
lines on theservepath now drop a failed write instead, and so does the
logRUST_LOGturns 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: 1it used to return a key that resumed to the same item, for ever.
AnExclusiveStartKeyon such a Query is now refused withThe 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 withdatabase is lockedwhen 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 noProjectionExpression. 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 asnull
(#317). -
A JSON
nullwhere 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 anMis
named (: pk is null); one in anL, a PartiQL parameter or an
AttributeValueListis not.ExpressionAttributeValuesand
ExclusiveStartKeywrap it as they wrap their other faults, and a null
given for a wholeExpected,AttributeUpdates,KeyConditions,
QueryFilterorScanFilterentry 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 the1 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'sLimiterror, 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 JavaHashMaporder, 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
ExpressionAttributeValuesandAttributeUpdates, 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
Mare 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
malformedexpression_attribute_valuesbefore a fault in the item or key
(#317). -
A
nullname inExpressionAttributeNamesis 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
nullmember of anSS,NSorBSputs 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,
ExpressionAttributeValuesor
AttributeUpdatesis refused withDuplicate key found in payload
(#317). -
A name written twice inside an
Mkeeps its last copy, as before, but is
now refused withDuplicate key found in payloadwhen 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
ProjectionExpressionbeside
AttributesToGetahead of an empty name inExpressionAttributeNames
(#317). -
An
AttributeUpdatesentry with no value and an action other than
DELETEis now refused inside the1 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_itemused to ignore them
(#317). -
A table or index name's length is counted the way DynamoDB counts it, and
never in UTF-8 bytes.TableNameon 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 ScanIndexNamecount 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
UpdateTableCreateorDeleteindex name, and a Query or Scan
IndexName, are checked before the table is looked up, so a bad one is no
longer answered withResourceNotFoundException. 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 aSerializationException
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, andnullasRequest payload does not contain the input model. An array given for a string, number, boolean,
map or structure inside a request is aSerializationExceptionwith no
message, where Dynoxide printedUnrecognized 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
BatchWriteItemPutRequestgiven as[Item]andDeleteRequestas
[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
SerializationExceptionwith no
message wherever it appears. In a transaction, a batch of PartiQL
statements, a legacyExpectedorAttributeUpdatesvalue and a
BatchGetItem key, Dynoxide answeredSupplied AttributeValue is emptyor
Unexpected value type in payload. -
BatchWriteItem with an empty
RequestItemsis 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 sayThe 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
RequestItemsin DynamoDB's words, where Dynoxide answered with its JSON
decoder's own text, such asmissing field `Keys` at line 1 column 50.
A table with noKeys, aPutRequestwith noItemand a
DeleteRequestwith noKeyare eachValue 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 nullRequestItemsis
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
SerializationExceptionas DynamoDB words it, where Dynoxide printed a
Java class-cast message. A write request holding both aPutRequestand
aDeleteRequestis 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(orless than or equal to 25), one fault for each such table, with no echo of the request
and ahead of a badReturnConsumedCapacityor
ReturnItemCollectionMetrics, which are no longer listed beside it. More
than 25 requests across tables that each hold 25 or fewer isToo 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
RequestItemswith aSerializationException,Duplicate key found in payload, once the whole map is read, as DynamoDB does. A member of the
wrong JSON type written ahead ofRequestItemsis 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
emptyKeysare 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 asTableName, 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
RequestItemsis now reported ahead of one in the map. -
A
ConditionalOperatorother thanANDorORis 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.KeyConditionsnow conflicts only with
KeyConditionExpression, so a Query that pairs it with aFilterExpression
or aProjectionExpressionruns, where it used to be refused, and the
mixing message no longer names it beside aFilterExpression. The
placeholders Dynoxide names the key conditions through internally never
take the place of the caller's own, so a caller's:kc_v0or#kc_0means
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,,ora[-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.ExpressionAttributeValueson a Query or Scan
with only aProjectionExpressionis now refused, and on Query and Scan the
refusal no longer ends with: FilterExpression is null
(#319). -
A
Bvalue, or aBSmember, is read the way DynamoDB reads base64.
The refusals now carry DynamoDB'sSerializationExceptionmessages
(Buffer is too short for base64 encodingfor one character,Base64 encoded length is expected a multiple of 4 bytes but found: 2for!!,
Invalid last non-pad Base64 character dectectedforab==, 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 asQQ,QQ=andQUI, and the
final-group forms such as-Q==, which DynamoDB stores as0xfd. The
crate's ownAttributeValuedeserialiser 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-walas 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 emptyParameters) ahead of a parameter they refuse, as DynamoDB does.
Limit: 0beside{"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, aNULLthat 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
answersUnexpected 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 bareSerializationException. 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 Stringfor
one with a point or an exponent andNUMBER_VALUEfor one without,Unexpected field typein a list or map member,Unexpected value type in payloadas an
attribute value or PartiQL parameter. InLimit, Scan'sSegmentand
TotalSegmentsand the throughput units, DynamoDB's looser rule applies:
-,00and-.5read as 0,01as 1 and1.e5as 100000, while a token
it can't read, such as1.5.5,1eor--1, is refused withBad number format.1e400.5no longer leaks the parser's own message. ListTables
Limitand the throughput units also read a well-formed fraction or a number
past the range as Query'sLimitdoes, so0.5gets the at-least-1 error
instead of serde'sfloating pointtext, and ListTablesLimit: 1e400the
at-most-100 error. StreamsLimit, SearchVectorsTopKand a vector index's
Dimensionsstill refuse such a token with a bareSerializationException,
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'sSerializationExceptionmessage, which names what was found and
what was expected. A number whereSorNbelongs givesNUMBER_VALUE cannot be converted to String, orDECIMAL_VALUEfor one written with a
point or an exponent,1e400included. A non-string inBorBSgives
only base-64-encoded strings are convertible to bytes, a scalar whereSS,
NS,BS,LorMbelongs givesUnexpected field type, and a scalar
insideLorMgivesUnexpected value type in payload. This holds in
items, keys, expression values, PartiQL parameters, legacy conditions and a
Query or ScanExclusiveStartKey, at any depth in anLorM, and ahead
of the "more than one datatypes" check. ABOOLorNULLgiven a decimal
past a double's range, such as1e400, givesDECIMAL_VALUE cannot be converted to Boolean. Most of these used to sayTRUE_VALUE, give no message, leak an
internal message, or come back as aValidationException. 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 asabcor1e126, is refused for
whichever DynamoDB meets first. It walks a list in written order and a map's
members in the order a JavaHashMapholding 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 = 1orREMOVE 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 = 2still 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 aSerializationException. 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, soORDER BY "a.b"namesa.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_existsorattribute_typecan be a BETWEEN bound or
subject, the operand ofsizeorattribute_type, or the argument of
attribute_exists, and it answers as a boolean written there would.
attribute_type(attribute_exists(n), 'BOOL')is true, andn BETWEEN attribute_exists(n) AND 5is refused for its boolean bound. These used to
fail to parse.sizenow refuses a number, a boolean or a null operand, as
a literal, a parameter, a call or anothersize, 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,
sosize(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. Asizegiven two
operands and standing on its own, as inWHERE 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
refusedset_addorset_deletecomes 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. ACOUNT(*)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) > 0andn + 1 > 0all 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 anysizeis refused for the IS, even one given
two operands. -
A PartiQL UPDATE, DELETE or INSERT sent with a
NextTokenruns as it
would without one, where it used to be refused. An emptyNextTokenis
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, andConsistentRead
insidebatch_get_item'srequest_items) andscan_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'sSerializationException. A string used to be
refused as a malformed argument onget_itemandquery, and inside
batch_get_itemit 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_VALUEwhere the HTTP API saysNUMBER_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 aBOOLorNULLwritten as a
string, or a value with two members, move the call to the older layer,
whereput_item,update_itemanddelete_itemreport a refused value
bare rather than inside1 validation error detected:, andupdate_item
names the key inexpression_attribute_values. The batch, transaction and
PartiQL tools now read on their operation's older layer too, so
batch_write_itemcalls1e2147483647an underflow, as BatchWriteItem
does (#237). -
The MCP
scantool takes a negativesegmentortotal_segmentsand
answers with Scan's member check, such asValue 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_partiqltool reports a member error (limit0, a bad
return_consumed_capacityorreturn_values_on_condition_check_failure,
an empty statement) ahead of a parameter refused for its value, and
parametersthat isn't a list as aSerializationExceptionrather than a
protocol error, as ExecuteStatement does over HTTP.consistent_readgoes
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
ClientRequestTokenis 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,UpdateExpressionor a ConditionCheck's
ConditionExpression) is reported first asValue null at '...', with a
badReturnValuesOnConditionCheckFailureon the same action, a bad token
and the request's enums listed beside it, where it used to be a serde
missing fielderror. Then the token's length and the length of
TransactItemsare 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, asValue '' at 'transactItems', or else every table
name refused, either listed with a badReturnConsumedCapacityor
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 badReturnValuesOnConditionCheckFailurerather than
every one. An item given as null is refused withTransactItems can't be nullunless a member left out, the token, an enum or another item's bad
ReturnValuesOnConditionCheckFailureis 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 aSerializationException; 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 inExpressionAttributeValues contains invalid value: ... for key,1e2147483647is an overflow, as on PutItem, and a
repeated string set member is listed quoted and sorted. The MCPtransact_write_items
tool reads its arguments the same way. ExecuteTransaction lists the empty
token first, and a missingTransactStatementsis
Value null at 'transactStatements'
(#318). -
An MCP tool error for a failed condition asked for
ALL_OLDwrites the
item's number sets in the order the HTTP API uses for that operation:
numeric forput_item,update_itemanddelete_item, and DynamoDB's
hash order forexecute_partiql, which used to give them numerically
(#237). -
A cancelled transaction from
transact_write_itemsor
execute_transaction_partiqlnow carriescancellation_reasonsin the
tool error, one entry per action or statement as the HTTP API's
CancellationReasonsgives them,{"Code": "None"}entries included, with
theALL_OLDitem where one was asked for. Before, the reasons were only
in the message
(#237). -
queryandscandecode their whole request as Query and Scan do over
HTTP, solimittakes 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.limitonexecute_partiql,list_streams,describe_stream
andget_records, andtop_konsearch_vectors, are read the same way.
search_vectorsalso reports a badreturn_consumed_capacitybare, as
SearchVectors does, and reads its expression values as SearchVectors does
(#237). -
get_item,put_item,update_itemanddelete_itemcheck their members
as their operations do: a refused key, item or expression value comes ahead
of a badreturn_consumed_capacity,return_valuesand the capacity mode
are listed together where the operation lists them, andupdate_item
reports a bad mode bare.return_values_on_condition_check_failureoutside
ALL_OLDandNONEis now refused on the three write tools, where it was
ignored.delete_itemreadsexpression_attribute_valuesafter the member
checks and names a refused value by its key, as DeleteItem does, and
batch_write_itemreports a bad capacity mode after a refused value
(#237). -
batch_get_itemandbatch_write_itemdecoderequest_itemsas
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
InvalidRequestItemserror of the tools' own.batch_get_itemnow applies
an entry'sAttributesToGetand returns only those attributes, as
BatchGetItem does; it used to ignore it and return the whole item. A
non-stringProjectionExpression, malformedExpressionAttributeNamesor
a badAttributesToGet, which the tool also ignored, are now refused
(#237). -
PartiQL reads
begins_withandcontainsas calls, as it already read
attribute_existsandattribute_type. Either operand can be a literal, a
parameter, a path or another call, sobegins_with('abc', 'a'),
begins_with(?, ?)andcontains([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 ofbegins_withthat
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, soSET z = 1 + nandSET z = (1 + 1)run.
if_not_exists(path, value)andlist_appendare terms, so
SET n = if_not_exists(n, 0) + 1runs. A type fault names the operator
written beside it, and a sum is held to the operator limit. A function such
assizeis refused as not allowed in an update expression, one DynamoDB
doesn't know (abs(n)) as unrecognised,*and/as unsupported
operators, and-nfor its operand count. An operand ofif_not_existsor
list_appendis read the same way, soif_not_exists(q, n + 1)runs and
if_not_exists(q, size(s))is refused namingsize.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 nonope. A literal
of the wrong type in a sum or alist_appendoperand 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-waland-shmfiles 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).