8000 release version 0.10.2; cache servers (#1482) · sharp-bits/localstack@3f9862b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f9862b

Browse files
authored
release version 0.10.2; cache servers (localstack#1482)
1 parent 05f4b58 commit 3f9862b

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ localstack web
523523

524524
## Change Log
525525

526+
* v0.10.2: Fix logging issue with async Lambdas; fix kinesis records processing; add basic support for `Ref` in CloudFormation; fix ddb streams uuid generation; upgrade travis CI setup; fix DynamoDB error messages; cache server processes
526527
* v0.10.0: Lazy loading of libraries; fix handling of regions; add API multiserver; improve CPU profiling; fix ES xpack installation; add basic EventBridge support; refactor Lambda API and executor; add MessageAttributes on SNS payloads; tagging for SNS; ability to customize docker command
527528
* v0.9.6: Add API Gateway SQS proxy; fix command to push Docker image; fix Docker bridge IP configuration; fix SSL issue in dashboard infra; updates to README
528529
* v0.9.5: Reduce Docker image size by squashing; fix response body for presigned URL S3 PUT requests; fix CreateDate returned by IAM; fix account IDs for CF and SNS; fix topic checks for SMS using SNS; improve documentation around `@LocalstackDockerProperties`; add basic EC2 support; upgrade to ElasticSearch 6.7; set Last-Modified header in S3; preserve logic with uppercase event keys in Java; add support for nodejs 10.x Lambdas

localstack/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import localstack_client.config
33

44
# LocalStack version
5-
VERSION = '0.10.1.2'
5+
VERSION = '0.10.2'
66

77
# default AWS region
88
if 'DEFAULT_REGION' not in os.environ:

localstack/services/infra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def start_infra(asynchronous=False, apis=None):
386386
thread = thread or t1
387387

388388
time.sleep(sleep_time)
389-
# check that all infra components are up and running
389+
# ensure that all infra components are up and running
390390
check_infra(apis=apis)
391391
# restore persisted data
392392
restore_persisted_data(apis=apis)

localstack/utils/common.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
# arrays for temporary files and resources
3737
TMP_FILES = []
3838
TMP_THREADS = []
39+
TMP_PROCESSES = []
3940

4041
# cache clean variables
4142
CACHE_CLEAN_TIMEOUT = 60 * 5
@@ -640,8 +641,14 @@ def cleanup(files=True, env=ENV_DEV, quiet=True):
640641
def cleanup_threads_and_processes(quiet=True):
641642
for t in TMP_THREADS:
642643
t.stop(quiet=quiet)
643-
# clear list
644+
for p in TMP_PROCESSES:
645+
try:
646+
p.terminate()
647+
except Exception as e:
648+
print(e)
649+
# clear lists
644650
clear_list(TMP_THREADS)
651+
clear_list(TMP_PROCESSES)
645652

646653

647654
def clear_list(l):

localstack/utils/server/multiserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def start_api_server(api, port, server_port=None):
8282

8383
def start_server_process(port):
8484
if '__server__' in API_SERVERS:
85-
return
85+
return API_SERVERS['__server__']['thread']
8686
port = port or MULTI_SERVER_PORT
8787
API_SERVERS['__server__'] = config = {'port': port}
8888
LOG.info('Starting multi API server process on port %s' % port)

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ flask-cors==3.0.3
2525
flask_swagger==0.2.12
2626
forbiddenfruit==0.1.3
2727
jsonpath-rw==1.4.0
28-
localstack-ext>=0.10.1.10
28+
localstack-ext[full]>=0.10.2
29+
localstack-ext>=0.10.2 #basic-lib
2930
localstack-client==0.9 #basic-lib
3031
moto-ext==1.3.14.dev0
3132
nose>=1.3.7

0 commit comments

Comments
 (0)
0