Localstack

Latest version: v3.4.0

Safety actively analyzes 624578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 16

0.11.4

Not secure
**1. New Features**

* add initial support for ACM API
* support custom Lambda integration in API GW
* add config option for DynamoDB Java heap size
* add support for DynamoDB Global Tables
* add basic string functions in VLT templates

**2. Enhancements**

* build and push localstack-full image in CI, make light image the default
* support "sms" as SNS subscriber protocol
* support platform endpoints in SNS
* support client context passed to Node.js Lambda handler
* increase max threads in thread pool to improve concurrency
* enhance implementation and tests for API GW HTTP/HTTP_PROXY support
* support CF deletion of Lambda functions and IAM roles with inline policies
* add dummy AWS credentials to Lambda Docker containers
* add test for VPN Gateway attachment.vpc-id filter
* properly convert between Kinesis stream names and ARNs
* add support for pathPrefix in IAM list_users
* enhance command line ports parsing
* enhance CF support for ApiGateway::RestApi
* add option to use default Lambda endpoint for StepFunctions
* add tests to tag/untag SQS queues
* add tests for SQS FIFO queue with group/deduplication ID on multiple messages
* add test for SQS DLQ when maxReceiveCount is reached
* add missing region to EC2 getAccepterVpcInfo response
* make DDB stream creation asynchronous
* extend Java Lambda classpath
* add test to trigger multiple SNS subscriptions in the presence of handler errors
* replace ${filename} variable references in S3 presigned responses
* increase Quart server max content length
* add SQS as target in EventBridge

**3. Bug Fixes**

* fix HOSTNAME_EXTERNAL extraction to determine path-style addressing in S3
* fix RedrivePolicy for new SQS backend
* fix triple logs in debug mode
* fix format of Kinesis stream ARNs in CF
* fix DynamoDB TransactWriteItems with ConditionCheck
* fix DynamoDB stream MODIFY/INSERT event on UpdateItem for new item
* fix DynamoDbStreams get-shardId-iterator with AT_SEQUENCE_NUMBER
* fix proxy CORS headers
* add retries to fix intermittent SSL cert generation errors
* fix generation of random password in SSM
* fix API key checks for API GW paths with path params
* fix content-type in presigned S3 URLs
* fix SSL context creation error for multiple threads
* fix invocation of destination Lambda for Logs subscription filters
* return raw response in edge proxy to fix gzip encoded S3 content
* fix adding multiple permissions to single Lambda function
* return table name for DynamoDB table Ref in CF
* fix Docker port mapping for PORT_WEB_UI
* fix HTML escaping of SQS message attributes
* fix shardId format for DDB Streams
* fix S3 Content-MD5 base64 checks

0.11.3

Not secure
**1. New Features**

* switch to Quart Server for initial version of HTTP/2 support for API endpoints
* add support for IAM SimulatePrincipalPolicy
* add persistence support for SNS
* add API Key validation in API GW
* support expiry in S3 multipart POST
* support Elasticsearch snapshot repo
* support StepFunctions targets in scheduled event rules
* move /health check endpoint to edge port
* use moto instead of ElasticMQ as default backend for SQS

**2. Enhancements**

* add thread synchronization to Lambda config initialization
* point Lambda LOCALSTACK_HOSTNAME to main container directly
* add CORS headers to all OPTIONS responses by default
* upgrade DynamoDB to latest backend version
* encode account ID in SQS queue URLs
* add handling of query parameters in SNS requests
* determine proper external port in SQS URLs
* add missing Record values to Kinesis stream listener response
* support CF condition based on AccountId
* delete event source mappings on deletion of DynamoDB table
* return proper response details on Lambda invocation error
* store SSL certs to random tmp files in case of permission issues
* enhance path matching for API Gateway invocations
* pass HTTP_PROXY to Lambda if configured
* skip Lambda invocation if event source mapping is in state Disabled
* cleanup asyncio thread pool on shutdown
* make sync/async Lambda event sources configurable
* add Firehose support for EventBridge targets
* pass multivalue headers from API GW to Lambda
* filter out Lambdas by region in ListFunctions
* remove Python 2 tests in CI
* add EventBridge schedule expression for HTTP subscribers
* add UnsubscribeURL to SNS notification message

**3. Bug Fixes**

* fix binary MessageAttribute for SNS->SQS
* fix CF deploy issue with SNS resources, IAM role policy document
* fix direct access to queue URLs with new SQS backend
* fix handling of S3 multipart form upload via edge port
* fix API GW response on DELETE Lambda integration
* fix Terraform deletion of EC2 NAT Gateways
* fix Windows host path for Lambda volume mounting
* fix error responses for S3 Content-MD5 header
* fix S3 bucket creation date for Java SDK v2
* fix handling of S3 LocationConstraint on bucket creation
* fix DynamoDB DeleteEventSourceMappings in case tableARN is None
* fix format of S3 InvalidRange error response
* fix edge mapping for CloudWatch, S3 HEAD requests, SQS requests
* fix DynamoDB shard IDs
* fix lower case for SQS->Lambda message attributes
* fix S3 CORS policy with single origin
* fix S3 storage class on multipart upload
* fix S3 timestamp format
* fix chunked encoding in S3 responses
* fix passed parameters on API Gateway proxy resource method call
* fix JSON safe dumping of bytes in API Gateway

0.11.2

Not secure
**1. New Features**

* add API Gateway integration with DynamoDB
* add Lambda support for the dotnetcore3.1 runtime
* add persistence support to SQS API

