github localstack/localstack v4.3.0

latest releases: v4.5.0, v4.4.0
2 months ago

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

New Contributors

Full Changelog: v4.2.0...v4.3.0

Don't miss a new localstack release

NewReleases is sending notifications on new releases.