v3.4.0
版本发布时间: 2024-04-25 18:24:00
localstack/localstack最新发布版本:v3.7.2(2024-09-06 20:47:10)
Summary
This release includes AWS feature updates such as Lambda support for Ruby 3.3 and S3 pre-signed POST policy validation. Enhancements comprise a new experimental event rule engine for event pattern matching and support for Transcribe on Apple Silicon. New resource browsers have been added for LocalStack.
AWS Features
- Lambda now supports the new Lambda runtime Ruby 3.3.
- Support for specific policy validation for pre-signed POST on S3. For S3 pre-signed POST, you can set some conditions when generating the request that the client using the pre-signed POST will need to comply with.
- Support for Redshift Driver in Glue Jobs. (🌟 pro)
- ECS task logs are now streamed to CloudWatch. (🌟 pro)
- EventBridge Pipes now supports EventBridge and StepFunctions as a target. (🌟 pro)
Enhancements
-
Support for a new experimental event rule engine for event pattern matching used in the following services:
- EventBridge
- EventBridge Pipes (🌟 pro)
- Lambda Event Source Mapping
Configure the
EVENT_RULE_ENGINE=java
to use the AWS event-ruler that offers better parity. -
Support for Transcribe on Apple Silicon/
aarch64
. -
While starting an ECS Service, LocalStack now spins up the correct number of tasks. (🌟 pro)
-
Support for the following API methods in AppSync provider: (🌟 pro)
- VTL:
evaluate_mapping_template
- JavaScript:
evaluate_code
- VTL:
-
New Kafka version 3.6.1 is now supported. (🌟 pro)
-
Support for the following APIs are available in the IoT provider: (🌟 pro)
-
Support for RDS Data
BatchExecuteStatement
API. (🌟 pro) -
LocalStack now labels spawned containers with the service name to make identification of running containers easier. (🌟 pro)
-
Support for adding
userName
to user pool Lambda trigger parameters in the Cognito provider. (🌟 pro) -
RDS AuroraMySQL can now be created using the Aurora Versioning Syntax. (🌟 pro)
-
Support for the Step Functions
TestState
API action with the following inspection levels:-
INFO
-
DEBUG
-
TRACE
-
-
Support for Step Functions
MaxItem
andMaxItemPath
declarations. -
Support for
MaxConcurrencyPath
in Step Functions. -
CloudFormation now supports the following operations:
-
UPDATE
forAWS::SNS::Subscription
-
UPDATE
forAWS::SQS::QueuePolicy
-
CREATE
&DELETE
forAWS::Events::ApiDestination
-
-
Lambda added a metadata API endpoint
/_aws/lambda/runtimes
to query the supported Lambda runtimes.
LocalStack Features
- New Resource Browsers for:
- Neptune
- Route53 Resolvers
- Cost Explorer
- Account Management
Deprecations
-
The following commands have been removed from the
localstack
CLI experience:-
localstack login
-
localstack logout
They have been replaced by
localstack auth login
andlocalstack auth logout
commands. -
What's Changed
Exciting New Features 🎉
- add update operations for AWS::SNS::Subscription and AWS::SQS::QueuePolicy. by @pinzon in https://github.com/localstack/localstack/pull/10545
- extend pinning in ASF update action by @alexrashed in https://github.com/localstack/localstack/pull/10537
- add script for generating Kubernetes dev files by @pinzon in https://github.com/localstack/localstack/pull/10560
- Refactor the TCP proxy into a clearer, server based construct by @dfangl in https://github.com/localstack/localstack/pull/10490
- fix lambda function URLs when they don't exist or the service is not loaded by @thrau in https://github.com/localstack/localstack/pull/10640
- [SFN] Support for TestState Api Action by @MEPalma in https://github.com/localstack/localstack/pull/10168
- add cdk infra setup for ecr images by @pinzon in https://github.com/localstack/localstack/pull/10678
- Add experimental event ruler by @joe4dev in https://github.com/localstack/localstack/pull/10615
- [SFN] Fix Heartbeat Callback Locking by @MEPalma in https://github.com/localstack/localstack/pull/10663
- Add Ruby 3.3 Lambda runtime by @joe4dev in https://github.com/localstack/localstack/pull/10704
- Feature: Eventbridge v2: CRUD by @maxhoheiser in https://github.com/localstack/localstack/pull/10613
- Add custom Lambda runtimes endpoint by @joe4dev in https://github.com/localstack/localstack/pull/10710
Other Changes
- Fix non-default-region compatibility for recent lambda invalid invoke test by @dfangl in https://github.com/localstack/localstack/pull/10566
- raise exception if required ENV is missing by @steffyP in https://github.com/localstack/localstack/pull/10568
- fix clouformation ec2 tests for
ap-northeast-1
and validate against AWS by @sannya-singal in https://github.com/localstack/localstack/pull/10563 - update README after 3.3.0 release by @alexrashed in https://github.com/localstack/localstack/pull/10570
- fix SNS RawMessageDelivery casing by @bentsku in https://github.com/localstack/localstack/pull/10575
- fix APIGW http integration connection to lambda url by @cloutierMat in https://github.com/localstack/localstack/pull/10561
- remove the conditional provider in
test_dashboard_lifecycle
by @sannya-singal in https://github.com/localstack/localstack/pull/10571 - Feature: Eventbridge v2: Scaffold new provider by @maxhoheiser in https://github.com/localstack/localstack/pull/10552
- fix cfn templates deployed in invalid AZs by @sannya-singal in https://github.com/localstack/localstack/pull/10586
- fix lastRotatedDate updation on secret rotation by @macnev2013 in https://github.com/localstack/localstack/pull/10564
- update pre-commit hook versions on dep updates by @alexrashed in https://github.com/localstack/localstack/pull/10587
- Feat: Events v2: add ci step for eventbridge v2 provider by @maxhoheiser in https://github.com/localstack/localstack/pull/10553
- Fix apigw http proxy response passthrough by @cloutierMat in https://github.com/localstack/localstack/pull/10583
- [SFN] Fix Evaluation of Nested Map States by @MEPalma in https://github.com/localstack/localstack/pull/10574
- Fix release helper for cli release by @silv-io in https://github.com/localstack/localstack/pull/10597
- Bump moto-ext to 5.0.4.post1 by @viren-nadkarni in https://github.com/localstack/localstack/pull/10589
- [SFN] Makefile Targets for Parsers Generation by @MEPalma in https://github.com/localstack/localstack/pull/10193
- fix function get azs cloudformation template by @sannya-singal in https://github.com/localstack/localstack/pull/10595
- fix DDB issue when TransactWriteItems targets tables with and without streams by @bentsku in https://github.com/localstack/localstack/pull/10593
- chore: remove repetitive words by @veryyet in https://github.com/localstack/localstack/pull/10507
- fix SNS MessageBody filtering when value is a list by @bentsku in https://github.com/localstack/localstack/pull/10594
- added aws validate test case for ListSecrets filtering by @macnev2013 in https://github.com/localstack/localstack/pull/10520
- fix s3 create bucket constraint by @bentsku in https://github.com/localstack/localstack/pull/10604
- Revert "added aws validate test case for ListSecrets filtering" by @macnev2013 in https://github.com/localstack/localstack/pull/10607
- Add event matching test suite by @joe4dev in https://github.com/localstack/localstack/pull/10599
- eventbridge: fix handling of list elements by @baermat in https://github.com/localstack/localstack/pull/10600
- fixed tags operations in secretsmanager by @macnev2013 in https://github.com/localstack/localstack/pull/10579
- Remove hardcoded credentials and region for unit tests by @viren-nadkarni in https://github.com/localstack/localstack/pull/10253
- fix deprecated secret versions preservation in secretsmanager by @macnev2013 in https://github.com/localstack/localstack/pull/10572
- added aws validate test case for ListSecrets filtering by @macnev2013 in https://github.com/localstack/localstack/pull/10608
- Raise correct exceptions for simultaneous lambda function updates by @dfangl in https://github.com/localstack/localstack/pull/10614
- Add container labels to container configuration and container run methods by @dfangl in https://github.com/localstack/localstack/pull/10624
- fix secretsmanager test by @alexrashed in https://github.com/localstack/localstack/pull/10627
- Add missing library for transcribe on ARM by @silv-io in https://github.com/localstack/localstack/pull/10629
- Ensure container clients return the same format for container labels on list call by @dfangl in https://github.com/localstack/localstack/pull/10630
- add s3 POST policy validation by @bentsku in https://github.com/localstack/localstack/pull/10616
- fix docker client ulimits by @cloutierMat in https://github.com/localstack/localstack/pull/10633
- [SFN] Fix Unknown Service sfn errors by @MEPalma in https://github.com/localstack/localstack/pull/10631
- fix
connect
unit tests for cross-accounts by @sannya-singal in https://github.com/localstack/localstack/pull/10637 - Add update template_body by @lakkeger in https://github.com/localstack/localstack/pull/10556
- fix metrics upload failure on community PRs by @alexrashed in https://github.com/localstack/localstack/pull/10643
- Check for VPC existence for hostedzone by @simonrw in https://github.com/localstack/localstack/pull/10634
- More consistent CFn logging for individual resources by @simonrw in https://github.com/localstack/localstack/pull/10639
- Add libvirt as a build dependency by @viren-nadkarni in https://github.com/localstack/localstack/pull/10647
- Implement Lambda Event Source Filter update in CFn Provider by @Morijarti in https://github.com/localstack/localstack/pull/10632
- Fix dev run container exiting from raw mode by @simonrw in https://github.com/localstack/localstack/pull/10646
- Adapt source distribution glob to new PEP 625 canonicalized name by @dfangl in https://github.com/localstack/localstack/pull/10652
- Use single character wildcard when matching the source distribution to avoid breaking with yanked setuptools by @dfangl in https://github.com/localstack/localstack/pull/10656
- fixed exception handling in secretsmanager by @macnev2013 in https://github.com/localstack/localstack/pull/10626
- add S3 pre-signed POST test with credentials by @bentsku in https://github.com/localstack/localstack/pull/10641
- Validate existing test apigw by @cloutierMat in https://github.com/localstack/localstack/pull/10653
- add
AWS::Events::ApiDestination
cloudformation resource provider by @sannya-singal in https://github.com/localstack/localstack/pull/10670 - CFn: handle
OperationStatus.PENDING
events from resource providers by @simonrw in https://github.com/localstack/localstack/pull/10673 - Fix multi region KMS key creation configuration issue by @marcciosilva in https://github.com/localstack/localstack/pull/10625
- Bump moto-ext to 5.0.5.post1 by @viren-nadkarni in https://github.com/localstack/localstack/pull/10638
- fix apigw data plane service matching by @thrau in https://github.com/localstack/localstack/pull/10682
- fix APIGW: add rootResourceId to REST API creation by @bentsku in https://github.com/localstack/localstack/pull/10665
- fix SNS filtering when payload contains arrays by @bentsku in https://github.com/localstack/localstack/pull/10684
- fix DDB eventName for TransactWriteItems Update inserting data by @bentsku in https://github.com/localstack/localstack/pull/10685
- Fix missing config in list for CLI by @joe4dev in https://github.com/localstack/localstack/pull/10689
- improve user request route detection for APIGW in CORS by @bentsku in https://github.com/localstack/localstack/pull/10688
- fix external service ports manager unit test flakiness by @alexrashed in https://github.com/localstack/localstack/pull/10695
- Implementation of Lambda Advanced Configuration attribute by @Morijarti in https://github.com/localstack/localstack/pull/10591
- Update CODEOWNERS by @localstack-bot in https://github.com/localstack/localstack/pull/10702
- chore: fix some typos in comments by @alongdate in https://github.com/localstack/localstack/pull/10693
- Bump Lambda runtime versions and increase sleep time by @joe4dev in https://github.com/localstack/localstack/pull/10698
- [SFN] Add Support for MaxConcurrencyPath by @MEPalma in https://github.com/localstack/localstack/pull/10705
- [SFN] Fix TaskToken Creation Logic by @MEPalma in https://github.com/localstack/localstack/pull/10707
- Fix TTL for tables with RANGE keys by @giograno in https://github.com/localstack/localstack/pull/10699
- Capture example lambda triggered by SQS event by @simonrw in https://github.com/localstack/localstack/pull/10700
- Avoid failing host_path_for_path_in_docker if no docker daemon is available by @dfangl in https://github.com/localstack/localstack/pull/10690
- create pattern construct for a webapp extension by @thrau in https://github.com/localstack/localstack/pull/10701
New Contributors
- @veryyet made their first contribution in https://github.com/localstack/localstack/pull/10507
- @marcciosilva made their first contribution in https://github.com/localstack/localstack/pull/10625
- @alongdate made their first contribution in https://github.com/localstack/localstack/pull/10693
Full Changelog: https://github.com/localstack/localstack/compare/v3.3.0...v3.4.0