Showing content from https://github.com/localstack/localstack/releases below:
Website Navigation
Releases Β· localstack/localstack Β· GitHub
v4.7.0 Summary
LocalStack 4.7 is now available! This release introduces native Organizations support for multi-account setups, Valkey engine support as a Redis alternative in ElastiCache/MemoryDB, AppSync Events API for real-time WebSocket subscriptions, and significant enhancements across CodeBuild, CloudTrail, EKS, and DynamoDB providers with improved AWS parity throughout.
AWS Features
- LocalStack now supports the Valkey engine as an alternative to Redis in ElastiCache (π base) and MemoryDB (π ultimate). To enable Valkey, you need to use the
REDIS_CONTAINER_MODE=1
configuration variable while starting the LocalStack container.
- LocalStack now includes a native Organizations provider, replacing the legacy Moto-based implementation. This new provider introduces improved AWS parity and expands support for managing multi-account and multi-organization setups in a local environment. (π ultimate)
- LocalStack now supports the AppSync Events API for real-time event subscriptions, featuring channel namespaces, API Key/IAM authentication, and Direct Lambda integration. It provides both domain-based and path-based endpoints for local development, as well as HTTP interfaces for backend event publishing. (π ultimate)
Enhancements
- Kinesis provider has been upgraded to use
kinesis-mock
version 0.4.13
.
- DynamoDB provider has been upgraded to use DynamoDB Local
3.0.0
.
- Hive version
3.1.3
is now the default for Big Data services, such as EMR, Glue, and Athena. (π ultimate)
- CodeBuild provider now includes the following enhancements: (π base)
- CodeBuild now assumes the configured IAM service role during builds, enabling use of AWS CLI commands without manual credential setup.
- Additionally, CodeBuild automatically sets environment variables for region, and endpoint URL into the build container. The endpoint URL is configured to point to the LocalStack container, allowing jobs to access other emulated AWS services.
- CloudTrail provider now includes the following enhancements: (π ultimate)
- CloudTrail now delivers log delivery notifications to SNS after logs are written to S3.
- CloudTrail events now contain the populated
requestParameters
and responseElements
fields for most events.
- EKS provider now includes the following enhancements: (π ultimate)
- Support for k8s version
1.33
is now available. The default version also changed to 1.33
- EKS Load Balancer Controller with
target-mode
set to ip
is now supported.
- Support for
DescribeClusterVersions
API for improved compatibility with IaC tooling.
- Support for the
cognito-identity.amazonaws.com:sub
IAM policy variable has been added. (π base)
- Role ARN and session name parameters are now validated in STS operations.
- The
UpdateKinesisStreamingDestination
API is now supported in DynamoDB.
- Proper validation errors are now returned for malformed AVP policies instead of internal server errors. (π ultimate)
- The
GetTokensFromRefreshToken
API is now supported in Cognito. (π base)
- The
RSA_AES_KEY_WRAP_SHA_256
algorithm is now supported in the KMS ImportKeyMaterial
API.
- Route53 provider now correctly maps FQDNs with trailing dots for ELB routing.
- Proper error responses are now returned for Lambda functions with invalid S3 code locations.
- The
DeploymentCanarySettings
property is now supported for AWS::ApiGateway::Deployment
resources.
- Multiple VPCs are now supported for
AWS::Route53::HostedZone
during initial creation.
- MySQL RDS containers now run as non-root by default, with support for configurable user and group IDs via
RDS_CONTAINER_USER_GROUP_ID
environment variable (default: 1000:1000
). (π base)
- Improved parity for EFS
AccessPoint
API with enhanced validation and error handling. (π ultimate)
- The
ipAddressType
field is now supported in API Gateway REST & HTTP APIs, where the field can be set to ipv4
or dualstack
, via the CreateRestApi
, and CreateApi
APIs.
- Updates to the
AWS::SNS::Topic
resource are now supported, including support for changes to DisplayName
, TopicName
, and Tags
properties.
DomainProcessingStatus
is now returned and user-provided values are preserved when creating Elasticsearch domains via the CreateElasticsearchDomain
API.
- The
Name
and OpenTableFormatInput
parameters are now supported in the Glue CreateTable
API, and TableInput
is treated as optional in parity with AWS behaviour. (π ultimate)
- Improved support for non-default account IDs in API Gateway v2, AppSync, CodePipeline, [Cognito](https://docs.localstack.cloud/aws/se...
Read more v4.6.0 Summary
LocalStack 4.6 is now available! This release introduces AWS CodeArtifact support for package management, Kubernetes execution for Glue jobs, dramatically improved AppSync JavaScript resolver performance, API Gateway HTTP API SQS integrations, and enhancements across S3, CloudFront, CodeBuild, and EventBridge Pipes providers.
AWS Features
- LocalStack now supports AWS CodeArtifact, enabling you to mock creating domains, repositories, external connections, and authorization tokens, with additional support for NPM repositories, enabling you to publish and install packages locally. Refer to our documentation to learn more. (π base)
Enhancements
- LocalStack now includes Kubernetes support for AWS Glue job execution, enabling you to run them as pods in your Kubernetes cluster. To activate the Kubernetes executor, set the
GLUE_JOB_EXECUTOR_PROVIDER
environment variable to v2
, and set the CONTAINER_RUNTIME
environment variable to kubernetes
. (π enterprise)
- LocalStack has significantly improved the performance and capabilities of AWS AppSync JavaScript resolvers. The JavaScript resolver executor has been overhauled to replace the previous Docker container-based implementation with a lightweight Node.js runtime package. (π ultimate)
- AppSync provider now includes the following enhancements: (π ultimate)
- AppSync now supports
console.log
statements in resolver code, with the output directed to LocalStack logs for improved debugging capabilities.
- Support for
attributeExists
conditions in the RDS statement where
clause logic.
- Enhanced JavaScript resolver utility functions, including support for
util.error
and util.unauthorized methods
, with improved util.appendError
functionality.
- CodeBuild provider now includes the following enhancements: (π base)
- Buildspec overrides now follow the correct precedence. Buildspecs from
CreateProject
and StartBuild
take priority over those in the source code. Buildspec overrides from CodePipeline actions are supported and passed to StartBuild
.
- CRUD support for source credentials is now available:
ImportSourceCredentials
, ListSourceCredentials
, and DeleteSourceCredentials
.
- You can use custom Docker images by setting the
CODEBUILD_ENABLE_CUSTOM_IMAGES
environment variable. This allows any build image, not just Amazon Linux 2023 containers. Official AWS CodeBuild Docker images from GitHub are also supported.
- Environment variables now support Secrets Manager and SSM parameters as well as plaintext variables. Variable precedence is handled correctly (
StartBuild
> CreateProject
> buildspec), and parameter overrides now update values instead of fully replacing them during builds.
- API Gateway HTTP API provider now includes support for
AWS_PROXY
SQS subtypes (first-class integrations), enabling direct SQS operations through HTTP API endpoints. The supported operations include: (π base)
- Support for AWS S3
MetricsConfiguration
APIs, enabling management of CloudWatch request metrics configurations for S3 buckets. The supported operations include:
- EventBridge Pipes provider now supports pipe configuration updates through the
UpdatePipe
operation. You can now modify: (π ultimate)
- Pipe targets
- Target parameters
- Enrichment configurations
This is in addition to the previously supported source parameters.
- API Gateway provider now supports:
- Support for the
UpdateMethodResponse
API.
- CRUD operations for WebSockets route and integration request parameters through enhanced
CreateRoute
and CreateIntegration
validation logic. (π base)
DeleteRouteRequestParameter
operation, enabling complete lifecycle management of WebSocket route configurations and proper parameter handling in the invocation layer. (π base)
- Improved VTL
$input.path
and $input.json
handling, fixing edge cases for empty request bodies, non-existent JSONPath values, non-JSON content, and string body fallback behavior for better parity with AWS.
- S3 provider now includes the following enhancements:
DeleteObject
now checks IfMatch
headers correctly. It returns errors for IfMatch
on regular buckets, since this is only supported in Directory Buckets, and adds clear logs.
- Object Lock compliance is improved. Retention Mode values are validated, and
COMPLIANCE
mode restrictions are enforced when updating retention with PutObjectRetention
.
- Improved Checksum handling in
UploadPartCopy
with checksums now calculated and returned correctly during multipart copy in multipart uploads.
GetObjectAttributes
now fully implements ObjectParts
. It supports both COMPOSITE
and FULL_OBJECT
checksums for multipart uploads and stores and retrieves part metadata correctly.
- CloudFront provider now supports custom distribution IDs through the
_custom_id_
tag, enabling predictable distribution URLs. Refer to our documentation to learn more. (π base)
- EFS provider now supports the following new API operations: (π ultimate)
- Support for Airflow version 2.10.3 in the MWAA environment. (π ultimate)
- Timestream provider now supports tagging for databases and tables. (π ultimate)
- Improved RDS statement
where
clause logic to handle nested and/or
operators. (π base)
- KMS provider now supports the
ReEncrypt
operation.
- EKS provider now supports the
DescribeClusterVersions
operation. (π ultimate)
- DocumentDB provider now supports MongoDB transactions by starting clusters in single-node replica mode to enhance parity with transactional operations on AWS. (π ultimate)
- CloudTrail provider now populates the
imageId
parameter in requestParameters
for ec2.ModifyImageAttribute
API calls. (π ultimate)
- Route53 provider now supports alias records targeting dualstack ELB domains (e.g.,
dualstack.<elb-id>.elb.amazonaws.com
). (π base)
- RDS provider now allows using
postgres
as a username when creating PostgreSQL databases, in parity with AWS. (π base)
- SQS provider now automatically propagates
X-Amzn-Trace-Id
headers from incoming requests to the AWSTraceHeader
message attribute, enabling X-Ray tracing integration for SQS messages.
- Cognito provider now properly includes the
nonce
parameter from authorization requests as a claim in generated OIDC tokens. (π base)
- Step Functions provider now supports mocking for the
StartSyncExecution
operation to enable consistent testing across both Standard and Express state machines.
- ELBv2 provider now supports the
ForwardConfig
configuration block in listener rules, enabling compatibility with AWS Load Balancer Controller for Kubernetes by properly handling target group configurations. (π base)
LocalStack Features
- LocalStack now includes
x-localstack
header in all AWS service responses to help distinguish between LocalStack and AWS origins during development and testing. Set the `LOCALSTACK_RESPONSE_HEADER_ENABLED...
Read more v4.5.0 Summary
LocalStack 4.5 introduces support for the AWS Developer Tools suite (CodePipeline, CodeBuild, and CodeDeploy), enhanced AppSync WebSocket behavior, and advanced features for API Gateway REST APIs, including Canary Deployments and VTL improvements. This release also brings deeper parity in core services like RDS, EC2, EKS, EventBridge, CloudFormation, and more, continuing our mission to enable high-fidelity local development with production-like AWS behavior.
AWS Features
- LocalStack now supports AWS CodeBuild, enabling you to build and test applications locally with a build process that mirrors real AWS environments. Refer to our documentation to learn more. (π pro)
- LocalStack now supports AWS CodePipeline, enabling you to emulate end-to-end CI/CD workflows locally using real AWS-style declarations and resources. Refer to our documentation to learn more. (π pro)
- LocalStack now supports AWS CodeDeploy, allowing you to mock deployment flows to targets like EC2, Lambda, and ECS locally. Refer to our documentation to learn more. (π pro)
- PostgreSQL 17 is now supported in LocalStack's RDS provider, with the default engine version updated to
17.5
. (π pro)
- LocalStack's RDS provider now supports DB Proxy Endpoints, allowing you to create, describe, and delete DB proxy endpoints with our mock operations. (π pro)
Enhancements
- AppSyncβs WebSocket behavior has been enhanced to better align with AWS. This includes: (π pro)
- Full support for AWS-style payload shapes
- Improved lifecycle handling of GraphQL subscriptions
- LocalStackβs API Gateway provider now includes the following enhancements for REST APIs:
- Emulation of Canary Deployments, allowing staged traffic shifting strategies for safer releases and A/B testing.
- Support for
Response Overrides
from Request Templates, enabling more flexible response handling.
- Improved VTL (Velocity Template Language) support, including bracketed expressions and variable assignments in
#set
operations, increasing compatibility with complex mapping templates.
- LocalStackβs RDS provider now includes the following enhancements: (π pro)
- Support for the
ManageMasterPassword
API, enabling automated credential management and secure DB credential flows.
- Engine Parameter Introspection using
DescribeEngineDefaultParameters
and DescribeEngineDefaultClusterParameters
, allowing you to examine default settings for supported RDS engines.
- Introduction of
RDS_PG_MAX_CONNECTIONS
environment variable to control the maximum number of connections for PostgreSQL instances.
- LocalStackβs EC2 provider now includes the following enhancements:
- Support for the
GetSecurityGroupsForVpc
API, allowing you to retrieve security groups associated with a specific VPC.
- Improved filtering behavior in EC2's
DescribeAvailabilityZones
, aligning more closely with AWS behavior.
- Partial support for the
UpdatePipe
API is now available in EventBridge Pipes. Currently, only source parameters of an existing pipe can be updated. (π pro)
- DynamoDB Streams now properly redirects requests for global table replicas to the original region, ensuring consistent stream behavior across all replicas.
- EKS provider now integrates with autoscaling and security groups, allowing you to emulate Kubernetes clusters with more realistic networking and scaling behavior. (π pro)
- CloudFormation resource
AWS::Lambda::Version
now supports the ProvisionedConcurrencyConfig
property to enable emulation of cold start mitigation strategies.
- Enhanced Lambda
GetFunction
API parity by returning the reserved_concurrent_executions
parameter in responses, allowing you to inspect and manage reserved concurrency settings for Lambda functions.
- Support for the
ListRuleNamesByTarget
API in EventBridge, allowing you to inspect which rules are targeting a given resource.
- Support for pagination and filtering parameters when listing S3 buckets, improving performance and aligning with AWS behavior in larger S3 environments.
- Support for
DeleteDistribution
API in CloudFront Lambda@Edge to achieve better parity with AWS. (π pro)
- Support for
DescribeCapacityReservation
API in Elastic Load Balancing, allowing you to inspect capacity reservations for load balancers. (π pro)
- Support for selecting the Scala-based Kinesis mock engine via the
KINESIS_MOCK_PROVIDER_ENGINE
environment variable (node
or scala
) for improved performance with large or high-throughput requests.
LocalStack Features
- LocalStack Replicator now supports cross-account VPC replication scenarios using AWS Resource Access Manager (RAM), enabling more realistic testing of multi-account network setups. (π Ultimate)
What's Changed Exciting New Features π
Other Changes
Read more v4.4.0 Summary
LocalStack 4.4 introduces the Amazon Verified Permissions provider, a native RDS provider for better AWS parity, and a container-based Glue job executor. The release also includes Step Functions service integration mocking, expanded IAM features with service-specific credential APIs and condition keys, and updates to KMS, EMR Serverless, CloudFront Lambda@Edge, and Application Auto Scaling services.
AWS Features
- LocalStack now supports Amazon Verified Permissions (AVP) for managing fine-grained access using Cedar policies. You can test authorization logic locally and integrate with services like Cognito. Refer to our documentation to learn more. (π enterprise)
- LocalStack now supports AWS Step Functions Local with mocked and emulated service integrations. It works with existing setups and includes support for JSONata, Variables, and mocked task states. Refer to our documentation to learn more.
- LocalStack now uses a new native RDS provider by default for better AWS parity. It adds support for advanced features like parameter groups, snapshots, IAM auth, proxies, and Neptune compatibility. (π pro)
- LocalStack now runs Glue jobs in Docker using the
aws-glue-libs
image for better parity, faster startup, and isolated execution. Set GLUE_JOB_EXECUTOR=docker
and GLUE_JOB_EXECUTOR_PROVIDER=v2
to enable it. (π pro)
- Ruby 3.4 Lambda runtime is now supported in LocalStack.
Enhancements
- LocalStack now supports IAM service-specific credential APIs with full CRUD operations. Supported APIs include create, list, update, reset, and delete for service-specific credentials.
- LocalStack now supports additional IAM condition keys for fine-grained access control in policies. New keys include
iam:PermissionBoundary
, aws:RequestTag
, sts:ExternalId
, aws:username
, and others.
- KMS provider now includes the following enhancements:
- Enables
custom_key_material
usage for Elliptic Curve Cryptography (ECC) keys in the KMS service.
- Adds ability to decrypt data encrypted before a key rotation event by preserving the history of key material during RotateKeyOnDemand, maintaining access to all rotated KMS keys.
- Improves KMS PSS signature generation by aligning salt length with RFC 4055, increasing compatibility with external cryptographic libraries.
- Adds support for the
dry_run
parameter in the GenerateDataKeyPair
and GenerateDataKeyPairWithoutPlaintext
APIs.
- EMR Serverless provider now includes the following enhancements: (π pro)
- EMR Serverless jobs now accept program arguments when running scripts, allowing reuse of functionality and parameterized execution.
- Logs from EMR Serverless jobs are now sent to CloudWatch for better visibility into job execution and easier debugging of failures.
- Cloudfront Lambda@Edge feature now includes the following enhancements: (π pro)
- Added support for the
IncludeBody
parameter.
- Added validations for supported Python and Node.js runtimes.
- LocalStack now supports tagging for Application Auto Scaling resources. Supported APIs include
TagResource
, UntagResource
, and ListTagsForResource
. (π pro)
- LocalStack now runs Apache Flink's
JobManager
and TaskManager
in separate containers to better emulate AWS behavior. Previously, both ran in a single container with a shared filesystem. (π pro)
- Support for IAM transitive session tagging is now available. Tags marked as transitive on IAM sessions now propagate correctly and can be used for IAM policy enforcement.
- Improvements to AppSync VTL template
$utils
helpers now include better support for $util.error
and added support for $util.appendError
. (π pro)
- Support for record filtering for MSK & Self-Managed Kafka Event Source Mappings. (π pro)
- Support for
ListStateMachineAliases
pagination is now available in Step Functions. This includes handling of the --next-token
and --max-results
parameters to paginate results when listing aliases for a state machine.
- Implemented automatic registration of ECS tasks with AWS Cloud Map service discovery. Container IP addresses are now correctly registered in the service registry, enabling accurate service discovery and proper task-to-task communication. (π pro)
- Support for SES email confirmation from user pools is now available. User pools can now send confirmation emails to new users via SES automatically upon user creation. (π pro)
- Enhanced
DeleteRepository
operation in ECR to correctly honor the --force
flag. When --force
is specified, repositories containing images can now be deleted without requiring individual image deletion. (π pro)
- Enhanced
CreateComputeEnvironment
API in AWS Batch to automatically create an AWSBatchServiceRole
if none is provided. This improves parity with AWS by matching the default behavior where the role is auto-created if not explicitly specified. (π pro)
- Enhanced domain name handling to properly normalize escaped character sequences in DNS names. This improves AWS parity by ensuring that all Route 53 encoded domain names are correctly processed before being passed to the DNS server.
- Enhanced the OAuth2 authorization flow to generate unique
state
and code
values for each login attempt. This improves CSRF protection for existing users and ensures compliance with OAuth2 specifications. (π pro)
- Deleting a FIFO message with an expired receipt handle now raises an error to achieve better parity with AWS.
- Added X-Ray trace ID propagation from EventBridge to target services (Lambda and API Gateway), enabling end-to-end request tracing. This also ensures compatibility with existing trace header encoding.
- Implemented support for
USER_AUTH
authentication flow type in Cognito, enabling SMS_OTP
, PASSWORD
, and PASSWORD_SRP
challenge handling to match AWS behavior. (π pro)
LocalStack Features
- Replication support for
AWS::Route53::HostedZone
is now available for the AWS Replicator tool. (π teams)
- The
--profile
flag can now be used anywhere in the CLI command, not just at the top level, improving compatibility with custom tooling.
Deprecations
- Older Glue versions (0.9, 1.0, 2.0) are now deprecated.
- RDS state created in version 4.3 or earlier using Cloud Pods or standard persistence will not be compatible with the new RDS provider introduced in version 4.4. Recreating the RDS state is recommended for compatibility. (π pro)
What's Changed Exciting New Features π
- CloudFormation: [POC] Support Update Graph Modeling of Mappings and FindInMap by @MEPalma in #12432
- CloudFormation: POC Support for Modeling of Outputs Blocks in the Update Graph, Improved Handling of Intrinsic Function Types by @MEPalma in #12443
- Lambda: Added Ruby 3.4 Runtime by @anisaoshafi in #12458
- Fix(#12318): Fixes a bug in evaluation of JSONPath for wildcard and s⦠by @marcodallasanta in #12366
- CFn: WIP POC v2 executor by @simonrw in #12396
- Step Functions: Migrate v2 Test Suite to no_retry aws_client Fixture by @MEPalma in #12461
- Reapply reduce requests necessary for log publishing from lambda to cloudwatch logs by @dfangl in #12470
- KMS: fix RSA PSS signing issue for salt length by @sannya-singal in #12467
- [ESM] Re-initialize shards when NextShardIterator value is empty by @gregfurman in #12483
- KMS: add ability to decrypt data with all rotated keys by @sannya-singal ...
Read more v4.3.0 Summary
LocalStack 4.3 is packed with major enhancements! Weβve introduced experimental support for CloudFront Lambda@Edge, added new languages and improved models in Transcribe, and switched Flink to application mode for better AWS parity. Step Functions, SQS, IAM, KMS, and Timestream received significant feature upgrades, and the Web Application now supports stack outputs and graph rendering for Step Functions.
AWS Features
- Experimental support for AWS CloudFront Lambda@Edge emulation, which can be enabled by setting
CLOUDFRONT_LAMBDA_EDGE=1
in your LocalStack configuration. Learn more about the current features & limitations in our documentation. (π pro)
Enhancements
- Support for resource tagging in the EKS provider. (π pro)
- Expanded language support in the Transcribe provider with the addition of Catalan, Czech, Gujarati, Kazakh, Korean, Polish, Telugu, Uzbek, and Ukrainian. Additionally, updated language models are now used for Chinese, Farsi, Spanish, Italian, Russian, and Vietnamese, improving transcription accuracy across these languages.
- Managed Service for Apache Flink (MSF) now runs in application mode instead of the previous session mode for a better parity with how Flink clusters run on AWS. (π pro)
- Step Functions nested MapRun execution now works correctly by making map run components stateless and ensuring proper worker creation for all nested map runs.
- Support for AWS Step Functions aliasing features are now available.
- Step Functions interpreter now supports JSONata object templates as ItemSelector declaration bodies, ensuring correct evaluation in both JSONPath and JSONata modes.
- SQS Messages with an empty body are now rejected, ensuring that only valid messages are processed.
- Support for pagination in SQS ListQueues API, implementing
MaxResults
parameter functionality and NextToken
generation.
- Basic CRUD functionality for IAM service-specific credentials is now supported.
- Service-linked role naming to match AWS pattern (
AWSServiceRoleFor<service>
) has been improved with added proper policy attachment for greater parity with AWS.
- LocalStackβs Event Source Mapping (ESM) implementation now validates the existence of different event source resources.
- LocalStack now supports on-demand key rotation for KMS symmetric keys without imported key material, allowing up to 10 rotations per key that donβt affect automatic rotation schedules.
- Support for
EKS_K3S_FLAGS
configuration variable to customize the k3s
cluster created by LocalStack to emulate EKS clusters. (π pro)
- Support for
ListTagsForResource
API in the SSO Admin provider. (π pro)
- Support for filters in the
DescribeInstanceInformation
API in the SSM provider.
- Support for AppSync Lambda data source batch processing is now available to reduce cold starts by combining queries based on batch size or time window. (π pro)
- Support for schema enforcement to the Timestream provider in LocalStack, requiring dimensions marked as REQUIRED for record insertion. Records will be rejected if theyβre missing required dimension keys, ensuring compliance with Timestream schema rules. (π pro)
- Support for batching of records in Stream Pollers (DynamoDB Streams/Kinesis) based on
BatchSize
and MaximumBatchingWindowInSeconds
.
LocalStack Features
- You can now view the stack outputs in the CloudFormation Resource Browser. This feature allows you to view the outputs of a stack in the LocalStack Web Application.
- Step Functions Resource Browser now supports rendering graphs with auto-layouting along with improved StateFunction parsing, and has replaced the previous mermaid renderer.
- Replication support for
AWS::ECR::Repository
is now available for the AWS Replicator tool. (π teams)
What's Changed Exciting New Features π
- TaggingService: Allow key value field names to be overridden by @viren-nadkarni in #12306
- Add structured metrics instrumentation by @vittoriopolverino in #12230
- [ESM] Validate event sources existence by @eLRuLL in #12297
- Step Functions: Improve Nested Map Run Stability by @MEPalma in #12343
- [ESM] Correctly enable exponential backoff inside stream poller by @gregfurman in #12312
- Step Functions: Support for Aliasing by @MEPalma in #12326
- Fix Invalid noqa Usage in Step Functions TestState Preprocessor by @MEPalma in #12368
- Cloud Formation: [POC] Modeling Stack Operations and Evaluating ChangeSet Descriptions by @MEPalma in #12355
- CFn updates: create new v2 provider for new engine by @simonrw in #12375
- Implement IAM service specific credentials CRUD by @dfangl in #12351
- Transcribe: New language models by @viren-nadkarni in #12336
- KMS: on-demand key rotation by @agseco in #12342
- Step Functions: Allow JSONata Object Templates in ItemSelector Declarations by @MEPalma in #12327
- Match IAM service linked role naming with AWS by @dfangl in #12387
- cleanup ServiceNameParser rules by @bentsku in #12358
- Step Functions: Lazy Initialization of JVM for JSONata Evaluation by @MEPalma in #12369
- Step Functions: Migrate Usage Metrics to New Counter Standards by @MEPalma in #12389
- Cloud Formation: [POC] Update Graph with Template Traversal & Intrinsic Function Resolution by @MEPalma in #12378
- [ESM] Add configurable poll frequency and log shard info by @gregfurman in #12415
- Cloud Formation: [POC] Scoping Mechanism, Base Support for Parameters, Dynamic Parameters, Conditions, Intrinsic Functions, and Type Divergence by @MEPalma in #12405
- [Utils] Add a batch policy utility by @gregfurman in #12430
- [ESM] Support Stream Poller batching by @gregfurman in #12437
- CloudFormation: Fix LoggingConfiguration Parameter Handling in StepFunctions Resource Provider by @MEPalma in #12433
Other Changes
Read more v4.2.0 Summary
LocalStack 4.2 is here! This release brings powerful new features and enhancements, including support for AWS Shield, IAM enforcement for Neptune Gremlin queries, and PostgreSQL as a source in DMS. The Bedrock provider now allows on-demand model switching and preloading multiple models at startup. Additionally, we introduce a new AWS Replicator tool to seamlessly copy AWS resources into LocalStack and enhance Cloud Pods with auto-loading from registered remotes. Other improvements span Step Functions, EKS ELB, MWAA, API Gateway, and Apache Flink, making local cloud development even more robust! π
AWS Features
- LocalStack now supports AWS Shield, which allows you to create, read, update, and delete Shield protections and subscriptions in your local environment with a mock provider. (π pro)
Enhancements
- Neptune will now enforce IAM permission over data for Gremlin queries. When creating a cluster with
IAMDatabaseAuthenticationEnabled
set to true, your Gremlin queries will need to be signed to perform READ
, WRITE
, and/or DELETE
operations. This only affects users using ENFORCE_IAM
and IAM_SOFT_MODE
configuration variables. (π pro)
- ELB listeners now support any port matching the
GATEWAY_LISTEN
configuration variable instead of only the first port. (π pro)
- You can now use the
MWAA_DOCKER_FLAGS
configuration variable while starting the LocalStack container to pass extra flags when starting an Airflow container with MWAA. (π pro)
- Managed Service for Apache Flink now supports forwarding application logs created with Log4j or SLF4J to CloudWatch Logs. (π pro)
- Step Functions provider now features optimized service integration for Glue.
- Step Functions interpreter now validates unsupported API actions in optimized service integrations at creation time instead of only at runtime. It also adds logging for missing request/return types and reports errors for unsupported service tasks.
- LocalStack now supports PostgreSQL as a source in the Database Migration Service (DMS) provider. (π enterprise)
- The Bedrock provider now supports on-demand model switching by specifying a model ID prefixed with
ollama.
for each request. (π enterprise)
- The Bedrock provider now supports pulling multiple models on LocalStack startup with a new
BEDROCK_PULL_MODELS
configuration option. This option allows you to specify a comma-separated list of model IDs to pull from the Ollama models library on startup. (π enterprise)
- Ollama logs from the Bedrock provider are now streamed directly to LocalStack logs. (π enterprise)
- EKS now supports Kubernetes versions 1.31 and 1.32. The default version is set to 1.31, in parity with the latest supported version in AWS. (π pro)
- LocalStack now supports Binary media for API Gateway REST APIs, allowing payloads to be passed as-is, converted to UTF-8, or base64 encoded/decoded.
LocalStack Features
- LocalStack now offers a new AWS Replicator tool that copies AWS resources into a running LocalStack instance. It helps when deploying applications that rely on existing resources like SSM parameters or VPCs, ensuring they are available before deploying the main stack. Read more about this in our documentation. (π teams)
- LocalStack now supports auto-loading Cloud Pods from registered remotes. (π teams)
What's Changed Exciting New Features π
Other Changes
New Contributors
Full Changelog: v4.1.1...v4.2.0
v4.1.1 v4.1.0 Summary
LocalStack 4.1 delivers major enhancements to its local AWS emulation platform, featuring a new Managed Service for Apache Flink provider, improved Step Functions capabilities with Variables and JSONata transformations, and a preview release of the LocalStack SDK for Java. The update includes significant improvements to existing services, such as composite alarm support in CloudWatch and a Python-based Event Rule engine. Other enhancements revolve around services like Glue, S3, and the Web Application, with new Web Application features and a RedShift Resource Browser.
AWS Features
- Support for Managed Service for Apache Flink (MSAF) is now available to run Flink applications locally with several AWS-compatible API operations. This service was previously known as Kinesis Data Analytics v2. (π pro)
- LocalStack now supports AWS Step Functions Workflow Variables and JSONata transformations, enabling local emulation of enhanced state management and data transformations.
- LocalStack now provides basic support for CloudWatch composite alarms, allowing alarm storage and limited evaluation with OR logic, ARN-based references, and SNS notifications.
Enhancements
- LocalStack now uses a Python-based Event Rule engine for event pattern matching in EventBridge, Pipes, and Lambda Event Source Mapping, replacing the Java-based AWS event ruler.
- LocalStackβs CloudFormation provider now includes these enhancements:
- Added support for the
CREATE
, and DELETE
operations on the AWS::MWAA::Environment
, AWS::KinesisAnalyticsV2::Application
, and AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption
resource type. (π pro)
- Support for the
NoEcho
attribute in CloudFormation parameters was included to improve parity.
- Improved error messages on template parse or deploy failures.
- LocalStackβs Step Functions provider now includes the following enhancements:
- Step Functions interpreter now correctly parses
Comment
fields within choice rule composite statements (And/Or/Not), matching existing preprocessor behavior.
- Step Functions interpreter now correctly parses and evaluates
ContextObject
path bindings in ErrorPath
and CausePath
fields, resolving parse errors.
- Step Functions interpreter now supports cross-account task invocations via Credentials blocks. We have also enhanced sync callback handling for optimized service integrations to prevent
States.Runtime
exceptions.
- Step Functions interpreter now correctly handles
Output
blocks in choice rules and properly processes Output
/Assign
blocks sequentially.
- Improved request encoding in Step Functions for better handling of parameters when using Boto.
- Fixed nested Map state execution in Step Functions to process multiple levels correctly.
- Corrected retrieval of State Machine definitions in CloudFormation during stack updates.
- Ensured Step Functions use State Machine role credentials for service integrations.
- Step Functions now provides clearer error messages for JSONPath operations.
- Improved handling of
ItemsPath
in Distributed Map states.
- Enhanced timestamp validation in Step Functions.
- Allowed AWS-SDK integrations to retain specific error names for better error handling.
- Fixed parsing of version tokens in Step Functions to prevent conflicts.
- LocalStackβs Glue provider now includes the following enhancements: (π pro)
- Support for Glue 5.0 along with the appropriate versioned JAR files.
- Support for Snowflake drivers in Glue jobs.
- Support for the
-extra-jars
option in AWS Glue within LocalStack. This option allows users to specify additional JAR files that can be included during Glue job execution. These JAR files can be used to extend the functionality of Glue jobs by providing custom libraries or dependencies.
- LocalStackβs S3 provider now includes the following enhancements:
- S3
PutObject
operations now support the CRC64NVME checksum algorithm and include ChecksumType field, for enhanced data integrity features as released by AWS.
- S3 now supports
FULL_OBJECT
checksum type for Multipart Uploads using CRC algorithms, enabling simplified checksum validation without tracking individual part checksums. This includes enhanced validation, proper error messaging, and checksum combination logic for parts verification.
- S3
PutObject
and CompleteMultipartUpload
now supports the new Conditional Write feature with the IfMatch
parameter, also known as Compare-and-Swap.
- LocalStack container logs are now properly displayed when running with Podman.
- LocalStack now supports Cognito User pool deletion protection.
- Transparent Endpoint Injection is now supported for the Batch provider. This feature enables your code to connect to other emulated AWS resources without needing to modify the code running in your local Batch jobs.
- The
DescribeListenerAttributes
operations are now supported in the Elastic Load Balancing (ELB) provider.
- You can now use the
SNS_SES_SENDER_ADDRESS
configuration variable to customize the sender of SNS email notifications, defaulting to admin@localstack.com
if not configured.
- Node.js 22 runtime Lambda runtime is now supported in LocalStack.
- Error messages from failed ECS task containers now appear in LocalStack logs, removing the need for inspecting the container logs manually using the
ECS_REMOVE_CONTAINERS=0
configuration variable.
- Failed events from Lambda functions with Amazon Kinesis and Amazon DynamoDB event source mappings (ESMs) can now be sent to S3 buckets as a destination, in addition to the existing SNS and SQS options, as supported by AWS. Unlike with SNS and SQS failure destinations, a complete event payload data is written to S3.
- ELB endpoints are now accessible via
http://localhost:4566/_aws/elb/<elb-id>
path routing, enabling usage without subdomains in Ephemeral Instances or any other environment where subdomains are not supported.
- SageMaker provider now supports multiple Production Variants of deployments for A/B testing.
- EKS now supports using Minikube as the local cluster to start the Kubernetes cluster backing EKS. This can be achieved by setting the configuration variable
EKS_K8S_PROVIDER=local
and mounting the $HOME/.kube/config
file, which contains the Minikube configuration, into the LocalStack container.
- SNS Filter Policy engine has been enhanced, and the support for
cidr
operator has been added.
- AppSync VTL resolver function logs (via
$util.log
) now appear in LocalStack console for improved debugging experience.
- ECS is now supported as a target for EventBridge.
- Support for adding custom IDs for IAM roles and policies has been added to the IAM provider.
- Support for EventBridge API destinations and connections has been added.
- Extended
ListFirewallRules
API in Route 53 Resolver to support filtering by action and priority parameters.
- Default Bedrock model has been switched to
smollm2:360m
to handle text model invocations.
- ELB rules now support all available conditions.
LocalStack Features
- Support for the official LocalStack SDK for Java is now available, enabling interaction with our proprietary features through our internal developer endpoints.
- LocalStack Web Application now includes a Redshift Resource Browser, offering a visual interface to manage local Redshift clusters.
- Users will now see a link to the Web Application every time they start LocalStack from the command line interface (CLI).
- Installed extensions will now appear at the top of the list on the Extensions Manager dashboard, making them easier to view and manage.
- Chaos Engineering dashboard has been relocated to the Instance Management tab, where it now appears alongside other features to consolidate management tools for easier access.
- Support has been added for a new restart button on the Web Application, located under the instance name.
- Support has been added for a new Swagger UI button in the instance controls, which links to [`/_localsta...
Read more v4.0.3 v4.0.2
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4