LocalStack v0.12.2 Release Notes

Release Date: 2020-11-11 // about 1 year ago
  • Change Log:

    🚀 LocalStack release 0.12.2

    1. New Features

    • 🔦 expose SecretsManager secrets via SSM parameter references
    • ➕ add proper CORS headers to S3 responses
    • ➕ add support for custom CI build commands via $CUSTOM_CMD
    • 👍 allow adding multiple permission statements to Lambda function policy

    2. Enhancements

    • ⬆️ upgrade base image and local Lambda executor to Java 11
    • ➕ add carriage return to SQS message payload validation regex
    • ➕ add support for SQS queue names containing slashes
    • ➕ add support for resource policies in SecretsManager
    • ➕ add README instructions for test credentials required for presigned URLs
    • 👉 use distinct values for missing CloudFormation resource props
    • ➕ add util function to create API GW Lambda event request context
    • ➕ add test for S3 precondition check
    • ➕ add test for Terraform API Gateway resources
    • ♻️ refactor CloudFormation integration tests

    🛠 3. Bug Fixes

    • 🛠 fix parsing of Content-Disposition header in S3 multipart uploads
    • 🛠 fix Content-Length mismatch issue for HTTP server responses
    • 🛠 fix hypercorn response body on 412 status code
    • 🛠 fix logic for missing authorizerId in API GW authorizers
    • 🖐 handle non-zero ReceiveMessageWaitTimeSeconds for SQS

Previous changes from v0.11.6

  • Change Log:

    🚀 LocalStack release 0.11.6

    0. !! Breaking Changes !!

    • 🚀 Starting with this release, all services are now exposed via the edge service (port 4566) only! Please update your client configurations to use this new endpoint.

    1. New Features

    • 👉 use edge service as single entry point, forward requests in-memory instead of opening port per service
    • ➕ add download URLs for Elasticsearch 7.7 (new default version)
    • 🐳 add LAMBDA_DOCKER_DNS config to utilise custom DNS server for Lambda containers
    • ➕ add switch to disable Lambda handler validation

    2. Enhancements

    • ♻️ minor refactoring in SFN test code
    • ➕ add integration test to verify MAP tasks in SFN state machines
    • ♻️ refactor CF logic for API GW resources and empty/Null values
    • ♻️ refactor API Gateway utils and test code
    • ♻️ refactor Lambda context handling
    • ♻️ refactor startup logs to print correct ports in output
    • ✅ extend Serverless tests with SQS and API Gateway resources
    • 👉 use S3 path addressing when host starts with localhost IP or hostname
    • ➕ add test to assert event deletion for SQS Lambda event source
    • ➕ add localhost.localstack.cloud as alias to SSL cert
    • ➕ add Serverless integration tests to cover DynamoDB and Kinesis resources
    • ➕ add Lambda request body length check
    • 🐎 performance improvements in plugin loading

    🛠 3. Bug Fixes

    • 🛠 fix boolean values in IAM responses
    • 🛠 fix PutEvents API call with no source specified
    • 🛠 fix endless loop when S3 error document is missing
    • 🛠 fix Python path when running Lambdas using local executor
    • 🛠 fix "TypeName" as optional param for Elasticsearch v7
    • 🛠 fix error response for requests to non-activated APIs
    • 🛠 fix network_mode:bridge in docker-compose.yml