Skip to content

v1.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:26
· 11 commits to main since this release
v1.8.1
abf90a7

The crate moves to dynoxide-rs 4.1.1. Everything else a user installs
carries 1.8.1.

Behaviour changes

  • Conformance fixes now ship as patch releases. A fix that brings an
    answer closer to DynamoDB's, backed by a recorded AWS observation, used to
    take a minor. From 1.8.1 it takes a patch, so a minor pin such as ~1.8.0
    or dynoxide:1.8 no longer holds behaviour still. Pin an exact version to
    do that. versioning.md has the details for each
    package manager.
  • DescribeStream returns a ShardId in DynamoDB's shape. It's now
    shardId-, the stream's creation time in milliseconds as 20 digits, - and
    8 hex digits: 37 characters whatever the table's name, as DynamoDB returned
    when captured against eu-west-2 on 26 November 2026. It used to be
    shardId-00000001- followed by the table name, which boto3 and the PHP SDK
    refuse before sending GetShardIterator when the name is under 11 characters,
    and which ran past the 65 characters DynamoDB's API allows when the name was
    over 48. A stream keeps its ID across restarts, and a new stream on the same
    table, after disabling and re-enabling it or recreating the table, gets a
    new one. GetShardIterator still accepts the old form, and shard iterators
    from earlier releases still read, so a consumer that kept either can still
    read the stream. A consumer that tracks shards by ID, such as one built on
    the Kinesis Client Library, sees the stream's shard change once on upgrade,
    and reads it from where its settings start a new shard. Database files need
    no upgrade.
    (#361)
  • GetShardIterator refuses a ShardId the stream doesn't have with
    ResourceNotFoundException and Requested resource not found: Shard does not exist, as DynamoDB does. That includes the ID of an earlier stream on
    the same table. It used to hand back an iterator that read nothing. Captured
    against eu-west-2 on 26 November 2026.
  • Enabling a stream that is already enabled is refused. UpdateTable with
    StreamEnabled: true on a table whose stream is on now fails with
    ValidationException and Table already has an enabled stream: TableName: <name>, whatever the view type, and leaves the stream alone. It used to
    succeed and start a new stream, with a new ARN and ShardId, under any
    consumer reading the old one. Disable the stream first to change its view
    type, as on DynamoDB. Captured against eu-west-2 on 26 November 2026.

Added

  • A Python package. pip install dynoxide installs Dynoxide with a
    start() function and a pytest plugin. It is published to PyPI from each
    release, starting with 1.8.0.

Fixed

  • A refused CreateTable no longer leaves the table half-created, and
    deleting one no longer drops another table's data.
    Dynoxide stores each
    table in an SQLite table of the same name, and SQLite compares table names
    ignoring case. So CreateTable users beside an existing Users, a name
    matching one of Dynoxide's own tables (_tables, _config,
    _stream_records) in any case, or a name starting sqlite_, failed after
    the table had already been listed. The listed table then read and wrote the
    other table's items, and DeleteTable on it dropped the other table, or for
    _tables the list of every table. CreateTable now refuses these names with
    ResourceInUseException before writing anything, and makes a table in one
    transaction, so a failure at any step leaves nothing behind. DeleteTable
    drops only tables that belong to the table being deleted. If an earlier
    release listed a table after refusing to create it, delete it: that is now
    safe and leaves the other table alone. Until it's deleted, CreateTable also
    refuses its name in any other case, since the listing would read and write
    the new table. DynamoDB accepts these names, and Dynoxide still refuses
    them (#366).
    (#365)
  • Two indexes of the same kind whose names differ only in case are
    refused.
    Each index is stored in an SQLite table named after it, so
    byG and BYG would share one. CreateTable and UpdateTable now refuse the
    second with ValidationException and the duplicate-index message, including
    two GSI creates in one UpdateTable call. Adding a vector index this way
    through UpdateTable used to succeed and delete the first index's data; adding a GSI failed with InternalServerError.
    DynamoDB accepts these names
    (#366).
    (#365)
  • Scaffolding from a schema file reports a table it can't create, such as
    users beside Users, instead of skipping it as one that already exists.