Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.
Python awsaws-emulatoraws-localaws-sdkdevtoolsdockerdynamodbec2emulatorlambdalocalstacklocalstack-alternativeministackmock-awsopen-sourcepythons3sqsterraform
release v1.3.11 (#435)
Nahuel Nucerac8c9d95ba897
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a3644a90..765a5eea 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,17 @@ Versioning follows [Semantic Versioning](https://semver.org/).---+## [1.3.11] — 2026-04-24++### Added+- **`GET /_ministack/ses/messages` email inspection endpoint** — returns every SES message sent across v1 and v2 APIs (`SendEmail`, `SendRawEmail`, `SendTemplatedEmail`, `SendBulkTemplatedEmail`, v2 `SendEmail`), grouped by account ID. Accepts an optional `?account=<12-digit-id>` query parameter to filter. Invalid account IDs return a 400 `InvalidAccountID` error. Unlocks end-to-end testing for flows that send password-reset / verification / transactional emails without a real SMTP sink. Contributed by @jgrumboe.+- **API Gateway v1 `GetAccount` / `UpdateAccount`** — `/account` now responds with the AWS-shaped defaults (`throttleSettings`, `features`, `apiKeyVersion`) and honours `UpdateAccount` patches (typically `/cloudwatchRoleArn`). Unblocks `terraform apply` on `aws_api_gateway_account`, which previously failed with `NotFoundException: Unknown path: /account`. Reported by @david-hay.++### Fixed+- **API Gateway v1 `policy` field broke `terraform plan` refresh** — ministack returned the REST API policy as a plain JSON string; terraform-provider-aws's `flattenAPIPolicy` wraps the SDK-decoded value in outer quotes and re-parses as JSON (`NormalizeJsonString("\"" + policy + "\"")` then `strconv.Unquote`), so the unescaped inner quotes made Go's decoder error with `invalid character 'S' after top-level value` as soon as the policy contained `"Statement"`. The wire now matches real AWS, which returns the `policy` already JSON-string escape-encoded — Terraform's wrap-and-reparse recovers the original policy JSON unchanged. Fix applied at emit time across `CreateRestApi`, `GetRestApi`, `GetRestApis`, and `UpdateRestApi`; internal reads (CFN, other services) keep seeing the raw policy. Reported by @david-hay.++---+## [1.3.10] — 2026-04-23### Fixeddiff --git a/README.md b/README.mdindex cf58cb43..96a8392e 100644--- a/README.md+++ b/README.md@@ -80,6 +80,12 @@ curl -X POST http://localhost:4566/_ministack/reset?init=1curl -X POST http://localhost:4566/_ministack/config \-H "Content-Type: application/json" \-d '{"lambda_svc.LAMBDA_EXECUTOR": "docker"}'++# Inspect emails sent via SES — returns every message grouped by account+curl http://localhost:4566/_ministack/ses/messages++# Filter by account (12-digit access-key ID used as the account ID)+curl "http://localhost:4566/_ministack/ses/messages?account=000000000000"```The reset endpoint is especially useful in CI pipelines and test suites — call it in `setUp`/`beforeEach` to get a clean environment for every test without restarting the container. Add `?init=1` to re-run your init scripts after the reset, restoring any resources they create (VPCs, queues, seed data, etc.).diff --git a/pyproject.toml b/pyproject.tomlindex f61d2ce3..b9922c02 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"[project]name = "ministack"-version = "1.3.10"+version = "1.3.11"description = "Free, open-source local AWS emulator — drop-in LocalStack replacement"readme = "README.md"license = { file = "LICENSE" }