<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Dynoxide changelog</title>
  <subtitle>A local DynamoDB emulator that starts in about 2 ms: a 3 MB native binary with no Docker or JVM. A drop-in alternative to DynamoDB Local.</subtitle>
  <link href="https://dynoxide.dev/changelog.xml" rel="self"/>
  <link href="https://dynoxide.dev/changelog"/>
  <id>https://dynoxide.dev/changelog</id>
  <updated>2026-11-07T00:00:00Z</updated>
  <author>
    <name>Martin Hicks</name>
    <uri>https://martinhicks.dev</uri>
  </author>
  <entry>
    <title>1.6.0</title>
    <link href="https://dynoxide.dev/changelog#1.6.0"/>
    <id>https://dynoxide.dev/changelog#1.6.0</id>
    <updated>2026-11-07T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;zstd&lt;/code&gt; moves to 0.13.4, &lt;code&gt;zstd-safe&lt;/code&gt; to 7.4.0 and &lt;code&gt;zstd-sys&lt;/code&gt; to 2.1.2&lt;/strong&gt; for
RUSTSEC-2026-0391, RUSTSEC-2026-0398, RUSTSEC-2026-0403 and
RUSTSEC-2026-0410. They cover context reuse across streams, seekable and
legacy-frame decompression, and the wasm32 allocator shim. Dynoxide only
compresses import output with a fresh &lt;code&gt;zstd::Encoder&lt;/code&gt; on native targets, so
none of them reach its code, but zstd is built into the binary with the
&lt;code&gt;import&lt;/code&gt; feature, so it ships in this release.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Expressions refuse attribute names starting with &lt;code&gt;_&lt;/code&gt; unless they use an
&lt;code&gt;ExpressionAttributeNames&lt;/code&gt; alias&lt;/strong&gt;, as DynamoDB does, in key condition,
filter, projection, condition and update expressions alike. This includes
an import rule&#39;s &lt;code&gt;match&lt;/code&gt; expression, so a rule matching such an attribute
now needs an alias in its &lt;code&gt;names&lt;/code&gt;. A rule&#39;s &lt;code&gt;path&lt;/code&gt; is unaffected
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/274&quot;&gt;#274&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL reads one partition where DynamoDB does.&lt;/strong&gt; A &lt;code&gt;SELECT&lt;/code&gt; whose OR
branches all name the same partition key, or whose sort key is matched with
&lt;code&gt;IN&lt;/code&gt;, now reads and charges only those keys, and &lt;code&gt;Limit&lt;/code&gt; counts only their
rows. These used to scan the table or read the whole partition, so their
charges and page counts change. The entries under Fixed give the detail.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;An &lt;code&gt;UpdateItem&lt;/code&gt; that creates its item returns no &lt;code&gt;Attributes&lt;/code&gt; for
&lt;code&gt;ReturnValues: ALL_OLD&lt;/code&gt;, whether it uses &lt;code&gt;SET&lt;/code&gt;, &lt;code&gt;REMOVE&lt;/code&gt; or no update
expression. It used to return the key attributes as the old image.
Captured against eu-west-2 and us-east-1 on 5 November 2026
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/278&quot;&gt;#278&lt;/a&gt;,
&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/292&quot;&gt;#292&lt;/a&gt;, thanks
&lt;a href=&quot;https://github.com/alfaproject&quot;&gt;@alfaproject&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A PartiQL &lt;code&gt;SELECT&lt;/code&gt; on one partition refuses a &lt;code&gt;NOT&lt;/code&gt; written over a key
attribute inside an OR whose other branch names no key attribute, such as
&lt;code&gt;pk = &#39;k&#39; AND (NOT sk = &#39;s0&#39; OR x = 0)&lt;/code&gt;, with DynamoDB&#39;s &lt;code&gt;Filter Expression can only contain non-primary key attributes&lt;/code&gt; error. Every written &lt;code&gt;NOT&lt;/code&gt;
counts, two as much as one, and so do &lt;code&gt;NOT IN&lt;/code&gt;, &lt;code&gt;NOT BETWEEN&lt;/code&gt;, &lt;code&gt;IS NOT MISSING&lt;/code&gt; and &lt;code&gt;IS NOT &amp;lt;type&amp;gt;&lt;/code&gt;. A &lt;code&gt;NOT&lt;/code&gt; wrapping such an OR is refused too, as
is one over an AND such as &lt;code&gt;NOT (sk = &#39;s0&#39; AND x = 0)&lt;/code&gt;. A partition key of
the wrong type is reported first. On an index the check uses the index&#39;s
keys. These used to run, or fail as too complex or as overlapping key
conditions. Captured against eu-west-2 and us-east-1 on 5 and 6 November
2026 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/282&quot;&gt;#282&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A PartiQL &lt;code&gt;SELECT&lt;/code&gt; runs &lt;code&gt;attribute_exists&lt;/code&gt;, &lt;code&gt;attribute_not_exists&lt;/code&gt; or &lt;code&gt;IS MISSING&lt;/code&gt; on a key beside a branch naming no key attribute, such as
&lt;code&gt;pk = &#39;k&#39; AND (attribute_not_exists(sk) OR x = 1)&lt;/code&gt;, as a filter over the
partition, on tables and on both kinds of index. It used to be refused for
overlapping key conditions. Captured against eu-west-2 and us-east-1 on
6 November 2026.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;SELECT&lt;/code&gt; reads one partition when every OR branch names the same
partition key. It used to scan the table, charging for unrelated rows and
counting them towards &lt;code&gt;Limit&lt;/code&gt;. Separate parameters holding the same key,
including equivalent numeric spellings, use the same partition read.
Captured against eu-west-2 and us-east-1 on 23 October 2026
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/229&quot;&gt;#229&lt;/a&gt;,
&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/269&quot;&gt;#269&lt;/a&gt;, thanks
&lt;a href=&quot;https://github.com/jay23606&quot;&gt;@jay23606&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A PartiQL OR of sort-key conditions reads only their union within the
shared partition, on tables and on global and local secondary indexes,
including beside a filter too wide to expand. A &lt;code&gt;Limit&lt;/code&gt; read that ends on
the last of a set of sort keys, or on a range&#39;s closed bound, returns no
&lt;code&gt;NextToken&lt;/code&gt;, so two keys under &lt;code&gt;Limit: 1&lt;/code&gt; take two pages rather than
three, on an index and under &lt;code&gt;ORDER BY&lt;/code&gt; too.
Read capacity is charged per OR branch, as DynamoDB charges it, so each
requested key costs a read whether or not it exists. Captured against
eu-west-2 and us-east-1 on 3 and 4 November 2026
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/271&quot;&gt;#271&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A PartiQL sort-key &lt;code&gt;IN&lt;/code&gt; with more than one value reads, charges and pages
like the OR of its keys, on tables and on global and local secondary
indexes. It used to read the whole partition, so &lt;code&gt;pk = &#39;k&#39; AND sk IN [&#39;row-1&#39;, &#39;row-3&#39;]&lt;/code&gt; cost what the partition did and a &lt;code&gt;Limit&lt;/code&gt; walk
kept its token past the last key. Each listed key is charged a read whether
or not it exists, and a last listed key with no item keeps the token for one
empty page, as the OR form does. Captured against eu-west-2 and us-east-1 on
5 November 2026
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/289&quot;&gt;#289&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;PartiQL accepts &lt;code&gt;ORDER BY&lt;/code&gt; on the sort key when OR branches share one
partition. It used to count that partition more than once and demand the
partition key in &lt;code&gt;ORDER BY&lt;/code&gt;
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/273&quot;&gt;#273&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A PartiQL filter on an attribute an index doesn&#39;t project is refused when
OR branches share the index partition key, including through one
multi-value &lt;code&gt;IN&lt;/code&gt;. It used to return no items
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/272&quot;&gt;#272&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;PartiQL evaluates large OR filters as a tree when expanding their
combinations would exceed the read planner&#39;s budget. A partition key
equality beside the filter still reads that partition. Nine, sixteen and
forty pairs of OR conditions now run, with key-type and overlapping-range
checks preserved when the filter exceeds the expansion budget. A string
partition key given &lt;code&gt;1&lt;/code&gt; and &lt;code&gt;1.0&lt;/code&gt; is refused for its type, where it used to
read nothing
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/225&quot;&gt;#225&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Request-member errors follow DynamoDB&#39;s wording and order for deep
&lt;code&gt;DeleteItem&lt;/code&gt;, &lt;code&gt;PutItem&lt;/code&gt; and &lt;code&gt;UpdateItem&lt;/code&gt; requests. An &lt;code&gt;UpdateItem&lt;/code&gt; without
a key joins an empty table name or invalid &lt;code&gt;ConditionalOperator&lt;/code&gt; with the
missing-key error, and Query reports a misused &lt;code&gt;ConditionalOperator&lt;/code&gt; before
an invalid &lt;code&gt;Select&lt;/code&gt;. A deep &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; or &lt;code&gt;DeleteItem&lt;/code&gt; reports
every invalid member together, in DynamoDB&#39;s order: the enum members, a
missing &lt;code&gt;Item&lt;/code&gt; or &lt;code&gt;Key&lt;/code&gt;, and a missing or empty table name. As in DynamoDB,
a table name&#39;s length and pattern are reported only once those pass
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/262&quot;&gt;#262&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;ExecuteStatement reads &lt;code&gt;Limit&lt;/code&gt; as any JSON number, as DynamoDB does. A
fraction truncates, so &lt;code&gt;1.5&lt;/code&gt; and &lt;code&gt;1.0&lt;/code&gt; read as 1, and a value past
2147483647, such as &lt;code&gt;1e+20&lt;/code&gt;, one near or past 9223372036854775807, or
&lt;code&gt;1e400&lt;/code&gt;, reads every row. These used to be refused with serde&#39;s own message
or fail the read. A &lt;code&gt;Limit&lt;/code&gt; of &lt;code&gt;-1&lt;/code&gt; is refused with &lt;code&gt;Member must have value greater than or equal to 1&lt;/code&gt;, echoing the value and listed with the
request&#39;s other member errors, and &lt;code&gt;-1e400&lt;/code&gt; echoes &lt;code&gt;-2147483648&lt;/code&gt;. Captured
against eu-west-2 and us-east-1 on 5 and 6 November 2026
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/287&quot;&gt;#287&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Query&#39;s &lt;code&gt;Limit&lt;/code&gt; and Scan&#39;s &lt;code&gt;Limit&lt;/code&gt;, &lt;code&gt;Segment&lt;/code&gt; and &lt;code&gt;TotalSegments&lt;/code&gt; read a
number past the range of a double, such as &lt;code&gt;1e400&lt;/code&gt; or &lt;code&gt;-1e400&lt;/code&gt;, as the
32-bit integer it saturates to, and check it as they check any other
value. They used to answer with a bare &lt;code&gt;SerializationException&lt;/code&gt;. A &lt;code&gt;Limit&lt;/code&gt;
of &lt;code&gt;0.0&lt;/code&gt; or &lt;code&gt;-0.0&lt;/code&gt; is reported as &lt;code&gt;Value &#39;0&#39; at &#39;limit&#39;&lt;/code&gt;, as &lt;code&gt;0.5&lt;/code&gt; is,
where it used to get the message for a &lt;code&gt;Limit&lt;/code&gt; of &lt;code&gt;0&lt;/code&gt;. Captured against
eu-west-2 and us-east-1 on 6 November 2026.&lt;/li&gt;
&lt;li&gt;A number where a string or boolean member belongs, such as &lt;code&gt;TableName&lt;/code&gt;,
&lt;code&gt;Select&lt;/code&gt; or &lt;code&gt;ConsistentRead&lt;/code&gt;, is named by how it is written, as DynamoDB
names it. A whole number gets &lt;code&gt;NUMBER_VALUE cannot be converted to String&lt;/code&gt;
(or &lt;code&gt;Boolean&lt;/code&gt;) at any size, including &lt;code&gt;-0&lt;/code&gt;, &lt;code&gt;100000000000000000000&lt;/code&gt; and a
400-digit number, and one written with a point or an exponent gets
&lt;code&gt;DECIMAL_VALUE&lt;/code&gt;, including &lt;code&gt;1e400&lt;/code&gt;. In a string member, &lt;code&gt;-0&lt;/code&gt; and whole
numbers past 64 bits used to get &lt;code&gt;DECIMAL_VALUE&lt;/code&gt;, and anywhere, a number
past the range of a double got a bare &lt;code&gt;SerializationException&lt;/code&gt;. Captured against eu-west-2 and us-east-1 on
6 November 2026.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt;, &lt;code&gt;DeleteItem&lt;/code&gt;, &lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt; or &lt;code&gt;Scan&lt;/code&gt;
table name is measured in characters, as DynamoDB measures it, so &lt;code&gt;😀😀&lt;/code&gt; is
too short and 128 emoji aren&#39;t too long. &lt;code&gt;SearchVectors&lt;/code&gt; shares the check.
A deep &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; or &lt;code&gt;DeleteItem&lt;/code&gt; measures it in UTF-16 units,
as DynamoDB does there.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--port 0&lt;/code&gt; reports the port the server bound. The startup line used to
print the requested address, &lt;code&gt;Dynoxide listening on http://127.0.0.1:0&lt;/code&gt;, so
nothing outside the process could tell which port the OS had assigned. The
line is unchanged for any other port
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/277&quot;&gt;#277&lt;/a&gt;, thanks
&lt;a href=&quot;https://github.com/samchungy&quot;&gt;@samchungy&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.5.0</title>
    <link href="https://dynoxide.dev/changelog#1.5.0"/>
    <id>https://dynoxide.dev/changelog#1.5.0</id>
    <updated>2026-10-23T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;tokio&lt;/code&gt; moves to 1.54.1&lt;/strong&gt; for RUSTSEC-2026-0386. &lt;code&gt;AsyncFd&lt;/code&gt;&#39;s safe
constructors accepted a file descriptor the caller didn&#39;t own, which could
lead to a use-after-free in the runtime if that descriptor was closed and its
number reused. Dynoxide doesn&#39;t use &lt;code&gt;AsyncFd&lt;/code&gt;, but tokio is built into the
binary and the &lt;code&gt;http-server&lt;/code&gt; and &lt;code&gt;mcp-server&lt;/code&gt; features, so the fix ships in
this release.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ctutils&lt;/code&gt; moves to 0.4.5&lt;/strong&gt; for RUSTSEC-2026-0385, non-constant-time mask
generation and &lt;code&gt;u128&lt;/code&gt; comparisons. It reaches the tree through the AWS SDK,
a dev-dependency only, and never shipped in a released artefact.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The &lt;code&gt;http-server&lt;/code&gt; and &lt;code&gt;mcp-server&lt;/code&gt; features no longer turn on &lt;code&gt;cli&lt;/code&gt;.&lt;/strong&gt; A
library that embeds either server stops compiling clap and
&lt;code&gt;tracing-subscriber&lt;/code&gt;, which only the binary uses: 22 fewer crates for
&lt;code&gt;native-sqlite,http-server&lt;/code&gt;. The default features, &lt;code&gt;full&lt;/code&gt; and the
&lt;code&gt;encrypted-*&lt;/code&gt; bundles include &lt;code&gt;cli&lt;/code&gt; already, but a build that names the
server features explicitly needs &lt;code&gt;cli&lt;/code&gt; added to get the binary. A crate that
relied on Dynoxide to turn on &lt;code&gt;tracing-subscriber&lt;/code&gt;&#39;s &lt;code&gt;env-filter&lt;/code&gt; feature
needs to enable it itself.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A read of a table with a vector index is charged on the billed size.&lt;/strong&gt;
DynamoDB bills a vector attribute at four bytes per dimension on reads now,
as it already did on writes, so an item whose numbers took it over a 4 KB
boundary costs a unit less. This applies to &lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;BatchGetItem&lt;/code&gt;,
&lt;code&gt;TransactGetItems&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt;, &lt;code&gt;Scan&lt;/code&gt; and every PartiQL read of the table. A
read served from a secondary index and the 400 KB item limit still size the
vector by its numbers (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/264&quot;&gt;#264&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;GetItem&lt;/code&gt; and &lt;code&gt;TransactGetItems&lt;/code&gt; charge the whole item whatever the
projection returns&lt;/strong&gt;, as &lt;code&gt;BatchGetItem&lt;/code&gt; and DynamoDB already did. A read of
one attribute of a large item used to cost only what it returned.&lt;/li&gt;
&lt;li&gt;An import with &lt;code&gt;record_streams&lt;/code&gt; records a &lt;code&gt;MODIFY&lt;/code&gt; carrying the item it
replaced when it overwrites a key, whether that item was stored before the
import or came earlier in it, as a &lt;code&gt;PutItem&lt;/code&gt; over the key does. It used to
record an &lt;code&gt;INSERT&lt;/code&gt; with no old image
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/265&quot;&gt;#265&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A stream record&#39;s &lt;code&gt;SequenceNumber&lt;/code&gt; is 21 digits&lt;/strong&gt;, within DynamoDB&#39;s 21 to
40, and records already in a database file are shown in the same 21-digit
form. Every table&#39;s next number is at least the current time in
microseconds, so an in-memory server doesn&#39;t normally reissue the numbers
an earlier run gave out. Numbers keep their order as strings and as numbers.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;GetShardIterator&lt;/code&gt; validates &lt;code&gt;SequenceNumber&lt;/code&gt; as DynamoDB does&lt;/strong&gt;, with a
&lt;code&gt;ValidationException&lt;/code&gt;. An &lt;code&gt;AT_SEQUENCE_NUMBER&lt;/code&gt; or &lt;code&gt;AFTER_SEQUENCE_NUMBER&lt;/code&gt;
request refuses a missing number, one outside 21 to 40 characters, and one
that names no record that could have been issued; it used to read the stream
from its start. &lt;code&gt;TRIM_HORIZON&lt;/code&gt; and &lt;code&gt;LATEST&lt;/code&gt; refuse a &lt;code&gt;SequenceNumber&lt;/code&gt;, where
they used to ignore it. The short numbers earlier builds returned fail the
length check, so a consumer holding one has to restart from
&lt;code&gt;TRIM_HORIZON&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Downgrading replays the stream.&lt;/strong&gt; A &lt;code&gt;SequenceNumber&lt;/code&gt; saved under this
release does not resolve on an earlier release, so a consumer that resumes
from one after a downgrade reads the stream again from its start. Records
written under this release also report a different eventID on an earlier
release, so a consumer that de-duplicates by eventID processes them again.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A stream record&#39;s &lt;code&gt;eventID&lt;/code&gt; is globally unique.&lt;/strong&gt; It was the record&#39;s
sequence number, so an in-memory server issued &lt;code&gt;1&lt;/code&gt;, &lt;code&gt;2&lt;/code&gt;, &lt;code&gt;3&lt;/code&gt; again after
every restart, and a consumer that skips eventIDs it has already processed
silently dropped new events. Each new record gets a random 32-character
hex id when it is written, stored with it so every read returns the same
one. Records already in a database file keep the eventIDs they reported
before (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/258&quot;&gt;#258&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Stream records written by an import with &lt;code&gt;record_streams&lt;/code&gt; go to the shard
&lt;code&gt;DescribeStream&lt;/code&gt; lists and follow the table&#39;s &lt;code&gt;StreamViewType&lt;/code&gt;. A consumer
following &lt;code&gt;DescribeStream&lt;/code&gt; never saw them, and a &lt;code&gt;KEYS_ONLY&lt;/code&gt; table got the
new image anyway (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/260&quot;&gt;#260&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SearchVectors&lt;/code&gt; answers an explicit null &lt;code&gt;IndexName&lt;/code&gt;, &lt;code&gt;TableName&lt;/code&gt;,
&lt;code&gt;SearchVector&lt;/code&gt; or &lt;code&gt;TopK&lt;/code&gt; with a &lt;code&gt;SerializationException&lt;/code&gt; quoting the
deserialiser, as DynamoDB does. A missing &lt;code&gt;TableName&lt;/code&gt; gets the same
missing-field &lt;code&gt;ValidationException&lt;/code&gt; as the other three required members,
ahead of a too-short &lt;code&gt;IndexName&lt;/code&gt;
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/263&quot;&gt;#263&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SearchVectors&lt;/code&gt; answers a null, empty or two-type value in &lt;code&gt;SearchVector&lt;/code&gt; or
&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; with a &lt;code&gt;SerializationException&lt;/code&gt; carrying no
message, and a null where a member&#39;s value belongs with the deserialiser&#39;s
&lt;code&gt;invalid type: null, expected ...&lt;/code&gt;, as DynamoDB does. Other operations are
unchanged (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/266&quot;&gt;#266&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SearchVectors&lt;/code&gt; answers a malformed request as DynamoDB&#39;s search endpoint
does. A wrongly typed member quotes the deserialiser, an unknown type lists
the ones it accepts, and the search vector, expression values and expression
names are checked before the table is looked up, in DynamoDB&#39;s order. An
invalid &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; is refused on its own, without the
&lt;code&gt;1 validation error detected:&lt;/code&gt; envelope, and a &lt;code&gt;TopK&lt;/code&gt; beyond the 32-bit range
is a &lt;code&gt;ValidationException&lt;/code&gt;. Its &lt;code&gt;SerializationException&lt;/code&gt; bodies use a
lowercase &lt;code&gt;message&lt;/code&gt;, as that endpoint writes them. Other operations are
unchanged (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/267&quot;&gt;#267&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.4.0</title>
    <link href="https://dynoxide.dev/changelog#1.4.0"/>
    <id>https://dynoxide.dev/changelog#1.4.0</id>
    <updated>2026-10-21T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rustls-webpki&lt;/code&gt; moves to 0.103.16&lt;/strong&gt; for RUSTSEC-2026-0382. Earlier
versions could accept a certificate chain through one of the distrusted
emSign intermediates, whose private keys are now public. &lt;code&gt;rustls&lt;/code&gt; moves to
0.23.46 alongside it for RUSTSEC-2026-0346 to RUSTSEC-2026-0349. Both reach
the tree through dev-dependencies only and never shipped in a released
artefact.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Database::scan&lt;/code&gt; and &lt;code&gt;Database::query&lt;/code&gt; check a request built in Rust as the
HTTP path checks it, so they refuse requests they used to run: a &lt;code&gt;Limit&lt;/code&gt; of
0 on either, and on &lt;code&gt;Database::scan&lt;/code&gt; a &lt;code&gt;Select&lt;/code&gt; or &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;
outside its enum and a &lt;code&gt;Segment&lt;/code&gt; above 999999. Scan&#39;s member errors now come
from &lt;code&gt;Database::scan&lt;/code&gt; rather than from decoding the request, so a
&lt;code&gt;ScanRequest&lt;/code&gt; with a &lt;code&gt;Select&lt;/code&gt; of &lt;code&gt;BAD&lt;/code&gt; decodes.&lt;/li&gt;
&lt;li&gt;For a request built in Rust, an empty &lt;code&gt;UpdateExpression&lt;/code&gt; comes back as
&lt;code&gt;DynoxideError::EnvelopedValidation&lt;/code&gt; rather than &lt;code&gt;ValidationException&lt;/code&gt;; the
message is unchanged.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dynoxide mcp&lt;/code&gt; refuses &lt;code&gt;--max-items 0&lt;/code&gt; as it starts, and its &lt;code&gt;scan&lt;/code&gt; and
&lt;code&gt;query&lt;/code&gt; tools refuse a &lt;code&gt;limit&lt;/code&gt; of 0, as DynamoDB refuses a &lt;code&gt;Limit&lt;/code&gt; of 0.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;server::serve_with_shutdown&lt;/code&gt; stops an embedded HTTP server cleanly.&lt;/strong&gt; It
serves on a listener you bind until a future you supply resolves, then stops
accepting, closes idle keep-alive connections, lets running requests finish
and returns. Stopping a server you had started yourself used to mean
aborting its task, which left the connection tasks holding the database, so
a file-backed database&#39;s files stayed open (and could not be deleted on
Windows). &lt;code&gt;start&lt;/code&gt; now runs on it too, with its Ctrl-C and SIGTERM handling
unchanged.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dynoxide import&lt;/code&gt; reads JSON Lines files named &lt;code&gt;.jsonl&lt;/code&gt; and &lt;code&gt;.jsonl.gz&lt;/code&gt;, in a DynamoDB Export directory (&lt;code&gt;&amp;lt;dir&amp;gt;/&amp;lt;TableName&amp;gt;/data/&lt;/code&gt;) or a flat directory of those files, alongside the &lt;code&gt;.json&lt;/code&gt; and &lt;code&gt;.json.gz&lt;/code&gt; parts it already accepted (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/250&quot;&gt;#250&lt;/a&gt;, thanks &lt;a href=&quot;https://github.com/samchungy&quot;&gt;@samchungy&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A &lt;code&gt;SearchVectorsRequest&lt;/code&gt; built in Rust now meets the &lt;code&gt;IndexName&lt;/code&gt;,
&lt;code&gt;SearchVector&lt;/code&gt; and &lt;code&gt;TopK&lt;/code&gt; checks.&lt;/strong&gt; An &lt;code&gt;IndexName&lt;/code&gt; shorter than three
characters, an empty &lt;code&gt;SearchVector&lt;/code&gt; or a &lt;code&gt;TopK&lt;/code&gt; below 1 used to get past
&lt;code&gt;Database::search_vectors&lt;/code&gt; and fail later with whatever came next. They now
get the same validation message as the same request sent over HTTP, in the
same order. A &lt;code&gt;TopK&lt;/code&gt; below 1 now gets the &lt;code&gt;1 validation error detected:&lt;/code&gt;
form it has over HTTP rather than the bare out-of-range message; &lt;code&gt;TopK&lt;/code&gt; above
100 keeps the bare message.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Five request-validation messages now match DynamoDB when more than one
thing is wrong.&lt;/strong&gt; UpdateItem with no &lt;code&gt;TableName&lt;/code&gt; keeps that error beside a
bad &lt;code&gt;ReturnValues&lt;/code&gt;, and, when the key is missing too, beside a bad
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; or &lt;code&gt;ReturnItemCollectionMetrics&lt;/code&gt;, in the order
DynamoDB lists them. Query with
no &lt;code&gt;TableName&lt;/code&gt; and a &lt;code&gt;Limit&lt;/code&gt; of 0 reports both, with a bad &lt;code&gt;Select&lt;/code&gt; first.
BatchGetItem reports a malformed table name ahead of the total key count.
DeleteItem treats a &lt;code&gt;ReturnValues&lt;/code&gt; of &lt;code&gt;ALL_NEW&lt;/code&gt; or &lt;code&gt;UPDATED_NEW&lt;/code&gt; as a request
member: it is joined after the other member errors and reported ahead of any
expression error. UpdateItem puts an empty &lt;code&gt;UpdateExpression&lt;/code&gt; in the
&lt;code&gt;1 validation error detected:&lt;/code&gt; envelope and reports an empty
&lt;code&gt;ConditionExpression&lt;/code&gt; before it.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; and PartiQL &lt;code&gt;UPDATE&lt;/code&gt; refuse a &lt;code&gt;SET&lt;/code&gt;, &lt;code&gt;REMOVE&lt;/code&gt;, &lt;code&gt;ADD&lt;/code&gt; or &lt;code&gt;DELETE&lt;/code&gt; whose path has a missing or wrong-typed parent: &lt;code&gt;The document path provided in the update expression is invalid for update&lt;/code&gt;. PartiQL &lt;code&gt;SET zz.y = 1&lt;/code&gt; no longer creates &lt;code&gt;zz&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Every clause of an update reads the item as it was before the update, in &lt;code&gt;UpdateItem&lt;/code&gt; and PartiQL: &lt;code&gt;REMOVE l[0], l[1]&lt;/code&gt; removes both elements, and &lt;code&gt;SET n = 7, s = n + 1&lt;/code&gt; gives &lt;code&gt;s&lt;/code&gt; the old &lt;code&gt;n&lt;/code&gt; plus one.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;UPDATE&lt;/code&gt; refuses overlapping paths (&lt;code&gt;Two document paths overlap with each other&lt;/code&gt;) and takes one path per &lt;code&gt;REMOVE&lt;/code&gt; keyword, so &lt;code&gt;REMOVE a, b&lt;/code&gt; is a syntax error.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SET&lt;/code&gt; arithmetic and &lt;code&gt;list_append&lt;/code&gt; return DynamoDB&#39;s errors for a missing attribute, a stored value of the wrong type and a value of the wrong type. A PartiQL &lt;code&gt;SET n = zz + 1&lt;/code&gt; on a missing &lt;code&gt;zz&lt;/code&gt; is refused, not read as zero. &lt;code&gt;ADD&lt;/code&gt; and &lt;code&gt;DELETE&lt;/code&gt; name the operand type in full with a &lt;code&gt;typeSet&lt;/code&gt;; the others use the short code (&lt;code&gt;S&lt;/code&gt;, &lt;code&gt;N&lt;/code&gt;, &lt;code&gt;L&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;+&lt;/code&gt;, &lt;code&gt;-&lt;/code&gt; and &lt;code&gt;list_append&lt;/code&gt; take an attribute on either side, and a quoted string is a string.&lt;/li&gt;
&lt;li&gt;An update that appends past the end of a list reads every other index on that list as the list was: an &lt;code&gt;ADD&lt;/code&gt;, &lt;code&gt;DELETE&lt;/code&gt; or &lt;code&gt;REMOVE&lt;/code&gt; at an index the list did not reach leaves the appended element alone, and the appends land in index order, PartiQL&#39;s included. A &lt;code&gt;DELETE&lt;/code&gt; that empties a set held in a list element takes the element out at its original index.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Scan&lt;/code&gt; checks its request members as the newer validation layer does, which 20 of 33 regions now run: &lt;code&gt;Limit&lt;/code&gt;, &lt;code&gt;Segment&lt;/code&gt;, &lt;code&gt;TotalSegments&lt;/code&gt; and an empty &lt;code&gt;TableName&lt;/code&gt; come first in the newer wording, then the table-name format and &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;, then &lt;code&gt;Select&lt;/code&gt;, with an &lt;code&gt;ExclusiveStartKey&lt;/code&gt; mismatch answered as &lt;code&gt;The provided starting key is invalid&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/254&quot;&gt;#254&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Scan&lt;/code&gt; refuses &lt;code&gt;Select&lt;/code&gt; of &lt;code&gt;COUNT&lt;/code&gt;, &lt;code&gt;ALL_ATTRIBUTES&lt;/code&gt; or &lt;code&gt;ALL_PROJECTED_ATTRIBUTES&lt;/code&gt; beside &lt;code&gt;AttributesToGet&lt;/code&gt;, and answers an empty attribute name in an &lt;code&gt;ExclusiveStartKey&lt;/code&gt; or an expression value bare.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Scan&lt;/code&gt; words a bad number or a repeated set member in an attribute value as the newer layer does, with no &lt;code&gt;ExpressionAttributeValues contains invalid value&lt;/code&gt; wrapper.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Scan&lt;/code&gt; reads &lt;code&gt;Limit&lt;/code&gt;, &lt;code&gt;Segment&lt;/code&gt; and &lt;code&gt;TotalSegments&lt;/code&gt; as 32-bit integers that saturate and drop a fraction, so &lt;code&gt;Limit&lt;/code&gt; 4294967296 is accepted and a negative &lt;code&gt;TotalSegments&lt;/code&gt; is a validation error rather than a decoding one. It refuses a &lt;code&gt;Segment&lt;/code&gt; above 999999, checks &lt;code&gt;Select&lt;/code&gt; of &lt;code&gt;ALL_ATTRIBUTES&lt;/code&gt; against a keys-only index ahead of the &lt;code&gt;ExclusiveStartKey&lt;/code&gt;, and on a table with indexes reports an &lt;code&gt;ExclusiveStartKey&lt;/code&gt; attribute of the wrong type as an index key mismatch.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Query&lt;/code&gt; refuses &lt;code&gt;Select&lt;/code&gt; of &lt;code&gt;COUNT&lt;/code&gt;, &lt;code&gt;ALL_ATTRIBUTES&lt;/code&gt; or &lt;code&gt;ALL_PROJECTED_ATTRIBUTES&lt;/code&gt; beside &lt;code&gt;AttributesToGet&lt;/code&gt;, puts its &lt;code&gt;Cannot specify ...&lt;/code&gt; and &lt;code&gt;ALL_PROJECTED_ATTRIBUTES&lt;/code&gt; messages in the &lt;code&gt;1 validation error detected:&lt;/code&gt; envelope, reads &lt;code&gt;Limit&lt;/code&gt; as &lt;code&gt;Scan&lt;/code&gt; does, and answers an index key of the wrong type in an &lt;code&gt;ExclusiveStartKey&lt;/code&gt; with &lt;code&gt;The provided starting key is invalid&lt;/code&gt;. With no &lt;code&gt;TableName&lt;/code&gt; it reports a bad &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; beside the missing name.&lt;/li&gt;
&lt;li&gt;A parallel &lt;code&gt;Scan&lt;/code&gt; of a table with &lt;code&gt;TotalSegments&lt;/code&gt; above 4096 returns each item once. The segments past the last hash bucket used to return almost every item.&lt;/li&gt;
&lt;li&gt;A parallel &lt;code&gt;Scan&lt;/code&gt; that deletes each page as it goes sees its whole segment. Once the item its &lt;code&gt;ExclusiveStartKey&lt;/code&gt; named was deleted, the next page used to come back empty, with no &lt;code&gt;LastEvaluatedKey&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.3.0</title>
    <link href="https://dynoxide.dev/changelog#1.3.0"/>
    <id>https://dynoxide.dev/changelog#1.3.0</id>
    <updated>2026-10-10T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;An expression containing a multi-byte character could stop the server&lt;/strong&gt;
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/security/advisories/GHSA-gwhp-7jch-7xj6&quot;&gt;GHSA-gwhp-7jch-7xj6&lt;/a&gt;,
High). From 0.9.10 to 1.2.1, a character such as &lt;code&gt;€&lt;/code&gt; or an emoji outside a
string in an &lt;code&gt;UpdateExpression&lt;/code&gt; or &lt;code&gt;ProjectionExpression&lt;/code&gt; made Dynoxide panic
while building the syntax error, and release builds abort on panic. It is
now refused with DynamoDB&#39;s syntax error.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;--help&lt;/code&gt; showed the MCP auth token&lt;/strong&gt;
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/security/advisories/GHSA-3rv6-mrj3-vf9j&quot;&gt;GHSA-3rv6-mrj3-vf9j&lt;/a&gt;,
Low). From 0.10.0 to 1.2.1, subcommand help printed the value of
&lt;code&gt;DYNOXIDE_MCP_AUTH_TOKEN&lt;/code&gt; when it was set. Help now names the variable
without showing its value.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;aws-smithy-json&lt;/code&gt; moves to 0.63.1&lt;/strong&gt; for GHSA-8ffr-xgwf-xj56. It reaches the
tree only through the AWS SDK the tests and the benchmarks use, never in a
released artefact, and the advisory covers smithy-rs generated servers,
which Dynoxide isn&#39;t. The fixed release needs Rust 1.94.1, so the test suite
now needs Rust 1.94.1 or later. The crate, and every build of it, still
compiles on 1.88.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A PartiQL &lt;code&gt;NextToken&lt;/code&gt; is bound to its statement the way DynamoDB binds it:
to the statement&#39;s text exactly as written, and to its parameters by value.
The same statement pages on, and may change its &lt;code&gt;Limit&lt;/code&gt;. A page whose
statement differs at all (a space, a keyword&#39;s case, the projection, a map
literal&#39;s key order) or whose parameters are different values is refused
with &lt;code&gt;NextToken does not match request&lt;/code&gt;, where a statement that parsed
alike used to resume. A number parameter is the same value when it is the
same decimal at the same scale, so &lt;code&gt;1E2&lt;/code&gt; against &lt;code&gt;1e+2&lt;/code&gt;, &lt;code&gt;01&lt;/code&gt; against &lt;code&gt;1&lt;/code&gt;
and &lt;code&gt;1.5E1&lt;/code&gt; against &lt;code&gt;15&lt;/code&gt; resume, and &lt;code&gt;0&lt;/code&gt; against &lt;code&gt;0.0&lt;/code&gt; or &lt;code&gt;100&lt;/code&gt; against
&lt;code&gt;1E2&lt;/code&gt; are refused. A set parameter is the same value with its members in
any order, a number set&#39;s members compared by value whatever their scale.
A statement with a list or map parameter is never resumed, even with the
same parameter sent again: its first page still hands out a token, and the
next page is refused with it. A map literal with more than one key used to
be refused on its own next page, because its key order was drawn afresh
for every request; it pages now. Captured against eu-west-2 and us-east-1.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; is held to the 400KB limit the way DynamoDB holds it: by a
charge worked out from the request, alongside the finished item&#39;s own size,
rather than by the finished item less its key. Nothing the table already
stores enters the charge, so an update beside large attributes, maps, lists
or sets it leaves alone now succeeds where it was refused. Operands are
charged for what the request writes, so an arithmetic update, an
&lt;code&gt;if_not_exists&lt;/code&gt;, a &lt;code&gt;list_append&lt;/code&gt; or a copy from another path near the limit
can now be refused where it succeeded, though the item barely grows. An
update whose charge is over the limit is refused before its condition is
evaluated. The legacy &lt;code&gt;AttributeUpdates&lt;/code&gt; parameter is measured by the
finished item alone. Captured against eu-west-2. &lt;code&gt;TransactWriteItems&lt;/code&gt;
updates and PartiQL &lt;code&gt;UPDATE&lt;/code&gt; are measured as before.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;SET&lt;/code&gt; through a list index past the end of the list appends the value, as
DynamoDB does, where it used to pad the gap with NULLs; several such writes
to one list append in the order of their indexes. A path that steps through
an element past the end of a list, or through a NULL, is refused with
DynamoDB&#39;s document path error where it used to create a map or a list
there. This covers &lt;code&gt;UpdateItem&lt;/code&gt; and &lt;code&gt;TransactWriteItems&lt;/code&gt; updates; PartiQL
&lt;code&gt;UPDATE&lt;/code&gt; already appended. Captured against eu-west-2.&lt;/li&gt;
&lt;li&gt;For Rust users of the crate: &lt;code&gt;AttributeValue&lt;/code&gt;&#39;s &lt;code&gt;Serialize&lt;/code&gt; writes set
members in DynamoDB&#39;s order (string and binary sets by their bytes, number
sets by value), so a set no longer keeps the order it was built in through
serde. Normalising an item for a write sorts its sets in place.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; works on the three PartiQL
operations. Set to &lt;code&gt;ALL_OLD&lt;/code&gt;, an &lt;code&gt;UPDATE&lt;/code&gt; or &lt;code&gt;DELETE&lt;/code&gt; whose WHERE clause is
false on an item that exists hands back the whole item: on that statement&#39;s
cancellation reason in &lt;code&gt;ExecuteTransaction&lt;/code&gt;, on the member&#39;s &lt;code&gt;Error&lt;/code&gt; in
&lt;code&gt;BatchExecuteStatement&lt;/code&gt;, and on &lt;code&gt;ExecuteStatement&lt;/code&gt;&#39;s
&lt;code&gt;ConditionalCheckFailedException&lt;/code&gt;, which then writes its message as
&lt;code&gt;Message&lt;/code&gt; and its number sets in hash order. &lt;code&gt;NONE&lt;/code&gt;, leaving it out, a
missing item, a duplicate &lt;code&gt;INSERT&lt;/code&gt; and a statement without a condition give
no item. A value other than &lt;code&gt;ALL_OLD&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt;, an empty string included,
is refused as a member, ahead of the statement and its parameters, where
&lt;code&gt;ExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt; used to accept anything. A
transaction&#39;s mode takes part in its &lt;code&gt;ClientRequestToken&lt;/code&gt; match, leaving it
out counting as &lt;code&gt;NONE&lt;/code&gt;, and its over-long echo prints the value sent.
&lt;code&gt;ExecuteStatement&lt;/code&gt; lists its member errors in DynamoDB&#39;s order: the mode,
&lt;code&gt;Limit&lt;/code&gt;, the statement, &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;, then the parameters.
Captured against eu-west-2 and us-east-1; this corrects the 1.0.0 entry
that found the option inert on a batch.&lt;/li&gt;
&lt;li&gt;Opening a database brings it up to schema version 11, and the upgrade is
one way. It changes what an older Dynoxide reads only for a global secondary
index with a multi-attribute key, whose entries are rebuilt, and a table with
a vector index, whose stored item sizes are recomputed. Earlier versions
don&#39;t check the version a file records, so one would open such a file and
read those indexes or sizes wrongly: if a file has either and you may need
to take it back to 1.2.x, keep a copy. From this release a file written by a newer Dynoxide is refused,
with an error naming its schema version and the newest this build reads,
and is left unchanged, where it used to be opened as it was. That covers
&lt;code&gt;Database::new&lt;/code&gt;, an encrypted open, the snapshot a restore reads from, and
the browser build&#39;s database.&lt;/li&gt;
&lt;li&gt;While it opens, a database file waits up to 30 seconds for a lock another
process holds, where it gave up after five, so a second Dynoxide opening a
file while the first brings it up to date waits for it and then finds the
work done. Once open it waits five seconds, as before, so a request held up
by another process&#39;s lock gives up after five seconds rather than holding
every other request up behind it. A restore still gives up on a busy
snapshot after five seconds, and an in-memory database is unchanged.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The MCP tools that wrap a DynamoDB read or write take
&lt;code&gt;return_consumed_capacity&lt;/code&gt; (&lt;code&gt;TOTAL&lt;/code&gt;, &lt;code&gt;INDEXES&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt;) and return the
&lt;code&gt;ConsumedCapacity&lt;/code&gt; block the DynamoDB API returns for the same request. That
covers the item tools, &lt;code&gt;query&lt;/code&gt;, &lt;code&gt;scan&lt;/code&gt;, &lt;code&gt;search_vectors&lt;/code&gt;, &lt;code&gt;batch_get_item&lt;/code&gt;,
&lt;code&gt;batch_write_item&lt;/code&gt;, both transaction tools and the three PartiQL tools. Any
other value is refused with DynamoDB&#39;s validation error.&lt;/li&gt;
&lt;li&gt;The MCP &lt;code&gt;execute_partiql&lt;/code&gt; tool takes &lt;code&gt;return_values_on_condition_check_failure&lt;/code&gt;
(&lt;code&gt;ALL_OLD&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt;), as &lt;code&gt;ExecuteStatement&lt;/code&gt; does. A tool error for a failed
condition now carries the item the condition was evaluated against when
&lt;code&gt;ALL_OLD&lt;/code&gt; was asked for, on &lt;code&gt;execute_partiql&lt;/code&gt; and on the item tools, which
took the argument before but never handed the item back.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--log quiet&lt;/code&gt; suppresses informational startup and shutdown messages on
stderr. It works on &lt;code&gt;serve&lt;/code&gt; and the no-subcommand form, &lt;code&gt;serve --mcp&lt;/code&gt;, &lt;code&gt;mcp&lt;/code&gt;
(stdio and &lt;code&gt;--http&lt;/code&gt;), and &lt;code&gt;import --serve&lt;/code&gt; or &lt;code&gt;--mcp&lt;/code&gt;. Warnings, errors, the
first-run MCP token message and the import&#39;s own report still print. On
&lt;code&gt;import&lt;/code&gt;, &lt;code&gt;--log&lt;/code&gt; conflicts with &lt;code&gt;--output&lt;/code&gt;. Without the flag the output is
unchanged.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ServerOptions&lt;/code&gt; (at the crate root, and at &lt;code&gt;server::ServerOptions&lt;/code&gt;),
&lt;code&gt;server::start_with_options&lt;/code&gt; and &lt;code&gt;mcp::serve_http_with_options&lt;/code&gt; give embedded
Rust callers the same switch for both servers.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Storage::item_count_and_size&lt;/code&gt;, &lt;code&gt;gsi_item_count_and_size&lt;/code&gt;,
&lt;code&gt;lsi_item_count_and_size&lt;/code&gt; and &lt;code&gt;vector_item_count_and_size&lt;/code&gt; return a table&#39;s
or an index&#39;s item count and total size, the figures DescribeTable reports.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;h4&gt;Breaking (Rust API)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;expressions&lt;/code&gt; and &lt;code&gt;partiql&lt;/code&gt; modules are no longer public. They hold the
parsers for DynamoDB&#39;s expression syntax and for PartiQL, whose shape changes
as compatibility work lands, and this release changed both substantially.
Expressions and PartiQL statements are still sent through &lt;code&gt;Database&lt;/code&gt; and the
&lt;code&gt;actions&lt;/code&gt; request types, which this does not change.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ParameterizedStatement&lt;/code&gt; and &lt;code&gt;ExecuteStatementRequest&lt;/code&gt; gain
&lt;code&gt;return_values_on_condition_check_failure&lt;/code&gt;, and &lt;code&gt;BatchStatementError&lt;/code&gt; gains
&lt;code&gt;item&lt;/code&gt;, so struct literals of them need the field adding, or
&lt;code&gt;..Default::default()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;actions::index_capacity::WriteCapacity::condition_check&lt;/code&gt; takes the table&#39;s
vector indexes, so a vector attribute is charged at its billed size.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;An &lt;code&gt;UpdateItem&lt;/code&gt; whose &lt;code&gt;UpdateExpression&lt;/code&gt; was only whitespace, such as
&lt;code&gt;&amp;quot;   &amp;quot;&lt;/code&gt;, answered 200 and wrote the item: the key alone for a new item, or
the item as it was for an existing one. 1.2.1 did this too. An expression made
only of whitespace is now refused as DynamoDB refuses it, as a syntax error
at its end with the whitespace as sent: &lt;code&gt;Invalid UpdateExpression: Syntax error; token: &amp;quot;&amp;lt;EOF&amp;gt;&amp;quot;, near: &amp;quot;   &amp;quot;&lt;/code&gt;, and nothing is written. A
&lt;code&gt;ProjectionExpression&lt;/code&gt; of whitespace is refused the same way on every read
that takes one, where it returned items with no attributes. A
&lt;code&gt;ConditionExpression&lt;/code&gt;, &lt;code&gt;KeyConditionExpression&lt;/code&gt; or &lt;code&gt;FilterExpression&lt;/code&gt; of
whitespace was already refused, but with an empty &lt;code&gt;near&lt;/code&gt;; it now gives the
whitespace too, in the envelope on &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; and &lt;code&gt;DeleteItem&lt;/code&gt;
and bare elsewhere. A transaction&#39;s &lt;code&gt;Update&lt;/code&gt; with an empty
&lt;code&gt;UpdateExpression&lt;/code&gt; is refused up front with &lt;code&gt;Invalid UpdateExpression: The expression can not be empty;&lt;/code&gt;, where it wrote an item holding only its key.
Captured against eu-west-2 and us-east-1, the transactions also against
ap-southeast-2 and eu-central-1. &lt;code&gt;TransactGetItems&lt;/code&gt; refuses an empty or
whitespace &lt;code&gt;ProjectionExpression&lt;/code&gt; with the same messages &lt;code&gt;GetItem&lt;/code&gt; gives,
and does so before it looks up any table, so a &lt;code&gt;Get&lt;/code&gt; on a table that doesn&#39;t
exist gets the projection error (captured against eu-west-2).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy &lt;code&gt;QueryFilter&lt;/code&gt; or &lt;code&gt;ScanFilter&lt;/code&gt; condition with a &lt;code&gt;ComparisonOperator&lt;/code&gt;
DynamoDB doesn&#39;t have, such as &lt;code&gt;FOO&lt;/code&gt;, or with none at all, was dropped, so
the Query or Scan ran without it, and one whose every condition dropped
returned every item. A lower-case &lt;code&gt;eq&lt;/code&gt; ran as &lt;code&gt;EQ&lt;/code&gt;. 1.2.1 did both. An
unknown operator, &lt;code&gt;eq&lt;/code&gt; included, is now refused with &lt;code&gt;One or more parameter values were invalid: Invalid comparison operator&lt;/code&gt;, and a missing one with &lt;code&gt;1 validation error detected: Value null at &#39;scanFilter.a.member.comparisonOperator&#39; failed to satisfy constraint: Member must not be null&lt;/code&gt; (&lt;code&gt;queryFilter&lt;/code&gt; on a Query). &lt;code&gt;KeyConditions&lt;/code&gt; takes
the same rule, where it also ran &lt;code&gt;eq&lt;/code&gt; as &lt;code&gt;EQ&lt;/code&gt; and refused an unknown or
missing operator in Dynoxide&#39;s own words. Captured against eu-west-2,
ap-southeast-2, eu-central-1 and us-east-1; us-east-1 answers an unknown
operator with the member&#39;s enum constraint instead, and the other three
regions are followed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy &lt;code&gt;AttributeUpdates&lt;/code&gt; action written in another case, such as &lt;code&gt;put&lt;/code&gt;
or &lt;code&gt;Delete&lt;/code&gt;, was read as its upper-case form and applied. 1.2.1 did this
too. An action other than &lt;code&gt;ADD&lt;/code&gt;, &lt;code&gt;DELETE&lt;/code&gt; or &lt;code&gt;PUT&lt;/code&gt; is now refused before the
table is looked up, with DynamoDB&#39;s own text: &lt;code&gt;1 validation error detected: Member must satisfy enum value set: [ADD, DELETE, PUT]&#39; for Action&lt;/code&gt;.
Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy condition on an attribute whose name holds a &lt;code&gt;-&lt;/code&gt;, a &lt;code&gt;.&lt;/code&gt; or a
character outside ASCII, such as &lt;code&gt;user-id&lt;/code&gt; or &lt;code&gt;s.k&lt;/code&gt;, was refused with a
syntax error naming an internal placeholder, such as &lt;code&gt;near: &amp;quot;#kc_user-id&amp;quot;&lt;/code&gt;.
1.2.1 did this too. &lt;code&gt;KeyConditions&lt;/code&gt;, &lt;code&gt;QueryFilter&lt;/code&gt;, &lt;code&gt;ScanFilter&lt;/code&gt; and
&lt;code&gt;Expected&lt;/code&gt; now run on any attribute name, as DynamoDB runs them. Captured
against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy &lt;code&gt;QueryFilter&lt;/code&gt; or &lt;code&gt;ScanFilter&lt;/code&gt; condition whose value didn&#39;t read,
such as &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; or &lt;code&gt;{&amp;quot;BOOL&amp;quot;: &amp;quot;maybe&amp;quot;}&lt;/code&gt;, was dropped, so the Query
or Scan ran without that condition and returned items it should have
filtered out. This was in 1.2.1. Such a condition is now refused as
DynamoDB refuses it, in &lt;code&gt;QueryFilter&lt;/code&gt;, &lt;code&gt;ScanFilter&lt;/code&gt;, &lt;code&gt;KeyConditions&lt;/code&gt; and
&lt;code&gt;Expected&lt;/code&gt; alike: a &lt;code&gt;NULL&lt;/code&gt; that reads as false (&lt;code&gt;false&lt;/code&gt;, &lt;code&gt;&amp;quot;no&amp;quot;&lt;/code&gt;, &lt;code&gt;&amp;quot;false&amp;quot;&lt;/code&gt;)
with &lt;code&gt;Null attribute value types must have the value of true&lt;/code&gt;, ahead of the
operator&#39;s own checks, and a &lt;code&gt;BOOL&lt;/code&gt; or &lt;code&gt;NULL&lt;/code&gt; that doesn&#39;t read as a
boolean by failing the whole request with &lt;code&gt;Unexpected token received from parser&lt;/code&gt;. A &lt;code&gt;KeyConditions&lt;/code&gt; that didn&#39;t read no longer leaves the Query
asking for a key condition. A legacy &lt;code&gt;IN&lt;/code&gt; checks the type of every value in
its list, where it looked at the first, and a value whose other member is
&lt;code&gt;null&lt;/code&gt; takes the type of the member it has; &lt;code&gt;Expected&lt;/code&gt; refuses an &lt;code&gt;IN&lt;/code&gt; of a
&lt;code&gt;BOOL&lt;/code&gt; or &lt;code&gt;NULL&lt;/code&gt; too, as the filters do. A condition&#39;s &lt;code&gt;Exists&lt;/code&gt; reads a
string as a &lt;code&gt;BOOL&lt;/code&gt; member does, and one read from a string makes the
request&#39;s refusals bare, as a &lt;code&gt;BOOL&lt;/code&gt; or &lt;code&gt;NULL&lt;/code&gt; read from a string does.
Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ExecuteTransaction&lt;/code&gt; lists a reason for every statement that failed, as
DynamoDB does, where it stopped at the first and reported &lt;code&gt;None&lt;/code&gt; for the
rest. A key of the wrong type on any statement is reported alone, with
&lt;code&gt;None&lt;/code&gt; for every other statement, a statement whose condition is false
included. A &lt;code&gt;DELETE&lt;/code&gt; with a condition, of an item that isn&#39;t there, does
nothing when the transaction commits, as before, and is reported as a failed
condition, with no item, when the transaction is cancelled. Captured against
eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;TransactWriteItems&lt;/code&gt; that SQLite failed part way through, on a full disk
or an I/O error, could keep the actions that came after the failure. SQLite
rolls the whole transaction back on such an error, so each later action
committed on its own and the transaction&#39;s own rollback then failed. A
storage failure now stops the transaction where it happens and is returned
as an internal error, so nothing the transaction wrote is kept.
&lt;code&gt;ExecuteTransaction&lt;/code&gt; does the same. The error is SQLite&#39;s own, such as
&lt;code&gt;backend: database or disk is full&lt;/code&gt;, on any write, where it went on to say
that the rollback had failed too because SQLite had already ended the
transaction.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restoring a snapshot taken by an earlier version brings it up to date as
opening the file would, running the schema migrations its recorded version
calls for. It used to be restored as it was, so a snapshot from before a
schema change came back without that change. The copy is brought up to date
in a private temporary database before it replaces anything, so a restore
that fails leaves the database as it was, and &lt;code&gt;Database::restore_from&lt;/code&gt; opens
the snapshot file read-only: a path that doesn&#39;t exist is now an error,
where it used to create an empty file and restore that over the database,
and so is a file that isn&#39;t a Dynoxide snapshot (an empty file, &lt;code&gt;:memory:&lt;/code&gt;
or another program&#39;s database). Restoring from a snapshot in WAL mode may
leave its &lt;code&gt;-wal&lt;/code&gt; and &lt;code&gt;-shm&lt;/code&gt; files beside it. After a restore, transactions
cached for idempotent retries and vector index creation windows are
forgotten, as the data they described has gone. A backup or restore that
finds a database busy keeps trying until it has been busy for five seconds by
the clock (plus at most one busy wait of SQLite&#39;s own) and then reports it
locked; one that keeps starting over because another connection keeps
changing the database being copied pauses briefly after each restart and
gives up after 50 of them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A number whose exponent is too large for a 32-bit integer is range-checked
rather than read with an exponent of 0. &lt;code&gt;1e99999999999&lt;/code&gt; was stored as 1; it
is now refused as an overflow, and &lt;code&gt;1e-99999999999&lt;/code&gt; as an underflow, as
DynamoDB does. An exponent too large for a 64-bit integer is refused as a
value that cannot be converted, which is DynamoDB&#39;s message for it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Zero is held to the number range as well, as if its last written digit were
a 1, so &lt;code&gt;0e126&lt;/code&gt; is refused as an overflow and &lt;code&gt;0e-131&lt;/code&gt; as an underflow, where
both used to be stored as 0.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;KeyConditionExpression&lt;/code&gt; rejects an operand its operator does not take, as
DynamoDB does: &lt;code&gt;begins_with&lt;/code&gt; takes a string or binary, and &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;lt;=&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;,
&lt;code&gt;&amp;gt;=&lt;/code&gt; and &lt;code&gt;BETWEEN&lt;/code&gt; take a string, number or binary
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/220&quot;&gt;#220&lt;/a&gt;). A number in
&lt;code&gt;begins_with(sk, :v)&lt;/code&gt; used to run as a prefix match on the stored key, and a
boolean, null, list, map or set became an empty prefix that matched every
item in the partition. The check runs before the table is looked up, so a
missing table or index reports the operand rather than itself.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL&#39;s &lt;code&gt;begins_with&lt;/code&gt; rejects an operand that is not a string or binary,
on any attribute and under &lt;code&gt;NOT&lt;/code&gt;, where it used to accept the statement.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A global secondary index whose key has more than one partition key or sort
key attribute works as DynamoDB&#39;s does. Items sort by each sort key attribute
in turn, an item missing any key attribute is left out of the index, a Query
takes an equality on every partition key attribute and on a leading run of
sort key attributes with a range condition allowed only on the last one
named, and &lt;code&gt;LastEvaluatedKey&lt;/code&gt; carries every key attribute. Such an index used
to sort and filter on its first sort key attribute alone, index items missing
a later one, and refuse any key condition with three clauses. In a database
an earlier version wrote, on disk or in the browser&#39;s OPFS storage (including
one from Dynoxide 0.10 to 0.13, which recorded no schema version), such an
index is rebuilt the first time the database is opened, in one transaction,
and an interrupted step leaves the database at the version before that step. &lt;code&gt;UpdateTable&lt;/code&gt; can now add one. CreateTable and UpdateTable
check such a key as DynamoDB does: at most four partition key and four sort
key attributes, partition key attributes first, no name twice. A local
secondary index still takes one sort key attribute. A PartiQL &lt;code&gt;SELECT&lt;/code&gt; on such
an index is refused, as DynamoDB refuses it, with &lt;code&gt;PartiQL statements cannot be executed on tables with multi-attribute HASH keys or multi-attribute RANGE keys.&lt;/code&gt;; the table itself and its other indexes stay readable and writable.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;KeyConditionExpression&lt;/code&gt; with more clauses than the key has attributes is
refused with DynamoDB&#39;s message, &lt;code&gt;The number of query conditions (3) exceeds the number of key attributes defined in the schema (2)&lt;/code&gt;, rather than
&lt;code&gt;Unexpected token in KeyConditionExpression: AND&lt;/code&gt;. Two conditions on one key
attribute report that each key takes only one.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A key condition value whose type differs from its key attribute&#39;s type is
refused with &lt;code&gt;Condition parameter type does not match schema type&lt;/code&gt;, on a
table and on any index. That covers a string compared with a number sort
key, which used to match nothing, and a map, list, boolean, null or set
value, which used to fail with &lt;code&gt;Cannot convert partition key value to string&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;begins_with&lt;/code&gt; in a key condition is case-sensitive. A lower-case prefix
matched upper-case sort keys too.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A key condition can name the sort key before the partition key. A range
condition on a one-attribute partition key, such as &lt;code&gt;begins_with(pk, :v)&lt;/code&gt;,
is refused with &lt;code&gt;Query key condition not supported&lt;/code&gt;, and like every key
condition problem that needs the key, only once the table and index are
found: a missing table or index reports itself first.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CreateTable with an index reports an attribute definition no key uses as
&lt;code&gt;Some AttributeDefinitions are not used&lt;/code&gt;, listing the definitions and the keys
used, rather than as a count mismatch. An index key attribute with no
definition names the first index missing one, and its lists, like the unused
ones, come in DynamoDB&#39;s own order. When the request defines fewer
attributes than that index has key attributes, CreateTable and UpdateTable
both give &lt;code&gt;Invalid KeySchema: Some index key attribute have no definition&lt;/code&gt;.
A GSI key schema of more than eight elements is refused as the request is
read.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TransactWriteItems&lt;/code&gt; rejects an expression over 4096 bytes on any action, and
a &lt;code&gt;Put&lt;/code&gt; item nested past 32 levels, with a top-level &lt;code&gt;ValidationException&lt;/code&gt;
before any action runs, as DynamoDB does. Both used to come back as a
&lt;code&gt;TransactionCanceledException&lt;/code&gt; with a &lt;code&gt;ValidationError&lt;/code&gt; reason. The &lt;code&gt;Put&lt;/code&gt;
item-size check moves forward with them, so all three now win over a missing
table, a duplicate target or an empty key value elsewhere in the request.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An &lt;code&gt;ExpressionAttributeValues&lt;/code&gt; entry nested 32 levels deep that a transaction
action only compares is no longer refused: the condition is evaluated, as
DynamoDB does. An &lt;code&gt;Update&lt;/code&gt; that writes one into the item still cancels on the
item&#39;s nesting limit, now with DynamoDB&#39;s shorter reason message. From 33
levels an entry is refused up front with a top-level &lt;code&gt;ValidationException&lt;/code&gt;
naming its key, used or not, where a &lt;code&gt;Put&lt;/code&gt; whose condition compared one used
to write its item.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TransactWriteItems&lt;/code&gt; rejects an empty or unparseable &lt;code&gt;ConditionExpression&lt;/code&gt; on
any action with a top-level &lt;code&gt;ValidationException&lt;/code&gt; before any action runs,
where it used to cancel the transaction. An unparseable &lt;code&gt;UpdateExpression&lt;/code&gt;,
an &lt;code&gt;ExpressionAttributeNames&lt;/code&gt; or &lt;code&gt;ExpressionAttributeValues&lt;/code&gt; entry no
expression uses, and a value a condition names but the request doesn&#39;t
define are refused the same way, ahead of a missing table, a duplicate
target or a key that doesn&#39;t match the schema. A &lt;code&gt;Put&lt;/code&gt; that carries
&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; and no &lt;code&gt;ConditionExpression&lt;/code&gt; is accepted, as in
us-east-1, where it used to cancel.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expression syntax errors name the token the parse stopped at and the text
around it, as DynamoDB does: &lt;code&gt;Syntax error; token: &amp;quot;x&amp;quot;, near: &amp;quot;) x y&amp;quot;&lt;/code&gt;, or
&lt;code&gt;token: &amp;quot;&amp;lt;EOF&amp;gt;&amp;quot;&lt;/code&gt; for an expression that ends early. This covers condition,
filter, key condition and update expressions, which used to say things like
&lt;code&gt;Expected operand, got end of expression&lt;/code&gt;. A malformed key condition also
gains its &lt;code&gt;Invalid KeyConditionExpression:&lt;/code&gt; prefix.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An expression over 4096 bytes is refused without the trailing
&lt;code&gt;expression size: &amp;lt;n&amp;gt;&lt;/code&gt;, as DynamoDB now sends it. A Scan&#39;s &lt;code&gt;FilterExpression&lt;/code&gt;
and a transaction&#39;s &lt;code&gt;ConditionExpression&lt;/code&gt; keep the figure, which us-east-1
still sends there.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PutItem, UpdateItem and DeleteItem wrap the nesting error for a value past
32 levels in &lt;code&gt;1 validation error detected: &lt;/code&gt;, and DeleteItem wraps its
&lt;code&gt;ConditionExpression&lt;/code&gt; syntax and size errors the same way. From 63 levels a
stored item&#39;s error drops the wrapper and an expression value is refused
naming its key. An &lt;code&gt;UpdateExpression&lt;/code&gt; that leaves the item nested too deep
gets DynamoDB&#39;s short &lt;code&gt;Nesting Levels have exceeded supported limits&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;UpdateItem reports a &lt;code&gt;ConditionExpression&lt;/code&gt; syntax error ahead of an unused
expression attribute value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PutItem, UpdateItem and DeleteItem wrap an unused &lt;code&gt;ExpressionAttributeNames&lt;/code&gt;
or &lt;code&gt;ExpressionAttributeValues&lt;/code&gt; entry in &lt;code&gt;1 validation error detected: &lt;/code&gt;, and
report it, along with a value or name the condition uses but doesn&#39;t define,
before looking up the table. GetItem, Query and Scan send it bare, as
before. DeleteItem now envelopes all its &lt;code&gt;ConditionExpression&lt;/code&gt; errors,
including reversed or mixed-type BETWEEN bounds and operand types, and an
undefined value in UpdateItem&#39;s condition gains its
&lt;code&gt;Invalid ConditionExpression:&lt;/code&gt; prefix.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A list index written with a leading zero, such as &lt;code&gt;l[00]&lt;/code&gt; or &lt;code&gt;l[01]&lt;/code&gt;, is a
syntax error in every expression (&lt;code&gt;token: &amp;quot;0&amp;quot;, near: &amp;quot;00]&amp;quot;&lt;/code&gt;), as DynamoDB
reads it. It used to be accepted as the index its digits spell.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DescribeTable&lt;/code&gt; reports &lt;code&gt;TableSizeBytes&lt;/code&gt; as the total size of the table&#39;s
items, where it was always 0, so the MCP server&#39;s &lt;code&gt;size_bytes&lt;/code&gt; is right too.
&lt;code&gt;UpdateTable&lt;/code&gt;&#39;s response carries the same &lt;code&gt;ItemCount&lt;/code&gt; and &lt;code&gt;TableSizeBytes&lt;/code&gt;,
where both were 0. DynamoDB refreshes these figures about every six hours;
Dynoxide reports them live. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DescribeTable&lt;/code&gt; and &lt;code&gt;UpdateTable&lt;/code&gt; report each GSI&#39;s and LSI&#39;s &lt;code&gt;ItemCount&lt;/code&gt; and
&lt;code&gt;IndexSizeBytes&lt;/code&gt;: the number of items the index holds and the total size of
what it projects for them, where both were always 0. Each vector index
reports its entries and their billable size, as DynamoDB does: the vector at
4 bytes per dimension, its attribute&#39;s name and the rest of the projection. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On a table with a vector index, a write is charged for the vector at 4 bytes
per dimension, whatever numbers it holds, and &lt;code&gt;TableSizeBytes&lt;/code&gt; counts it the
same way, as DynamoDB does. Dynoxide used to size it as a list of numbers, so
a write of a 1,024-dimension embedding could cost two or three units more
than on DynamoDB. Read units and the 400 KB item limit still size the vector
by its numbers, which is DynamoDB&#39;s rule for those, and so do a GSI&#39;s and an
LSI&#39;s share of the write and their &lt;code&gt;IndexSizeBytes&lt;/code&gt;, even when the index
projects the vector. A database written by an earlier version has its vector
tables&#39; sizes recomputed once when it is opened, in one transaction, and
creating or deleting a vector index recomputes that table&#39;s.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;Database::sweep_ttl&lt;/code&gt;, and the MCP &lt;code&gt;sweep_ttl&lt;/code&gt; tool that calls it, no longer
hold the database lock for the whole sweep. The sweep takes the lock a page of
25 items at a time and lets requests already waiting for it go first between
pages, so a read or write waits for one page rather than for a read of every
TTL table. The first page of each table also counts its rows, so the longest
single hold is that count plus a page. Between pages the sweep waits up to a
second for the queued requests, including the time they hold the lock, before
it carries on. A sweep reads no more of a table than it held when the sweep
reached it, so a table that keeps growing cannot keep it running, and an item
written while the sweep is under way may be left for the next one.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;--help&lt;/code&gt; no longer shows the value of &lt;code&gt;DYNOXIDE_MCP_AUTH_TOKEN&lt;/code&gt; when it is
set. It still names the variable. The MCP auth types&#39; debug output no
longer shows the token either.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A prerelease tag such as &lt;code&gt;v1.3.0-rc.1&lt;/code&gt; no longer ships as if it were the
latest release. Its GitHub Release is flagged as a prerelease, so the GitHub
Action&#39;s default &lt;code&gt;version: latest&lt;/code&gt; stays on the last stable release, and the
Homebrew tap, the MCP registry and dynoxide.dev are left alone. A stable
crate version is not published to &lt;a href=&quot;http://crates.io&quot;&gt;crates.io&lt;/a&gt; from a prerelease tag. npm still
publishes a prerelease to &lt;code&gt;next&lt;/code&gt;, and containers still get the exact tag
only. &lt;code&gt;docs/versioning.md&lt;/code&gt; has the full list.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;docs/library.md&lt;/code&gt; no longer tells readers to run
&lt;code&gt;cargo add dynoxide-rs --features encryption&lt;/code&gt;, which stops on the
&lt;code&gt;native-sqlite&lt;/code&gt; and &lt;code&gt;encryption&lt;/code&gt; compile guard because the default features
stay on. It now adds &lt;code&gt;--no-default-features&lt;/code&gt;, as the rest of the page does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL reads a number written with an exponent as one number, so
&lt;code&gt;WHERE pk = 1e5&lt;/code&gt; matches 100000 rather than 1, and &lt;code&gt;INSERT ... VALUE {&#39;pk&#39;: 2e3}&lt;/code&gt; parses. A literal whose exponent, or whose scale (the digits
after the point less the exponent), is out of range is refused as a statement
that is not well formed, as DynamoDB does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL reads &lt;code&gt;--&lt;/code&gt; and &lt;code&gt;/* ... */&lt;/code&gt; comments as whitespace wherever they
appear. A comment before the WHERE clause used to make a SELECT return every
row, and a block comment was refused.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL table alias (&lt;code&gt;FROM &amp;quot;T&amp;quot; t&lt;/code&gt; or &lt;code&gt;FROM &amp;quot;T&amp;quot; AS t&lt;/code&gt;) on SELECT, UPDATE or
DELETE is refused with DynamoDB&#39;s &amp;quot;Aliasing is not supported&amp;quot;. A SELECT used
to run it as an unfiltered read.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement with a token left over after it, such as
&lt;code&gt;WHERE pk = 1 foo&lt;/code&gt;, is refused with &amp;quot;Unexpected token after expression&amp;quot;
rather than run without the extra token. A SELECT&#39;s &lt;code&gt;ORDER BY&lt;/code&gt; clause must
be well formed and last, so a WHERE written after it is refused rather than
dropped.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL applies a SELECT&#39;s &lt;code&gt;ORDER BY&lt;/code&gt;. It used to be accepted and ignored,
so &lt;code&gt;ORDER BY sk DESC&lt;/code&gt; came back ascending. As in DynamoDB, it reads each
partition the WHERE clause pins, in partition-key order, by the sort key
term&#39;s direction (descending when only the partition key is named), on a
table or an index, a page at a time when the read is paged. The forms
DynamoDB refuses are refused with its messages: no WHERE clause, a term that
is a nested path or not part of the key, a partition key not pinned with &lt;code&gt;=&lt;/code&gt;
or &lt;code&gt;IN&lt;/code&gt;, and more than one partition without the partition key in the
clause. &lt;code&gt;NULLS FIRST&lt;/code&gt; and &lt;code&gt;NULLS LAST&lt;/code&gt; are accepted.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL reads a number written with no digit before its point, such as &lt;code&gt;.5&lt;/code&gt;
or &lt;code&gt;-.25e1&lt;/code&gt;, where it used to refuse the statement. A number takes one
point, so &lt;code&gt;1.2.3&lt;/code&gt; is refused as a token left over, and an exponent marker
with no digits (&lt;code&gt;5e&lt;/code&gt;) is refused as a statement that is not well formed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL checks a number written in a WHERE clause the way it checks one being
stored, so &lt;code&gt;WHERE pk = 1e126&lt;/code&gt; is refused with DynamoDB&#39;s overflow message
rather than run as a comparison that matches nothing. Number errors on
PartiQL literals end with DynamoDB&#39;s &lt;code&gt; under &amp;lt;path&amp;gt;&lt;/code&gt;, naming where the
number sits inside the value (&lt;code&gt;under root&lt;/code&gt;, &lt;code&gt;under root.x&lt;/code&gt;, &lt;code&gt;under root[1]&lt;/code&gt;),
and are reported before the table or item is looked up, the first one
written first and an UPDATE&#39;s WHERE clause before its SET. A literal at the
very top of the exponent range is reported as an underflow, as DynamoDB&#39;s
PartiQL reports it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL literal nested 32 levels deep is refused where it reaches that
level, with DynamoDB&#39;s &lt;code&gt;Nesting Levels have exceeded supported limits&lt;/code&gt; and
the path to it, and a parameter nested exactly 32 levels deep gets the same
short message rather than the long one.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL statements check every parameter value before reading the
statement, as any attribute value is checked (its numbers, and empty or
duplicated sets), so a parameter DynamoDB can&#39;t store is refused even when
the statement doesn&#39;t use it: on &lt;code&gt;ExecuteStatement&lt;/code&gt;, against the statement in
a &lt;code&gt;BatchExecuteStatement&lt;/code&gt; (an empty value and &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; included,
where a &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; parameter used to refuse the whole batch), and for
the whole request in an &lt;code&gt;ExecuteTransaction&lt;/code&gt;, which writes nothing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement against a table that doesn&#39;t exist says &lt;code&gt;Requested resource not found&lt;/code&gt;, as DynamoDB does, without &lt;code&gt;: Table: &amp;lt;name&amp;gt; not found&lt;/code&gt;;
in a transaction it cancels with the &lt;code&gt;ResourceNotFound&lt;/code&gt; reason rather than
&lt;code&gt;InternalError&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An empty map key anywhere in a PartiQL literal is refused with DynamoDB&#39;s
&lt;code&gt;Path component cannot be an empty string&lt;/code&gt;, where it used to be stored.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL SELECT whose OR branches name overlapping keys, such as
&lt;code&gt;pk = &#39;a&#39; OR pk = &#39;a&#39;&lt;/code&gt; or sort-key ranges (&lt;code&gt;begins_with&lt;/code&gt; included) that meet
in one partition, is refused with DynamoDB&#39;s &lt;code&gt;Overlapping conditions with range keys are not supported in where clause&lt;/code&gt;. As in DynamoDB, a clause with
a branch that puts two different conditions, or &lt;code&gt;NOT ... BETWEEN&lt;/code&gt;, on the
sort key isn&#39;t checked, and the check comes after an &lt;code&gt;ORDER BY&lt;/code&gt; term is
checked and before the rest of the &lt;code&gt;ORDER BY&lt;/code&gt; checks.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL key value DynamoDB can&#39;t read the key by is refused with its
messages: &lt;code&gt;Key value must be of type S, N, or B&lt;/code&gt; naming the key and the type
for a type no key can have, such as a map, rather than &lt;code&gt;Invalid key value&lt;/code&gt;,
and &lt;code&gt;Key attribute&#39;s data type should match its data type in table&#39;s schema&lt;/code&gt;
for a key type that isn&#39;t the key&#39;s, where a SELECT, UPDATE or DELETE used to
match nothing and an INSERT gave PutItem&#39;s message. Both apply to literals
and parameters, to the sort key and to an index&#39;s keys, and a SELECT&#39;s OR
branches are checked in the order written until one that isn&#39;t a key read.
In a transaction, a SELECT key, or an UPDATE or DELETE key of the wrong key
type, cancels with GetItem&#39;s &lt;code&gt;The provided key element does not match the schema&lt;/code&gt;, an UPDATE or DELETE key no key can have is refused up front, and an
INSERT keeps PutItem&#39;s message.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A SELECT in a &lt;code&gt;BatchExecuteStatement&lt;/code&gt; or an &lt;code&gt;ExecuteTransaction&lt;/code&gt; may name only
the primary key, as DynamoDB requires: each key attribute once, with &lt;code&gt;=&lt;/code&gt; or
an &lt;code&gt;IN&lt;/code&gt; of one value, the same condition written twice counting once. One
that also filters on another attribute is refused rather than run, and
overlapping key conditions are reported first.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ExecuteTransaction&lt;/code&gt; reports a statement that doesn&#39;t parse with
&lt;code&gt;Validation failed in TransactStatements[N]: &lt;/code&gt; in front, as it already did
for its other per-statement refusals.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement that doesn&#39;t begin with SELECT, INSERT, UPDATE or DELETE
is refused as DynamoDB refuses it, reading it as an expression rather than
answering &lt;code&gt;Expected data manipulation&lt;/code&gt; to everything: &lt;code&gt;Unsupported operation: Id&lt;/code&gt; for a lone name, &lt;code&gt;Path&lt;/code&gt;, &lt;code&gt;Lit&lt;/code&gt;, &lt;code&gt;List&lt;/code&gt; and the like for other
whole expressions, &lt;code&gt;EXISTS can only be used in ExecuteTransaction write requests.&lt;/code&gt; for an operator, comparison or call, and DynamoDB&#39;s syntax
messages where one breaks off or carries on (&lt;code&gt;Unexpected token after expression&lt;/code&gt; for &lt;code&gt;INSRT INTO ...&lt;/code&gt;, &lt;code&gt;Expected RIGHT_BRACKET&lt;/code&gt;, &lt;code&gt;Unexpected keyword&lt;/code&gt; and others). &lt;code&gt;SET a = 1&lt;/code&gt; and &lt;code&gt;REMOVE a&lt;/code&gt; are refused for having no
table, and a verb with nothing it needs after it (&lt;code&gt;DELETE&lt;/code&gt; alone, &lt;code&gt;INSERT&lt;/code&gt;
with no &lt;code&gt;INTO&lt;/code&gt;) is refused in DynamoDB&#39;s words.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement may end with a semicolon, as in DynamoDB, including
after a &lt;code&gt;RETURNING&lt;/code&gt; clause; a second statement after it is refused with
&lt;code&gt;Unexpected token after semicolon. (Only one query is allowed.)&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A successful PartiQL INSERT, UPDATE or DELETE through &lt;code&gt;ExecuteStatement&lt;/code&gt;
returns an empty &lt;code&gt;Items&lt;/code&gt; list unless it has a &lt;code&gt;RETURNING&lt;/code&gt; clause, and an
&lt;code&gt;ExecuteTransaction&lt;/code&gt; of writes returns an empty &lt;code&gt;Responses&lt;/code&gt; list, as DynamoDB
does. They used to return no &lt;code&gt;Items&lt;/code&gt; at all and one empty entry per
statement.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause that stops where a condition should start is refused
in DynamoDB&#39;s words: &lt;code&gt;Unexpected term&lt;/code&gt; when nothing follows &lt;code&gt;WHERE&lt;/code&gt;, &lt;code&gt;NOT&lt;/code&gt; or
an opening parenthesis, &lt;code&gt;Missing right-hand side expression of infix operator&lt;/code&gt; when nothing follows &lt;code&gt;AND&lt;/code&gt; or &lt;code&gt;OR&lt;/code&gt;, and &lt;code&gt;Unexpected operator&lt;/code&gt; or
&lt;code&gt;Unexpected keyword&lt;/code&gt; when an operator or a clause keyword stands in its
place. It used to say &lt;code&gt;Expected condition in WHERE&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL runs &lt;code&gt;FROM &amp;quot;T&amp;quot; WHERE ... SET ...&lt;/code&gt; (or &lt;code&gt;REMOVE ...&lt;/code&gt;) as an UPDATE, as
DynamoDB does, where it used to say &lt;code&gt;Expected data manipulation&lt;/code&gt;, and an
UPDATE of either form takes any number of SET and REMOVE clauses in any
order. An UPDATE or DELETE takes its key only from equalities among the WHERE
clause&#39;s top-level conditions: a key named only under an &lt;code&gt;OR&lt;/code&gt;, a &lt;code&gt;NOT&lt;/code&gt; or an
&lt;code&gt;IN&lt;/code&gt;, or no WHERE clause at all, is refused with &lt;code&gt;Where clause does not contain a mandatory equality on all key attributes&lt;/code&gt;, and a key given two
values with &lt;code&gt;Multiple conditions on same key&lt;/code&gt;. &lt;code&gt;pk = &#39;a&#39; AND pk = &#39;b&#39;&lt;/code&gt; used
to update the first item it named. In a transaction, the duplicate-item
check takes the same key: &lt;code&gt;(pk = &#39;b&#39; OR x = 1) AND pk = &#39;a&#39;&lt;/code&gt; beside another
statement on &lt;code&gt;a&lt;/code&gt; is refused as two operations on one item, and beside one on
&lt;code&gt;b&lt;/code&gt; it isn&#39;t; the check used to read the key from the OR group. Captured
against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause takes &lt;code&gt;attribute_exists(path)&lt;/code&gt; and
&lt;code&gt;attribute_not_exists(path)&lt;/code&gt;, in any case and compared with a boolean, as
DynamoDB does; both used to fail with &lt;code&gt;Unknown operator: (&lt;/code&gt;. An operand that
isn&#39;t a document path, or the wrong number of operands, is refused with
DynamoDB&#39;s messages. A call to a function DynamoDB doesn&#39;t recognise there,
&lt;code&gt;EXISTS(path)&lt;/code&gt; among them, is refused as &lt;code&gt;Unrecognized function: &amp;lt;name&amp;gt; at &amp;lt;line&amp;gt;:&amp;lt;column&amp;gt;:&amp;lt;length&amp;gt;&lt;/code&gt; before the table is looked up; &lt;code&gt;EXISTS(path)&lt;/code&gt; used
to run as &lt;code&gt;attribute_exists&lt;/code&gt;. An OR with no key condition under it no longer
counts as a second key range for the overlap check, so &lt;code&gt;pk = &#39;a&#39; AND (x = 1 OR x = 2)&lt;/code&gt; runs. A condition function compares with a path, a size, a
parameter or another call as the boolean it is, with &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; or in an
&lt;code&gt;IN&lt;/code&gt; list, written on either side (&lt;code&gt;b = attribute_exists(a)&lt;/code&gt;,
&lt;code&gt;? = attribute_exists(a)&lt;/code&gt;, &lt;code&gt;size(s) = attribute_exists(a)&lt;/code&gt;) and as a
member of an &lt;code&gt;IN&lt;/code&gt; list (&lt;code&gt;b IN [attribute_exists(a)]&lt;/code&gt;), so
&lt;code&gt;attribute_exists(a) = b&lt;/code&gt; holds where &lt;code&gt;b&lt;/code&gt; is the boolean the call is, and
is unequal to a missing value or one of another type. Each such comparison
is one condition, so ten &lt;code&gt;attribute_exists(x) &amp;lt;&amp;gt; y&lt;/code&gt; ANDed run, and
&lt;code&gt;pk = &#39;a&#39; AND attribute_exists(x) = y&lt;/code&gt; reads partition &lt;code&gt;a&lt;/code&gt; by its key and
takes an &lt;code&gt;ORDER BY&lt;/code&gt;. Its &lt;code&gt;IN&lt;/code&gt; list reads a bare name as an attribute, as
every other &lt;code&gt;IN&lt;/code&gt; list does, where a name used to be compared with the
string of itself. Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL&#39;s &lt;code&gt;set_add&lt;/code&gt; and &lt;code&gt;set_delete&lt;/code&gt; work in an UPDATE&#39;s SET clause, as in
DynamoDB, where they used to fail with &lt;code&gt;Unexpected token after expression&lt;/code&gt;.
A malformed call is refused with DynamoDB&#39;s message and position before the
table is looked up, members of the wrong type with its incorrect data type
message, and &lt;code&gt;&amp;lt;&amp;lt;&amp;gt;&amp;gt;&lt;/code&gt; anywhere with &lt;code&gt;Empty bags are not supported&lt;/code&gt;. A function
call in an INSERT value is refused as an unsupported data type.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL number parameter is read the way DynamoDB reads it: an exponent or
a scale outside a 32-bit integer is &lt;code&gt;The parameter cannot be converted to a numeric value: &amp;lt;text&amp;gt;&lt;/code&gt;, and &lt;code&gt;1e2147483647&lt;/code&gt; is an underflow, in every position
and on every PartiQL operation. They used to be range-checked as an item&#39;s
numbers are, as an overflow or underflow by the exponent&#39;s sign.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause&#39;s &lt;code&gt;IS&lt;/code&gt; tests NULL, BOOLEAN, BLOB, STRING, NUMERIC,
STRUCT, TUPLE and LIST as well as MISSING, and &lt;code&gt;IS NOT&lt;/code&gt; their complement, as
DynamoDB does; only MISSING used to work. Another type name is refused with
DynamoDB&#39;s &lt;code&gt;Unsupported data type for IS operator&lt;/code&gt; message, and &lt;code&gt;INT4&lt;/code&gt;,
&lt;code&gt;INT8&lt;/code&gt;, &lt;code&gt;DOUBLE PRECISION&lt;/code&gt; and &lt;code&gt;CHARACTER VARYING&lt;/code&gt; read as type names. An
operator where a value should be, as in &lt;code&gt;pk = LIKE&lt;/code&gt;, is &lt;code&gt;Unexpected operator&lt;/code&gt;; &lt;code&gt;pk = LIKE&lt;/code&gt; used to compare with the string &lt;code&gt;LIKE&lt;/code&gt;. A negated or
&lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; sort key condition stops the overlap check, as &lt;code&gt;NOT ... BETWEEN&lt;/code&gt;
already did. &lt;code&gt;DELETE FROM&lt;/code&gt; with no table is &lt;code&gt;Expected identifier for simple path&lt;/code&gt;, and &lt;code&gt;SELECT * FROM&lt;/code&gt; with none is &lt;code&gt;Unexpected term&lt;/code&gt; or &lt;code&gt;Unexpected keyword&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause takes &lt;code&gt;size(path)&lt;/code&gt; and &lt;code&gt;attribute_type(path, type)&lt;/code&gt;,
which used to fail with &lt;code&gt;Unknown operator: (&lt;/code&gt;, and compares any two operands
as DynamoDB does: a literal or parameter on the left (&lt;code&gt;&#39;a&#39; = pk&lt;/code&gt; names the
item an UPDATE or DELETE changes), two paths, two literals, and &lt;code&gt;size()&lt;/code&gt; on
either side of a comparison, BETWEEN or IN. A size counts a string&#39;s UTF-16
code units, a binary&#39;s bytes and a collection&#39;s members. A comparison with a
missing attribute, or with the size of a value that has none, is true for
&lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt;, as it is in a condition expression; it used to be false. An unknown
&lt;code&gt;attribute_type&lt;/code&gt; type, the wrong number of operands, the same path on both
sides of a comparison, &lt;code&gt;MISSING&lt;/code&gt; outside &lt;code&gt;IS&lt;/code&gt;, an ordering operator on a
condition function and a size standing alone as a condition are each refused
with DynamoDB&#39;s message before the table is looked up, and a comparison with
nothing after its operator is &lt;code&gt;Missing right-hand side expression of infix operator&lt;/code&gt;. A size takes a number&#39;s type checks: a boolean under an ordering
operator is refused, BETWEEN refuses bounds that are out of order, and a
string compared with a size is simply unequal (captured against eu-west-2
and us-east-1). BETWEEN also refuses bounds of different types, as it does
for a path. A BETWEEN bound or an IN member can be a path or a size as well
as a value: &lt;code&gt;size(s) IN [n]&lt;/code&gt; compares with the attribute &lt;code&gt;n&lt;/code&gt;, where it used
to compare with the string &lt;code&gt;&#39;n&#39;&lt;/code&gt;, and &lt;code&gt;n BETWEEN size(s) AND 10&lt;/code&gt; parses
(captured against eu-west-2 and us-east-1 for a size on either side; a
path between path bounds follows the same reading, not yet captured).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL &lt;code&gt;IN&lt;/code&gt; with one value on a key attribute is read as &lt;code&gt;=&lt;/code&gt;, as
DynamoDB reads it: &lt;code&gt;WHERE pk IN [&#39;a&#39;]&lt;/code&gt; reads item a by its key and is
charged what &lt;code&gt;pk = &#39;a&#39;&lt;/code&gt; is, where it used to scan the table, and two
statements naming the same item that way are duplicates in a batch or a
transaction (captured against eu-west-2 and us-east-1).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL refuses a bag it can&#39;t store with DynamoDB&#39;s messages and positions:
one that starts with a string at its first member that isn&#39;t one, one that
starts with a number without a position, and a parameter, &lt;code&gt;null&lt;/code&gt; or Ion
literal among its members with their own messages. These used to be &lt;code&gt;Mixed types in ... set literal&lt;/code&gt; or a parse error. An Ion literal between backticks
is refused by its type where it stands; &lt;code&gt;X&#39;...&#39;&lt;/code&gt; is a syntax error, as in
DynamoDB, rather than a name and a string; and a list, map or bag whose
members aren&#39;t separated by commas is a syntax error too.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL keyword such as &lt;code&gt;inner&lt;/code&gt; or &lt;code&gt;value&lt;/code&gt; can&#39;t be a path&#39;s dot component
unless it is quoted (&lt;code&gt;m.&amp;quot;inner&amp;quot;&lt;/code&gt;), as in DynamoDB; it used to be read as an
attribute name. Any call in a SELECT list is refused as &lt;code&gt;Unexpected path component&lt;/code&gt; at the function&#39;s name, and inside ExecuteTransaction with the
statement&#39;s index; only &lt;code&gt;COUNT&lt;/code&gt; used to be refused, and without the index.
&lt;code&gt;EXISTS(SELECT ...)&lt;/code&gt; in a WHERE clause is refused as &lt;code&gt;Unsupported token in expression: SELECT&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When a PartiQL statement has more than one problem, the one reported is the
one DynamoDB reports: an unrecognised function, an unsupported &lt;code&gt;IS&lt;/code&gt; type, a
subquery and a literal it can&#39;t store come in the order written, WHERE clause
first, and ahead of an operand refusal.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL refuses a &lt;code&gt;begins_with&lt;/code&gt; operand that isn&#39;t a string or binary, and
BETWEEN bounds of different types or with the lower above the upper, with
DynamoDB&#39;s messages, &lt;code&gt;NOT&lt;/code&gt; or not, before the table is looked up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL INSERT of a key that already exists is reported as a duplicate
before an item nested to the limit is.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;BatchGetItem&lt;/code&gt;, &lt;code&gt;BatchWriteItem&lt;/code&gt;, &lt;code&gt;TransactGetItems&lt;/code&gt; and
&lt;code&gt;TransactWriteItems&lt;/code&gt; refuse a &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; other than &lt;code&gt;INDEXES&lt;/code&gt;,
&lt;code&gt;TOTAL&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt; with the ValidationException the single-item operations
already return, before anything is read or written. They used to accept any
value and treat it as &lt;code&gt;NONE&lt;/code&gt;, and the two writes went ahead.
&lt;code&gt;TransactWriteItems&lt;/code&gt; now checks its &lt;code&gt;TransactItems&lt;/code&gt; length, the length of
its &lt;code&gt;ClientRequestToken&lt;/code&gt; and then &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; before looking the
token up, so a replayed token is checked too. &lt;code&gt;BatchWriteItem&lt;/code&gt; checks the
capacity mode ahead of a table name that fails its pattern, as DynamoDB does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;BatchWriteItem&lt;/code&gt; and &lt;code&gt;TransactWriteItems&lt;/code&gt; refuse a
&lt;code&gt;ReturnItemCollectionMetrics&lt;/code&gt; other than &lt;code&gt;SIZE&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt; before writing
anything. They used to accept any value. A request with more than one of
these member errors, such as both enums, or an overlong
&lt;code&gt;ClientRequestToken&lt;/code&gt; beside either, now gets them in one
&lt;code&gt;N validation errors detected:&lt;/code&gt; message, as DynamoDB gives them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A malformed table name in a transaction is a top-level ValidationException
naming the action&#39;s position and type, such as
&lt;code&gt;transactItems.2.member.update.tableName&lt;/code&gt;, checked before any action runs.
&lt;code&gt;TransactGetItems&lt;/code&gt; used to report it as a cancellation reason, and both
reported the path as &lt;code&gt;tableName&lt;/code&gt;. The name must now be 3 to 255 characters,
as DynamoDB requires inside a request body.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;BatchGetItem&lt;/code&gt; and &lt;code&gt;BatchWriteItem&lt;/code&gt; report a malformed table name as a
constraint on the &lt;code&gt;RequestItems&lt;/code&gt; map&#39;s keys, echoing the map as DynamoDB
does, and &lt;code&gt;BatchGetItem&lt;/code&gt; reports it together with an unknown
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;. An empty request list in &lt;code&gt;BatchWriteItem&lt;/code&gt;, and an
empty &lt;code&gt;Keys&lt;/code&gt; list in &lt;code&gt;BatchGetItem&lt;/code&gt;, use DynamoDB&#39;s messages too.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;BatchWriteItem&lt;/code&gt; put whose item has no partition key is refused with &amp;quot;The
provided key element does not match the schema&amp;quot;, as DynamoDB does, where it
named the missing key.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;TransactWriteItems&lt;/code&gt; item with no action is refused with DynamoDB&#39;s
&amp;quot;Invalid Request&amp;quot; message, and one with two actions with &amp;quot;TransactItems can
only contain one of Check, Put, Update or Delete&amp;quot;. An item carrying both a
&lt;code&gt;Put&lt;/code&gt; and a &lt;code&gt;Delete&lt;/code&gt; used to run the &lt;code&gt;Put&lt;/code&gt; and drop the &lt;code&gt;Delete&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;TransactGetItems&lt;/code&gt; item without its &lt;code&gt;Get&lt;/code&gt; is refused with DynamoDB&#39;s
&amp;quot;Value null at &#39;transactItems.N.member.get&#39; failed to satisfy constraint:
Member must not be null&amp;quot;, together with an unknown
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;. It used to come back as serde&#39;s own &amp;quot;missing
field&amp;quot; text.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The single-item operations, &lt;code&gt;Query&lt;/code&gt;, &lt;code&gt;Scan&lt;/code&gt; and &lt;code&gt;SearchVectors&lt;/code&gt; follow the
member validation most regions now run. DynamoDB is moving each operation to
a newer validation layer region by region; these match the majority of seven
regions captured on 2026-10-09, which is the newer layer everywhere except
&lt;code&gt;Scan&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A table name of one or two characters is refused for its length before
the table is looked up, where it used to answer
&lt;code&gt;ResourceNotFoundException&lt;/code&gt;. A name that breaks more than one constraint
gets one error on most operations, both on &lt;code&gt;UpdateItem&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;An empty table name gets the newer &amp;quot;Value at &#39;TableName&#39;&amp;quot; wording on its
own, except on &lt;code&gt;Scan&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PutItem&lt;/code&gt; and &lt;code&gt;DeleteItem&lt;/code&gt; report a table-name error together with the
other member errors; &lt;code&gt;UpdateItem&lt;/code&gt; reports it alone; &lt;code&gt;Scan&lt;/code&gt; reports it only
when nothing else is wrong.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; without its key reports every invalid enum, in the older
per-value wording, followed by the missing key, as all seven regions do.&lt;/li&gt;
&lt;li&gt;An unknown &lt;code&gt;ReturnValues&lt;/code&gt; gets the newer layer&#39;s message, which names
neither the value nor the member.&lt;/li&gt;
&lt;li&gt;An unknown &lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; is refused, on the
single-item operations and on every &lt;code&gt;TransactWriteItems&lt;/code&gt; action. It used to
be accepted.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; reports one invalid enum, in DynamoDB&#39;s order, without the
envelope for &lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; and
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Query&lt;/code&gt; reports a &lt;code&gt;Limit&lt;/code&gt; of 0 and an empty name together, ahead of
everything else, and checks &lt;code&gt;Select&lt;/code&gt; after mixing &lt;code&gt;ConditionalOperator&lt;/code&gt;
with an expression. &lt;code&gt;Scan&lt;/code&gt;
reports its member errors in DynamoDB&#39;s order.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;ConditionalOperator&lt;/code&gt; is refused unless it joins two or more legacy
&lt;code&gt;Expected&lt;/code&gt;, &lt;code&gt;QueryFilter&lt;/code&gt; or &lt;code&gt;ScanFilter&lt;/code&gt; conditions, with DynamoDB&#39;s
messages, and joining two or more with a value other than &lt;code&gt;AND&lt;/code&gt; or &lt;code&gt;OR&lt;/code&gt;
gets DynamoDB&#39;s generic enum message. Beside an expression it gets the
mixing message, which &lt;code&gt;DeleteItem&lt;/code&gt; now wraps in the envelope as &lt;code&gt;PutItem&lt;/code&gt;
and &lt;code&gt;UpdateItem&lt;/code&gt; do. It used to be accepted with nothing to join. &lt;code&gt;Scan&lt;/code&gt;
still checks its value as an enum.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SearchVectors&lt;/code&gt; refuses a short or malformed table name without the
envelope once its other members pass, a &lt;code&gt;TopK&lt;/code&gt; below 1 in the newer
wording, and a missing &lt;code&gt;IndexName&lt;/code&gt;, &lt;code&gt;SearchVector&lt;/code&gt; or &lt;code&gt;TopK&lt;/code&gt; with
DynamoDB&#39;s own &amp;quot;missing field&amp;quot; message.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A request carrying an attribute value nested more than about 60 levels is
read and refused with DynamoDB&#39;s nesting &lt;code&gt;ValidationException&lt;/code&gt;, rather than
failing to parse with a bare &lt;code&gt;SerializationException&lt;/code&gt;. As in DynamoDB, an
&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; entry is named in the message and a member such
as a bad table name or enum is still reported first. Past about 2,000
levels, where DynamoDB itself stops reading the request, it stays a bare
&lt;code&gt;SerializationException&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A key, &lt;code&gt;ExclusiveStartKey&lt;/code&gt;, or legacy &lt;code&gt;Expected&lt;/code&gt;, &lt;code&gt;AttributeUpdates&lt;/code&gt;,
&lt;code&gt;ScanFilter&lt;/code&gt;, &lt;code&gt;QueryFilter&lt;/code&gt; or &lt;code&gt;KeyConditions&lt;/code&gt; value nested 32 or more levels
is refused with DynamoDB&#39;s nesting &lt;code&gt;ValidationException&lt;/code&gt; before the table is
looked up. A key used to be reported as not matching the schema, a
transaction was cancelled, and a legacy condition or filter was evaluated.
As in DynamoDB, the message sits inside the validation envelope on
DeleteItem&#39;s and UpdateItem&#39;s key, &lt;code&gt;Expected&lt;/code&gt; and &lt;code&gt;AttributeUpdates&lt;/code&gt;, and
after the starting-key prefix on a Scan&#39;s &lt;code&gt;ExclusiveStartKey&lt;/code&gt;, and a
&lt;code&gt;ScanFilter&lt;/code&gt; value is refused from 33 levels.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A Query&#39;s &lt;code&gt;ExclusiveStartKey&lt;/code&gt; that doesn&#39;t fit the key schema is refused
with &amp;quot;The provided starting key is invalid&amp;quot; alone, as DynamoDB does, where it
used to add &amp;quot;The provided key element does not match the schema&amp;quot;. An invalid
value in it (&lt;code&gt;NULL: false&lt;/code&gt;, an empty set) is reported without the
starting-key prefix, and a start key from another partition or outside the
sort key condition is refused with DynamoDB&#39;s messages rather than paged
from.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy &lt;code&gt;KeyConditions&lt;/code&gt; value whose type isn&#39;t the key&#39;s schema type is
refused with &amp;quot;Condition parameter type does not match schema type&amp;quot;, and a
BETWEEN whose two values differ in type with &amp;quot;AttributeValues inside
AttributeValueList must be of same type&amp;quot;. A map used to be reported as
&amp;quot;Cannot convert partition key value to string&amp;quot;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL parameter nested 33 or more levels is refused before its statement
is parsed or its table looked up, as DynamoDB does: at the top level on
ExecuteStatement and ExecuteTransaction, where a transaction used to be
cancelled, and against that statement alone in a BatchExecuteStatement. It
used to run, or come back as &amp;quot;Invalid key value&amp;quot;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A BatchExecuteStatement member that fails on its own, for a parameter
nested too deep or holding an empty attribute name, takes no part in the
batch&#39;s read/write and duplicate checks, as DynamoDB does: a read beside a
write whose parameter is too deep, or two updates of one item where one is,
now return 200 and run the rest, where the whole batch used to be refused
(captured against eu-west-2 and us-east-1). The same is applied to a member
refused for a parameter value DynamoDB can&#39;t store or for a COUNT
projection, not yet captured.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set members come back in DynamoDB&#39;s order instead of the order they were
written in. String and binary sets are sorted by their bytes everywhere.
Number sets are sorted by value from GetItem, BatchGetItem, Query and the
ReturnValues of PutItem, UpdateItem and DeleteItem, and come back in the
order of a Java hash set from Scan, TransactGetItems, the PartiQL
operations, stream records and transaction cancellation reasons, as
DynamoDB returns them. Sets are now stored sorted, and a row stored before
this change comes back sorted in responses on the wire (HTTP, MCP and wasm);
the Rust API returns such a row&#39;s sets as they were stored. An update that
leaves such a set alone no longer fails the type check for an index key the
set&#39;s attribute is named after.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An empty attribute name is refused with DynamoDB&#39;s &lt;code&gt;Empty attribute name&lt;/code&gt;
before the table is looked up: in an item or a key, as a map key at any
depth inside a value, in AttributesToGet, in the legacy Expected,
AttributeUpdates, QueryFilter and ScanFilter values, in a PartiQL
parameter, and as an ExpressionAttributeNames value. It used to be stored,
or ignored. PutItem, UpdateItem and DeleteItem report it inside the
validation envelope, as DynamoDB does.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CreateTable lists a GSI&#39;s member errors before an LSI&#39;s, so two too-short
index names come back in DynamoDB&#39;s order.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ItemCollectionMetrics&lt;/code&gt; reports &lt;code&gt;SizeEstimateRangeGB&lt;/code&gt; as DynamoDB does: a
lower and an upper bound in whole gigabytes, so a small item collection
reads &lt;code&gt;[0.0, 1.0]&lt;/code&gt;. It used to give the collection&#39;s exact size twice.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PutItem, UpdateItem and DeleteItem report more of their request-validation
errors inside the &lt;code&gt;1 validation error detected: &lt;/code&gt; envelope, as DynamoDB does:
&lt;code&gt;ExpressionAttributeNames&lt;/code&gt; or &lt;code&gt;ExpressionAttributeValues&lt;/code&gt; without an
expression, either map empty, an empty &lt;code&gt;ConditionExpression&lt;/code&gt;, and every
malformed legacy &lt;code&gt;Expected&lt;/code&gt; condition. The values message no longer names
the missing expressions after it. DeleteItem now envelopes the same families
PutItem does, including &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; wherever it sits, and refuses a
&lt;code&gt;ReturnValues&lt;/code&gt; other than &lt;code&gt;ALL_OLD&lt;/code&gt; or &lt;code&gt;NONE&lt;/code&gt; with DynamoDB&#39;s
&lt;code&gt;ReturnValues can only be ALL_OLD or NONE&lt;/code&gt;, before the table is looked up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A legacy &lt;code&gt;Expected&lt;/code&gt; value DynamoDB refuses, such as &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; or a
number it can&#39;t store, is refused on PutItem, UpdateItem and DeleteItem.
The condition used to be dropped and the write went ahead.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A number DynamoDB can&#39;t store, and a set with a repeated member, are
refused in the words of the validation layer each operation runs on, as
DynamoDB refuses them. PutItem, UpdateItem and DeleteItem report them inside
the validation envelope wherever the value sits, and GetItem, BatchGetItem
and Query report them bare; an empty number ends &lt;code&gt;numeric value: &lt;/code&gt;, a
duplicated string or binary set lists its members quoted, and expression
values carry no &lt;code&gt;ExpressionAttributeValues contains invalid value&lt;/code&gt; wrapper.
BatchWriteItem, the transactions, Scan and PartiQL keep the older wording,
read numbers as DynamoDB&#39;s older layer does (&lt;code&gt;1e2147483647&lt;/code&gt; is an underflow
there) and name the key of a bad expression value. The transactions refuse
an empty or duplicated set in any action up front, before a missing table or
a condition&#39;s syntax error, rather than cancelling. A legacy &lt;code&gt;Expected&lt;/code&gt;
value and an &lt;code&gt;AttributeUpdates&lt;/code&gt; value are checked as an item&#39;s are. A
PartiQL number set literal with a repeated value is refused naming its
members and path, in a WHERE clause too.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expressions containing non-ASCII characters are read as DynamoDB reads
them. A character such as &lt;code&gt;é&lt;/code&gt;, &lt;code&gt;€&lt;/code&gt; or an emoji outside a string is refused
with the syntax error naming that character, in every expression and in
transactions, and so is a no-break space, which DynamoDB doesn&#39;t treat as
whitespace. A placeholder whose own name holds one is refused as an invalid
key of its map, and a PartiQL statement with one outside a string as not
well formed. Captured against eu-west-2 and us-east-1; us-east-1 names an
emoji in a filter or a transaction as &lt;code&gt;?&lt;/code&gt;, and Dynoxide follows eu-west-2.
In 1.2.1 some of these expressions stopped the server instead of being
refused, so anyone running Dynoxide where other people&#39;s clients can reach
it should upgrade.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;TransactWriteItems&lt;/code&gt; Update whose SET paths overlap, such as
&lt;code&gt;SET a.b = :v, a = :m&lt;/code&gt;, is refused before anything is written, with
DynamoDB&#39;s &amp;quot;Two document paths overlap&amp;quot; message, where it used to be
applied. &lt;code&gt;UpdateItem&lt;/code&gt; names the two paths in the order they were written.
Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement longer than 8,192 characters, or an empty one, is
refused before it is parsed, as a request member with DynamoDB&#39;s message
(&lt;code&gt;Member must have length less than or equal to 8192&lt;/code&gt;), on
&lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt;. The
limit counts characters, not bytes. Captured against eu-west-2 and
us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;BOOL&lt;/code&gt; or &lt;code&gt;NULL&lt;/code&gt; member&#39;s value is read as DynamoDB reads it. The
strings &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;t&lt;/code&gt;, &lt;code&gt;yes&lt;/code&gt;, &lt;code&gt;y&lt;/code&gt; and &lt;code&gt;1&lt;/code&gt;, and &lt;code&gt;false&lt;/code&gt;, &lt;code&gt;f&lt;/code&gt;, &lt;code&gt;no&lt;/code&gt;, &lt;code&gt;n&lt;/code&gt; and
&lt;code&gt;0&lt;/code&gt;, in any case, are taken as the booleans they spell, so &lt;code&gt;{&amp;quot;BOOL&amp;quot;: &amp;quot;no&amp;quot;}&lt;/code&gt;
stores &lt;code&gt;false&lt;/code&gt; and &lt;code&gt;{&amp;quot;NULL&amp;quot;: &amp;quot;yes&amp;quot;}&lt;/code&gt; stores a NULL, where both used to be
refused. Any other string is refused with &lt;code&gt;Unexpected token received from parser&lt;/code&gt;, a number with &lt;code&gt;NUMBER_VALUE&lt;/code&gt; (or &lt;code&gt;DECIMAL_VALUE&lt;/code&gt;) &lt;code&gt;cannot be converted to Boolean&lt;/code&gt;, and a list with a &lt;code&gt;SerializationException&lt;/code&gt; that has
no message. A number is named by how it is written: a whole number of any
size, &lt;code&gt;-0&lt;/code&gt; included, is &lt;code&gt;NUMBER_VALUE&lt;/code&gt;, and one with a point or an exponent
&lt;code&gt;DECIMAL_VALUE&lt;/code&gt;, where &lt;code&gt;-0&lt;/code&gt; and an integer past 64 bits were named
&lt;code&gt;DECIMAL_VALUE&lt;/code&gt;. A &lt;code&gt;NULL&lt;/code&gt; that reads as false is refused bare as the value is
read, and named by key in an expression value on &lt;code&gt;UpdateItem&lt;/code&gt;, &lt;code&gt;DeleteItem&lt;/code&gt;
and &lt;code&gt;Query&lt;/code&gt;, when it was a string or sits beside another member; a lone
&lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; keeps the envelope. A member set to JSON &lt;code&gt;null&lt;/code&gt; counts as
absent, so &lt;code&gt;{&amp;quot;S&amp;quot;: null}&lt;/code&gt; is an empty value and &lt;code&gt;{&amp;quot;S&amp;quot;: &amp;quot;a&amp;quot;, &amp;quot;N&amp;quot;: null}&lt;/code&gt; a
string, and &lt;code&gt;Query&lt;/code&gt; names the key of an empty expression value. Captured
against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A request that holds a &lt;code&gt;BOOL&lt;/code&gt; or &lt;code&gt;NULL&lt;/code&gt; written as a string, or a value with
more than one member, is read whole by DynamoDB&#39;s older validation layer,
whatever the operation, and Dynoxide now reads it the same way: every value
it refuses, wherever it sits, comes back bare on &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; and
&lt;code&gt;DeleteItem&lt;/code&gt;, where the same refusal alone is wrapped in &lt;code&gt;1 validation error detected:&lt;/code&gt;, and &lt;code&gt;UpdateItem&lt;/code&gt; names the key of the expression value at
fault (&lt;code&gt;ExpressionAttributeValues contains invalid value: ... for key :v&lt;/code&gt;).
A value with more than one member is checked in DynamoDB&#39;s order: a member
that doesn&#39;t read as a boolean, then an empty set, then a number it can&#39;t
read, then a &lt;code&gt;NULL&lt;/code&gt; that reads as false, and only then the second member,
where the empty set came after the second member. Captured against
eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A request&#39;s own &lt;code&gt;ConsistentRead&lt;/code&gt;, on &lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt;, &lt;code&gt;Scan&lt;/code&gt; and each
table of &lt;code&gt;BatchGetItem&lt;/code&gt;, and &lt;code&gt;Query&lt;/code&gt;&#39;s &lt;code&gt;ScanIndexForward&lt;/code&gt;, read a string by
the rule a &lt;code&gt;BOOL&lt;/code&gt; member follows, as DynamoDB reads them: &lt;code&gt;&amp;quot;yes&amp;quot;&lt;/code&gt; is a
strongly consistent read and &lt;code&gt;&amp;quot;no&amp;quot;&lt;/code&gt; reads a Query descending, where every
string was refused with &lt;code&gt;Unexpected token received from parser&lt;/code&gt;. Any other
string still is, and a number is named as it is for a &lt;code&gt;BOOL&lt;/code&gt;. A &lt;code&gt;null&lt;/code&gt;
&lt;code&gt;ScanIndexForward&lt;/code&gt; reads forward, as leaving it out does, where it was
refused. Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement that reads or writes by a key longer than a key can be
is refused with DynamoDB&#39;s words, where it used to run and find nothing: a
partition key over 2,048 bytes with &lt;code&gt;Size of hashkey has exceeded the maximum size limit of2048 bytes&lt;/code&gt;, and a sort key over 1,024 bytes with
&lt;code&gt;Aggregated size of all range keys has exceeded the size limit of 1024 bytes&lt;/code&gt;. That covers a SELECT on the table or on either kind of index, a
sort key under any key condition (&lt;code&gt;=&lt;/code&gt;, a comparison, &lt;code&gt;BETWEEN&lt;/code&gt; or
&lt;code&gt;begins_with&lt;/code&gt;), a partition key beside an &lt;code&gt;OR&lt;/code&gt; that every alternative
shares (&lt;code&gt;pk = &amp;lt;key&amp;gt; AND (x = 1 OR x = 2)&lt;/code&gt;), and the key of an &lt;code&gt;UPDATE&lt;/code&gt; or a
&lt;code&gt;DELETE&lt;/code&gt;; a statement that names several partitions, such as an &lt;code&gt;OR&lt;/code&gt; of
keys, still runs. The refusal stands
on its own on &lt;code&gt;ExecuteStatement&lt;/code&gt;, against that statement (with its table)
in a &lt;code&gt;BatchExecuteStatement&lt;/code&gt;, where it is now charged nothing, and as a
&lt;code&gt;ValidationError&lt;/code&gt; cancellation in an &lt;code&gt;ExecuteTransaction&lt;/code&gt;. Captured against
eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause with more than 300 operators is refused with
DynamoDB&#39;s &amp;quot;The expression contains too many operators&amp;quot; message. AND, OR,
NOT, comparison operators, function calls, &lt;code&gt;IN&lt;/code&gt;, &lt;code&gt;BETWEEN&lt;/code&gt; and &lt;code&gt;IS&lt;/code&gt; each
count, the NOT in &lt;code&gt;IS NOT&lt;/code&gt; or &lt;code&gt;NOT IN&lt;/code&gt; on its own, so &lt;code&gt;AND size(s) &amp;gt; 0&lt;/code&gt;
and &lt;code&gt;AND x IS NOT NULL&lt;/code&gt; cost three; &lt;code&gt;BETWEEN&lt;/code&gt;&#39;s own AND, an &lt;code&gt;IN&lt;/code&gt; list&#39;s
members and a bag literal&#39;s &lt;code&gt;&amp;lt;&amp;lt;&lt;/code&gt; and &lt;code&gt;&amp;gt;&amp;gt;&lt;/code&gt; count nothing. A run of NOTs no
longer counts as nesting, so one that was refused as nested too deeply now
runs. Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL accepts &lt;code&gt;x NOT IN [...]&lt;/code&gt; and &lt;code&gt;x NOT BETWEEN lo AND hi&lt;/code&gt;, read as
&lt;code&gt;NOT x IN [...]&lt;/code&gt; and &lt;code&gt;NOT x BETWEEN lo AND hi&lt;/code&gt;, so an item missing &lt;code&gt;x&lt;/code&gt;, or
holding a value of another type, matches a numeric range&#39;s negation; both
were refused as an unknown operator. They also follow a &lt;code&gt;size()&lt;/code&gt;, a literal
or a parameter, and &lt;code&gt;NOT IN&lt;/code&gt; follows a condition function, where &lt;code&gt;NOT BETWEEN&lt;/code&gt; takes the same refusal as &lt;code&gt;BETWEEN&lt;/code&gt;. A sort key read with &lt;code&gt;NOT BETWEEN&lt;/code&gt; reads the range&#39;s complement, as &lt;code&gt;NOT sk BETWEEN&lt;/code&gt; does. A missing
AND in a WHERE clause&#39;s &lt;code&gt;BETWEEN&lt;/code&gt; is now &amp;quot;Expected AND keyword&amp;quot;, and &lt;code&gt;x NOT&lt;/code&gt;
followed by anything but &lt;code&gt;IN&lt;/code&gt;, &lt;code&gt;BETWEEN&lt;/code&gt; or &lt;code&gt;LIKE&lt;/code&gt; is an unexpected token
rather than an unknown operator. Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL &lt;code&gt;IN&lt;/code&gt; or &lt;code&gt;BETWEEN&lt;/code&gt; on a path that also stands among its own
members or bounds, such as &lt;code&gt;x IN [1, x]&lt;/code&gt; or &lt;code&gt;x BETWEEN 1 AND x&lt;/code&gt;, is refused
with DynamoDB&#39;s &amp;quot;The first operand must be distinct from the remaining
operands&amp;quot; message, as &lt;code&gt;x = x&lt;/code&gt; already was. The message names a path by its
parts, &lt;code&gt;[m, a]&lt;/code&gt; for &lt;code&gt;m.a&lt;/code&gt; and &lt;code&gt;[l, [0]]&lt;/code&gt; for &lt;code&gt;l[0]&lt;/code&gt;, in a comparison too.
Where a WHERE clause holds more than one refusal, &lt;code&gt;MISSING&lt;/code&gt; compared
without &lt;code&gt;IS&lt;/code&gt; now outranks a refused operand whichever is written first, and
an &lt;code&gt;IN&lt;/code&gt; with too many operands is reported in the order written against a
refused operand rather than ahead of it. An &lt;code&gt;IN&lt;/code&gt; with too many operands
that also holds its own path is refused for the path, wherever it stands
in the list, where the operand count used to be reported. Captured against
eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL &lt;code&gt;UPDATE&lt;/code&gt; that sets or removes a key attribute is refused with
&lt;code&gt;Cannot update attribute &amp;lt;name&amp;gt;. This attribute is part of the key&lt;/code&gt;, and
writes nothing. It used to store the item under its old key with the new
key value inside it, so the item no longer matched its own key. It is
refused before the item is read, so a missing item or a false condition
makes no difference. In &lt;code&gt;BatchExecuteStatement&lt;/code&gt; it fails its own statement
with a &lt;code&gt;ValidationError&lt;/code&gt; that names the table, and in &lt;code&gt;ExecuteTransaction&lt;/code&gt;
it cancels the transaction with a &lt;code&gt;ValidationError&lt;/code&gt; reason. Captured against
eu-west-2 and us-east-1 on 10 October 2026.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A quoted name in a PartiQL statement is one attribute whatever it holds,
as DynamoDB reads it: &lt;code&gt;&amp;quot;a.b&amp;quot;&lt;/code&gt; and &lt;code&gt;&amp;quot;a[0]&amp;quot;&lt;/code&gt; name the top-level attributes
&lt;code&gt;a.b&lt;/code&gt; and &lt;code&gt;a[0]&lt;/code&gt; in a WHERE clause, a condition function, &lt;code&gt;IS NOT MISSING&lt;/code&gt;
and a projection, which returns them under those names, and &lt;code&gt;SET &amp;quot;x.y&amp;quot; = 5&lt;/code&gt; writes an attribute named &lt;code&gt;x.y&lt;/code&gt;. They used to be read as &lt;code&gt;a.b&lt;/code&gt; and
&lt;code&gt;a[0]&lt;/code&gt; unquoted, a step into &lt;code&gt;a&lt;/code&gt;, and &lt;code&gt;SET &amp;quot;x[0]&amp;quot;&lt;/code&gt; was refused as an
invalid document path. &lt;code&gt;&amp;quot;a&amp;quot;.&amp;quot;b&amp;quot;&lt;/code&gt; and &lt;code&gt;&amp;quot;a&amp;quot;[0]&lt;/code&gt; still step into &lt;code&gt;a&lt;/code&gt;. A key
attribute whose name holds a &lt;code&gt;.&lt;/code&gt; or a &lt;code&gt;[&lt;/code&gt; is named by quoting it, so such
a table is read by its key and its items can be updated and deleted.
Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL &lt;code&gt;size()&lt;/code&gt; calls nested inside one another, and arithmetic after a
&lt;code&gt;size()&lt;/code&gt;, are held to the same depth as nested brackets.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL &lt;code&gt;IN&lt;/code&gt; with more than 100 operands, negated or not, written as
literals or as parameters, after a path or a &lt;code&gt;size()&lt;/code&gt;, is refused with
DynamoDB&#39;s &amp;quot;The IN operator is provided with too many operands&amp;quot; message.
Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause that repeats a long value across the alternatives
it expands to, such as eight &lt;code&gt;(a = 1 OR a = 2)&lt;/code&gt; pairs alongside a
4,000-character string, runs as it does on DynamoDB. The engine holds each
condition once however many alternatives share it, and checks the size of
an expansion before building it. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL condition whose &lt;code&gt;?&lt;/code&gt; has no parameter to fill it no longer
matches an item. &lt;code&gt;flag &amp;lt;&amp;gt; ?&lt;/code&gt; with no parameters used to hold for every item
without &lt;code&gt;flag&lt;/code&gt;, so a &lt;code&gt;DELETE&lt;/code&gt; or &lt;code&gt;UPDATE&lt;/code&gt; short of its parameters could
delete or change it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL statement with more &lt;code&gt;?&lt;/code&gt; placeholders than the request has
parameters is refused with DynamoDB&#39;s &amp;quot;Number of parameters in request and
statement don&#39;t match.&amp;quot; message: on its own on &lt;code&gt;ExecuteStatement&lt;/code&gt;, against
that statement alone in &lt;code&gt;BatchExecuteStatement&lt;/code&gt; (where it no longer counts
towards the mixed read and write check), and with the statement&#39;s index on
&lt;code&gt;ExecuteTransaction&lt;/code&gt;. More parameters than placeholders are still accepted.
An empty &lt;code&gt;Parameters&lt;/code&gt; list is refused as a request member, on a batch or
transaction member too, where it refuses the whole request.
Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL request that breaks several member constraints at once, such as
an over-long statement with an empty &lt;code&gt;Parameters&lt;/code&gt; list or several over-long
statements in a batch, lists every one in DynamoDB&#39;s &amp;quot;N validation errors
detected&amp;quot; form rather than the first, and an empty statement in a batch or
transaction refuses the whole request as a member. &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt;
is listed with the rest rather than refused on its own: on
&lt;code&gt;BatchExecuteStatement&lt;/code&gt; ahead of the statement list&#39;s length, and on
&lt;code&gt;ExecuteTransaction&lt;/code&gt; after an over-long &lt;code&gt;ClientRequestToken&lt;/code&gt; and the
statements (both orders captured against eu-west-2 and us-east-1). More
than 25 statements in a batch is refused as a member too, where it used to
give &amp;quot;Too many statements in BatchExecuteStatement&amp;quot;; its echo of the
statements is us-east-1&#39;s, as eu-west-2 printed a hash in their place that
can&#39;t be reproduced. A batch member&#39;s own errors follow
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; (captured). Inferred rather than captured: an empty
transaction, or one of more than 100 statements, listed with the token and
the statements rather than answering after them. The MCP &lt;code&gt;execute_partiql&lt;/code&gt;, &lt;code&gt;batch_execute_partiql&lt;/code&gt;
and &lt;code&gt;execute_transaction_partiql&lt;/code&gt; tools list a bad mode the same way.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A transaction&#39;s list longer than DynamoDB allows is echoed as DynamoDB
echoes it: &lt;code&gt;ExecuteTransaction&lt;/code&gt;&#39;s statements as &lt;code&gt;ParameterizedStatement(...)&lt;/code&gt;
and an empty list as &lt;code&gt;[]&lt;/code&gt;, and the actions of &lt;code&gt;TransactWriteItems&lt;/code&gt; and
&lt;code&gt;TransactGetItems&lt;/code&gt; as &lt;code&gt;TransactWriteItem(...)&lt;/code&gt; and &lt;code&gt;TransactGetItem(...)&lt;/code&gt;,
every field named, where they echoed nothing or Dynoxide&#39;s own debugging
form. An attribute map in any of these echoes, and in &lt;code&gt;BatchWriteItem&lt;/code&gt;&#39;s,
lists its entries in the order of a Java hash map sized to its entries, as
DynamoDB&#39;s do, rather than by name: an item, a nested map or
&lt;code&gt;ExpressionAttributeNames&lt;/code&gt; of 2 to 6 entries is laid out over four or eight
buckets, not sixteen. Entries that share a bucket are listed in name order,
where DynamoDB keeps the order they were sent in. Captured against
us-east-1, eu-west-1 and us-west-2 (eu-west-2 echoes no action list), the
map sizes against us-east-1 and eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL WHERE clause&#39;s alternatives are held to 16,384 condition slots
between them, where each alternative was already held to 4,096. Every slot is
evaluated against every item read, and a clause of a few hundred operators
could flatten to tens of thousands. The limit is Dynoxide&#39;s own, as DynamoDB
does not flatten a clause; a clause past it is refused as too complex.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A refused member echoed in a constraint message (&lt;code&gt;BatchWriteItem&lt;/code&gt;&#39;s and
&lt;code&gt;BatchGetItem&lt;/code&gt;&#39;s request items, &lt;code&gt;BatchExecuteStatement&lt;/code&gt;&#39;s statements, and the
action list &lt;code&gt;TransactWriteItems&lt;/code&gt; and &lt;code&gt;TransactGetItems&lt;/code&gt; echo when it holds
more than 100) stops at 1 MiB and ends &lt;code&gt;...&lt;/code&gt;. The Java form these echoes take runs to about
twenty times the request, so a rejected request near the body limit built
an error message of hundreds of megabytes. The limit is Dynoxide&#39;s own;
what DynamoDB does with an echo that size has not been captured.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A malformed &lt;code&gt;Expected&lt;/code&gt; condition on &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; or &lt;code&gt;DeleteItem&lt;/code&gt;
is refused rather than ignored. 1.2.1 ran the write with no condition at
all, so a guarded &lt;code&gt;DeleteItem&lt;/code&gt; deleted the item. An unknown &lt;code&gt;ComparisonOperator&lt;/code&gt; gets
DynamoDB&#39;s &amp;quot;Invalid comparison operator&amp;quot; message, and &lt;code&gt;EQ&lt;/code&gt; with an empty
&lt;code&gt;AttributeValueList&lt;/code&gt; its &amp;quot;Invalid number of argument(s)&amp;quot; message. Captured
against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;code&gt;Debug&lt;/code&gt; form of a map &lt;code&gt;AttributeValue&lt;/code&gt; writes its entries in key order,
and the idempotency check on transactions sorts a map&#39;s keys itself rather
than rely on serde_json to, so a build in which another crate turns on
serde_json&#39;s &lt;code&gt;preserve_order&lt;/code&gt; feature still replays a same-token retry of
an identical request.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PartiQL &lt;code&gt;begins_with&lt;/code&gt; matches a binary attribute against a binary prefix by
its bytes, and &lt;code&gt;NOT begins_with&lt;/code&gt; keeps the rest. A binary prefix matched
nothing and its negation everything. A string prefix still matches only a
string value. Captured against eu-west-2 and us-east-1.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.2.1</title>
    <link href="https://dynoxide.dev/changelog#1.2.1"/>
    <id>https://dynoxide.dev/changelog#1.2.1</id>
    <updated>2026-09-20T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rmcp&lt;/code&gt; moves to 2.2.0&lt;/strong&gt;, clearing GHSA-9pj6-vhgr-3mwh, GHSA-33f5-2c5q-wgwj
and GHSA-9g45-5xwm-f3wc against the 1.x line. None of the three was reachable
from a Dynoxide build: two cover client transports this crate never compiles,
and the session-table leak sits behind rmcp&#39;s &lt;code&gt;stateful_mode&lt;/code&gt;, which the MCP
HTTP transport sets to &lt;code&gt;false&lt;/code&gt;. 1.8.0 is the end of the 1.x line, so there was
no backport to take. The MCP protocol version on the wire is unchanged.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;rustls&lt;/code&gt; moves to 0.23.45&lt;/strong&gt; for RUSTSEC-2026-0285. It reaches the tree
through dev-dependencies only and never shipped in a released artefact.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The crate is published to &lt;a href=&quot;http://crates.io&quot;&gt;crates.io&lt;/a&gt; with Trusted Publishing. The release
workflow exchanges a short-lived OIDC token for a publish token that expires
after 30 minutes, so no long-lived registry token is stored on the repository.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.2.0</title>
    <link href="https://dynoxide.dev/changelog#1.2.0"/>
    <id>https://dynoxide.dev/changelog#1.2.0</id>
    <updated>2026-09-11T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;hash&lt;/code&gt; rules now use HMAC-SHA256 keyed on the salt. Every hashed value
changes.&lt;/strong&gt; &lt;code&gt;SHA256(salt || value)&lt;/code&gt; ran salt and value together as one byte
string with no boundary between them, and inherited SHA-256&#39;s length
extension. The value is tagged with its DynamoDB type, so the string &lt;code&gt;&amp;quot;123&amp;quot;&lt;/code&gt;
and the number &lt;code&gt;123&lt;/code&gt; no longer share a pseudonym, and a map, list or set is
hashed over a canonical encoding, so its pseudonym no longer depends on the
order it was serialised in. A dataset anonymised by 1.1.0 will not join
against one anonymised by this release: re-import both sides, and rotate the
salt while you are there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;One value has one pseudonym however it is spelled.&lt;/strong&gt; &lt;code&gt;1&lt;/code&gt;, &lt;code&gt;1.0&lt;/code&gt; and
&lt;code&gt;0.1e1&lt;/code&gt; are one number to &lt;code&gt;hash&lt;/code&gt;, to a seeded &lt;code&gt;fake&lt;/code&gt; and to the consistency
map, as they are one number to DynamoDB, and a duplicated set member no
longer changes a set&#39;s pseudonym. The map keeps types apart, so &lt;code&gt;&amp;quot;42&amp;quot;&lt;/code&gt; and
&lt;code&gt;42&lt;/code&gt; are separate entries, and a seeded &lt;code&gt;fake&lt;/code&gt; on a map, list or set goes
through the map rather than being treated as deterministic.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;dynoxide import&lt;/code&gt; exits 3 when an original value reached the output.&lt;/strong&gt;
That covers a rule that anonymised nothing, a key its template could not
rebuild, a key the model never templated that still holds a replaced value,
items matching no entity, keys of an index the model never names on a table
whose model names an index it lacks, and values a &lt;code&gt;mask&lt;/code&gt; kept whole. They
are listed again at the end of the run, &lt;code&gt;--serve&lt;/code&gt; and &lt;code&gt;--mcp&lt;/code&gt; refuse to
start on them, and &lt;code&gt;--accept-exposure&lt;/code&gt; returns the exit code to 0.
&lt;code&gt;ImportSummary&lt;/code&gt; gains a &lt;code&gt;notices&lt;/code&gt; field carrying every message with its
concern, and an &lt;code&gt;exposures&lt;/code&gt; field holding the messages of the ones that
count.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;salt_env&lt;/code&gt; and &lt;code&gt;seed_env&lt;/code&gt; must be at least 16 bytes.&lt;/strong&gt; Generate one with
&lt;code&gt;openssl rand -base64 24&lt;/code&gt;. The salt is wiped from memory once the run is
done with it, as the encryption key already was.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;fake&lt;/code&gt; on a numeric attribute draws from the full 64-bit range&lt;/strong&gt; rather
than four digits, so a few hundred items no longer collide.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A misspelt table name is an error.&lt;/strong&gt; A rule scoped to a table the schema
file does not have, and a &lt;code&gt;--tables&lt;/code&gt; name the export does not hold, are
refused rather than skipped; either used to leave a table out of the output
with a clean exit. &lt;code&gt;--tables&lt;/code&gt; also applies to a flat export directory, where
the filter was ignored before.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A rule path is read in full or refused.&lt;/strong&gt; &lt;code&gt;a[0]b&lt;/code&gt; parsed as &lt;code&gt;a[0]&lt;/code&gt; and
rewrote the whole list element; it is now an error suggesting &lt;code&gt;a[0].b&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;An export file over the 50 GB limit fails the import&lt;/strong&gt; rather than ending
quietly at the limit, and the cap applies to uncompressed files too. A line
over 4 MB is refused without first being held in memory.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;dynoxide import --data-model &amp;lt;onetable.json&amp;gt;&lt;/code&gt; rebuilds keys from their
OneTable templates after anonymisation, so &lt;code&gt;pk = &amp;quot;CUSTOMER#&amp;lt;email&amp;gt;&amp;quot;&lt;/code&gt; and
every index key built from &lt;code&gt;email&lt;/code&gt; take the anonymised value and keep their
prefix. A key is rewritten only where its template reproduces the value it
arrived with; anything else is left alone and counted. Templates follow
OneTable&#39;s forms, including dotted paths and &lt;code&gt;${name:length:pad}&lt;/code&gt; padding.
A model describes one table, so with rules a multi-table export needs
&lt;code&gt;--tables&lt;/code&gt; naming the one it describes
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/201&quot;&gt;#201&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;An import fails when the anonymisation breaks a join: one original key
taken to two values, by two entities or by one entity across rows that
shared a partition. Put the attribute in &lt;code&gt;[consistency] fields&lt;/code&gt;, or use
&lt;code&gt;hash&lt;/code&gt;. A split sort key is reported rather than fatal, and &lt;code&gt;docs/import.md&lt;/code&gt;
lists what the check cannot see
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/202&quot;&gt;#202&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;fake&lt;/code&gt; rules take &lt;code&gt;seed_env&lt;/code&gt;, naming a secret that makes the generated value
a function of the original, so a fixture only changes where the source data
changed. Holds for a fixed build and for scalar values; mixing seeded and
unseeded rules on one consistency field is reported
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/203&quot;&gt;#203&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A rule can name the &lt;code&gt;tables&lt;/code&gt; it applies to. A rule scoped to tables a run
leaves out with &lt;code&gt;--tables&lt;/code&gt; is reported as not applied rather than as having
anonymised nothing.&lt;/li&gt;
&lt;li&gt;Rules take &lt;code&gt;values&lt;/code&gt; and &lt;code&gt;names&lt;/code&gt; tables, in the shape of
ExpressionAttributeValues and ExpressionAttributeNames, so a match can be
scoped by key prefix or reach a reserved-word attribute. The rules file is
validated before any data is read
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/200&quot;&gt;#200&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;import --mcp&lt;/code&gt; tells the agent what the import did. &lt;code&gt;get_database_info&lt;/code&gt;
returns the run&#39;s notices with their concern, and the server instructions
say how many there were and whether an exposure was accepted with
&lt;code&gt;--accept-exposure&lt;/code&gt;. &lt;code&gt;docs/mcp.md&lt;/code&gt; covers it.&lt;/li&gt;
&lt;li&gt;The crate version and the product version are separate streams. &lt;code&gt;VERSION&lt;/code&gt;
holds the product version and every installable artefact reports it;
&lt;code&gt;Cargo.toml&lt;/code&gt; holds the crate version. &lt;code&gt;cargo install dynoxide-rs --version&lt;/code&gt;
now selects the crate version. &lt;code&gt;docs/versioning.md&lt;/code&gt; has the rules and
&lt;code&gt;scripts/check-versions.sh&lt;/code&gt; enforces them in CI.&lt;/li&gt;
&lt;li&gt;New warnings, counted where a count is possible: a rule that matched nothing
or rewrote nothing; keys a template could not rebuild; values a &lt;code&gt;mask&lt;/code&gt; kept
whole; a rule that rewrites a key or index key directly with no data model;
an item several entities&#39; templates reproduce; one entity splitting its own
sort key; a data model supplied with no rules.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Prefer &lt;code&gt;hash&lt;/code&gt;, or a seeded &lt;code&gt;safe_email&lt;/code&gt;, for an attribute a key is built
from. The other &lt;code&gt;fake&lt;/code&gt; generators repeat within a few hundred items, &lt;code&gt;mask&lt;/code&gt;
collides on shared tails, &lt;code&gt;redact&lt;/code&gt; collapses every item onto one key and
&lt;code&gt;null&lt;/code&gt; cannot render a key at all. The up-front warning names the
consequence per action.&lt;/li&gt;
&lt;li&gt;An import that rebuilds keys, or whose rules name a key attribute, maintains
secondary indexes on write so an overwritten row leaves no stale index
entry. Other imports keep the faster path.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Breaking (Rust API)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ImportCommand&lt;/code&gt; gains a &lt;code&gt;data_model&lt;/code&gt; field, so struct literals need it
adding. This is why the crate is 2.0.0.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;contains&lt;/code&gt; against a number set compares numerically, as DynamoDB does, so
&lt;code&gt;contains(tags, :n)&lt;/code&gt; with &lt;code&gt;:n&lt;/code&gt; as &lt;code&gt;1&lt;/code&gt; matches a set holding &lt;code&gt;1.0&lt;/code&gt;. The
evaluator is shared, so this holds in a &lt;code&gt;FilterExpression&lt;/code&gt; and a
&lt;code&gt;ConditionExpression&lt;/code&gt; alike, not only in an import rule.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;safe_email&lt;/code&gt; no longer collides at ordinary sizes: addresses carry a 64-bit
derived suffix in the local part.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;${name:length:pad}&lt;/code&gt; matches OneTable&#39;s rendering for a multi-character pad,
counting in UTF-16 units as JavaScript does.&lt;/li&gt;
&lt;li&gt;The check for a replaced value left inside a key finds it inside a redacted
map or list, in another case, and behind any delimiter, and counts only a
value a rule actually replaced.&lt;/li&gt;
&lt;li&gt;Under &lt;code&gt;--continue-on-error&lt;/code&gt;, the last batch of a table is covered, and a
batch that rolled back no longer counts towards the join check, the
collision count or an exposure: only rows that reached the output do.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;import --mcp&lt;/code&gt; honours &lt;code&gt;--mcp-read-only&lt;/code&gt;, as &lt;code&gt;--serve --mcp&lt;/code&gt; already did.&lt;/li&gt;
&lt;li&gt;Local secondary indexes in the schema file reach the key rebuilder, which
reports them rather than skipping them, along with any OneTable index the
table lacks. An index whose hash key is a plain attribute keeps its sort key
template, and a schema keyed on &lt;code&gt;PK&lt;/code&gt;/&lt;code&gt;SK&lt;/code&gt; parses its primary key templates.&lt;/li&gt;
&lt;li&gt;Overwritten rows are counted on the number the database stores, so &lt;code&gt;1&lt;/code&gt; and
&lt;code&gt;1.0&lt;/code&gt; count as the one row they are.&lt;/li&gt;
&lt;li&gt;A rule &lt;code&gt;path&lt;/code&gt; starting with &lt;code&gt;#&lt;/code&gt; is rejected rather than silently matching
nothing, and an empty salt variable is rejected rather than producing
unsalted SHA-256. A salt or seed that is set but not valid UTF-8 is reported
as such rather than as unset.&lt;/li&gt;
&lt;li&gt;Compression happens before the rename, so a failed compression leaves nothing
at the output path.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;docs/import.md&lt;/code&gt; no longer shows &lt;code&gt;begins_with(pk, &#39;USER#&#39;)&lt;/code&gt;, which the
parser rejects; use the &lt;code&gt;values&lt;/code&gt; table
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/200&quot;&gt;#200&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Release pipeline: the container image is version-probed before push, the
Homebrew formula&#39;s test block runs before the tap moves, the website waits on
both npm packages, prereleases publish with a dist-tag and install through
the Action, &lt;code&gt;npm/scripts/publish.sh&lt;/code&gt; refuses a version and release URL that
name different tags, the npm job checks out the tag it publishes, and a tag
whose version is not full semver (&lt;code&gt;v1.2.0-rc..1&lt;/code&gt;) is refused before anything
is published rather than by npm afterwards.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.1.0</title>
    <link href="https://dynoxide.dev/changelog#1.1.0"/>
    <id>https://dynoxide.dev/changelog#1.1.0</id>
    <updated>2026-09-03T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;BatchGetItem&lt;/code&gt; with an empty &lt;code&gt;RequestItems&lt;/code&gt; map now answers the standard
validation envelope&lt;/strong&gt; rather than a bespoke sentence: &lt;code&gt;1 validation error detected: Value at &#39;RequestItems&#39; failed to satisfy constraint: Member must have length greater than or equal to 1&lt;/code&gt;. AWS moved the operation onto that
message in 32 of the 33 regions observed on 2026-09-02. &lt;code&gt;BatchWriteItem&lt;/code&gt; has
not followed and keeps &lt;code&gt;The requestItems parameter is required for BatchWriteItem&lt;/code&gt;, so the two siblings answer differently on purpose.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>1.0.0</title>
    <link href="https://dynoxide.dev/changelog#1.0.0"/>
    <id>https://dynoxide.dev/changelog#1.0.0</id>
    <updated>2026-08-25T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Behaviour changes&lt;/h3&gt;
&lt;p&gt;Read this section before upgrading. This release corrects a large number of
divergences from DynamoDB, and a test that had come to depend on the old answer
will fail. Grouped by what you will actually experience.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A write can now modify data it previously did not.&lt;/strong&gt; These three share one
cause: PartiQL &lt;code&gt;UPDATE&lt;/code&gt; and &lt;code&gt;DELETE&lt;/code&gt; evaluate their &lt;code&gt;WHERE&lt;/code&gt; clause through the
same matcher as &lt;code&gt;SELECT&lt;/code&gt;, so a change to predicate handling changes which rows a
write touches.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A predicate on a set, list, map, binary or null attribute compares by value
instead of never matching. A conditional write on any of those types could
never fire before and now fires.&lt;/li&gt;
&lt;li&gt;A negated comparison keeps the rows its attribute is missing from. &lt;code&gt;NOT a=&#39;x&#39;&lt;/code&gt;
skipped rows with no &lt;code&gt;a&lt;/code&gt; and now matches them, so a write carrying that
predicate reaches a wider row set.&lt;/li&gt;
&lt;li&gt;Parenthesised grouping and bare &lt;code&gt;NOT&lt;/code&gt; now parse. &lt;code&gt;WHERE (a=&#39;1&#39;)&lt;/code&gt; was a parse
error, so a write carrying it did nothing; it now executes. Unlike the two
above, the old behaviour was a visible error rather than a silent no-op.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Requests that used to be accepted are now rejected&lt;/strong&gt;, matching DynamoDB. A
test sending one of these and expecting success fails immediately: the
&lt;code&gt;UpdateItem&lt;/code&gt; item-size ceiling; the PartiQL 400KB item-size limit;
&lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; outside &lt;code&gt;INDEXES&lt;/code&gt;, &lt;code&gt;TOTAL&lt;/code&gt; and &lt;code&gt;NONE&lt;/code&gt;; two
&lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt; request shapes; five rejections
on index-qualified PartiQL &lt;code&gt;SELECT&lt;/code&gt;; a &lt;code&gt;SELECT&lt;/code&gt; in &lt;code&gt;BatchExecuteStatement&lt;/code&gt; that
does not name the primary key or that names an index; ordering comparisons
against operands with no ordering; an index-qualified &lt;code&gt;SELECT&lt;/code&gt; inside
&lt;code&gt;ExecuteTransaction&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;One runs the other way and is worth knowing: an ordering comparison against an
unorderable operand used to answer no rows and now rejects the statement, so a
conditional write of that shape fails visibly instead of silently doing nothing.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Consumed capacity figures move.&lt;/strong&gt; Any test asserting exact &lt;code&gt;ConsumedCapacity&lt;/code&gt;
values will need updating. Index writes are charged on the change to what the
index stores rather than on the finished item, LSI writes are charged at all,
table arms are sized on the larger of an item&#39;s before and after images,
transactional and PartiQL surfaces report per-index figures under &lt;code&gt;INDEXES&lt;/code&gt;,
PartiQL reads are charged on rows walked rather than rows returned, and LSI
base-table reads are charged on bytes moved rather than a flat half unit.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Results change without an error.&lt;/strong&gt; A PartiQL &lt;code&gt;SELECT&lt;/code&gt; is served from the index
its &lt;code&gt;FROM&lt;/code&gt; clause names, so sparse membership and projection now apply; an LSI
serves a projection naming an attribute it does not carry by reading the base
item, where it used to return rows of empty objects.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Crashes became errors.&lt;/strong&gt; An unterminated quoted name and a deeply nested
statement are rejected rather than aborting the process, and &lt;code&gt;wasm-sqlite&lt;/code&gt;
alongside the default features now fails with a message that explains itself.&lt;/p&gt;
&lt;p&gt;Every individual change is listed in the sections below, and
&lt;code&gt;docs/compatibility-summary.md&lt;/code&gt; carries the cumulative behaviour-change record.&lt;/p&gt;
&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Vector indexes and &lt;code&gt;SearchVectors&lt;/code&gt;.&lt;/strong&gt; &lt;code&gt;CreateTable&lt;/code&gt; and &lt;code&gt;UpdateTable&lt;/code&gt; take vector index definitions, &lt;code&gt;DescribeTable&lt;/code&gt; reports them, the item write paths maintain them, and &lt;code&gt;SearchVectors&lt;/code&gt; returns the nearest entries to a query vector over &lt;code&gt;COSINE&lt;/code&gt;, &lt;code&gt;EUCLIDEAN&lt;/code&gt; or &lt;code&gt;DOT_PRODUCT&lt;/code&gt;. A search can be scoped by a &lt;code&gt;SearchSchema&lt;/code&gt; HASH attribute and filtered on &lt;code&gt;INLINE_FILTER&lt;/code&gt; attributes, and reports &lt;code&gt;VectorSearchRequestBytes&lt;/code&gt;; a write to a vector-indexed table reports a per-index &lt;code&gt;VectorIndexes&lt;/code&gt; map under &lt;code&gt;INDEXES&lt;/code&gt;. Available on the native build, the wasm build, and through the MCP tools, which gain a &lt;code&gt;search_vectors&lt;/code&gt; tool. Scoring is exact brute-force KNN, so the top-k is the true top-k.&lt;/p&gt;
&lt;p&gt;An index added to a live table through &lt;code&gt;UpdateTable&lt;/code&gt; walks a creation lifecycle rather than arriving ready: it walks the same four phases DynamoDB walks. While it allocates, the base table reports &lt;code&gt;UPDATING&lt;/code&gt;, &lt;code&gt;Backfilling&lt;/code&gt; reports &lt;code&gt;false&lt;/code&gt;, and an &lt;code&gt;UpdateTable&lt;/code&gt; that cancels the index is refused with the phase to retry in; then it backfills with the table back to &lt;code&gt;ACTIVE&lt;/code&gt;, the index still &lt;code&gt;CREATING&lt;/code&gt; and &lt;code&gt;Backfilling&lt;/code&gt; &lt;code&gt;true&lt;/code&gt;, where a cancel is accepted; then it reports &lt;code&gt;ACTIVE&lt;/code&gt; while still refusing searches with &lt;code&gt;Cannot search backfilling vector index: &amp;lt;name&amp;gt;&lt;/code&gt;; then it answers. A &lt;code&gt;DeleteTable&lt;/code&gt; is refused for both creating phases. The one online index limit goes with it, and is per table rather than per call: a second index cannot start creating while the first still is, whether the two arrive in one &lt;code&gt;UpdateTable&lt;/code&gt; or in separate ones. Only a delete of the creating index gets through, which is how a create is cancelled. That reproduces the shape DynamoDB has, including the trap that &lt;code&gt;ACTIVE&lt;/code&gt; arrives before the index will answer, so a readiness check written against Dynoxide behaves the way it will against the real thing. The durations are not AWS&#39;s: the backfill is synchronous here and the window is tens of seconds rather than minutes. An index created as part of &lt;code&gt;CreateTable&lt;/code&gt; is &lt;code&gt;ACTIVE&lt;/code&gt; and searchable at once, on both. &lt;code&gt;docs/compatibility-summary.md&lt;/code&gt; has the detail and a check that works against both.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;code&gt;execute_partiql&lt;/code&gt; MCP tool accepts &lt;code&gt;ConsistentRead&lt;/code&gt;. Omitting it was harmless while the field only chose a rate; it now also decides whether a select qualified by a GSI is rejected, so an agent had no way to reach either behaviour.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;BatchExecuteStatement&lt;/code&gt; accepts &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; and reports capacity, which it previously had no way to do at all. Per-table entries with index arms, aggregated across the batch. A failed statement is still charged the write it attempted, sized on the larger of the row already stored and the item it carried; a batch in which nothing succeeds reports no capacity, and a table whose statements all failed is omitted entirely. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The declared MSRV is now 1.88, which is what the crate has actually needed since the vector index and PartiQL work landed. &lt;code&gt;rust-version&lt;/code&gt; had read 1.85 since 0.9.5 with nothing verifying it, so the requirement moved while the declaration stayed put: let chains in the action layer and &lt;code&gt;rmcp&lt;/code&gt;&#39;s reach into &lt;code&gt;darling 0.23&lt;/code&gt; both want 1.88, and building 1.0.0 on 1.85 would have failed. Raising the floor also unblocked the let-chain suggestions clippy had been suppressing against the old one, so the shipped tree collapses around a hundred nested conditionals into let chains across the action, expression, PartiQL, MCP and import paths. A CI job now compiles against whatever &lt;code&gt;rust-version&lt;/code&gt; declares, so raising the floor has to be a deliberate edit.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (Rust API):&lt;/strong&gt; &lt;code&gt;storage_backend::StorageBackend&lt;/code&gt; is sealed. It stays public and can still be named and used as a bound, which is what &lt;code&gt;Database&amp;lt;S&amp;gt;&lt;/code&gt; and the wasm dispatch functions need, but only Dynoxide&#39;s own backends implement it. The trait&#39;s method set tracks what the engine can do rather than a stable interface, and vector index support alone added seven methods to it. Left open, each such addition would have been a major. &lt;code&gt;docs/versioning.md&lt;/code&gt; carries the reasoning; unsealing is a minor if third-party backends ever earn their place.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The wasm surface runs the same pre-deserialisation type checks as the HTTP server, so a mistyped field answers with the captured &lt;code&gt;SerializationException&lt;/code&gt; on both rather than raw serde text on one. Affects every operation carrying such a check.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; numbers are sized the way DynamoDB sizes them, so consumed capacity moves. Captured byte-exact against eu-west-2 by bisecting the 400KB gate: a number costs one byte, plus &lt;code&gt;ceil(integer significant digits / 2)&lt;/code&gt; and &lt;code&gt;ceil(fraction significant digits / 2)&lt;/code&gt;, over the value with leading and trailing zeros trimmed. The old measure was wrong in both directions. It charged for zeros DynamoDB trims, so &lt;code&gt;0.0000001&lt;/code&gt; was sized at 5 bytes rather than 2; it rounded the halving down where DynamoDB rounds up, so every number with an odd count of significant digits was a byte light; and it never charged for a minus sign, which costs a byte, so every negative number was light too. Both fed consumed capacity on every write, &lt;code&gt;table_stats&lt;/code&gt;, the query and scan byte budgets, and index capacity, so those figures change. An item sitting on the 400KB boundary can flip either way with it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; &lt;code&gt;UpdateItem&lt;/code&gt; measures the limit the way DynamoDB does, which is not the way a put is measured. It applied the same ceiling to the finished item as &lt;code&gt;PutItem&lt;/code&gt;, where DynamoDB leaves the key attributes out of the figure and charges a fixed amount per action: three bytes for the update, nineteen for each action that writes a value, two for each that clears one, and nothing for the value written, the attribute name, or the expression text. With a one-character key that puts an update&#39;s ceiling nineteen bytes below a put&#39;s, so an item can be reachable by &lt;code&gt;PutItem&lt;/code&gt; and out of reach by &lt;code&gt;UpdateItem&lt;/code&gt;. Updates in that band used to succeed and now fail. Two forms are charged less than DynamoDB charges them, so the engine still accepts a little more rather than less: assigning through a list index costs a byte more, and an arithmetic assignment such as &lt;code&gt;SET n = n + :one&lt;/code&gt; costs fifty more. The legacy &lt;code&gt;AttributeUpdates&lt;/code&gt; parameter is charged on the same shapes, inferred from the expression form rather than captured separately.&lt;/p&gt;
&lt;p&gt;The finished item is held to the 400KB limit as well, so the rule is &lt;code&gt;max(item, item - key attributes + action cost)&lt;/code&gt;. Taking the key out never buys back more than the actions cost: once the key attributes reach that cost the item&#39;s own size binds, and the ceiling sits flat at 400KB however long the key gets. With a 20-byte key the two meet exactly. Measured across key lengths from 1 to 1,024 bytes, DynamoDB never accepts a finished item above 409,600.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; &lt;code&gt;TransactWriteItems&lt;/code&gt; reports an oversized item as DynamoDB does, where both actions used to come back as a cancellation carrying the put wording. A put&#39;s size is knowable from the request, so it is now rejected up front with a top-level &lt;code&gt;ValidationException&lt;/code&gt; before the transaction opens; an update&#39;s depends on the stored item, so it stays a &lt;code&gt;ValidationError&lt;/code&gt; cancellation reason, now reading &lt;code&gt;Item size to update has exceeded the maximum allowed size&lt;/code&gt;. Code matching on the error type for an oversized put in a transaction sees a &lt;code&gt;ValidationException&lt;/code&gt; where it saw a &lt;code&gt;TransactionCanceledException&lt;/code&gt;. A transacted update is measured flat against the resulting item, without the key exclusion and per-action cost the standalone &lt;code&gt;UpdateItem&lt;/code&gt; carries, so an item &lt;code&gt;UpdateItem&lt;/code&gt; refuses can still be written inside a transaction. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; the PartiQL write surfaces hold the 400KB item-size limit, where they did not check it at all. &lt;code&gt;INSERT&lt;/code&gt; and &lt;code&gt;UPDATE&lt;/code&gt; computed an item&#39;s size, handed it to storage and never compared it to anything, so &lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt; would store an over-limit row and report its size in table statistics. Both are measured flat against the item, captured against eu-west-2 at a ceiling of 409,600, and report in DynamoDB&#39;s words: &lt;code&gt;Item size has exceeded the maximum allowed size&lt;/code&gt; for an insert, &lt;code&gt;Item size to update has exceeded the maximum allowed size&lt;/code&gt; for an update. A PartiQL update is not charged the key exclusion and per-action cost that the standalone &lt;code&gt;UpdateItem&lt;/code&gt; carries, so the two surfaces genuinely differ on the same finished item. Statements that used to succeed now fail.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; the three PartiQL surfaces reject a &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; outside &lt;code&gt;INDEXES&lt;/code&gt;, &lt;code&gt;TOTAL&lt;/code&gt; and &lt;code&gt;NONE&lt;/code&gt;, as &lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt;, &lt;code&gt;DeleteItem&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt; already did. They derived their requests rather than validating them, so a typo was read as &lt;code&gt;NONE&lt;/code&gt; and reported nothing. It now also decides whether a write sizes its indexes, so the same typo quietly skipped that too. A request carrying an unrecognised value used to succeed and now fails.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Breaking (behaviour):&lt;/strong&gt; &lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt; now reject two request shapes they used to accept, matching DynamoDB. A batch or transaction may not mix reads and writes, and may not name the same item twice, reads included. Both are rejected up front with a top-level &lt;code&gt;ValidationException&lt;/code&gt; before any statement runs; a request that previously succeeded in either shape now fails. An unparseable member is unaffected and still reports against itself while the rest of the batch runs. Captured against eu-west-2.&lt;/p&gt;
&lt;p&gt;The four checks cost about 7% on a 25-statement &lt;code&gt;BatchExecuteStatement&lt;/code&gt;, measured against &lt;code&gt;958e340&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Breaking (Rust API)&lt;/h4&gt;
&lt;p&gt;The wire API and the CLI, server and MCP surfaces are unaffected by all of these.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;StorageBackend&lt;/code&gt; gained seven required methods for vector indexes: &lt;code&gt;create_vector_table&lt;/code&gt;, &lt;code&gt;drop_vector_table&lt;/code&gt;, &lt;code&gt;update_vector_index_definitions&lt;/code&gt;, &lt;code&gt;insert_vector_items&lt;/code&gt;, &lt;code&gt;delete_vector_item&lt;/code&gt;, &lt;code&gt;query_vector_candidates&lt;/code&gt; and &lt;code&gt;vector_items_for_keys&lt;/code&gt;. &lt;code&gt;VectorItemRow&lt;/code&gt; and &lt;code&gt;VectorCandidateRow&lt;/code&gt; are new. A backend outside the crate must add all seven.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;types::ConsumedCapacity&lt;/code&gt; gained &lt;code&gt;vector_indexes&lt;/code&gt;, and &lt;code&gt;actions::index_capacity::WriteCapacity&lt;/code&gt; and &lt;code&gt;TableCapacity&lt;/code&gt; each gained &lt;code&gt;vector_bytes&lt;/code&gt;. A struct literal needs &lt;code&gt;..Default::default()&lt;/code&gt; or the existing constructor.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::Statement&lt;/code&gt; variants are &lt;code&gt;#[non_exhaustive]&lt;/code&gt;, and &lt;code&gt;Select&lt;/code&gt;, &lt;code&gt;Update&lt;/code&gt; and &lt;code&gt;Delete&lt;/code&gt; carry &lt;code&gt;index_name&lt;/code&gt;. A downstream &lt;code&gt;match&lt;/code&gt; needs a &lt;code&gt;..&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::WhereClause&lt;/code&gt; is &lt;code&gt;#[non_exhaustive]&lt;/code&gt; and carries &lt;code&gt;wrote_or&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::WhereCondition&lt;/code&gt; is &lt;code&gt;#[non_exhaustive]&lt;/code&gt; and gained a &lt;code&gt;NotComparison&lt;/code&gt; variant.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;actions::batch_execute_statement::BatchStatementRequest&lt;/code&gt; is &lt;code&gt;#[non_exhaustive]&lt;/code&gt;. Build it from &lt;code&gt;Default&lt;/code&gt; and assign, or deserialise it.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;actions::describe_table::execute&lt;/code&gt;, &lt;code&gt;delete_table::execute&lt;/code&gt;, &lt;code&gt;update_table::execute&lt;/code&gt; and &lt;code&gt;search_vectors::execute&lt;/code&gt; take a further &lt;code&gt;&amp;amp;actions::vector_lifecycle::VectorIndexLifecycle&lt;/code&gt;, which is where the vector index creation lifecycle lives. &lt;code&gt;Database&lt;/code&gt; owns one and passes its own; a caller driving the actions directly can construct one with &lt;code&gt;VectorIndexLifecycle::new()&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;wasm_api::DispatchContext::new&lt;/code&gt; takes a &lt;code&gt;&amp;amp;VectorIndexLifecycle&lt;/code&gt; alongside the token caches, so a dispatch reports and enforces the lifecycle the way the native surfaces do.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Database::memory_with_clock&lt;/code&gt; is new: an in-memory engine reading time from a caller-supplied &lt;code&gt;Clock&lt;/code&gt;, so a test outside the crate can drive the vector index creation window without waiting on it. The window&#39;s two thresholds are &lt;code&gt;actions::vector_lifecycle::ACTIVE_AFTER_SECS&lt;/code&gt; and &lt;code&gt;SEARCHABLE_AFTER_SECS&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::executor::statement_target&lt;/code&gt; is removed. Use &lt;code&gt;statement_target_in&lt;/code&gt;, which takes a table the caller has already resolved.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::executor::execute_page&lt;/code&gt; takes three further arguments: &lt;code&gt;consistent_read&lt;/code&gt;, &lt;code&gt;capacity_mode&lt;/code&gt; and an optional &lt;code&gt;resolved&lt;/code&gt; table.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::parse&lt;/code&gt; returns &lt;code&gt;Result&amp;lt;Statement, ParseError&amp;gt;&lt;/code&gt; rather than &lt;code&gt;Result&amp;lt;Statement, String&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;WASM_PREVIEW&lt;/code&gt; is renamed &lt;code&gt;WASM_BACKEND&lt;/code&gt;. It named a maturity level on a build that is no longer a preview, and 1.0.0 freezes the constant into the version contract, so renaming it later would have cost a major. The value and meaning are unchanged: &lt;code&gt;true&lt;/code&gt; under &lt;code&gt;wasm-sqlite&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::WhereClause::from_conditions&lt;/code&gt; and &lt;code&gt;from_groups&lt;/code&gt; are removed. Use &lt;code&gt;from_groups_written&lt;/code&gt;, which also takes whether the clause as written joined anything with &lt;code&gt;OR&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;partiql::parser::CompOp&lt;/code&gt; is a re-export of &lt;code&gt;expressions::condition::CompOp&lt;/code&gt; rather than its own enum.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The write paths no longer disagree about the 400KB item-size limit (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/187&quot;&gt;#187&lt;/a&gt;). A number was sized by counting the digit characters of whatever string it held, and storage expands scientific notation, so the same item measured one size as it arrived and another once stored. &lt;code&gt;PutItem&lt;/code&gt; checked the limit before that expansion and the other three after it, which is how an item of 8000 attributes holding &lt;code&gt;N &amp;quot;1E125&amp;quot;&lt;/code&gt; passed &lt;code&gt;PutItem&lt;/code&gt;, was refused by &lt;code&gt;BatchWriteItem&lt;/code&gt;, and was then recorded at 552,004 bytes against a 409,600 limit. The recorded size feeds table statistics and the &lt;code&gt;ItemCollectionMetrics&lt;/code&gt; estimate. Sizing a number by its significant digits makes the figure survive storage, so where each path checks no longer matters. The surfaces that measure differently on purpose, and the two that were not checking at all, are covered in the behaviour changes above.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ConsumedCapacity&lt;/code&gt; under &lt;code&gt;INDEXES&lt;/code&gt; charges index writes on the change to what an index stores, not on the item the write leaves behind (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/176&quot;&gt;#176&lt;/a&gt;). Each index used to be charged a unit whenever the finished item belonged to it, which is right for a plain insert and wrong for most else:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LSI writes are charged. The &lt;code&gt;LocalSecondaryIndexes&lt;/code&gt; arm never appeared before, and its units never reached the total.&lt;/li&gt;
&lt;li&gt;An identical overwrite is free, and a write outside a GSI&#39;s projection no longer charges that GSI.&lt;/li&gt;
&lt;li&gt;Moving an index key costs two writes; removing one costs a single delete.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DeleteItem&lt;/code&gt; charges an index only when the deleted item was in it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Units are sized on the projected index entry rather than the base item: an insert or delete costs its own image, an in-place update the larger of the two, and a key move both halves rounded separately. &lt;code&gt;BatchWriteItem&lt;/code&gt; inherits all of it. Two of the old figures over-reported rather than under-reported, so any downstream correction for the old numbers needs removing. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt; and &lt;code&gt;BatchWriteItem&lt;/code&gt; size the table arm on the larger of the item&#39;s before and after images, matching DynamoDB. They used to size it on the finished item, so shrinking a 3KB item to 100B reported one unit against DynamoDB&#39;s three. Items under 1KB are unaffected, and &lt;code&gt;DeleteItem&lt;/code&gt; already sized on the old image.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PutItem&lt;/code&gt; sizes the item after normalising it rather than as it arrived. Normalising expands scientific notation, so an item carrying &lt;code&gt;1E100&lt;/code&gt; grows on the way to storage; the table arm was measuring the request and the stored size was recording it, while the same item read back measured larger. The same write reported one figure as an insert and another as an overwrite, and disagreed with &lt;code&gt;BatchWriteItem&lt;/code&gt;, which already sized after normalising.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An overwrite that reorders a set&#39;s members is free, as it is on DynamoDB. Sets are unordered, so re-listing the same members leaves an index&#39;s stored view alone, but they are held in order internally and the comparison read that as a change, charging every index projecting the set.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enabling &lt;code&gt;wasm-sqlite&lt;/code&gt; alongside the default features now fails with a message that says so. Cargo adds the default features to whatever a manifest lists, so &lt;code&gt;dynoxide-rs = { version = &amp;quot;0.13&amp;quot;, features = [&amp;quot;wasm-sqlite&amp;quot;] }&lt;/code&gt; also enabled the native backend and the CLI, and the build stopped on three type errors naming neither the feature nor the conflict. The combination was never valid and still is not; what was missing was the diagnosis. Enable the wasm backend with &lt;code&gt;default-features = false&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TransactWriteItems&lt;/code&gt;, &lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;ExecuteTransaction&lt;/code&gt; and &lt;code&gt;BatchExecuteStatement&lt;/code&gt; report per-index &lt;code&gt;ConsumedCapacity&lt;/code&gt; under &lt;code&gt;INDEXES&lt;/code&gt;, where they used to report a &lt;code&gt;Table&lt;/code&gt; arm and nothing else (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/178&quot;&gt;#178&lt;/a&gt;). The transactional 2x factor applies to the base table arm alone: an index arm inside a transaction costs what the same write costs outside one. Index units fold into the total, so totals grow on an indexed table under &lt;code&gt;TOTAL&lt;/code&gt; as well.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The transactional table arm is sized on the larger of the item&#39;s before and after images rather than on the request payload. &lt;code&gt;Delete&lt;/code&gt; and &lt;code&gt;ConditionCheck&lt;/code&gt; carry a key and no item, so both used to be sized on the key: deleting a 3KB item reported 2 units against DynamoDB&#39;s 6. Invisible below 1KB. A &lt;code&gt;ConditionCheck&lt;/code&gt; writes nothing and is still charged on the image it read.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A same-token &lt;code&gt;TransactWriteItems&lt;/code&gt; or &lt;code&gt;ExecuteTransaction&lt;/code&gt; replay is charged against the images the first call was sized on, at 4KB read granularity. It used to recompute from the request, which carries no item for a &lt;code&gt;Delete&lt;/code&gt; or a &lt;code&gt;ConditionCheck&lt;/code&gt;, so a replayed delete of a 9KB item reported 2 against DynamoDB&#39;s 6.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL &lt;code&gt;SELECT&lt;/code&gt; is served from the index its &lt;code&gt;FROM&lt;/code&gt; clause names (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/179&quot;&gt;#179&lt;/a&gt;). &lt;code&gt;SELECT * FROM &amp;quot;table&amp;quot;.&amp;quot;index&amp;quot;&lt;/code&gt; used to discard the index and scan the base table, so it returned items the index does not contain and a name matching no index quietly succeeded. The qualifier tokenises as three tokens and the table name parser took one, which left the rest for the next clause to parse against, so the &lt;code&gt;WHERE&lt;/code&gt; went with it. That single mis-parse cost &lt;code&gt;UPDATE&lt;/code&gt; its &lt;code&gt;SET&lt;/code&gt; clause and made &lt;code&gt;DELETE&lt;/code&gt; report requiring a &lt;code&gt;WHERE&lt;/code&gt; clause it plainly had.&lt;/p&gt;
&lt;p&gt;The read now follows the index: sparse membership excludes items the index does not hold, and a &lt;code&gt;KEYS_ONLY&lt;/code&gt; or &lt;code&gt;INCLUDE&lt;/code&gt; projection returns what it projects and no more. Capacity lands on the index arm with the table arm at zero, matching &lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt;. Continuation tokens carry the base table key, so rows sharing an index key are no longer skipped, and a token is bound to the index that minted it.&lt;/p&gt;
&lt;p&gt;Five rejections come with it, each with DynamoDB&#39;s own wording: an unknown index name, a &lt;code&gt;FROM&lt;/code&gt; path of more than two components, an empty path component, a strongly consistent read of a GSI, and a qualifier on a write statement. A GSI rejects a projection naming an attribute it does not carry; either kind rejects a filter on one, but only when the read is keyed on the index partition key, because an unkeyed read is a scan and a scan matches nothing. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL predicate on a set, list, map, binary or null attribute compares by value instead of never matching (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/186&quot;&gt;#186&lt;/a&gt;). PartiQL carried its own comparison covering strings, numbers and booleans, and answered every other type from a catch-all returning false for &lt;code&gt;=&lt;/code&gt; and true for &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt;. The same code gates &lt;code&gt;UPDATE&lt;/code&gt; and &lt;code&gt;DELETE&lt;/code&gt;, so a write conditioned on any of those types could never fire. Sets compare without regard to order, lists in order, maps on their key set. PartiQL now shares the condition-expression engine&#39;s comparison rather than carrying a second copy of it. Captured against eu-west-2: the two surfaces agree on every type.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An unterminated quoted name is rejected instead of panicking the parser. &lt;code&gt;SELECT * FROM &amp;quot;&lt;/code&gt; sliced a one-character string from index 1, which panics, and the release profile aborts on panic, so a single malformed statement took the process down. Predates the index qualifier, which added a second way to reach it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;BatchStatementRequest&lt;/code&gt; carries &lt;code&gt;ConsistentRead&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/183&quot;&gt;#183&lt;/a&gt;) and &lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/184&quot;&gt;#184&lt;/a&gt;). Both were absent, so a member setting either was parsed as though it had not.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ConsistentRead&lt;/code&gt; is per member and sets the rate that member&#39;s read is charged at: a keyed batch &lt;code&gt;SELECT&lt;/code&gt; costs 0.5 without it and 1 with it, and a batch mixing the two sums both rates. It does not change which rows come back.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; is accepted and inert, which is what DynamoDB does with it. A member whose condition fails returns the same response whether it is &lt;code&gt;ALL_OLD&lt;/code&gt;, &lt;code&gt;NONE&lt;/code&gt; or absent, and never carries the item; the same option on a &lt;code&gt;TransactWriteItems&lt;/code&gt; &lt;code&gt;ConditionCheck&lt;/code&gt; does return it, which is what rules out a bad measurement. The field is deserialised so a client setting it meets a field dynoxide knows rather than one it drops. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;SELECT&lt;/code&gt; inside &lt;code&gt;BatchExecuteStatement&lt;/code&gt; must name the table&#39;s primary key, and may not name an index. Both shapes were accepted and served; DynamoDB rejects each against that member while the rest of the batch runs, with the same message. An index-qualified batch read is therefore unreachable even when it does name the key.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A batch member whose statement ran and failed echoes its table, where one rejected before it ran does not. &lt;code&gt;ConditionalCheckFailed&lt;/code&gt; and &lt;code&gt;DuplicateItem&lt;/code&gt; carry &lt;code&gt;TableName&lt;/code&gt; and a &lt;code&gt;ValidationError&lt;/code&gt; does not, which is what an invalid &lt;code&gt;RETURNING&lt;/code&gt; variant is.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Parenthesised grouping and &lt;code&gt;NOT&lt;/code&gt; work in a &lt;code&gt;WHERE&lt;/code&gt; clause. Both were documented as supported and neither was: the clause parser was a flat OR of ANDs, so even &lt;code&gt;WHERE (a=&#39;1&#39;)&lt;/code&gt; was a parse error, and &lt;code&gt;NOT&lt;/code&gt; was recognised only inside &lt;code&gt;NOT EXISTS&lt;/code&gt; and &lt;code&gt;NOT BEGINS_WITH&lt;/code&gt;. &lt;code&gt;AND&lt;/code&gt; binds tighter than &lt;code&gt;OR&lt;/code&gt;, and a &lt;code&gt;NOT&lt;/code&gt; over a group is applied by De Morgan. A clause whose flattened form exceeds 256 alternatives is rejected as too complex rather than expanded.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An ordering comparison rejects an operand whose type has no ordering. DynamoDB orders &lt;code&gt;S&lt;/code&gt;, &lt;code&gt;N&lt;/code&gt; and &lt;code&gt;B&lt;/code&gt;, and rejects &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;lt;=&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;gt;=&lt;/code&gt; and &lt;code&gt;BETWEEN&lt;/code&gt; against anything else before it resolves the table; dynoxide answered no rows. &lt;code&gt;=&lt;/code&gt; and &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; are unaffected, being defined for every type. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An index-qualified &lt;code&gt;SELECT&lt;/code&gt; inside &lt;code&gt;ExecuteTransaction&lt;/code&gt; is rejected, as it is on DynamoDB, rather than served and charged to the base table arm.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A PartiQL read is charged on the rows it walked rather than the rows it handed back. DynamoDB sizes a read before the &lt;code&gt;WHERE&lt;/code&gt; clause and before the projection, so a &lt;code&gt;SELECT&lt;/code&gt; matching one row costs what one matching every row costs, and naming one attribute costs what naming all of them costs. &lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt; already did this; the PartiQL executor summed the rows it was about to return, so any filtered or projected statement under-reported. Captured against eu-west-2.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A statement nested deeper than the parser can walk is rejected rather than taking the process with it. Around 250 nested parentheses in a &lt;code&gt;WHERE&lt;/code&gt; clause, or a few thousand leading &lt;code&gt;NOT&lt;/code&gt;s, overflowed the stack, and the release profile aborts on panic, so a statement of about a kilobyte was enough to stop the host. Nested list and map literals reached the same end by a second route. Both descents now carry a depth budget and reject past it, as an over-complex clause already was.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A negated comparison keeps the rows its attribute is missing from. &lt;code&gt;NOT a=&#39;x&#39;&lt;/code&gt; answered on rows holding an &lt;code&gt;a&lt;/code&gt; and skipped the rest, because negation flipped the operator and &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; is false on a missing path, while &lt;code&gt;NOT CONTAINS&lt;/code&gt; wrapped instead and kept them. The two disagreed with each other on the same data. Negation now wraps in every form, so a row the comparison cannot answer for is a row the negation matches.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A &lt;code&gt;SELECT&lt;/code&gt; inside &lt;code&gt;BatchExecuteStatement&lt;/code&gt; naming a table that does not exist reports the missing table. It reported that the statement must specify a primary key in the where clause, which it had, because the check that reads a member&#39;s target cannot tell a missing key from a missing table and only the reads went through it. The same batch reported a missing table correctly for a write and misleadingly for a read.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An LSI read that reaches back to the base table is charged on the bytes each base read moved, not a flat half unit apiece. The flat figure came from one capture of three small rows and holds up to 4KB. Captured again across item sizes: the same three rows at 9KB each cost 4.5 rather than 1.5, and 9 under &lt;code&gt;ConsistentRead&lt;/code&gt;. A &lt;code&gt;SELECT *&lt;/code&gt; against an &lt;code&gt;INCLUDE&lt;/code&gt; index does not reach back at all, and did not before.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Two pieces of repeated work on the write and batch paths are gone. Index writes were sized on every write, and &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; defaults to &lt;code&gt;NONE&lt;/code&gt;, where the response builders discard the figure, so a default write projected the old image of every index for nobody. An overwrite against a table with two indexes now builds two projected entries rather than four. Separately, a batch resolved each statement&#39;s table metadata and parsed its key schema twice, and a failing statement a third time; both are per-table facts, so a batch resolves each table once however many statements it carries. A 25-statement batch goes from 51 metadata loads and 51 key schema parses to one of each, which matters most on the wasm backend, where every load crosses the bridge to a JS worker and nothing caches the result.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An LSI serves a projection naming an attribute it does not carry by reading the base item, which is what DynamoDB does and a GSI cannot. dynoxide returned rows of empty objects. The base reads land on the table arm at read granularity apiece, so three rows served this way report total 2, table 1.5, lsi 0.5.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.13.0</title>
    <link href="https://dynoxide.dev/changelog#0.13.0"/>
    <id>https://dynoxide.dev/changelog#0.13.0</id>
    <updated>2026-07-30T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PartiQL now works in the browser. The wasm engine serves &lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt;, where it previously answered all three with a 501. Behaviour matches the native build statement for statement, including the &lt;code&gt;RETURNING&lt;/code&gt; projections, the per-statement error codes &lt;code&gt;BatchExecuteStatement&lt;/code&gt; reports, and &lt;code&gt;ClientRequestToken&lt;/code&gt; idempotency on &lt;code&gt;ExecuteTransaction&lt;/code&gt;. The engine&#39;s advertised capability list grows from 14 operations to 17; &lt;code&gt;CONTRACT_VERSION&lt;/code&gt; is unchanged at 1, since adding an operation is additive, so a pinned client keeps working. The engine bundle grows by about 143 KB raw and 53 KB gzipped, which is the parser and executor now being reachable from the wasm entry points.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breaking (Rust API):&lt;/strong&gt; &lt;code&gt;wasm_api::dispatch&lt;/code&gt; and &lt;code&gt;wasm_api::dispatch_http&lt;/code&gt; take a &lt;code&gt;DispatchContext&lt;/code&gt;, which borrows the idempotency caches a &lt;code&gt;ClientRequestToken&lt;/code&gt; needs. Both are behind the &lt;code&gt;wasm-sqlite&lt;/code&gt; feature, so a native library consumer is unaffected, and the &lt;code&gt;#[wasm_bindgen]&lt;/code&gt; surface the npm package calls (&lt;code&gt;open&lt;/code&gt;, &lt;code&gt;execute&lt;/code&gt;, &lt;code&gt;dispatchHttp&lt;/code&gt;, &lt;code&gt;capabilities&lt;/code&gt;, &lt;code&gt;contract_version&lt;/code&gt;) is unchanged. Callers of &lt;code&gt;dispatch&lt;/code&gt; build a context from the new public &lt;code&gt;TokenCaches&lt;/code&gt;. This is separate from &lt;code&gt;CONTRACT_VERSION&lt;/code&gt;, which does not move.&lt;/li&gt;
&lt;li&gt;The wasm build&#39;s documentation no longer describes it as unverified. The preview label stays, and now rests on what remains unimplemented - &lt;code&gt;TransactWriteItems&lt;/code&gt;, streams, tags and TTL - rather than on an absence of test data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PartiQL &lt;code&gt;SELECT&lt;/code&gt; on &lt;code&gt;ExecuteStatement&lt;/code&gt; now paginates: &lt;code&gt;NextToken&lt;/code&gt; is honoured and returned, and &lt;code&gt;Limit&lt;/code&gt; bounds the rows evaluated rather than the rows matched, matching DynamoDB and the existing Query and Scan semantics. A filtered &lt;code&gt;SELECT&lt;/code&gt; with a &lt;code&gt;Limit&lt;/code&gt; can therefore return fewer rows than before for the identical request, and a page can come back short or empty while still carrying a &lt;code&gt;NextToken&lt;/code&gt;, so callers should follow the token rather than treat a short page as the end of the result. A &lt;code&gt;SELECT&lt;/code&gt; bound to a partition key now reads in ascending sort-key order, and its sort-key conditions are pushed into the read, so &lt;code&gt;Limit&lt;/code&gt; paces against rows in the key-condition range rather than the whole partition; a condition a key condition cannot express falls back to the partition-wide read and filters as before. A &lt;code&gt;NextToken&lt;/code&gt; is now rejected when replayed against a different statement or different &lt;code&gt;Parameters&lt;/code&gt;, not just a different table, where it previously resumed the walk and silently skipped rows; the mismatch carries DynamoDB&#39;s &lt;code&gt;NextToken does not match request&lt;/code&gt; message (captured eu-west-2) while an undecodable token keeps &lt;code&gt;Invalid NextToken&lt;/code&gt;. &lt;code&gt;Limit: 0&lt;/code&gt; is rejected with the message DynamoDB&#39;s ExecuteStatement returns (the Scan-shaped wording, also captured); it previously read nothing and returned no token, making a paginated walk look complete.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;SELECT COUNT(*)&lt;/code&gt; is removed. It was a dynoxide-only extension: real DynamoDB rejects the projection outright, so a statement that worked locally broke in production. A &lt;code&gt;COUNT(...)&lt;/code&gt; projection now returns DynamoDB&#39;s exact &lt;code&gt;ValidationException&lt;/code&gt;, the bare &lt;code&gt;Unexpected path component&lt;/code&gt; message with the 1-based position of the &lt;code&gt;COUNT&lt;/code&gt; token (captured eu-west-2), fired before the table-existence check, on &lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;BatchExecuteStatement&lt;/code&gt; and &lt;code&gt;ExecuteTransaction&lt;/code&gt; alike. Note this removes a previously shipped dynoxide feature rather than fixing it in place; there is no replacement, matching DynamoDB, where counting means paging the rows yourself or using Query/Scan with &lt;code&gt;Select: COUNT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The wasm engine refuses a &lt;code&gt;CreateTable&lt;/code&gt; carrying an enabled &lt;code&gt;StreamSpecification&lt;/code&gt; or &lt;code&gt;Tags&lt;/code&gt;, and an &lt;code&gt;UpdateTable&lt;/code&gt; carrying a &lt;code&gt;StreamSpecification&lt;/code&gt;, before creating or changing anything, with the same typed &lt;code&gt;UnsupportedOperation&lt;/code&gt; envelope and 501 status the unimplemented operations use. Previously the table was created first and the stream or tag step then failed with a 500, so an AWS SDK retried the error and surfaced &lt;code&gt;ResourceInUseException&lt;/code&gt; for the half-created table; the conformance suite&#39;s streams probe scored that as a failure where it now correctly records a skip. Every backend capability refusal (&lt;code&gt;BackendError::Unsupported&lt;/code&gt;) now maps to this envelope rather than to a 500 &lt;code&gt;InternalServerError&lt;/code&gt;, so a client - and an SDK retry policy - can tell a scope gap from a server fault.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.12.0</title>
    <link href="https://dynoxide.dev/changelog#0.12.0"/>
    <id>https://dynoxide.dev/changelog#0.12.0</id>
    <updated>2026-07-24T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Breaking (Rust API):&lt;/strong&gt; the public &lt;code&gt;partiql::parser::Statement&lt;/code&gt; enum gained a &lt;code&gt;returning&lt;/code&gt; field on its &lt;code&gt;Update&lt;/code&gt; and &lt;code&gt;Delete&lt;/code&gt; variants, and both variants are now &lt;code&gt;#[non_exhaustive]&lt;/code&gt;; the public &lt;code&gt;actions::batch_execute_statement::BatchStatementResponse&lt;/code&gt; struct gained a &lt;code&gt;table_name&lt;/code&gt; field and is now &lt;code&gt;#[non_exhaustive]&lt;/code&gt; too. Library consumers that construct or exhaustively match these types must add &lt;code&gt;..&lt;/code&gt;. This is a source-breaking change for the crate&#39;s public API, so the next release is a minor bump (0.12.0). The DynamoDB wire API and the CLI/server/MCP surfaces are unaffected.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PartiQL now honours the &lt;code&gt;RETURNING&lt;/code&gt; clause on &lt;code&gt;ExecuteStatement&lt;/code&gt;, where dynoxide previously parsed the statement but silently dropped the clause. &lt;code&gt;DELETE ... RETURNING ALL OLD *&lt;/code&gt; returns the deleted item in &lt;code&gt;Items&lt;/code&gt; (a present but empty &lt;code&gt;Items&lt;/code&gt; array on a missing target, matching DynamoDB rather than the classic &lt;code&gt;DeleteItem&lt;/code&gt; path), and &lt;code&gt;UPDATE ... RETURNING &amp;lt;ALL|MODIFIED&amp;gt; &amp;lt;OLD|NEW&amp;gt; *&lt;/code&gt; returns the matching projection of the item; the &lt;code&gt;MODIFIED&lt;/code&gt; variants return only the changed paths (a nested &lt;code&gt;SET a.b&lt;/code&gt; returns just the changed leaf, not the whole &lt;code&gt;a&lt;/code&gt; attribute), exclude the primary key, and return an empty &lt;code&gt;Items&lt;/code&gt; array when nothing was projected. &lt;code&gt;BatchExecuteStatement&lt;/code&gt; honours a member&#39;s &lt;code&gt;RETURNING&lt;/code&gt; clause; &lt;code&gt;ExecuteTransaction&lt;/code&gt; rejects one with a top-level &lt;code&gt;ValidationException&lt;/code&gt;. The &lt;code&gt;RETURNING&lt;/code&gt; variants DynamoDB does not allow on &lt;code&gt;DELETE&lt;/code&gt; (&lt;code&gt;MODIFIED OLD *&lt;/code&gt;, &lt;code&gt;ALL NEW *&lt;/code&gt;, &lt;code&gt;MODIFIED NEW *&lt;/code&gt;) are rejected with its exact validation message instead of being ignored (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/137&quot;&gt;#137&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A test-only HTTP server for the wasm engine, &lt;code&gt;npm run wasm:serve&lt;/code&gt;.&lt;/strong&gt; It exists so the conformance suite can reach the browser build over a socket. It is not a way to run dynoxide and is deliberately not distributed: not in the release binary, not on npm. To run dynoxide, use the native build. It drives the shipping &lt;code&gt;dist/&lt;/code&gt; bundle in a headless Chromium it installs itself and serves DynamoDB JSON-1.0 on port 8003, with one browser page&#39;s worth of concurrency and no TLS. Each start is a fresh in-memory database. The engine gained a &lt;code&gt;dispatchHttp&lt;/code&gt; worker op so the wire envelope is decided there instead of in the transport, and an operation the preview does not implement returns HTTP 501. See &lt;a href=&quot;docs/wasm.md&quot;&gt;docs/wasm.md&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dynoxide serve&lt;/code&gt; and &lt;code&gt;dynoxide&lt;/code&gt; (no-subcommand) now accept a &lt;code&gt;--schema&lt;/code&gt; flag, taking the same DynamoDB DescribeTable JSON format as &lt;code&gt;import --schema&lt;/code&gt;. On startup, dynoxide creates each table defined in the file and skips any that already exist. This lets you pre-populate an empty database (in-memory or persistent) with the correct table structure without running an import first.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;OnDemandThroughput&lt;/code&gt; now follows real DynamoDB&#39;s semantics on every surface, captured against eu-west-2: CreateTable and UpdateTable both reject it when the effective billing mode is PROVISIONED (each operation with its own captured wording, naming the first present member, read checked first), members must be at least 1 (&lt;code&gt;-1&lt;/code&gt; is valid only on UpdateTable, where it removes that ceiling), a partial UpdateTable object merges member-wise over the stored ceilings instead of replacing them, the UpdateTable response echoes the merge with &lt;code&gt;-1&lt;/code&gt; kept verbatim while DescribeTable reports the post-removal state, and switching billing mode to PROVISIONED clears the stored ceilings. The billing gate fires before the range check on both operations, and an &lt;code&gt;OnDemandThroughput&lt;/code&gt; object with no members is treated as absent: real DynamoDB accepts one at creation and returns &lt;code&gt;InternalFailure&lt;/code&gt; for one on UpdateTable, which dynoxide deliberately replaces with its deterministic no-change validation error rather than emulating a 500. dynoxide previously stored whatever it was given, on any billing mode, and replaced wholesale on update (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/159&quot;&gt;#159&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;The MCP &lt;code&gt;describe_table&lt;/code&gt; default view now includes &lt;code&gt;billing_mode&lt;/code&gt;, &lt;code&gt;table_class&lt;/code&gt; and the capacity settings for the mode the table is in (&lt;code&gt;provisioned_throughput&lt;/code&gt; or &lt;code&gt;on_demand_throughput&lt;/code&gt;), where it previously showed none of the table configuration fields and only the &lt;code&gt;raw: true&lt;/code&gt; view carried them.&lt;/li&gt;
&lt;li&gt;The MCP &lt;code&gt;create_table&lt;/code&gt; and &lt;code&gt;update_table&lt;/code&gt; tools now accept &lt;code&gt;on_demand_throughput&lt;/code&gt;, so the on-demand ceilings that HTTP and wasm could already set and round-trip are reachable over MCP too (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/157&quot;&gt;#157&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;The MCP &lt;code&gt;update_table&lt;/code&gt; tool now accepts &lt;code&gt;billing_mode&lt;/code&gt;, &lt;code&gt;provisioned_throughput&lt;/code&gt; and &lt;code&gt;table_class&lt;/code&gt;, so a table can be switched between PROVISIONED and PAY_PER_REQUEST or moved to STANDARD_INFREQUENT_ACCESS over MCP, as it already could over HTTP and wasm. The handler previously hardcoded all three to none, so the engine saw an empty update (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/156&quot;&gt;#156&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;The MCP &lt;code&gt;create_table&lt;/code&gt; tool now accepts &lt;code&gt;billing_mode&lt;/code&gt; and &lt;code&gt;provisioned_throughput&lt;/code&gt;; it previously had neither, so every table created over MCP was PROVISIONED with default throughput. An invalid billing mode is now rejected with DynamoDB&#39;s enum validation message on every surface, not just over HTTP (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/154&quot;&gt;#154&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;import --schema&lt;/code&gt; and &lt;code&gt;serve --schema&lt;/code&gt; no longer drop &lt;code&gt;BillingMode&lt;/code&gt; and &lt;code&gt;TableClass&lt;/code&gt; from a DescribeTable response. DescribeTable wraps both in summary objects (&lt;code&gt;BillingModeSummary&lt;/code&gt;, &lt;code&gt;TableClassSummary&lt;/code&gt;) that the rebuilt &lt;code&gt;CreateTableRequest&lt;/code&gt; never read, so an on-demand table came back &lt;code&gt;PROVISIONED&lt;/code&gt; and &lt;code&gt;STANDARD_INFREQUENT_ACCESS&lt;/code&gt; came back &lt;code&gt;STANDARD&lt;/code&gt;. The schema path now unwraps both summaries and, when the billing mode came from the summary, drops the zeroed &lt;code&gt;ProvisionedThroughput&lt;/code&gt; blocks DescribeTable reports for an on-demand table and its GSIs, which CreateTable would otherwise reject as zero capacity units. A table&#39;s own DescribeTable output round-trips without degrading or failing, a provisioned table&#39;s capacity values survive intact, and a schema already in CreateTable shape passes through untouched, so an inconsistent one still fails validation exactly as it would on the CreateTable API (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/140&quot;&gt;#140&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;PutItem and UpdateItem validation errors now carry DynamoDB&#39;s &lt;code&gt;1 validation error detected: &lt;/code&gt; envelope on exactly the request-validation families real DynamoDB envelopes: empty and duplicate sets, &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; in any position (item body, key or expression attribute values), expression syntax and oversize errors, redundant parentheses, the distinct-operand rule for &lt;code&gt;contains&lt;/code&gt;, expression parameter misuse (&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; without an expression, mixing &lt;code&gt;Expected&lt;/code&gt; with &lt;code&gt;ConditionExpression&lt;/code&gt;), and invalid &lt;code&gt;ReturnValues&lt;/code&gt;. Data-plane, structural and limit families stay bare, matching DynamoDB: key and index-key type mismatches, cannot-update-key, invalid document paths, references to missing attributes, empty-string key values, empty or multi-typed &lt;code&gt;AttributeValue&lt;/code&gt; objects, and oversized items. dynoxide previously enveloped only its constraint-collection path and left the rest bare. The split is classified per family at the raising site, never by matching message text, so an attribute value that echoes a bare-family phrase cannot shed its envelope, and the message is identical on every surface: HTTP, wasm, MCP and the in-process Rust API, whose errors gain the prefix for these families. Deserialisation failures on the wasm and MCP surfaces now classify the same way the HTTP server does, instead of leaking an internal marker inside a mis-typed &lt;code&gt;SerializationException&lt;/code&gt;. Read operations are unchanged and their expression errors stay bare. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;UPDATE&lt;/code&gt; now performs real list-index writes. &lt;code&gt;SET tags[0] = :v&lt;/code&gt; updates the list element (appending when the index is at or beyond the end) and &lt;code&gt;REMOVE tags[0]&lt;/code&gt; deletes it and shifts the rest, where dynoxide previously treated &lt;code&gt;tags[0]&lt;/code&gt; as a literal map key so both the stored item and a &lt;code&gt;RETURNING MODIFIED&lt;/code&gt; projection over it diverged from DynamoDB. A &lt;code&gt;RETURNING MODIFIED&lt;/code&gt; projection over list-index paths now packs the changed elements into a dense list in ascending index order (&lt;code&gt;SET a[0], a[2]&lt;/code&gt; yields &lt;code&gt;{a: [v0, v2]}&lt;/code&gt;), matching DynamoDB.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BatchExecuteStatement&lt;/code&gt; now echoes &lt;code&gt;TableName&lt;/code&gt; on each successful member response, and a member that fails to parse now carries the short-form &lt;code&gt;ValidationError&lt;/code&gt; code (matching a per-statement execution error) instead of the long-form &lt;code&gt;ValidationException&lt;/code&gt;. Both match DynamoDB.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;UPDATE&lt;/code&gt; on a non-existent key now fails with &lt;code&gt;ConditionalCheckFailedException&lt;/code&gt; (&lt;code&gt;The conditional request failed&lt;/code&gt;) and creates nothing, where dynoxide upserted the item. &lt;code&gt;UPDATE&lt;/code&gt; is not an upsert: the target must already exist, matching DynamoDB.&lt;/li&gt;
&lt;li&gt;PartiQL parse errors now use DynamoDB&#39;s message wording: &lt;code&gt;Statement wasn&#39;t well formed, can&#39;t be processed: &amp;lt;detail&amp;gt;&lt;/code&gt; (previously &lt;code&gt;... got error: ...&lt;/code&gt;), and a statement that does not begin with a DML keyword reports &lt;code&gt;Expected data manipulation&lt;/code&gt;. Applies to &lt;code&gt;ExecuteStatement&lt;/code&gt;, &lt;code&gt;BatchExecuteStatement&lt;/code&gt;, and &lt;code&gt;ExecuteTransaction&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;{ &amp;quot;NULL&amp;quot;: false }&lt;/code&gt; attribute value is now rejected with the &lt;code&gt;ValidationException&lt;/code&gt; real DynamoDB returns (&lt;code&gt;One or more parameter values were invalid: Null attribute value types must have the value of true&lt;/code&gt;), where dynoxide normalised it to &lt;code&gt;{ &amp;quot;NULL&amp;quot;: true }&lt;/code&gt; and accepted it. The &lt;code&gt;NULL&lt;/code&gt; member must be exactly &lt;code&gt;true&lt;/code&gt;; this specific input flipped behaviour across AWS regions and has since settled on rejection everywhere. The fix covers the item body and the &lt;code&gt;DeleteItem&lt;/code&gt; raw expression-value path, where the rejection had surfaced as a mis-typed &lt;code&gt;SerializationException&lt;/code&gt; leaking an internal prefix rather than the plain &lt;code&gt;ValidationException&lt;/code&gt;. Confirmed against real DynamoDB in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/145&quot;&gt;#145&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateTable&lt;/code&gt; adding a global secondary index now validates the index&#39;s key attributes against the request&#39;s own &lt;code&gt;AttributeDefinitions&lt;/code&gt;, where dynoxide resolved them from the merged stored set and so accepted a new index keyed on an existing table attribute the request did not re-declare. DynamoDB requires a new index&#39;s key attributes to appear in the request itself and rejects the omission with &lt;code&gt;One or more parameter values were invalid: Some index key attributes are not defined in AttributeDefinitions&lt;/code&gt;. An unused definition supplied in the delta is still dropped, and a redeclared attribute still keeps its stored type. Confirmed against real DynamoDB in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/144&quot;&gt;#144&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;An expression parameter over 4096 bytes is now rejected with DynamoDB&#39;s &lt;code&gt;Invalid &amp;lt;Type&amp;gt;Expression: Expression size has exceeded the maximum allowed size&lt;/code&gt; message, where dynoxide parsed it regardless of length. The length is measured on the raw string as sent, before name and value substitution. The guard covers every expression surface, each carrying the surface-specific &lt;code&gt;Invalid &amp;lt;Type&amp;gt;Expression:&lt;/code&gt; prefix: &lt;code&gt;UpdateExpression&lt;/code&gt;, &lt;code&gt;ConditionExpression&lt;/code&gt;, &lt;code&gt;FilterExpression&lt;/code&gt; (Query and Scan), &lt;code&gt;ProjectionExpression&lt;/code&gt;, and &lt;code&gt;KeyConditionExpression&lt;/code&gt;; on the key-condition surface the size check runs before parsing, so an oversized key condition is rejected for size even when otherwise malformed. Confirmed against real DynamoDB in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/146&quot;&gt;#146&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.11.4</title>
    <link href="https://dynoxide.dev/changelog#0.11.4"/>
    <id>https://dynoxide.dev/changelog#0.11.4</id>
    <updated>2026-07-17T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Passing a top-level argument together with a subcommand is now a hard parse error, where the argument was silently ignored. The top-level &lt;code&gt;--host&lt;/code&gt;, &lt;code&gt;--port&lt;/code&gt;, &lt;code&gt;--db-path&lt;/code&gt; and &lt;code&gt;--encryption-key-file&lt;/code&gt; exist for the bare pre-subcommand form (&lt;code&gt;dynoxide --port 8000&lt;/code&gt;) and only fed the no-subcommand path, so &lt;code&gt;dynoxide --db-path data.db serve&lt;/code&gt; started an in-memory server, never created the file, and the data was gone on exit with nothing said about it; &lt;code&gt;dynoxide --port 8893 serve&lt;/code&gt; listened on 8000. Combining one with &lt;code&gt;serve&lt;/code&gt;, &lt;code&gt;mcp&lt;/code&gt;, &lt;code&gt;import&lt;/code&gt; or &lt;code&gt;healthcheck&lt;/code&gt; now fails up front with clap&#39;s conflict error naming the offending option, and the same option after the subcommand keeps working as before (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/141&quot;&gt;#141&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.11.3</title>
    <link href="https://dynoxide.dev/changelog#0.11.3"/>
    <id>https://dynoxide.dev/changelog#0.11.3</id>
    <updated>2026-07-05T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;On Windows, the HTTP and MCP listeners now bind with &lt;code&gt;SO_EXCLUSIVEADDRUSE&lt;/code&gt;, closing a hole where another process running as the same user could take over either port with &lt;code&gt;SO_REUSEADDR&lt;/code&gt; while dynoxide was serving. Restarting immediately after a clean shutdown still works; a regression test covers the rebind, and CI now runs the unit tests on Windows (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/23&quot;&gt;#23&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.11.2</title>
    <link href="https://dynoxide.dev/changelog#0.11.2"/>
    <id>https://dynoxide.dev/changelog#0.11.2</id>
    <updated>2026-07-02T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;CreateTable&lt;/code&gt; request whose &lt;code&gt;StreamSpecification&lt;/code&gt; sets &lt;code&gt;StreamEnabled: false&lt;/code&gt; but also supplies a &lt;code&gt;StreamViewType&lt;/code&gt; is now rejected with the &lt;code&gt;ValidationException&lt;/code&gt; real DynamoDB returns (&lt;code&gt;One or more parameter values were invalid: Table is being created with a stream disabled, UpdateViewType should not be specified&lt;/code&gt;), where dynoxide accepted it. A view type only has meaning when the stream is enabled, so the two cannot be combined at table creation (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/115&quot;&gt;#115&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;CreateTable&lt;/code&gt; global or local secondary index using &lt;code&gt;ProjectionType: INCLUDE&lt;/code&gt; without a &lt;code&gt;NonKeyAttributes&lt;/code&gt; list is now rejected with the &lt;code&gt;ValidationException&lt;/code&gt; real DynamoDB returns (&lt;code&gt;One or more parameter values were invalid: ProjectionType is INCLUDE, but NonKeyAttributes is not specified&lt;/code&gt;), where dynoxide accepted it and created the table. &lt;code&gt;INCLUDE&lt;/code&gt; projects the index key attributes plus an explicit list, so the list is mandatory; the shared projection validator now requires it, closing the gap for both index types (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/116&quot;&gt;#116&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt; now return DynamoDB&#39;s exact message when &lt;code&gt;Select: SPECIFIC_ATTRIBUTES&lt;/code&gt; is given with no &lt;code&gt;ProjectionExpression&lt;/code&gt; or &lt;code&gt;AttributesToGet&lt;/code&gt;, where dynoxide rejected the request correctly but with its own wording. Both carried the same non-AWS string; the corrected phrase is &lt;code&gt;Must specify the AttributesToGet or ProjectionExpression when choosing to get SPECIFIC_ATTRIBUTES&lt;/code&gt;, which &lt;code&gt;Query&lt;/code&gt; wraps in the &lt;code&gt;1 validation error detected:&lt;/code&gt; envelope and &lt;code&gt;Scan&lt;/code&gt; returns bare, matching real DynamoDB (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/121&quot;&gt;#121&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;TransactWriteItems&lt;/code&gt; now reports top-level &lt;code&gt;ReadCapacityUnits&lt;/code&gt; and &lt;code&gt;WriteCapacityUnits&lt;/code&gt; in its &lt;code&gt;ConsumedCapacity&lt;/code&gt;, where only the nested &lt;code&gt;Table&lt;/code&gt; breakdown carried them. A transactional write reports write capacity (a standalone &lt;code&gt;ConditionCheck&lt;/code&gt; costs 2 write units on its own table line under &lt;code&gt;INDEXES&lt;/code&gt;), and a same-token idempotent replay now reports a recomputed transactional read cost, rounded at 4KB read granularity, rather than re-reporting the first call&#39;s write units relabelled as read. The two magnitudes diverge above 1KB (writes round at 1KB, reads at 4KB); for a ~1.5KB item the first call reports 4 write units and the replay 2 read units. The replay honours its own &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; mode. Single-item operations are unchanged. Confirmed against real DynamoDB by the conformance suite.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;TransactWriteItems&lt;/code&gt; call with a &lt;code&gt;ClientRequestToken&lt;/code&gt; now holds the idempotency lock across the whole first call, closing a window where two concurrent same-token calls could both execute the transaction. The lock was previously released between the cache check and execution, so racing same-token calls each ran the transaction; the second now waits and replays the first&#39;s result. Transactions without a token are unaffected.&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;ExecuteTransaction&lt;/code&gt; now honours &lt;code&gt;ClientRequestToken&lt;/code&gt; idempotency, where it ignored the token and re-applied the statements on every call. A same-token, same-statements call within the 600-second window replays the stored result without re-executing (a same-token call with different statements returns &lt;code&gt;IdempotentParameterMismatchException&lt;/code&gt;), using the same hold-the-lock-across-execute guard as &lt;code&gt;TransactWriteItems&lt;/code&gt; so concurrent same-token calls serialise rather than double-apply. The cache is separate from the &lt;code&gt;TransactWriteItems&lt;/code&gt; one, since idempotency is scoped per API operation. &lt;code&gt;ExecuteTransaction&lt;/code&gt; also now reports transactional &lt;code&gt;ConsumedCapacity&lt;/code&gt; split by statement kind (write capacity for a write set, read capacity for an all-&lt;code&gt;SELECT&lt;/code&gt; read set, and read on a replay) at 2 units per statement, replacing a flat 1-unit-per-statement estimate with no read/write split. Confirmed against real DynamoDB by the conformance suite.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt;, &lt;code&gt;Scan&lt;/code&gt;, &lt;code&gt;BatchGetItem&lt;/code&gt;, and &lt;code&gt;TransactGetItems&lt;/code&gt; now reject an invalid &lt;code&gt;ProjectionExpression&lt;/code&gt; before any item is read, where dynoxide validated it lazily per row. Overlapping paths (&lt;code&gt;a&lt;/code&gt; and &lt;code&gt;a.b&lt;/code&gt;), duplicate paths (&lt;code&gt;a&lt;/code&gt; and &lt;code&gt;a&lt;/code&gt;), and undefined expression-attribute names are rejected with DynamoDB&#39;s &lt;code&gt;Invalid ProjectionExpression:&lt;/code&gt; messages, so a lookup that matches nothing still rejects rather than returning an empty result. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;ProjectionExpression&lt;/code&gt; selecting several indices of one list now returns them compacted and in ascending index order, where dynoxide returned them in request order: &lt;code&gt;#l[2], #l[0]&lt;/code&gt; on &lt;code&gt;[l0, l1, l2]&lt;/code&gt; now yields &lt;code&gt;[l0, l2]&lt;/code&gt;. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;ProjectionExpression&lt;/code&gt; naming two or more sub-attributes of the same list index now returns them merged into a single list element, where dynoxide split each path into its own element: &lt;code&gt;l[0].a, l[0].b&lt;/code&gt; on &lt;code&gt;{ l: [ { a, b } ] }&lt;/code&gt; returned &lt;code&gt;[ { a }, { b } ]&lt;/code&gt; and now returns &lt;code&gt;[ { a, b } ]&lt;/code&gt;. The merge holds at depth (nested maps and nested lists under one index), distinct indices still stay separate and compact to ascending order, and the fix reaches every projecting read through the shared reconstruction path (&lt;code&gt;GetItem&lt;/code&gt;, &lt;code&gt;Query&lt;/code&gt;, &lt;code&gt;Scan&lt;/code&gt;, &lt;code&gt;BatchGetItem&lt;/code&gt;, &lt;code&gt;TransactGetItems&lt;/code&gt;). Confirmed against real DynamoDB in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/126&quot;&gt;#126&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Query&lt;/code&gt; now accepts a &lt;code&gt;KeyConditionExpression&lt;/code&gt; sort-key comparison with the value on the left (&lt;code&gt;:lo &amp;lt;= #sk&lt;/code&gt;), treating it as the attribute-on-left form (&lt;code&gt;#sk &amp;gt;= :lo&lt;/code&gt;) for each of &lt;code&gt;&amp;lt;&lt;/code&gt;, &lt;code&gt;&amp;lt;=&lt;/code&gt;, &lt;code&gt;&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;gt;=&lt;/code&gt;, where dynoxide rejected it. A nested or indexed path on a key attribute is now rejected with DynamoDB&#39;s message (&lt;code&gt;Invalid KeyConditionExpression: KeyConditionExpressions cannot have conditions on nested attributes&lt;/code&gt;), replacing dynoxide&#39;s own wording. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BatchGetItem&lt;/code&gt; now rejects a request that uses an expression &lt;code&gt;ProjectionExpression&lt;/code&gt; on one table&#39;s block and a non-expression &lt;code&gt;AttributesToGet&lt;/code&gt; on another, where dynoxide accepted it. Real DynamoDB rejects the whole request even when each block is internally consistent. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PutItem&lt;/code&gt; and &lt;code&gt;UpdateItem&lt;/code&gt; validation ordering now matches real DynamoDB: an empty or invalid &lt;code&gt;TableName&lt;/code&gt; is reported on its own, before the &lt;code&gt;Return*&lt;/code&gt; enum checks, where dynoxide aggregated them into one envelope. &lt;code&gt;UpdateItem&lt;/code&gt; additionally stops at the first invalid enum (reporting &lt;code&gt;ReturnValues&lt;/code&gt;), where &lt;code&gt;PutItem&lt;/code&gt; continues to aggregate every invalid enum, matching each operation&#39;s own behaviour. Confirmed against real DynamoDB in eu-west-2.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateTable&lt;/code&gt; now merges the request&#39;s &lt;code&gt;AttributeDefinitions&lt;/code&gt; into the table&#39;s existing set, where each call replaced the stored list with only the attributes it carried. DynamoDB treats these as a delta: adding a global secondary index only requires the new index&#39;s key attributes, so the table keys and prior indexes&#39; attributes need not be re-declared. Adding two GSIs with delta-only attributes therefore dropped the table keys and the first index&#39;s attributes from &lt;code&gt;DescribeTable&lt;/code&gt;, and a later &lt;code&gt;PutItem&lt;/code&gt; failed index-key validation with &lt;code&gt;Index key attribute GSI1PK missing from AttributeDefinitions&lt;/code&gt;. The definitions are now unioned by attribute name, preserving those declared earlier; a redeclared attribute keeps its existing type, matching real DynamoDB, which ignores a conflicting type in the delta rather than overwriting or rejecting it. &lt;code&gt;UpdateTable&lt;/code&gt; now also keeps &lt;code&gt;AttributeDefinitions&lt;/code&gt; equal to exactly the attributes used by the table key schema and the current index key schemas: deleting a GSI prunes its now-orphaned key attributes, and an entry supplied in the delta that is used by no key schema is dropped rather than stored (neither is an error). All verified against AWS in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/129&quot;&gt;#129&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.11.1</title>
    <link href="https://dynoxide.dev/changelog#0.11.1"/>
    <id>https://dynoxide.dev/changelog#0.11.1</id>
    <updated>2026-06-26T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;ConditionExpression&lt;/code&gt; comparing a Map (&lt;code&gt;M&lt;/code&gt;) or List (&lt;code&gt;L&lt;/code&gt;) attribute for equality now works, where &lt;code&gt;=&lt;/code&gt; always reported not-equal and &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; always equal regardless of the values. &lt;code&gt;compare_values&lt;/code&gt; had no arm for document types, so every map or list comparison fell through to the not-equal default; it now compares them deeply - maps order-independently, lists element-wise in order - with nested numbers normalised as elsewhere. The same path backs &lt;code&gt;IN&lt;/code&gt;, &lt;code&gt;BETWEEN&lt;/code&gt;, and &lt;code&gt;contains&lt;/code&gt; over document operands, so those are fixed too (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/103&quot;&gt;#103&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; nested beyond DynamoDB&#39;s 32-level document limit are now rejected up front with the same &lt;code&gt;ValidationException&lt;/code&gt; AWS returns, where before they were accepted and evaluated. The check runs on every path that takes expression values - PutItem, UpdateItem, DeleteItem, Query, Scan, and TransactWriteItems. The stored-item nesting check was also one level too lenient (it accepted a value AWS rejects) and carried a non-AWS message; both now match DynamoDB&#39;s limit and wording, confirmed against real AWS in eu-west-2 (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/110&quot;&gt;#110&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Number-set equality in a condition or filter expression now compares at full precision, where it parsed each member to &lt;code&gt;f64&lt;/code&gt; and so reported two sets differing only beyond ~15 significant digits as equal. It now uses the canonical numeric form, matching DynamoDB and the way number-set duplicates are already detected on write; the fix also covers number sets nested inside a map or list (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/111&quot;&gt;#111&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;Number&lt;/code&gt; with a leading &lt;code&gt;+&lt;/code&gt; on the mantissa (&lt;code&gt;+5&lt;/code&gt;, &lt;code&gt;+1.5&lt;/code&gt;, &lt;code&gt;+1e2&lt;/code&gt;) is now accepted and stored normalised (&lt;code&gt;+5&lt;/code&gt; reads back as &lt;code&gt;5&lt;/code&gt;), matching real DynamoDB, where dynoxide rejected it with a &lt;code&gt;ValidationException&lt;/code&gt;. The validator was reworked to accept exactly DynamoDB&#39;s numeric grammar, which also closes two pre-existing gaps in the same direction: malformed forms such as &lt;code&gt;1+2&lt;/code&gt;, &lt;code&gt;1.2.3&lt;/code&gt;, &lt;code&gt;+e2&lt;/code&gt;, and a digitless exponent are now rejected, as is any surrounding or internal whitespace (&lt;code&gt;&amp;quot; 5&amp;quot;&lt;/code&gt; was previously trimmed and accepted). The accept and reject boundary was verified against real DynamoDB (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/109&quot;&gt;#109&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.11.0</title>
    <link href="https://dynoxide.dev/changelog#0.11.0"/>
    <id>https://dynoxide.dev/changelog#0.11.0</id>
    <updated>2026-06-24T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;UpdateTable&lt;/code&gt; on the wasm preview engine: add or delete a global secondary index, with existing rows backfilled into a newly added index, and change the simple table settings (provisioned throughput, billing mode, table class, on-demand throughput, deletion protection). A stream-specification change through &lt;code&gt;UpdateTable&lt;/code&gt; stays unsupported, since streams remain a preview gap, and a newly added GSI is reported immediately &lt;code&gt;ACTIVE&lt;/code&gt; rather than transitioning through &lt;code&gt;CREATING&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The wasm engine gained an operation-level &lt;code&gt;execute&lt;/code&gt; API, and a new npm package, &lt;code&gt;@dynoxide/wasm-engine&lt;/code&gt;, that ships it. The Worker answers a small versioned RPC - &lt;code&gt;open&lt;/code&gt;, &lt;code&gt;execute&lt;/code&gt;, &lt;code&gt;capabilities&lt;/code&gt;, &lt;code&gt;contractVersion&lt;/code&gt; - with &lt;code&gt;{id, op, payload}&lt;/code&gt; in and &lt;code&gt;{id, ok, result|error}&lt;/code&gt; out, and a bundled &lt;code&gt;EngineClient&lt;/code&gt; owns the round trip so you deal in objects instead of hand-building postMessage envelopes. &lt;code&gt;npm run build:wasm&lt;/code&gt; assembles the package: the Worker, the two &lt;code&gt;.wasm&lt;/code&gt;, the &lt;code&gt;EngineClient&lt;/code&gt;, and a &lt;code&gt;manifest.json&lt;/code&gt; stamped with the engine and contract versions. Depend on that built package, not this repo&#39;s source. The client checks its &lt;code&gt;CONTRACT_VERSION&lt;/code&gt; against the engine on boot and fails loudly if they differ, so a stale embed can&#39;t quietly mis-read a newer one. The package ships TypeScript types for the client. Still a preview: the wasm path isn&#39;t run against the conformance suite.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;On the wasm backend, the per-write and per-delete secondary-index fan-out now crosses the JS bridge once per index type rather than once per index operation. Keeping a table&#39;s GSIs and LSIs in step with a write is a delete and a re-insert per index, each previously its own bridge crossing; a new &lt;code&gt;exec_script&lt;/code&gt; primitive carries the whole ordered batch over in a single crossing, so an indexed &lt;code&gt;PutItem&lt;/code&gt; or &lt;code&gt;DeleteItem&lt;/code&gt; on a table with K GSIs and L LSIs drops from order K+L crossings to a constant two. Index contents and native behaviour are unchanged (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/85&quot;&gt;#85&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;The browser backend moved from &lt;code&gt;wa-sqlite&lt;/code&gt; to the official &lt;a href=&quot;https://github.com/sqlite/sqlite-wasm&quot;&gt;&lt;code&gt;@sqlite.org/sqlite-wasm&lt;/code&gt;&lt;/a&gt; engine, maintained by the SQLite team and versioned to track SQLite releases. The bridge now runs through the &lt;code&gt;sqlite3.oo1&lt;/code&gt; API over the OPFS SAHPool VFS, which keeps the no-COOP/COEP guarantee that motivated the original VFS choice (it needs no &lt;code&gt;SharedArrayBuffer&lt;/code&gt;). The &lt;code&gt;open&lt;/code&gt;/&lt;code&gt;exec&lt;/code&gt;/&lt;code&gt;query&lt;/code&gt;/&lt;code&gt;close&lt;/code&gt; contract is unchanged, so consumers of &lt;code&gt;@dynoxide/wasm-engine&lt;/code&gt; need no code change. A busy database now recovers once the holder releases it rather than staying busy until reload, and the full 64-bit integer round-trip and the &lt;code&gt;fnv1a_hash&lt;/code&gt; scalar are re-proven on the new engine (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/61&quot;&gt;#61&lt;/a&gt;). The shipped SQLite &lt;code&gt;.wasm&lt;/code&gt; is larger than before (~845 KB against wa-sqlite&#39;s ~545 KB).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;An empty-binary key value now surfaces as a top-level &lt;code&gt;ValidationException&lt;/code&gt; on every path, matching DynamoDB. Previously the lookup path (&lt;code&gt;GetItem&lt;/code&gt;/&lt;code&gt;DeleteItem&lt;/code&gt;/&lt;code&gt;UpdateItem&lt;/code&gt;, batch, and a transact &lt;code&gt;Update&lt;/code&gt;/&lt;code&gt;Delete&lt;/code&gt;/&lt;code&gt;ConditionCheck&lt;/code&gt; &lt;code&gt;Key&lt;/code&gt;) returned the older &lt;code&gt;...were invalid:...&lt;/code&gt; wording and, inside a transaction, a &lt;code&gt;ValidationError&lt;/code&gt; cancellation reason rather than hoisting; the same cancellation-instead-of-hoist gap also affected an empty-binary table item key and an empty-binary secondary-index key in a transaction. This is the binary counterpart to the empty-string key fix &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/98&quot;&gt;#98&lt;/a&gt;; real DynamoDB returns the same top-level &lt;code&gt;...are not valid. ... empty binary value...&lt;/code&gt; messages (table keys, and the put and update forms for secondary-index keys), confirmed identical across four regions.&lt;/li&gt;
&lt;li&gt;Inside a &lt;code&gt;TransactWriteItems&lt;/code&gt;, an empty-string value in the lookup &lt;code&gt;Key&lt;/code&gt; of an &lt;code&gt;Update&lt;/code&gt;, &lt;code&gt;Delete&lt;/code&gt;, or &lt;code&gt;ConditionCheck&lt;/code&gt; was wrapped in a &lt;code&gt;TransactionCanceledException&lt;/code&gt;; it now surfaces as a top-level &lt;code&gt;ValidationException&lt;/code&gt;, matching DynamoDB and completing the empty-string key fix &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/95&quot;&gt;#95&lt;/a&gt; made for the &lt;code&gt;Put&lt;/code&gt; item key. Wrong-type and non-scalar lookup keys still cancel with a &lt;code&gt;ValidationError&lt;/code&gt; reason, and the corrected empty-string message now also matches DynamoDB on the single-action &lt;code&gt;GetItem&lt;/code&gt;/&lt;code&gt;DeleteItem&lt;/code&gt;/&lt;code&gt;UpdateItem&lt;/code&gt; and batch lookup paths (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/98&quot;&gt;#98&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BatchWriteItem&lt;/code&gt; now reports a wrong-type or non-scalar table key in a put request with DynamoDB&#39;s generic &lt;code&gt;The provided key element does not match the schema&lt;/code&gt;, rather than borrowing &lt;code&gt;PutItem&lt;/code&gt;&#39;s &lt;code&gt;Type mismatch for key ...&lt;/code&gt; wording. Real DynamoDB collapses both cases to the schema error inside a batch. The empty-string table-key message and the secondary-index key messages already matched and are unchanged, and &lt;code&gt;PutItem&lt;/code&gt; and the other put-shaped paths keep the specific type-mismatch message (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/97&quot;&gt;#97&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Query&lt;/code&gt; and &lt;code&gt;Scan&lt;/code&gt; now reject two &lt;code&gt;Select&lt;/code&gt;/&lt;code&gt;ProjectionExpression&lt;/code&gt; combinations that real DynamoDB rejects before reading any item, where dynoxide previously returned results: a &lt;code&gt;ProjectionExpression&lt;/code&gt; with any &lt;code&gt;Select&lt;/code&gt; other than &lt;code&gt;SPECIFIC_ATTRIBUTES&lt;/code&gt; (such as &lt;code&gt;ALL_ATTRIBUTES&lt;/code&gt;), and &lt;code&gt;Select: ALL_PROJECTED_ATTRIBUTES&lt;/code&gt; without an &lt;code&gt;IndexName&lt;/code&gt;. Both now return a &lt;code&gt;ValidationException&lt;/code&gt; with DynamoDB&#39;s message (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/96&quot;&gt;#96&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Inside a &lt;code&gt;TransactWriteItems&lt;/code&gt;, a key (table or secondary index) carrying an empty string was wrapped in a &lt;code&gt;TransactionCanceledException&lt;/code&gt;; it now surfaces as a top-level &lt;code&gt;ValidationException&lt;/code&gt;, matching DynamoDB. Wrong-type and non-scalar key values still cancel with a &lt;code&gt;ValidationError&lt;/code&gt; reason, so only the empty-string case changes. A non-scalar table key no longer fails as an internal error before the transaction runs, and an update that sets a secondary-index key to an empty string now returns DynamoDB&#39;s distinct update-path message rather than the put-shaped one (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/95&quot;&gt;#95&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A write whose secondary-index (GSI or LSI) key attribute is the wrong type, a non-scalar, or an empty string is now rejected with a &lt;code&gt;ValidationException&lt;/code&gt; matching DynamoDB&#39;s exact message, where before it was silently accepted (kept out of the index but still written to the base table). Validation runs on every write path - put, update, batch, transactional, PartiQL, and import. An update only re-checks an index key it actually changes, so an unrelated update to a row holding a pre-existing bad value still succeeds (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/92&quot;&gt;#92&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;Scan&lt;/code&gt; or &lt;code&gt;Query&lt;/code&gt; on a composite global secondary index no longer returns items that are missing the index sort key; they are now excluded from the index (sparse-index behaviour), matching DynamoDB. Index membership was gated on the partition key alone, so an item carrying the partition key but no sort key was written into the index at an empty sort-key position. Membership is now a single shared rule across both global and local secondary indexes, applied on every write path - put, update, batch, transactional, PartiQL, import, and GSI backfill - and it also excludes an item whose index key attribute is present but not a scalar. In-memory databases start fresh each run and are unaffected; only a file-backed database, or a snapshot taken from one, written by an older build carries stray index rows. They clear as each affected item is next written, and a persisted store can rebuild an index by dropping and re-adding it (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/91&quot;&gt;#91&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PutItem&lt;/code&gt; and the other write paths now accept a &lt;code&gt;{&amp;quot;NULL&amp;quot;: false}&lt;/code&gt; attribute value and read it back as &lt;code&gt;{&amp;quot;NULL&amp;quot;: true}&lt;/code&gt;, where before they rejected it with &lt;code&gt;One or more parameter values were invalid: Null attribute value types must have the value of true&lt;/code&gt;. The NULL member is typed as a plain boolean in the model, so &lt;code&gt;false&lt;/code&gt; was valid input all along; AWS has dropped the server-side true-only rule and normalises &lt;code&gt;false&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; on read, and dynoxide now matches. A non-boolean NULL such as &lt;code&gt;{&amp;quot;NULL&amp;quot;: &amp;quot;no&amp;quot;}&lt;/code&gt; is still rejected as a type error (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/62&quot;&gt;#62&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Hardened the wasm engine preview ahead of a stable &lt;code&gt;@dynoxide/wasm-engine&lt;/code&gt; publish. A body-less operation such as &lt;code&gt;ListTables&lt;/code&gt; now round-trips instead of failing as a &lt;code&gt;SerializationException&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/65&quot;&gt;#65&lt;/a&gt;). OPFS open tells a busy database (another tab holding its lock) apart from one that is genuinely unavailable: the busy case surfaces a stable &lt;code&gt;com.dynoxide.wasm#OpfsUnavailable&lt;/code&gt; error rather than silently forking to a separate in-memory store, while a private window or quota error still degrades to an ephemeral session. Re-opening opens the new database before closing the old, so a failed re-open leaves the working session intact, and closing a database releases its OPFS handles so the name is free for another tab (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/64&quot;&gt;#64&lt;/a&gt;). The bridge round-trips full 64-bit integers, and a cross-backend test pins the &lt;code&gt;fnv1a_hash&lt;/code&gt; scalar the wasm and native backends share (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/61&quot;&gt;#61&lt;/a&gt;). A headless-browser CI job exercises the shipped bundle against the real wasm engine and OPFS on every PR (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/68&quot;&gt;#68&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.10.0</title>
    <link href="https://dynoxide.dev/changelog#0.10.0"/>
    <id>https://dynoxide.dev/changelog#0.10.0</id>
    <updated>2026-05-29T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;StorageBackend&lt;/code&gt; trait in the new &lt;code&gt;dynoxide::storage_backend&lt;/code&gt; module, decoupling the data layer from a specific SQLite binding. The native rusqlite-backed &lt;code&gt;Storage&lt;/code&gt; implements the trait, and the action handlers and &lt;code&gt;Database&lt;/code&gt; now consume it (see Changed). The trait surface also carries a &lt;code&gt;clock()&lt;/code&gt; accessor for the stream and TTL paths and batch-shaped &lt;code&gt;put_base_items&lt;/code&gt; / &lt;code&gt;insert_gsi_items&lt;/code&gt; methods that replaced the last two raw &lt;code&gt;Storage::conn()&lt;/code&gt; escape hatches in the handlers.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;BackendError&lt;/code&gt; enum returned by the trait surface, with an explicit &lt;code&gt;rusqlite::Error -&amp;gt; BackendError&lt;/code&gt; mapping for the common failure modes (&lt;code&gt;NotADatabase&lt;/code&gt;, locked / busy, constraint violations, I/O failures), plus an &lt;code&gt;Unsupported { capability }&lt;/code&gt; variant for a capability a backend cannot serve (the wasm preview uses it for TTL). It is &lt;code&gt;#[non_exhaustive]&lt;/code&gt; so future backends can add failure modes without a breaking change.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;Clock&lt;/code&gt; capability on &lt;code&gt;Storage&lt;/code&gt; so the trait surface does not assume &lt;code&gt;std::time&lt;/code&gt;. Stream and TTL paths route their &lt;code&gt;created_at&lt;/code&gt; and sweep timestamps through the clock; &lt;code&gt;SystemClock&lt;/code&gt; is the default and &lt;code&gt;ManualClock&lt;/code&gt; ships as a deterministic test helper. Other &lt;code&gt;std::time&lt;/code&gt; call sites (idempotency cache, action-handler timestamps, snapshots) remain native-only and are unchanged.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;wasm-sqlite&lt;/code&gt; cargo feature and a working WebAssembly backend. dynoxide compiles to &lt;code&gt;wasm32-unknown-unknown&lt;/code&gt; and runs in the browser against &lt;a href=&quot;https://github.com/rhashimoto/wa-sqlite&quot;&gt;wa-sqlite&lt;/a&gt; (a WASM build of SQLite) over a wasm-bindgen bridge, persisting to OPFS. &lt;code&gt;WasmBridgeBackend&lt;/code&gt; implements &lt;code&gt;StorageBackend&lt;/code&gt;, and &lt;code&gt;WasmDatabase&lt;/code&gt; (&lt;code&gt;Database&amp;lt;WasmBridgeBackend&amp;gt;&lt;/code&gt;) exposes the handlers as &lt;code&gt;async fn&lt;/code&gt; with no &lt;code&gt;block_on&lt;/code&gt;. It covers create-table, put, get, delete, query, and scan over base tables and both index types (GSI and LSI), with index fan-out atomic with the base write. TTL returns &lt;code&gt;BackendError::Unsupported&lt;/code&gt;; streams return a preview &amp;quot;not yet implemented&amp;quot; error pending a delivery design; &lt;code&gt;TransactWriteItems&lt;/code&gt;, tags, table-setting updates, stats, and bulk import are preview placeholders. The native and wasm backends share one set of SQL builders (&lt;code&gt;storage_backend::sql_builders&lt;/code&gt;), so both issue identical SQL.&lt;/li&gt;
&lt;li&gt;A self-contained browser build: &lt;code&gt;npm run build:wasm&lt;/code&gt; (wasm-pack + esbuild) emits a &lt;code&gt;dist/&lt;/code&gt; of three files - a bundled Web Worker plus the two &lt;code&gt;.wasm&lt;/code&gt; assets (dynoxide ~550 KB, wa-sqlite ~545 KB; ~1.2 MB total). The engine runs in a Web Worker because wa-sqlite&#39;s OPFS persistence uses synchronous access handles, which browsers expose only in a Worker; pairing wa-sqlite&#39;s synchronous VFS (&lt;code&gt;AccessHandlePoolVFS&lt;/code&gt;) with its non-async build needs no &lt;code&gt;SharedArrayBuffer&lt;/code&gt;, and so &lt;strong&gt;no cross-origin isolation (COOP/COEP)&lt;/strong&gt; - it drops onto ordinary static hosting. A build-visible &lt;code&gt;WASM_PREVIEW&lt;/code&gt; constant (&lt;code&gt;true&lt;/code&gt; under &lt;code&gt;wasm-sqlite&lt;/code&gt;) marks the preview. The harness under &lt;code&gt;harness/&lt;/code&gt; loads the same bundled Worker that ships, so a green harness means the shipping artefact works; it exercises CRUD, GSI query/scan, and error-envelope fidelity on OPFS. CI builds the &lt;code&gt;wasm32-unknown-unknown&lt;/code&gt; target for both the &lt;code&gt;wasm-sqlite&lt;/code&gt; and &lt;code&gt;wasm-harness&lt;/code&gt; features on every PR, so the harness&#39;s use of &lt;code&gt;WasmDatabase&lt;/code&gt; and the action types is type-checked too.&lt;/li&gt;
&lt;li&gt;Official Docker image. &lt;code&gt;docker run -p 8000:8000 ghcr.io/nubo-db/dynoxide&lt;/code&gt; is a ~5 MB drop-in for &lt;code&gt;amazon/dynamodb-local&lt;/code&gt; in containerised test suites: multi-arch (&lt;code&gt;linux/amd64&lt;/code&gt; and &lt;code&gt;linux/arm64&lt;/code&gt;), &lt;code&gt;FROM scratch&lt;/code&gt;, published to GHCR on each release with Docker Hub and ECR Public mirrors pushed best-effort. The image ships a &lt;code&gt;HEALTHCHECK&lt;/code&gt; backed by a new &lt;code&gt;dynoxide healthcheck&lt;/code&gt; subcommand, so &lt;code&gt;docker ps&lt;/code&gt; and Compose health gates report status without extra tooling (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/3&quot;&gt;#3&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;SECURITY.md&lt;/code&gt;, documenting the MCP HTTP transport&#39;s threat model: the bearer-token authentication it now requires, plus the Host and Origin allowlists that back it (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/27&quot;&gt;#27&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;MCP HTTP transport options: &lt;code&gt;--mcp-host&lt;/code&gt;/&lt;code&gt;--host&lt;/code&gt; to bind beyond loopback, &lt;code&gt;--mcp-allowed-host&lt;/code&gt;/&lt;code&gt;--allowed-host&lt;/code&gt; to accept additional &lt;code&gt;Host&lt;/code&gt; headers by name, and &lt;code&gt;--mcp-no-auth&lt;/code&gt;/&lt;code&gt;--no-auth&lt;/code&gt; to disable authentication on loopback binds only. With a token set, these make the transport reachable from outside a container, unblocking the Docker MCP path (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/24&quot;&gt;#24&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Database&lt;/code&gt; is now generic over its storage backend: &lt;code&gt;Database&amp;lt;S&amp;gt;&lt;/code&gt;, monomorphised, no &lt;code&gt;dyn&lt;/code&gt;. The parameter defaults to the native rusqlite backend, so existing code that names &lt;code&gt;Database&lt;/code&gt; is unaffected, and a new &lt;code&gt;NativeDatabase&lt;/code&gt; alias names that default explicitly. The action handlers are now &lt;code&gt;async&lt;/code&gt; and route through the &lt;code&gt;StorageBackend&lt;/code&gt; trait. &lt;code&gt;NativeDatabase&lt;/code&gt; keeps the historical synchronous public API: each method drives the handler future to completion with &lt;code&gt;block_on&lt;/code&gt; (via &lt;code&gt;pollster&lt;/code&gt;), and because the native backend&#39;s futures never suspend, that &lt;code&gt;block_on&lt;/code&gt; never parks the thread, so it stays safe inside the tokio-based HTTP and MCP servers.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DynoxideError&lt;/code&gt; is now &lt;code&gt;#[non_exhaustive]&lt;/code&gt;. Match arms in downstream code must include a wildcard. Done now, while 0.10.0 is already a breaking release, so later variant additions stay non-breaking.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking:&lt;/strong&gt; the MCP HTTP transport (&lt;code&gt;dynoxide mcp --http&lt;/code&gt;, &lt;code&gt;dynoxide serve --mcp&lt;/code&gt;) now requires bearer-token authentication on every request. On a loopback bind, dynoxide generates a token on first run, persists it to a per-user config file, and prints a client-config snippet; later runs reuse it silently. &lt;strong&gt;Existing clients break until updated&lt;/strong&gt;: add &lt;code&gt;&amp;quot;headers&amp;quot;: { &amp;quot;Authorization&amp;quot;: &amp;quot;Bearer &amp;lt;token&amp;gt;&amp;quot; }&lt;/code&gt; to your MCP client config. A non-loopback bind requires an explicit token via &lt;code&gt;--mcp-token&lt;/code&gt;/&lt;code&gt;--token&lt;/code&gt; or &lt;code&gt;DYNOXIDE_MCP_AUTH_TOKEN&lt;/code&gt; and will not start without one. The stdio transport is unaffected (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/27&quot;&gt;#27&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Breaking (library API):&lt;/strong&gt; &lt;code&gt;dynoxide::mcp::serve_http&lt;/code&gt; and &lt;code&gt;serve_http_with_shutdown&lt;/code&gt; now take an &lt;code&gt;HttpOptions&lt;/code&gt; struct (bind host, &lt;code&gt;AuthMode&lt;/code&gt;, extra allowed hosts) in place of a bare &lt;code&gt;port: u16&lt;/code&gt;. Embedders constructing the MCP HTTP server must build &lt;code&gt;HttpOptions&lt;/code&gt; and choose an &lt;code&gt;AuthMode&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rusqlite&lt;/code&gt; is now an optional dependency behind the &lt;code&gt;native-sqlite&lt;/code&gt; feature (on by default, so native builds are unchanged). The crate type-checks with rusqlite absent, which is the precondition for the wasm build. Cross-platform wall-clock paths (the idempotency cache, &lt;code&gt;created_at&lt;/code&gt; stamps, and &lt;code&gt;SystemClock&lt;/code&gt;) moved to &lt;code&gt;web-time&lt;/code&gt; - &lt;code&gt;std::time&lt;/code&gt; on native, the browser clock on wasm. The native binary now builds behind a &lt;code&gt;cli&lt;/code&gt; marker feature (pulled in by &lt;code&gt;http-server&lt;/code&gt;, &lt;code&gt;mcp-server&lt;/code&gt;, and &lt;code&gt;import&lt;/code&gt;), so it is skipped in backend-neutral builds such as &lt;code&gt;--features wasm-sqlite&lt;/code&gt;. The &lt;code&gt;DynoxideError::SqliteError&lt;/code&gt; variant is consequently &lt;code&gt;native-sqlite&lt;/code&gt;-gated and absent on backend-neutral builds, which matters only for code that matches it by name on a wasm target.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PartiQL &lt;code&gt;DELETE&lt;/code&gt; and &lt;code&gt;UPDATE&lt;/code&gt; now evaluate the non-key predicates in a &lt;code&gt;WHERE&lt;/code&gt; clause instead of acting on the key alone. Before, the executor pulled the primary key out of the &lt;code&gt;WHERE&lt;/code&gt; and ignored the rest, so &lt;code&gt;DELETE FROM &amp;quot;t&amp;quot; WHERE pk = &#39;a&#39; AND NOT begins_with(name, &#39;x&#39;)&lt;/code&gt; deleted the row even when &lt;code&gt;name&lt;/code&gt; began with &lt;code&gt;x&lt;/code&gt;, mutating a row the filter should have excluded (a data-correctness bug predating v0.9.5). The write paths now run the full condition against the fetched item, the same &lt;code&gt;matches_where&lt;/code&gt; pass &lt;code&gt;SELECT&lt;/code&gt; already uses: a present item whose non-key predicate is false raises &lt;code&gt;ConditionalCheckFailedException&lt;/code&gt;, matching how AWS treats a PartiQL write whose condition fails, and a missing item stays a silent no-op (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/54&quot;&gt;#54&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DescribeTable&lt;/code&gt; now returns a stable &lt;code&gt;TableId&lt;/code&gt; instead of a freshly generated UUID on every call. The id is a random UUID assigned once at create time and persisted (a new &lt;code&gt;table_id&lt;/code&gt; column, added to existing databases through the versioned schema migration and backfilled), so it stays the same across calls, &lt;code&gt;CreateTable&lt;/code&gt; returns the same value, and a dropped-and-recreated table gets a new one, matching AWS (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/55&quot;&gt;#55&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; evaluates an &lt;code&gt;UpdateExpression&lt;/code&gt; against the pre-update item image and accepts parenthesised arithmetic. &lt;code&gt;SET a = :v, b = a&lt;/code&gt; now gives &lt;code&gt;b&lt;/code&gt; the old value of &lt;code&gt;a&lt;/code&gt; rather than the value assigned earlier in the same call, and &lt;code&gt;SET c = (c - :v)&lt;/code&gt; parses and applies on the &lt;code&gt;BigDecimal&lt;/code&gt; path instead of being rejected with &lt;code&gt;Expected operand in SET, got (&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/35&quot;&gt;#35&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; &lt;code&gt;ReturnValues: UPDATED_NEW&lt;/code&gt; matches AWS granularity. A nested &lt;code&gt;SET parent.child = :v&lt;/code&gt; returns only the changed fragment &lt;code&gt;{parent: {M: {child}}}&lt;/code&gt; instead of the whole &lt;code&gt;parent&lt;/code&gt; map, and a REMOVE-only update omits &lt;code&gt;Attributes&lt;/code&gt; entirely rather than returning an empty map (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/36&quot;&gt;#36&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Paginating a &lt;code&gt;Query&lt;/code&gt; over a GSI no longer drops items when several entries share the same index key and the base table has only a partition key. On a hash-only base table the continuation cursor lost its base-key component and stalled after the first page, the same defect &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/38&quot;&gt;#38&lt;/a&gt; fixed for &lt;code&gt;Scan&lt;/code&gt;; the &lt;code&gt;Query&lt;/code&gt; path now carries the base partition key, so every tied item is returned across the paged walk (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/52&quot;&gt;#52&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;TransactWriteItems&lt;/code&gt;, &lt;code&gt;TransactGetItems&lt;/code&gt; and PartiQL &lt;code&gt;ExecuteStatement&lt;/code&gt; now report &lt;code&gt;ConsumedCapacity&lt;/code&gt; the way AWS does. A transactional write charges 2 WCU per item and a transactional read 2 RCU per item including a missing one (each item rounded up before the 2x factor); the &lt;code&gt;TransactGetItems&lt;/code&gt; &lt;code&gt;INDEXES&lt;/code&gt; breakdown carries &lt;code&gt;Table.ReadCapacityUnits&lt;/code&gt;; and &lt;code&gt;ExecuteStatement&lt;/code&gt; returns the &lt;code&gt;ConsumedCapacity&lt;/code&gt; block whenever &lt;code&gt;ReturnConsumedCapacity&lt;/code&gt; is requested instead of omitting it (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/37&quot;&gt;#37&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;PartiQL &lt;code&gt;ExecuteStatement&lt;/code&gt; accepts the bracket &lt;code&gt;IN [...]&lt;/code&gt; list form, not just &lt;code&gt;IN (...)&lt;/code&gt;, and evaluates &lt;code&gt;NOT begins_with(...)&lt;/code&gt; as a negated predicate. &lt;code&gt;IS NOT MISSING&lt;/code&gt; already evaluated; the gaps were the bracket list and the &lt;code&gt;NOT&lt;/code&gt; function arm, which the same statement bundles together (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/40&quot;&gt;#40&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DescribeTable&lt;/code&gt; now round-trips &lt;code&gt;OnDemandThroughput&lt;/code&gt; and reports the full &lt;code&gt;SSEDescription&lt;/code&gt; shape. A table created with &lt;code&gt;OnDemandThroughput&lt;/code&gt; reports its &lt;code&gt;MaxReadRequestUnits&lt;/code&gt; and &lt;code&gt;MaxWriteRequestUnits&lt;/code&gt; back; the value lives in a new &lt;code&gt;on_demand_throughput&lt;/code&gt; column added through the versioned schema migration, so existing on-disk databases pick it up on open. Server-side encryption enabled with the AWS-managed key now reports &lt;code&gt;SSEType: KMS&lt;/code&gt; and a &lt;code&gt;KMSMasterKeyArn&lt;/code&gt; alongside &lt;code&gt;Status: ENABLED&lt;/code&gt;, where before it returned the status alone (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/44&quot;&gt;#44&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateTable&lt;/code&gt; now accepts a lone &lt;code&gt;TableClass&lt;/code&gt; or &lt;code&gt;OnDemandThroughput&lt;/code&gt; change instead of rejecting it with &lt;code&gt;At least one of ProvisionedThroughput, BillingMode, ... is required&lt;/code&gt;. Both fields are validated (an unknown &lt;code&gt;TableClass&lt;/code&gt; is a &lt;code&gt;ValidationException&lt;/code&gt;) and persisted, so the change shows up on the next &lt;code&gt;DescribeTable&lt;/code&gt; (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/45&quot;&gt;#45&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DeleteTable&lt;/code&gt; on a table with deletion protection enabled now returns the exact AWS message, &lt;code&gt;Resource cannot be deleted as it is currently protected against deletion. Disable deletion protection first.&lt;/code&gt;, in place of the ARN-prefixed wording dynoxide used before (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/46&quot;&gt;#46&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;TransactGetItems&lt;/code&gt; now omits &lt;code&gt;Item&lt;/code&gt; from a response entry when a &lt;code&gt;ProjectionExpression&lt;/code&gt; matches no attribute on an otherwise-present item, matching AWS. The projection always re-injects the table key, so the entry previously came back as a key-only object instead of being omitted (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/39&quot;&gt;#39&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BatchWriteItem&lt;/code&gt; now rejects a &lt;code&gt;PutRequest&lt;/code&gt; whose item is missing the table key with a 400 &lt;code&gt;ValidationException&lt;/code&gt; rather than a 500 &lt;code&gt;InternalServerError&lt;/code&gt;. The duplicate-key detection pass extracted keys before validating them; it now validates first, the same ordering the single-item write paths already use (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/39&quot;&gt;#39&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;Paginating a &lt;code&gt;Scan&lt;/code&gt; over a GSI no longer drops items when several entries share the same index key and the base table has only a partition key. On a hash-only base table the continuation cursor lost its base-key component and stalled after the first page; it now carries the base partition key, so every tied item is returned across the paged walk (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/38&quot;&gt;#38&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;A single-item write (&lt;code&gt;PutItem&lt;/code&gt;, &lt;code&gt;DeleteItem&lt;/code&gt;, &lt;code&gt;UpdateItem&lt;/code&gt;) and its GSI/LSI index fan-out now run in a single transaction. A failure partway through the fan-out rolls the whole write back rather than leaving a base row with a half-applied (torn) index. The same per-item atomicity now also covers &lt;code&gt;BatchWriteItem&lt;/code&gt; (each write request) and the TTL sweep (each expired-item delete). This matches DynamoDB, where a single-item write does not half-apply to its indexes.&lt;/li&gt;
&lt;li&gt;Write paths now roll back on a failed &lt;code&gt;COMMIT&lt;/code&gt; and surface a failed &lt;code&gt;ROLLBACK&lt;/code&gt; rather than leaving the connection stuck mid-transaction, which would make the next write fail. Every write path shares one transaction helper for this.&lt;/li&gt;
&lt;li&gt;A client-facing &lt;code&gt;ValidationException&lt;/code&gt; raised inside a backend method (the 50-tag limit in &lt;code&gt;set_tags&lt;/code&gt;) keeps its 400 status across the &lt;code&gt;StorageBackend&lt;/code&gt; boundary instead of collapsing to a 500.&lt;/li&gt;
&lt;li&gt;Tighter expression and scan validation, to match what real DynamoDB rejects
(surfaced by the conformance suite). Dynoxide now turns away redundant
parentheses like &lt;code&gt;((a = :b))&lt;/code&gt; in condition, filter, and key-condition
expressions; &lt;code&gt;contains(x, x)&lt;/code&gt; with the same operand on both sides; and
&lt;code&gt;begins_with&lt;/code&gt; handed a number instead of a string or binary. These are
rejected up front, before any items are scanned
(&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/31&quot;&gt;#31&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;size()&lt;/code&gt; now measures strings in UTF-16 code units rather than bytes, so
values with emoji or accented characters report the length DynamoDB returns.&lt;/li&gt;
&lt;li&gt;A negative &lt;code&gt;Segment&lt;/code&gt; on a parallel scan is now rejected rather than accepted.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Notes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Existing native code that names &lt;code&gt;Database&lt;/code&gt; keeps working unchanged: the new generic parameter defaults to the rusqlite backend and the synchronous method signatures are identical. The one deliberate behaviour change is index fan-out atomicity (see Fixed); it is more DynamoDB-correct, and the conformance suite still passes. Tests, conformance, and benchmarks pass against the same observable surface as before.&lt;/li&gt;
&lt;li&gt;Building dynoxide for &lt;code&gt;wasm32-unknown-unknown&lt;/code&gt; is now supported via the &lt;code&gt;wasm-sqlite&lt;/code&gt; feature (see Added). The wasm backend is a preview: it is not run against the conformance suite that covers the native build, so its correctness rests on its own CRUD/query/scan/GSI/LSI tests for now. The engine runs in a Web Worker (OPFS&#39;s synchronous file handles are Worker-only) and needs no cross-origin isolation, so it works on ordinary static hosting.&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.13</title>
    <link href="https://dynoxide.dev/changelog#0.9.13"/>
    <id>https://dynoxide.dev/changelog#0.9.13</id>
    <updated>2026-05-11T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Close a DNS rebinding vulnerability in the MCP HTTP transport
(&lt;a href=&quot;https://github.com/modelcontextprotocol/rust-sdk/security/advisories/GHSA-89vp-x53w-74fx&quot;&gt;GHSA-89vp-x53w-74fx&lt;/a&gt; /
&lt;a href=&quot;https://www.cve.org/CVERecord?id=CVE-2026-42559&quot;&gt;CVE-2026-42559&lt;/a&gt;) by upgrading &lt;code&gt;rmcp&lt;/code&gt;
from 1.1.1 to 1.6.0 in both lockfiles. A malicious page could make the
user&#39;s browser send requests to a loopback MCP server with a non-loopback
&lt;code&gt;Host&lt;/code&gt; header, which the server would then process. Affects 0.9.3 to 0.9.12.
Users running &lt;code&gt;dynoxide mcp --http&lt;/code&gt; or &lt;code&gt;dynoxide serve --mcp&lt;/code&gt; should
upgrade; stdio transport is unaffected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Close a related cross-origin CSRF gap: a page could &lt;code&gt;fetch&lt;/code&gt; the loopback
endpoint with &lt;code&gt;mode: &#39;no-cors&#39;&lt;/code&gt;, and the Host check would pass while the
Origin header went unchecked. Affected write tools: &lt;code&gt;put_item&lt;/code&gt;,
&lt;code&gt;update_item&lt;/code&gt;, &lt;code&gt;delete_item&lt;/code&gt;, &lt;code&gt;create_table&lt;/code&gt;, and &lt;code&gt;batch_write_item&lt;/code&gt;.
Fixed by setting an explicit Host and Origin allowlist on
&lt;code&gt;StreamableHttpServerConfig&lt;/code&gt;. Native MCP clients (Claude Code, Cursor,
the dynoxide CLI) don&#39;t send an Origin header and are unaffected.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.12</title>
    <link href="https://dynoxide.dev/changelog#0.9.12"/>
    <id>https://dynoxide.dev/changelog#0.9.12</id>
    <updated>2026-05-04T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Unix: port releases immediately after &lt;code&gt;dynoxide serve&lt;/code&gt; shuts down. The listener used to skip &lt;code&gt;SO_REUSEADDR&lt;/code&gt;, leaving leftover &lt;code&gt;TIME_WAIT&lt;/code&gt; sockets from connected clients to block restart for ~60s. Live-listener conflict detection is unaffected: &lt;code&gt;SO_REUSEADDR&lt;/code&gt; only bypasses &lt;code&gt;TIME_WAIT&lt;/code&gt;, not active sockets.&lt;/p&gt;
&lt;p&gt;Windows: unchanged. &lt;code&gt;SO_REUSEADDR&lt;/code&gt; lets another process hijack an active bind there, so we leave it off.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.11</title>
    <link href="https://dynoxide.dev/changelog#0.9.11"/>
    <id>https://dynoxide.dev/changelog#0.9.11</id>
    <updated>2026-05-04T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;dynoxide serve --mcp&lt;/code&gt; now exits cleanly on Ctrl+C when an MCP client (Claude Code, Cursor) is holding a connection open. The MCP server&#39;s graceful-shutdown drain used to wait for those connections forever, hanging the process until something SIGKILLed it (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/22&quot;&gt;#22&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Refresh &lt;code&gt;Cargo.lock&lt;/code&gt; for the dependabot patches reachable within MSRV: &lt;code&gt;aws-lc-sys&lt;/code&gt; 0.37.1 to 0.40.0 (5 high-severity AWS-LC issues), &lt;code&gt;openssl&lt;/code&gt; 0.10.75 to 0.10.79 (5 buffer-overflow advisories), &lt;code&gt;rand&lt;/code&gt; 0.8.5 to 0.8.6. Remaining &lt;code&gt;rustls-webpki&lt;/code&gt; / &lt;code&gt;time&lt;/code&gt; / &lt;code&gt;aws-sdk-dynamodb&lt;/code&gt; alerts are dev-dependency only (test-suite AWS SDK chain, not the production binary) and stay pinned by MSRV 1.85 until v0.10.0&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.10</title>
    <link href="https://dynoxide.dev/changelog#0.9.10"/>
    <id>https://dynoxide.dev/changelog#0.9.10</id>
    <updated>2026-04-27T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;16 places where dynoxide&#39;s error strings drifted from real AWS DynamoDB. Mostly small things you only notice when you assert the message: &lt;code&gt;tableName&lt;/code&gt; length validation is now per-operation (1 char on read/write, 3 stays on &lt;code&gt;CreateTable&lt;/code&gt;), &lt;code&gt;Select&lt;/code&gt; enum order matches AWS rather than alphabetical, &lt;code&gt;Query&lt;/code&gt; vs &lt;code&gt;Scan&lt;/code&gt; &lt;code&gt;Limit=0&lt;/code&gt; messages are different on purpose now, batch/transact empty and oversize requests use the standard validation envelope, and &lt;code&gt;UpdateExpression&lt;/code&gt;/&lt;code&gt;ProjectionExpression&lt;/code&gt; syntax errors include the AWS &lt;code&gt;near: &amp;quot;...&amp;quot;&lt;/code&gt; window (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/11&quot;&gt;#11&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/12&quot;&gt;#12&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/13&quot;&gt;#13&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/15&quot;&gt;#15&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/16&quot;&gt;#16&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/17&quot;&gt;#17&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/18&quot;&gt;#18&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;TransactGetItems&lt;/code&gt; with a bad action key now comes back as a &lt;code&gt;TransactionCanceledException&lt;/code&gt; with &lt;code&gt;ValidationError&lt;/code&gt; rather than HTTP 500. The 500 was a real leak: the dedup loop called the server-fault helper before key validation (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/19&quot;&gt;#19&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.9</title>
    <link href="https://dynoxide.dev/changelog#0.9.9"/>
    <id>https://dynoxide.dev/changelog#0.9.9</id>
    <updated>2026-04-24T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;KeyConditionExpression&lt;/code&gt; now accepts parenthesised sub-expressions, matching DynamoDB. Forms like &lt;code&gt;(#pk = :pk) AND (#sk = :sk)&lt;/code&gt; previously returned &lt;code&gt;ValidationException: Expected attribute name, got (&lt;/code&gt;. Both outer-wrap and per-condition parens are now handled (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/4&quot;&gt;#4&lt;/a&gt;, &lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/7&quot;&gt;#7&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;UpdateItem&lt;/code&gt; and &lt;code&gt;TransactWriteItems.Update&lt;/code&gt; now evaluate &lt;code&gt;ConditionExpression&lt;/code&gt; against the existing item before populating key attributes for upsert. Previously &lt;code&gt;attribute_exists(pk)&lt;/code&gt; on a non-existent key succeeded and created a ghost item (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/5&quot;&gt;#5&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Paginated &lt;code&gt;Scan&lt;/code&gt; on a GSI now returns all items when multiple items share the same GSI partition key. Previously the second page returned 0 items because the pagination cursor used only &lt;code&gt;(gsi_pk, gsi_sk)&lt;/code&gt; instead of the full 4-tuple primary key (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/6&quot;&gt;#6&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; on missing attributes now returns true, matching DynamoDB. All other comparison operators continue to return false on missing operands. Previously &lt;code&gt;&amp;lt;&amp;gt;&lt;/code&gt; also returned false, breaking &lt;code&gt;PutItem&lt;/code&gt; conditional idioms like &lt;code&gt;status &amp;lt;&amp;gt; &amp;quot;working&amp;quot;&lt;/code&gt; against fresh keys (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/pull/8&quot;&gt;#8&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.8</title>
    <link href="https://dynoxide.dev/changelog#0.9.8"/>
    <id>https://dynoxide.dev/changelog#0.9.8</id>
    <updated>2026-04-06T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Dynoxide no longer orphans when backgrounded in npm scripts (&lt;code&gt;dynoxide &amp;amp; sleep 1 &amp;amp;&amp;amp; npm run seed &amp;amp;&amp;amp; react-router dev&lt;/code&gt;) -- the port is released when the parent process exits (&lt;a href=&quot;https://github.com/nubo-db/dynoxide/issues/2&quot;&gt;nubo-db/dynoxide#2&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;The Rust server now handles SIGTERM for graceful shutdown, not just SIGINT (Ctrl+C) -- &lt;code&gt;kill &amp;lt;pid&amp;gt;&lt;/code&gt; now works as expected&lt;/li&gt;
&lt;li&gt;The npm wrapper switches from &lt;code&gt;spawnSync&lt;/code&gt; to async &lt;code&gt;spawn&lt;/code&gt; with explicit signal forwarding (SIGINT, SIGTERM, SIGHUP) and double-signal SIGKILL escalation&lt;/li&gt;
&lt;li&gt;Parent-death detection via PPID polling catches the backgrounded case where no signal is delivered to the wrapper&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.7</title>
    <link href="https://dynoxide.dev/changelog#0.9.7"/>
    <id>https://dynoxide.dev/changelog#0.9.7</id>
    <updated>2026-04-02T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Benchmark sanity checks were blocking README updates during release - 10 stale values from the v0.9.6 pipeline now corrected&lt;/li&gt;
&lt;li&gt;Binary download size in README was wrong (~5 MB, actually ~3 MB compressed / ~6 MB on disk)&lt;/li&gt;
&lt;li&gt;Docker image sizes now show both download and on-disk measurements - the old &amp;quot;225 MB&amp;quot; was the compressed download, the actual on-disk size is 471 MB&lt;/li&gt;
&lt;li&gt;MCP tool count in README was 33, should be 34 - &lt;code&gt;execute_transaction_partiql&lt;/code&gt; was missing from the list&lt;/li&gt;
&lt;li&gt;npm README had incorrect &lt;code&gt;--input&lt;/code&gt; and &lt;code&gt;--db-path&lt;/code&gt; flags for the import command (should be &lt;code&gt;--source&lt;/code&gt;, &lt;code&gt;--schema&lt;/code&gt;, &lt;code&gt;--output&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Dropped the &lt;code&gt;serve&lt;/code&gt; subcommand from npm examples (bare &lt;code&gt;dynoxide --port 8000&lt;/code&gt; is the preferred form)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Restructured release pipeline for token efficiency and reliability - dispatch verification, idempotent crate/npm publishing, template-based Homebrew formula updates&lt;/li&gt;
&lt;li&gt;npm publishing uses OIDC provenance via a dedicated &lt;code&gt;npm.yml&lt;/code&gt; workflow&lt;/li&gt;
&lt;li&gt;Cross-compilation switched to cargo-zigbuild for aarch64-musl targets&lt;/li&gt;
&lt;li&gt;Commit Cargo.lock for reproducible CI builds (was previously gitignored)&lt;/li&gt;
&lt;li&gt;Updated npm package README to reflect current CLI usage and features&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Security&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Updated &lt;code&gt;aws-lc-sys&lt;/code&gt; 0.37.1 to 0.39.1 (10 high-severity advisories - PKCS7 verification bypass, timing side-channel in AES-CCM, CRL/name constraint issues)&lt;/li&gt;
&lt;li&gt;Updated &lt;code&gt;rustls-webpki&lt;/code&gt; 0.103.9 to 0.103.10 (2 medium-severity CRL Distribution Point matching issues)&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.6</title>
    <link href="https://dynoxide.dev/changelog#0.9.6"/>
    <id>https://dynoxide.dev/changelog#0.9.6</id>
    <updated>2026-03-27T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Statically link the MSVC C runtime on Windows so the release binary no longer requires VCRUNTIME140.dll&lt;/li&gt;
&lt;li&gt;Switch Linux aarch64 target to musl for fully static binaries (matching x86_64)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Drop the separate x86_64-unknown-linux-gnu release target (the musl build is already fully portable)&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.5</title>
    <link href="https://dynoxide.dev/changelog#0.9.5"/>
    <id>https://dynoxide.dev/changelog#0.9.5</id>
    <updated>2026-03-24T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;DynamoDB conformance suite&lt;/strong&gt; - 526 independently written tests across 3 tiers, validated against real DynamoDB ground truth. Dynoxide: 100%. DynamoDB Local: 92%. See &lt;a href=&quot;https://github.com/paritysuite/dynamodb-conformance&quot;&gt;dynamodb-conformance&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dynalite external conformance&lt;/strong&gt; - 817/1039 passing (87.1% DynamoDB parity) against Dynalite&#39;s test suite, where real DynamoDB itself only passes 51%&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DynamoDB compatibility documentation&lt;/strong&gt; - a public compatibility summary covering operation, expression, index, and PartiQL support, with a DynamoDB Local comparison column&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Correctness fixes&lt;/strong&gt; - 41 issues resolved across core operations and PartiQL&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Reserved word validation&lt;/strong&gt; - 573 DynamoDB reserved keywords rejected in ConditionExpression, UpdateExpression, FilterExpression, and ProjectionExpression with correct error messages&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;README benchmark automation&lt;/strong&gt; - CI benchmark numbers auto-updated via template markers and Python script; PR-based review with sanity checking&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;IdempotentParameterMismatchException&lt;/strong&gt; - TransactWriteItems detects same token with different payload&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AccessDeniedException&lt;/strong&gt; - returned for tag operations on non-existent ARNs (matches DynamoDB behaviour)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;BigDecimal replaces f64&lt;/strong&gt; for all number comparisons and arithmetic - eliminates silent precision loss beyond 15 significant digits; f64 fast-path for ≤15 significant digits preserves performance&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL INSERT&lt;/strong&gt; now fails with &lt;code&gt;DuplicateItemException&lt;/code&gt; if item already exists (previously silently overwrote)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL tokeniser&lt;/strong&gt; - correct handling of negative numbers, escaped single quotes, unknown characters (error instead of silent skip)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query/Scan COUNT&lt;/strong&gt; now returns filtered count, not scanned count, when &lt;code&gt;FilterExpression&lt;/code&gt; is present&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;begins_with sort key&lt;/strong&gt; - SQL LIKE wildcards (&lt;code&gt;%&lt;/code&gt;, &lt;code&gt;_&lt;/code&gt;) properly escaped&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Condition + write operations&lt;/strong&gt; wrapped in SQLite transactions to prevent TOCTOU races&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;1MB response limit&lt;/strong&gt; now counts all scanned items, not just filtered results&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GSI query/scan LastEvaluatedKey&lt;/strong&gt; now includes base table key attributes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BatchWriteItem&lt;/strong&gt; rejects duplicate keys within the same request&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;TransactWriteItems&lt;/strong&gt; - 4MB size check uses accurate item size calculation; CancellationReasons returned as structured top-level JSON field; &lt;code&gt;ReturnValuesOnConditionCheckFailure&lt;/code&gt; returns ALL_OLD item on condition failure&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UpdateItem&lt;/strong&gt; rejects empty update expressions; protects key attributes from REMOVE/ADD/DELETE&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ReturnValues&lt;/strong&gt; validated against allowed values per operation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UnprocessedKeys&lt;/strong&gt; in BatchGetItem preserves per-table settings&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SET on list index beyond bounds&lt;/strong&gt; extends the list with NULL padding (previously returned error)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SET on empty list&lt;/strong&gt; at index 0 now succeeds&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Projection with list index&lt;/strong&gt; correctly reconstructs list structure (previously created Map where List was needed)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Select validation&lt;/strong&gt; - invalid Select values and SPECIFIC_ATTRIBUTES without ProjectionExpression rejected&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ConsistentRead on GSI&lt;/strong&gt; rejected with correct error message&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Limit of 0&lt;/strong&gt; rejected with constraint error&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query/Scan validation ordering&lt;/strong&gt; matches DynamoDB (input validation before table existence check)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expression attribute usage&lt;/strong&gt; validated syntactically (at parse time) not semantically (at runtime) - fixes false positives with &lt;code&gt;if_not_exists&lt;/code&gt; short-circuiting&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SerializationException&lt;/strong&gt; pre-checks for non-list field types with DynamoDB-compatible error format&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Error type prefix&lt;/strong&gt; - &lt;code&gt;ValidationException&lt;/code&gt; uses &lt;code&gt;com.amazon.coral.validate#&lt;/code&gt; prefix matching real DynamoDB&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BatchExecuteStatement&lt;/strong&gt; uses short error codes (&lt;code&gt;ResourceNotFound&lt;/code&gt; not fully qualified type) and rejects empty Statements array&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UpdateTable GSI delete&lt;/strong&gt; returns &lt;code&gt;ResourceNotFoundException&lt;/code&gt; for non-existent GSI (previously &lt;code&gt;ValidationException&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;StreamSpecification&lt;/strong&gt; included in DescribeTable response&lt;/li&gt;
&lt;li&gt;Stack overflow protection: 32-level nesting depth limit on item validation (matches DynamoDB)&lt;/li&gt;
&lt;li&gt;AND/OR short-circuit evaluation in condition expressions&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;size()&lt;/code&gt; function no longer evaluates on invalid attribute types&lt;/li&gt;
&lt;li&gt;Idempotency tokens correctly compared in TransactWriteItems&lt;/li&gt;
&lt;li&gt;PutItem no longer double-reads item for conditional checks&lt;/li&gt;
&lt;li&gt;GSI sort key replacement handles all edge cases&lt;/li&gt;
&lt;li&gt;Nested projection preserves document structure (no longer flattens)&lt;/li&gt;
&lt;li&gt;Double-quote identifier escaping in PartiQL&lt;/li&gt;
&lt;li&gt;PartiQL DELETE with missing sort key returns proper error&lt;/li&gt;
&lt;li&gt;PartiQL nested SET paths create correct nested structure (no longer creates literal dot-notation keys)&lt;/li&gt;
&lt;li&gt;PartiQL SELECT with nested map paths resolves correctly&lt;/li&gt;
&lt;li&gt;TTL expiry cleans up LSI entries (previously left orphans)&lt;/li&gt;
&lt;li&gt;GSI/LSI name collision detected and rejected at CreateTable time&lt;/li&gt;
&lt;li&gt;LSI pagination uses composite cursor to handle duplicate sort key values&lt;/li&gt;
&lt;li&gt;ExecuteTransaction breaks on first failure (previously continued executing then rolled back)&lt;/li&gt;
&lt;li&gt;Partition size calculation for ItemCollectionMetrics sums across base table and all LSI tables&lt;/li&gt;
&lt;li&gt;Error message fidelity improvements across empty string, deletion protection, scan segment, and query validation messages&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.4</title>
    <link href="https://dynoxide.dev/changelog#0.9.4"/>
    <id>https://dynoxide.dev/changelog#0.9.4</id>
    <updated>2026-03-16T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Local Secondary Indexes (LSI)&lt;/strong&gt; - full lifecycle: creation, query/scan routing, projection types (ALL, KEYS_ONLY, INCLUDE), sparse index behaviour, write path maintenance across all operations including TTL expiry&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ExecuteTransaction&lt;/strong&gt; - PartiQL transactional execution with all-or-nothing semantics, condition checks, per-statement cancellation reasons, ConsumedCapacity support&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parallel Scan&lt;/strong&gt; - SQLite-level segment filtering via registered FNV-1a scalar function; validated segment/total parameters&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CreateTable extensions&lt;/strong&gt; - &lt;code&gt;SSESpecification&lt;/code&gt;, &lt;code&gt;TableClass&lt;/code&gt; (validated), &lt;code&gt;Tags&lt;/code&gt; (inline), &lt;code&gt;DeletionProtectionEnabled&lt;/code&gt; with enforcement on DeleteTable and toggle via UpdateTable&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL WHERE clause extensions&lt;/strong&gt; - &lt;code&gt;BETWEEN&lt;/code&gt;, &lt;code&gt;IN&lt;/code&gt;, &lt;code&gt;CONTAINS&lt;/code&gt;, &lt;code&gt;IS MISSING&lt;/code&gt;, &lt;code&gt;IS NOT MISSING&lt;/code&gt;, &lt;code&gt;OR&lt;/code&gt;, &lt;code&gt;NOT&lt;/code&gt;, parenthesised grouping&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL nested path projections&lt;/strong&gt; - &lt;code&gt;SELECT address.city, tags[0] FROM ...&lt;/code&gt; with correct nested structure preservation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL REMOVE clause&lt;/strong&gt; - &lt;code&gt;UPDATE ... REMOVE attribute&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL SET expressions&lt;/strong&gt; - arithmetic (&lt;code&gt;count + 1&lt;/code&gt;), &lt;code&gt;list_append&lt;/code&gt;, &lt;code&gt;if_not_exists&lt;/code&gt; in SET clauses&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL IF NOT EXISTS&lt;/strong&gt; - &lt;code&gt;INSERT ... VALUE {...} IF NOT EXISTS&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL set literals&lt;/strong&gt; - &lt;code&gt;&amp;lt;&amp;lt; &#39;a&#39;, &#39;b&#39;, &#39;c&#39; &amp;gt;&amp;gt;&lt;/code&gt; syntax for SS/NS/BS&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PartiQL COUNT(*)&lt;/strong&gt; and &lt;strong&gt;LIMIT&lt;/strong&gt; support&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Item validation&lt;/strong&gt; - empty string/set rejection, number precision validation (38 significant digits, ±9.99E+125 range), set deduplication (NS by numeric equivalence)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unused expression attribute rejection&lt;/strong&gt; - unreferenced &lt;code&gt;ExpressionAttributeNames&lt;/code&gt;/&lt;code&gt;ExpressionAttributeValues&lt;/code&gt; entries return &lt;code&gt;ValidationException&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ReturnItemCollectionMetrics&lt;/strong&gt; - partition collection size across base table and all LSI tables&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Per-GSI ConsumedCapacity&lt;/strong&gt; - &lt;code&gt;INDEXES&lt;/code&gt; mode returns per-GSI breakdown in &lt;code&gt;GlobalSecondaryIndexes&lt;/code&gt; map&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;TrackedExpressionAttributes&lt;/strong&gt; - unified expression resolution with usage tracking; removed duplicate untracked code paths (~400 LOC reduction)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ScanParams / QueryParams structs&lt;/strong&gt; replace parameter sprawl in storage layer&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CreateTableMetadata&lt;/strong&gt; consolidates previously triple-duplicated row mapping&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GSI/LSI secondary indexes&lt;/strong&gt; on &lt;code&gt;(base_pk, base_sk)&lt;/code&gt; / &lt;code&gt;(table_pk, table_sk)&lt;/code&gt; columns - eliminates full table scans during index maintenance&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Schema v5 migration&lt;/strong&gt; with automatic secondary index creation on existing tables&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.3</title>
    <link href="https://dynoxide.dev/changelog#0.9.3"/>
    <id>https://dynoxide.dev/changelog#0.9.3</id>
    <updated>2026-03-12T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;MCP Server&lt;/strong&gt; - 33 tools exposing DynamoDB operations for coding agents (Claude Code, Cursor, etc.)
&lt;ul&gt;
&lt;li&gt;stdio and Streamable HTTP transports&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--read-only&lt;/code&gt;, &lt;code&gt;--max-items&lt;/code&gt;, &lt;code&gt;--max-size-bytes&lt;/code&gt; safety flags&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bulk_put_items&lt;/code&gt; tool for batch loading&lt;/li&gt;
&lt;li&gt;OneTable &lt;code&gt;--data-model&lt;/code&gt; integration with entity-aware agent context and &lt;code&gt;--data-model-summary-limit&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--mcp&lt;/code&gt; flag on &lt;code&gt;dynoxide serve&lt;/code&gt; to run MCP alongside HTTP server&lt;/li&gt;
&lt;li&gt;Snapshots: &lt;code&gt;create_snapshot&lt;/code&gt;, &lt;code&gt;restore_snapshot&lt;/code&gt;, &lt;code&gt;list_snapshots&lt;/code&gt;, &lt;code&gt;delete_snapshot&lt;/code&gt; with auto-snapshot before &lt;code&gt;delete_table&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;get_database_info&lt;/code&gt; tool with data model context&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Import CLI&lt;/strong&gt; - &lt;code&gt;dynoxide import&lt;/code&gt; for DynamoDB Export data (JSON Lines format)
&lt;ul&gt;
&lt;li&gt;Anonymisation rules: fake, mask, hash, redact, null actions&lt;/li&gt;
&lt;li&gt;Cross-table consistency for specified fields&lt;/li&gt;
&lt;li&gt;zstd compression (&lt;code&gt;--compress&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--continue-on-error&lt;/code&gt;, &lt;code&gt;--tables&lt;/code&gt; filtering, atomic &lt;code&gt;--force&lt;/code&gt; overwrite&lt;/li&gt;
&lt;li&gt;Stream-aware import (reproduces source table&#39;s StreamSpecification)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CLI restructuring&lt;/strong&gt; - &lt;code&gt;dynoxide serve&lt;/code&gt;, &lt;code&gt;dynoxide mcp&lt;/code&gt;, &lt;code&gt;dynoxide import&lt;/code&gt; subcommands&lt;/li&gt;
&lt;li&gt;Database introspection and port conflict detection on startup&lt;/li&gt;
&lt;li&gt;&lt;code&gt;RUST_LOG&lt;/code&gt; debug tracing throughout HTTP and MCP servers&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.2</title>
    <link href="https://dynoxide.dev/changelog#0.9.2"/>
    <id>https://dynoxide.dev/changelog#0.9.2</id>
    <updated>2026-03-04T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;SQLCipher encryption&lt;/strong&gt; - &lt;code&gt;encryption&lt;/code&gt; feature (vendored OpenSSL via SQLCipher) and &lt;code&gt;encryption-cc&lt;/code&gt; feature (Apple CommonCrypto backend) for encryption at rest&lt;/li&gt;
&lt;li&gt;Secure key handling via &lt;code&gt;--encryption-key-file&lt;/code&gt; or &lt;code&gt;DYNOXIDE_ENCRYPTION_KEY&lt;/code&gt; environment variable&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UpdateTable&lt;/strong&gt; - &lt;code&gt;StreamSpecification&lt;/code&gt; support, GSI create/delete with backfill&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tag operations&lt;/strong&gt; - &lt;code&gt;TagResource&lt;/code&gt;, &lt;code&gt;UntagResource&lt;/code&gt;, &lt;code&gt;ListTagsOfResource&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ReturnValuesOnConditionCheckFailure&lt;/strong&gt; for TransactWriteItems&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GitHub Action&lt;/strong&gt; - &lt;code&gt;nubo-db/dynoxide@v1&lt;/code&gt; with optional &lt;code&gt;snapshot-url&lt;/code&gt; preloading&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Homebrew formula&lt;/strong&gt; - &lt;code&gt;brew install nubo-db/tap/dynoxide&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Release CI workflow with cross-platform binary builds (Linux x86_64/aarch64/musl, macOS Intel/Apple Silicon, Windows)&lt;/li&gt;
&lt;li&gt;Private-to-public repo publishing pipeline&lt;/li&gt;
&lt;li&gt;DynamoDBStreams target prefix - server accepts &lt;code&gt;DynamoDB_20120810.ListStreams&lt;/code&gt; and Streams-prefixed actions&lt;/li&gt;
&lt;li&gt;&lt;code&gt;From&lt;/code&gt;/&lt;code&gt;TryFrom&lt;/code&gt; conversions for request/response types&lt;/li&gt;
&lt;li&gt;&lt;code&gt;item!&lt;/code&gt; macro for ergonomic item construction in tests&lt;/li&gt;
&lt;li&gt;Table metadata cache for reduced SQLite round-trips&lt;/li&gt;
&lt;li&gt;Stripped release binaries&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;nubo-app&lt;/code&gt; → &lt;code&gt;nubo-db&lt;/code&gt; GitHub organisation rename&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.1</title>
    <link href="https://dynoxide.dev/changelog#0.9.1"/>
    <id>https://dynoxide.dev/changelog#0.9.1</id>
    <updated>2026-02-16T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Server&lt;/code&gt; and &lt;code&gt;X-Dynoxide-Version&lt;/code&gt; headers on all HTTP responses&lt;/li&gt;
&lt;li&gt;&lt;code&gt;TableArn&lt;/code&gt;, &lt;code&gt;LatestStreamArn&lt;/code&gt;, and related ARN fields in API responses&lt;/li&gt;
&lt;li&gt;Comprehensive benchmarking suite comparing Dynoxide against DynamoDB Local and LocalStack
&lt;ul&gt;
&lt;li&gt;Criterion, iai-callgrind, and custom benchmark binaries&lt;/li&gt;
&lt;li&gt;CI workflows for regression detection and historical tracking&lt;/li&gt;
&lt;li&gt;Standard 13-step workload with JVM warmup protocol&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Changed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;http-server&lt;/code&gt; feature is now enabled by default&lt;/li&gt;
&lt;li&gt;Package renamed to &lt;code&gt;dynoxide-rs&lt;/code&gt; for &lt;a href=&quot;http://crates.io&quot;&gt;crates.io&lt;/a&gt; publishing&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Fixed&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Rustdoc warnings&lt;/li&gt;
&lt;li&gt;README version reference&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <title>0.9.0</title>
    <link href="https://dynoxide.dev/changelog#0.9.0"/>
    <id>https://dynoxide.dev/changelog#0.9.0</id>
    <updated>2026-02-15T00:00:00Z</updated>
    <content type="html">&lt;h3&gt;Added&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Core DynamoDB emulator backed by SQLite via &lt;code&gt;rusqlite&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In-memory and persistent database modes&lt;/li&gt;
&lt;li&gt;Table operations: CreateTable, DeleteTable, DescribeTable, ListTables&lt;/li&gt;
&lt;li&gt;Item operations: PutItem, GetItem, DeleteItem, UpdateItem&lt;/li&gt;
&lt;li&gt;Query and Scan with full expression support and pagination&lt;/li&gt;
&lt;li&gt;Batch operations: BatchGetItem, BatchWriteItem&lt;/li&gt;
&lt;li&gt;Transactions: TransactWriteItems, TransactGetItems&lt;/li&gt;
&lt;li&gt;Global Secondary Indexes (GSI)&lt;/li&gt;
&lt;li&gt;DynamoDB Streams (all four view types)&lt;/li&gt;
&lt;li&gt;TTL with background sweep&lt;/li&gt;
&lt;li&gt;Full expression language: KeyCondition, Filter, Condition, Projection, Update&lt;/li&gt;
&lt;li&gt;PartiQL: ExecuteStatement, BatchExecuteStatement&lt;/li&gt;
&lt;li&gt;ReturnConsumedCapacity (TOTAL and INDEXES modes)&lt;/li&gt;
&lt;li&gt;HTTP server (axum-based, DynamoDB JSON wire protocol)&lt;/li&gt;
&lt;li&gt;300+ tests&lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
</feed>
