Skip to content

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

release/v1.3.64 (#930)

Nahuel Nucera58976a9c0c6d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index eadc049b..f2046b6a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,19 +5,22 @@ All notable changes to MiniStack will be documented here.
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
Versioning follows [Semantic Versioning](https://semver.org/).
-## [Unreleased]
-
-- **S3 — preserve WebSiteRedirectLocation ** — x-amz-website-redirect-location is now preserved
+## [1.3.64] — 2026-06-15
### Fixed
-- **IAM — instance-profile tagging actions implemented** — `TagInstanceProfile`, `UntagInstanceProfile`, and `ListInstanceProfileTags` previously failed with `InvalidAction: Unknown IAM action`. They are now handled, tags are stored on the instance-profile object (including tags supplied at `CreateInstanceProfile` time), and they read back from `GetInstanceProfile` / `ListInstanceProfiles` (via the `Tags` member) and `ListInstanceProfileTags`. This read-back lets Terraform's `aws_iam_instance_profile` settle to "No changes" on re-apply instead of detecting tag drift.
-- **EventBridge — input transformer reserved variables** — substitute `<aws.events.event.json>`, `<aws.events.event>`, `<aws.events.rule-name>`, `<aws.events.rule-arn>`, and `<aws.events.event.ingestion-time>` so CDK-style templates that embed the source event deliver valid JSON.
+- **EC2 — source security groups (`UserIdGroupPairs`) now returned by `DescribeSecurityGroupRules` / `DescribeSecurityGroups`** — `AuthorizeSecurityGroupIngress`/`Egress` rules that reference another security group were dropped at ingestion and never surfaced: `DescribeSecurityGroupRules` omitted `ReferencedGroupInfo` and `DescribeSecurityGroups` returned an empty `<groups>`. Source-group pairs are now parsed and emitted by both. Reported by @kamegoro.
+- **Step Functions — mocked `Throw` responses now route to `Catch`** — a `SFN_MOCK_CONFIG` `Throw` was raised above the state's Retry/Catch handling, so the execution always failed instead of routing to a matching `Catch` handler. The mocked error now flows through the same Retry/Catch machinery as a real task failure. Reported by @amissemer.
+- **Glue — `GetUserDefinedFunctions` treats `Pattern` as a regular expression** — the pattern was matched as a glob, so regex patterns (such as the Trino Glue connector's `trino__<name>__.*`) never matched; an invalid pattern now returns `InvalidInputException`. Contributed by @yonatoasis.
+- **S3 — `WebsiteRedirectLocation` is now preserved** — `x-amz-website-redirect-location` set on `PutObject` is now stored and returned by `GetObject` / `HeadObject`. Contributed by @murlock.
+- **IAM — instance-profile tagging actions implemented** — `TagInstanceProfile`, `UntagInstanceProfile`, and `ListInstanceProfileTags` previously failed with `InvalidAction: Unknown IAM action`. They are now handled, tags are stored on the instance-profile object (including tags supplied at `CreateInstanceProfile` time), and they read back from `GetInstanceProfile` / `ListInstanceProfiles` (via the `Tags` member) and `ListInstanceProfileTags`. This read-back lets Terraform's `aws_iam_instance_profile` settle to "No changes" on re-apply instead of detecting tag drift. Contributed by @c-julin.
+- **EventBridge — input transformer reserved variables** — substitute `<aws.events.event.json>`, `<aws.events.event>`, `<aws.events.rule-name>`, `<aws.events.rule-arn>`, and `<aws.events.event.ingestion-time>` so CDK-style templates that embed the source event deliver valid JSON. Contributed by @AbdoNile.
- **CloudFormation — `GetTemplateSummary` now returns `Capabilities` and `CapabilitiesReason`** — the handler already accepted `TemplateBody` and returned `Parameters` / `ResourceTypes` correctly, but omitted the `Capabilities` and `CapabilitiesReason` fields. These are now computed from the template: `CAPABILITY_NAMED_IAM` for IAM resources with explicit name properties (`RoleName`, `UserName`, etc.), `CAPABILITY_IAM` for unnamed IAM resources, and `CAPABILITY_AUTO_EXPAND` for templates with a `Transform`. `CapabilitiesReason` uses the format confirmed against the AWS API: `"The following resource(s) require capabilities: [<type>]"`. Contributed by @maximoosemine.
-- **Lambda - CreateEventSourceMapping persists FilterCriteria** — CreateEventSourceMapping was silently dropping the FilterCriteria parameter, so any filter specified at creation time was never applied.
-- **ECS — `RunTask` now applies `containerOverrides.command` to the launched Docker container** — Overridden commands (including an explicit empty command) were ignored at runtime because the Docker `containers.run(...)` call still used the task-definition command. The effective container definition now carries the matched override command into Docker, while non-overridden containers keep their defaults.
-- **ECS — `RunTask` now injects `containerDefinitions[].secrets` from Secrets Manager** — secret `valueFrom` references (including the `:json-key:` form that selects one field from a JSON secret) were silently dropped, so containers started without those environment variables. They are now resolved in-process and merged into the container environment before container overrides are applied; SSM Parameter Store references are not yet resolved. Reported by @kamegoro.
-- **S3 — `DeletePublicAccessBlock` now actually clears the configuration** — after delete, `GetPublicAccessBlock` returned a default all-blocked configuration with HTTP 200 instead of `NoSuchPublicAccessBlockConfiguration` (404), so the delete was not observable and Terraform's `aws_s3_bucket_public_access_block` delete waiter timed out (`found resource`), blocking `terraform destroy`. `GetPublicAccessBlock` now returns 404 when no configuration is set (never configured, or deleted). Reported by @kamegoro.
-- **Lambda - CloudFormation-created ESMs now poll DynamoDB Streams** — Before, these streams were not getting polled.
+- **Lambda - CreateEventSourceMapping persists FilterCriteria** — CreateEventSourceMapping was silently dropping the FilterCriteria parameter, so any filter specified at creation time was never applied. Contributed by @maximoosemine.
+- **ECS — `RunTask` now applies `containerOverrides.command` to the launched Docker container** — Overridden commands (including an explicit empty command) were ignored at runtime because the Docker `containers.run(...)` call still used the task-definition command. The effective container definition now carries the matched override command into Docker, while non-overridden containers keep their defaults. Contributed by @noynoy83.
+- **ECS — `RunTask` now injects `containerDefinitions[].secrets` from Secrets Manager** — secret `valueFrom` references (including the `:json-key:` form that selects one field from a JSON secret) were silently dropped, so containers started without those environment variables. They are now resolved in-process and merged into the container environment before container overrides are applied; SSM Parameter Store references are not yet resolved. Reported by @kamegoro. Contributed by @kurok.
+- **S3 — `DeletePublicAccessBlock` now actually clears the configuration** — after delete, `GetPublicAccessBlock` returned a default all-blocked configuration with HTTP 200 instead of `NoSuchPublicAccessBlockConfiguration` (404), so the delete was not observable and Terraform's `aws_s3_bucket_public_access_block` delete waiter timed out (`found resource`), blocking `terraform destroy`. `GetPublicAccessBlock` now returns 404 when no configuration is set (never configured, or deleted). Reported by @kamegoro. Contributed by @kurok.
+- **Lambda - CloudFormation-created ESMs now poll DynamoDB Streams** — Before, these streams were not getting polled. Contributed by @maximoosemine.
+- **CloudWatch Logs — subscription filters now deliver matching log events to the destination Lambda** — a `SubscriptionFilter` (created via CloudFormation or `PutSubscriptionFilter`) was provisioned but never forwarded log events, so the processor Lambda was never invoked. Matching events from `PutLogEvents` and from Lambda's own log emission are now delivered to Lambda destinations in AWS's `awslogs` gzip+base64 `DATA_MESSAGE` envelope, with a self-loop guard so a filter on a function's own log group can't recurse. Reported by @ankitaabad.
---
diff --git a/pyproject.toml b/pyproject.toml
index a8ba6be4..5d0cfd97 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "ministack"
-version = "1.3.63"
+version = "1.3.64"
description = "Free, open-source local AWS emulator — drop-in LocalStack replacement"
readme = "README.md"
license = { file = "LICENSE" }
diff --git a/tests/conftest.py b/tests/conftest.py
index aa7ad973..28d4801e 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -64,6 +64,7 @@ _SERIAL_TESTS = {
"tests/test_ses.py::test_ses_messages_endpoint_account_filter",
"tests/test_stepfunctions.py::test_sfn_mock_config_return",
"tests/test_stepfunctions.py::test_sfn_mock_config_throw",
+ "tests/test_stepfunctions.py::test_sfn_mock_config_throw_routes_to_catch",
"tests/test_stepfunctions.py::test_sfn_wait_scale_zero_does_not_timeout_lambda_tasks",
"tests/test_stepfunctions.py::test_sfn_wait_scale_zero_skips_wait",
"tests/test_rds.py::test_rds_lambda_network_connectivity",