Home / Changelog
Changelog
Authoritative release history lives on GitHub at github.com/localemu/localemu/releases. Recent releases are mirrored here for convenience and so search engines can index the content.
v1.4.0
2026-11-06 · LocalEmu Console, IAM enforcement completeness, 5 new services
The dashboard at /_localemu/dashboard is rewritten as the
LocalEmu Console: a new layout, light and dark themes, and new panels
backed by request telemetry the gateway now records for every AWS call.
Request telemetry. Every AWS call is recorded with status, error code,
handling time, the calling principal, the resource it named, and whether it was an IAM denial. New
endpoints: /_localemu/api/system,
/_localemu/api/metrics/requests,
/_localemu/api/calls, /_localemu/api/changes,
/_localemu/api/metrics/services. Records are kept in memory only; nothing
is persisted.
Overview and account switcher. The overview shows endpoint, version,
uptime, IAM enforcement mode, persistence and Docker/Bedrock backend status, a requests-per-second chart,
and a filterable grid of every registered service. The top bar now selects the account the console works
in; /_localemu/api/accounts/<id>/summary no longer undercounts S3,
SQS, Lambda and KMS resources, and the Accounts page creates/deletes accounts from a form instead of
browser prompts.
Also: a command palette (Cmd+K) over every service, resource and action;
new write actions (create an S3 bucket, SQS queue, SNS topic or DynamoDB table, purge a queue); the live
panel now shows status, error code, resource, principal, account and handling time, with filters and
pause/resume; the CloudTrail page filters by account and service.
IAM enforcement: stored policies that had no effect. Three controls
were accepted and stored but never consulted during authorization, so they did nothing: Organizations
SCPs (a Deny SCP had zero effect on an otherwise-permissive identity),
KMS grants (a grant authorized nothing), and Cognito's
AllowAdminCreateUserOnly (self-registration still worked on a pool that
required admin-created accounts). All three now actually authorize or deny. New condition-key support:
aws:PrincipalTag/<key>, aws:ResourceTag/<key>,
and aws:SourceVpce / aws:SourceVpc from a VPC
Interface endpoint's own dedicated listener port. A new queryable decision log
(GET /_localemu/iam/decisions) replaces grep-ing the server log for
"why was this denied" — each entry carries the decision, the reason, which policy type decided it,
and the matched statement.
STS: real signature verification. sts:AssumeRoleWithWebIdentity previously accepted any token structurally,
including an unsigned or garbage-signature one, as long as the trust policy's principal matched by
string. The token's signature is now verified against the registered OIDC provider's real JWKS, fetched
over HTTPS exactly like AWS does. For local lab use,
POST /_localemu/api/oidc/mint-token mints a token signed with a
LocalEmu-generated per-provider keypair, so a trust policy referencing a real external provider can be
exercised locally without a real workflow run there.
Five new services. CodeBuild (including UpdateProject,
which moto has no implementation of at all), Cognito Identity (real role attachment and
GetCredentialsForIdentity, not fixed fake credentials), RAM (a subnet
shared with another account now actually appears there), SageMaker (notebook-instance
OnStart lifecycle scripts run), and WAFv2 (real-time Web ACL rule
evaluation against an ALB, with its own decision log).
Also: Cognito custom and profile attributes now appear as ID-token claims; CloudTrail's
userIdentity reflects the real caller shape and CloudTrail-to-EventBridge
forwarding delay is modeled per service; two Lambda bugs that left a function stuck forever (undeletable
after a failed version start, or stuck Pending on a hung image pull) are
fixed; EKS endpointPrivateAccess now drives a real network-isolation
decision; localemu status's service-state colors were backwards and are
now fixed (running is green); and events:PutEvents
IAM enforcement always resolved to the default event bus regardless of
which bus the call actually targeted, so a policy scoped to a custom bus could never authorize a
correctly-routed call — fixed.
v1.3.2
2026-10-19 · OpenSearch in Docker, Firehose from Kinesis OpenSearch domain stuck in Processing. When LocalEmu runs in Docker,
its readiness check of a new domain used http://localhost:<published port>.
Inside the LocalEmu container that address is the container itself, so the check never succeeded and
the domain stayed Processing=true. The check now probes the domain
container's own address on the Docker network first, with localhost:<port>
as the fallback, and the timeout is 120 seconds. A new domain became healthy in 8 seconds.
Firehose with a Kinesis stream as its source. The Kinesis consumer
passed raw bytes to the delivery code, which expects base64, so every batch failed with
Incorrect padding and nothing reached S3. Records are now encoded before
delivery. Five records put on the stream arrived in S3 as one newline-delimited object.
terraform apply and terraform destroy of an
aws_opensearch_domain still take about 10 minutes each. This comes from the
Terraform AWS provider: in 5.100.0, waitForDomainCreation and
waitForDomainDelete call WithDelay(10*time.Minute),
so the provider sends no status request for the first 10 minutes.
v1.3.1
2026-10-19 · InvokeModel model ids InvokeModel now accepts Bedrock model ids that are not in the 21-model
catalog, so applications written for newer models, for example
anthropic.claude-sonnet-4-6-v1:0 or an Amazon Nova model, run locally.
A well-formed id from a known Bedrock provider is accepted as a plain id, a
foundation-model ARN or a us.,
eu. or apac. inference-profile id.
A malformed id still returns ValidationException.
With BEDROCK_BACKEND=ollama, any anthropic.claude-*
id outside the model map is served by the same stand-in as the listed Claude models
(llama3.1:8b). Claude has no open weights, so the answer never comes from Claude.
The edition field is removed from /_localemu/health
and /_localemu/info (it was always community; LocalEmu is
one open-source version). The Docker image marker is now .docker-image.
Updated: Bedrock.
v1.3.0
2026-10-18 · Bedrock, GuardDuty findings, aws:TokenIssueTime ListFoundationModels and GetFoundationModel
now return a curated catalog of 21 models (they used to fail with
No moto route), and a new bedrock-runtime
service implements InvokeModel. By default it returns a deterministic
placeholder shaped like each model family's real response (Anthropic Messages, Titan, Llama,
Mistral, Cohere, AI21), so application code parses it unchanged. With
BEDROCK_BACKEND=ollama it runs real local inference in a Docker
sidecar, after a total-RAM check against the model's tier. Only InvokeModel
exists: Converse and streaming return a 501.
GuardDuty gains a native findings plane: CreateSampleFindings,
ListFindings and GetFindings, plus
ArchiveFindings, UnarchiveFindings,
UpdateFindingsFeedback, GetFindingsStatistics
and ListFilters. Criteria work on any field path, sorting works, and findings
survive restarts. Each sample finding is also published to the default EventBridge bus
(aws.guardduty, GuardDuty Finding), so a
GuardDuty to EventBridge to Lambda pipeline runs against the real API.
InvokeModel validates like Bedrock: an unknown model id or a malformed body
returns ValidationException. With IAM_ENFORCEMENT=1,
credentials from GetSessionToken and GetFederationToken
now work: they act as the IAM user, or as a federated user limited by the session policy, instead of being
rejected as an invalid token.
With IAM_ENFORCEMENT=1, the aws:TokenIssueTime
condition key is now populated for assumed-role sessions, so the incident-response pattern of denying
every session issued before a containment time works. Policies use the real
bedrock:InvokeModel action against
arn:aws:bedrock:<region>::foundation-model/<id>.
The dashboard's write actions now honor EXTRA_CORS_ALLOWED_ORIGINS, so a
dashboard opened through a custom hostname works with one variable.
New docs: Bedrock, GuardDuty. Updated: IAM Enforcement, Docker, Environment Variables.
v1.2.0
2026-08-01 · real EC2 access, live SG re-apply, Cognito triggers
EC2 access now works end to end with the real AWS tooling, not a LocalEmu-specific
workaround. aws ssm start-session --target opens a real
interactive shell (the wire codec matches session-manager-plugin
byte-for-byte) and AWS-StartPortForwardingSession tunnels a
local port through the same SMUX v1 framing the real plugin uses.
aws ec2-instance-connect send-ssh-public-key pushes a
60-second ephemeral SSH key, matching AWS's TTL exactly. The base image
(ec2-base:v4) adds an ubuntu
user per AMI's canonical OS user, alongside root.
DescribeInstances no longer fabricates a
PublicIpAddress: it's either a genuine, reachable host-side
IP or absent, matching AWS's actual contract. Security group changes made at the ENI level
(AttachNetworkInterface,
ModifyNetworkInterfaceAttribute --groups=... -- what
Terraform and CDK actually generate) now re-apply the live iptables
rules immediately, the same as instance-level changes always did.
SourceDestCheck is enforced per ENI in the container's
FORWARD chain, so NAT and router instances with multiple ENIs
behave correctly.
The nine Cognito User Pool Lambda triggers configurable via LambdaConfig
now actually fire, at the right phase, including the full CUSTOM_AUTH
challenge flow and user migration. Codes and messages that would have gone out by email or
SMS are queryable from a dashboard endpoint instead of requiring real delivery.
LocalEmu no longer contacts any external host at runtime: the pytest marker-report
uploader, the CI test-selection tool, the ffmpeg installer, and a handful of dead endpoint
constants inherited from the upstream fork are all gone. One consequence: Transcribe is
now a stub (every operation returns InternalFailure) rather
than a partial implementation that depended on a runtime download.
Updated docs: EC2 (SSH, Instance Connect, SSM, SourceDestCheck), Security Groups (live ENI re-apply), Cognito (Lambda triggers).
v1.1.1
2026-06-26 · dashboard packaging fix
The 1.1.0 wheel on PyPI shipped the dashboard's index.html
and SVG icons, but not its CSS or JavaScript, so /_localemu/dashboard
rendered as an unstyled skeleton with no working scripts on a pip install (the Docker image
was unaffected). The packaging allowlist now covers the full
dashboard/static/ asset tree.
ModifyInstanceAttribute(SourceDestCheck=...) now mirrors
onto the primary ENI's own bit, so DescribeInstances and
DescribeNetworkInterfaces agree, matching real AWS.
v1.1.0
2026-06-11 · correctness and coverage
IAM enforcement now respects attached managed policies on every
attachment surface (user, role, group), applies managed permission
boundaries by intersection with the identity grant, and evaluates
resource-based policies on every cross-account call (S3 bucket
policy, KMS key policy, SQS / SNS / Lambda / EventBridge policies).
Six new condition keys are populated for the policy evaluator:
aws:PrincipalAccount,
aws:ResourceAccount,
aws:SourceAccount,
aws:PrincipalOrgID,
aws:PrincipalOrgPaths,
aws:ResourceOrgID.
The operation → IAM action map now matches AWS for Lambda
(lambda:Invoke →
lambda:InvokeFunction), S3 multipart,
SQS / SNS batch ops, KMS ReEncrypt,
DynamoDB transactions, and the full S3Control access-point surface
(s3:CreateAccessPoint rather than the
non-existent s3control:CreateAccessPoint).
IMDS at 169.254.169.254 is now
reachable from inside instances launched without a key pair (the
common AWS CLI default), so the canonical IMDS address stops
returning Connection refused. EC2 / SSM / Backup operations that
previously raised InternalFailure
return AWS-shaped responses: Snapshot Block Public Access, Serial
Console toggles, VPC Block Public Access options and exclusions
(with real iptables data-plane enforcement on the IGW-facing
interface), EC2 Instance Connect Endpoints, AWS Backup protected
resources, and SSM patch state stubs.
Multi-account is now documented and surfaced. AWS Organizations is
wired with the full 39 ops including
DescribeEffectivePolicy;
CreateAccount auto-seeds an
OrganizationAccountAccessRole in the
new member with an inline
AdministratorAccess policy. The
central account registry is queryable via the new
/_localemu/api/accounts admin
endpoints.
S3 replicates objects on every matching rule:
PutObject /
CompleteMultipartUpload /
CopyObject on a versioned source
bucket with a ReplicationConfiguration
flips x-amz-replication-status from
PENDING to
COMPLETED on the source and
REPLICA on the destination,
preserving the VersionId and
carrying metadata, tags, and content-type across. Filters
(Prefix / Tag / And), priority resolution, multi-destination,
DeleteMarkerReplication gating, and the no-chained-replication
rule all follow the AWS contract.
S3 Access Points have a real data plane: object operations
addressed by ARN, alias, or hostname route to the underlying
bucket; the access-point policy is consulted alongside the bucket
policy; three new S3 condition keys are populated for AP requests:
s3:DataAccessPointArn,
s3:DataAccessPointAccount,
s3:AccessPointNetworkOrigin. The
bucket-policy delegation pattern (s3:DataAccessPointAccount
on the bucket policy) works the AWS way and lets the AWS-canonical
access-point bypass scenario be reproduced locally.
Coverage: 133 AWS services, 8,969 documented operations, 8,740 implemented (97.4%). See the full API coverage matrix. New docs: Multi-Account, Organizations, Cross-Account Access.
v1.0.0
2026-05-18 · initial release
First public release of LocalEmu. The gateway listens on
localhost:4566 for all AWS services. The
awsemu CLI is a thin wrapper over AWS CLI v1
pre-pointed at LocalEmu. Persistence (PERSISTENCE=1)
saves all service state across restarts. IAM enforcement
(IAM_ENFORCEMENT=1) evaluates identity,
resource, and permission-boundary policies with the real AWS algorithm
(explicit deny → resource → identity → boundary). The Export
pipeline emits Terraform, CloudFormation, and JSON snapshots from
live state.
Docker-backed services run real binaries against real wire protocols:
EC2 (real VMs via docker run), ECS
(RunTask + Service, real container exec), EKS (k3d-backed, real
kubectl), RDS (Postgres, MySQL, MariaDB
on real ports), Redshift (postgres:15, psql + JDBC clients connect
for real), MQ (RabbitMQ broker), MSK (Apache Kafka KRaft cluster),
OpenSearch (real cluster).
Athena ships a DuckDB-backed SQL engine: literal SELECTs, queries
over Glue CSV / JSON / Parquet tables, partition pruning, CTAS and
INSERT INTO writing Parquet back to S3 and registering Glue tables.
SSM Session Manager (StartSession) is a real WebSocket-bridged shell
into the EC2 container. EC2 IMDS is reachable at the canonical
169.254.169.254 address from inside
containers via DNAT + MASQUERADE. DynamoDB Streams emit INSERT /
MODIFY / REMOVE events. API Gateway v2 supports
--target integrations end-to-end and
ELBv2 ALB → Lambda forwarding works under real Terraform.
Future entries will be added in reverse-chronological order as we ship. For point-release detail follow the GitHub releases feed directly.