Skip to content

Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.

release v1.3.28 (#568)

Nahuel Nuceradc781a090faa
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 38b68c21..8a45444d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,11 +7,14 @@ Versioning follows [Semantic Versioning](https://semver.org/).
---
-## [Unreleased]
+## [1.3.28] — 2026-05-05
### Added
+- **ECS Task Metadata V4** — every container started by `RunTask` now gets `ECS_CONTAINER_METADATA_URI_V4` injected, and the gateway serves `/v4/<token>`, `/v4/<token>/task` (with sibling `Containers` array), and `/v4/<token>/stats` + `/task/stats` (stub). Standard `com.amazonaws.ecs.*` container labels. `RunTask` also translates `privileged`, `linuxParameters.capabilities.add`, `pidMode: host`, and `volumes` + `mountPoints` into Docker bind mounts. Contributed by @YakirOren.
-- **ECS Task Metadata V4 emulator** — every container started by `RunTask` now receives `ECS_CONTAINER_METADATA_URI_V4=http://<ministack>:<gateway>/v4/<token>`, and the gateway responds on `/v4/<token>` (current container), `/v4/<token>/task` (task with sibling `Containers` array), and `/v4/<token>/stats` / `/task/stats` (empty stub). Tokens are per-container `secrets.token_urlsafe(32)` values; the registry is volatile by design (stripped on persistence, cleared by `/_ministack/reset`). The metadata host is Ministack's own IP on the shared user-defined Docker network (the only address that's reliably reachable on Linux Docker — `host-gateway` resolves to `docker0` which sibling bridges typically can't route to); when Ministack runs outside Docker the URI falls back to `host.docker.internal` mapped through `extra_hosts: host-gateway` for Docker-Desktop compatibility, and `networkMode: host` containers use loopback. Container labels follow the standard `com.amazonaws.ecs.*` keys (`task-arn`, `container-name`, `task-definition-family`, `task-definition-version`, `cluster`). `RunTask` also now translates more of the task-def: `privileged`, `linuxParameters.capabilities.add`, `pidMode: host`, and `volumes` + `mountPoints` (list-of-binds so two ECS volumes sharing a host path don't collide).
+### Fixed
+- **DynamoDB legacy `Expected` (PutItem / UpdateItem / DeleteItem) and `KeyConditions` (Query)** — previously ignored; SDKs and code paths that still use the pre-expression API now work. `ScanFilter` / `QueryFilter` comparison support extended to all 13 legacy operators (`EQ`, `NE`, `LE`, `LT`, `GE`, `GT`, `NOT_NULL`, `NULL`, `CONTAINS`, `NOT_CONTAINS`, `BEGINS_WITH`, `IN`, `BETWEEN`) with type-aware numeric comparison. Reported by @darkamgine
+- **DynamoDB `TransactWriteItems` multi-failure reporting** — only the first failing item was marked in `CancellationReasons`; AWS returns a `ConditionalCheckFailed` entry for every failing item in the transaction. Now evaluates all conditions in a first pass and reports each failure. Reported by @anghel93 and @gnjack
---
diff --git a/pyproject.toml b/pyproject.toml
index deece19a..9c6258bc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "ministack"
-version = "1.3.27"
+version = "1.3.28"
description = "Free, open-source local AWS emulator — drop-in LocalStack replacement"
readme = "README.md"
license = { file = "LICENSE" }