Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:50
· 7 commits to main since this release
8697f1e

InMemoryAws 2.0.0 is the first release under the InMemoryAws name. It is an in-memory emulator of AWS SQS, SNS, EventBridge, DynamoDB (with Streams), and S3 for fast tests and local development. Real AWS SDK clients talk to it through an in-memory HttpMessageHandler.

Highlights

  • One package, no AWS SDK dependency. The library targets net8.0 and netstandard2.0 and brings no AWS SDK package. You bring the SDK version you use (v3.7 or v4), and the package adds the glue to your build. The root type is now InMemoryAwsCloud (it was InMemoryAwsBus up to v1). (#758, #764)
  • DynamoDB and DynamoDB Streams. Full item, query, scan, batch, transaction, PartiQL, and time-to-live support, with DynamoDB's error codes and messages. Also DynamoDBContext and the Document Model. (#736, #771)
  • Vector search. Vector indexes and SearchVectors. (#744)
  • Global tables (version 2019.11.21) across the cloud's regions, with replicas that stay in sync on every write. (#748)
  • Multi-attribute global secondary indexes (up to four HASH and four RANGE attributes). (#747)
  • Transient states. Tables, indexes, and settings can stay CREATING, UPDATING, or DELETING for a configurable delay on the cloud's TimeProvider. (#746)
  • S3. Buckets, objects, multipart uploads, versioning, Object Lock, checksums, presigned URLs, bucket policies, and event notifications to SQS, SNS, and EventBridge. (#759)
  • Regional by default. SQS, SNS, and EventBridge are regional, and ARN-addressed deliveries resolve across regions. (#730, #732)
  • Resource policies. Explicit Deny statements are enforced for SQS, SNS, EventBridge, DynamoDB tables, and S3 buckets. (#740, #742)
  • Fidelity checked against AWS. The C# ports of AWS's emulator evaluation suite cover SQS, SNS, EventBridge, DynamoDB, and S3, and are tracked for upstream drift. (#727, #728, #729, #750, #753)
  • Standalone server. The ASP.NET Core server serves the same wire protocols over real HTTP, with a dashboard. Both hosts share one protocol module per service. (#743)

Fixes

  • SQS delivery and resource lookup by whole ARN. (#732)
  • SQS fidelity gaps left from the evaluation-suite port. (#760)
  • SNS CreateTopic accepts an existing topic with a subset of its tags. (#769)
  • Flaky FIFO delay test: delayed messages are released from one timer per group. (#766)
  • DynamoDB evaluation-suite gaps, including the 2017 global-table operations. (#745)

Internal changes

  • SQS, SNS, and DynamoDB clients split into partial files by area, with the SQS message lifecycle owned by one queue type. (#733, #739, #741)

Dependencies

Renovate kept the AWS SDK for .NET, TUnit, Aspire, OpenTelemetry, the Floci test image, and other dependencies up to date throughout the release.

Full Changelog: v1.0.3...v2.0.0