MyGit

v0.13.0

localstack/localstack

版本发布时间: 2021-11-16 06:55:39

localstack/localstack最新发布版本:v3.7.2(2024-09-06 20:47:10)

LocalStack release 0.13.0

Major Changes

This release introduces three major changes

Debian-based multi-platform (amd64, arm64) docker image

#4754 introduced a multi-platform docker build to support both amd64 and arm64. Alpine and musl made things unnecessarily difficult, so we switched to a Debian buster base image. Post-init (e.g., in /docker-entrypoint-initaws.d) scripts that expect an Alpine environment (e.g., use apk commands to install things into the LocalStack container) will stop working.

Lazy-loading of services

As part of an ongoing effort to improve startup performance, we have introduced a new code loading and service startup mechanism to allow lazy-loading of services. After LocalStack starts, services used to be in the state running, indicating that they are loaded and ready to serve requests. To allow more fine-grained state handling for services with lazy loading, we have introduced a new type of state called available. When starting LocalStack, services are by default in the state available, which means that clients can start making requests to the services, and at the first time the service is hit, all the necessary code is loaded and the backend service is started, at which point the service after which the service will be in the running state. The environment variable EAGER_SERVICE_LOADING controls this behavior.

Scripts that depend on the output of /health being running will require setting setting EAGER_SERVICE_LOADING=1, which will start all services eagerly. This works together with the SERVICES variable to create the behavior from localstack <= 0.13.0.

(An alternative solution is to update your startup logic to accept either running or available as the healthy service state - e.g., see details in this issue).

Change log

1. New Features

2. Enhancements

3. Bug Fixes

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-11-16发行的版本