**2. Enhancements**

* use dynamic instead of hardcoded backend service ports
* use random port for multiserver
* handle kms_key_arn/vpc_config in Lambda models
* add bucket existence checks for S3 operations
* refactor CLI and infra startup
* remove obsolete subprocess32 dependency
* optimize travis build for light image
* add name for non-existent Lambda in calls to LAMBDA_FALLBACK_URL
* add tests for CW getMetricData, API GW CreateModels, S3 listing 1000+ objects
* add tests for EC2 create_vpc_endpoint, S3 put/get bucket versioning
* add integration test for CloudWatch put_metric data
* add test case for SQS queue RedrivePolicy attribute

**3. Bug Fixes**

* fix mapping of CloudFormation account IDs
* fix health check for HTTPS endpoints with self-signed certs
* mock simple response for EC2 reserved instance APIs
* fix error handling on SQS sending of empty message batch

0.11.1

Not secure
**1. New Features**

* add support for Lambdas triggered by scheduled event rules
* lazily install and allow selection of specific Elasticsearch versions
* add ability to return multi valued headers from Lambda - API GW integration
* support S3 expiry for pre-signed URLs and objects
* add persistence for SSM and SecretsManager, introduce PersistingProxyListener
* create stripped-down light version of Docker image with lazy loading of ES libs (reduces image size by 33%)

**2. Enhancements**

* add CF support to update instances of IAM::Role
* add support for tags on IAM CreateUser calls
* implement Events put_events with SQS and Lambda targets
* delete notification configurations on S3 bucket deletion
* add metadata headers in S3 GET responses
* add missing S3 response headers for bytes ranges and request IDs
* add util class to fix account IDs in STS listener
* support "exists" operator for SNS filter policy
* print version number when starting up
* update startup log messages with new edge port
* add test cases for STS get_federation_token
* add CF test for empty event rules names
* support deletion of SFN state machines via CloudFormation
* support custom Lambda endpoint for StepFunctions
* add simple integration test for Serverless deployment
* check BatchSize in Lambda event source mappings
* add CFN support for Events::Rule, S3::BucketPolicy, Logs::LogGroup, and ElasticSearch/SecretsManager/KinesisFirehose resources
* put util jars at end of classpath for local Java Lambdas
* skip persistence replay if an API is disabled
* optimize image size, add documentation for USE_LIGHT_IMAGE
* add checks for HOST_TMP_FOLDER when running in Docker

**3. Bug Fixes**

* fix CF deployment for EventPattern attribute in Events::Rule
* fix default RoleName in CF dependent IAM roles
* fix edge request forwarding for public S3 URLs
* fix IAM detach_role_policy and add missing managed policies
* fix tagging support for ES domains
* fix response content for IAM error messages
* fix requesting SSM params with leading slashes
* fix resolving CloudFormation refs when updating resource IDs
* fix data type conversions in SNS->SQS message attributes
* fix API Gateway put_integration to avoid responseTemplates containing null values
* fix Docker port mapping conflicts by avoiding overlaps
* fix skipping None data when stripping chunk signatures in S3 requests
* fix DynamoDB behavior for ReturnValues on PutItem
* fix case sensitivity for Connection keep-alive header

0.11.0

Not secure
**1. New Features**

* add Edge service as central API entry point (may become a breaking change in the future)
* implement tagging for DynamoDB tables
* add support for Lambda FunctionEventInvokeConfig

**2. Enhancements**

* allow setting static debug port in LAMBDA_JAVA_OPTS
* add test to assert EntityAlreadyExistsException when recreating IAM role
* add tests for deletion/re-creation of CloudFormation resources
* add missing API Gateway template util functions
* add test to assert DelaySeconds for Lambda SQS event source
* add tests for S3 uploads with special content and large file sizes
* add debug logs for publishing SNS messages
* enhance integration tests for Secrets Manager API

**3. Bug Fixes**

* fix content-type header for CloudWatch logs responses
* fix message attributes in SQS-Lambda integration
* fix Lambda deployment for mountCode=true
* fix Lambda SQS event source for SendMessageBatch
* add LastUpdateStatus to Lambda response to fix terraform deployment

0.10.9

**1. New Features**

* update Elasticsearch to 7.1
* add support for SNS redrive policy for Lambda/SQS/HTTP events
* add message polling mechanism for Lambda-SQS integration
* add test for S3 list_object_versions with EncodingType parameter
* add CloudFormation support for SSM::Parameter, API Gateway MethodResponses
* add SQS list-dead-letter-source-queues API

**2. Enhancements**

* support passing of parameters to nested CF stacks
* generate default Lambda FunctionName in CloudFormation
* handle empty Subject in SNS publish calls
* integrate S3 starter into multiserver to improve performance
* clear out sys.modules to resolve name clashes for multiple local python lambda functions
* suppress supervisor warning when running in docker as root

**3. Bug Fixes**

* fix error around ChangeSet deployment in CloudFormation
* fix CF dependency resolution for stack update
* fix downloading of CF template from S3 with custom hostname
* fix timestamp formatting (millis instead of micros)
* fix returning ETag for S3 GetObject calls with range parameter
* fix send_raw_email for sending raw emails in SES
* fix SecretsManager list-secrets to return same ARNs for secrets
* fix empty response for PutTargets in CloudWatch Events
* fix forwarding of Lambda output to CloudWatch Logs
* fix region in CF stack ARNs

Page 12 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.